Giter Club home page Giter Club logo

plow's Issues

Submitting a job that has the same name as a running job raises exception.

Traceback (most recent call last):
  File "/studio/sww/blueprint/cvernon/bin/bluerun", line 44, in <module>
    app.go()
  File "/studio/sww/blueprint/cvernon/lib2.7/blueprint/app.py", line 149, in go
    self.handleArgs(args)
  File "/studio/sww/blueprint/cvernon/bin/bluerun", line 40, in handleArgs
    self._runner.launch()
  File "/studio/sww/blueprint/cvernon/lib2.7/blueprint/app.py", line 203, in launch
    return backend.launch(self, spec)
  File "/studio/sww/blueprint/cvernon/lib2.7/blueprint/backend/plowrun.py", line 17, in launch
    job = spec.launch()
  File "job.pxi", line 221, in plow.JobSpec.launch (src/plow.cpp:12050)
plow.PlowError: ('Plow operation failed: com.breakersoft.plow.exceptions.JobSpecException: Failed to launch job: org.springframework.dao.DuplicateKeyException: PreparedStatementCallback; SQL []; ERROR: duplicate key value violates unique constraint "job_str_active_name_uniq_idx"\n  Detail: Key (str_active_name)=(cvernon_test) already exists.; nested exception is org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "job_str_active_name_uniq_idx"\n  Detail: Key (str_active_name)=(cvernon_test) already exists.', 0)

Retrying a SUCCEEDED task keeps in waiting

When a task is finished with state SUCCEEDED, then right click Retry, it goes to WAITING status but doesn't run. Right-click Kill doesn't seem to do anything with it.

Missing JobState

Traceback (most recent call last):
  File "/studio/sww/plow/cvernon/lib/python2.7/plow/gui/common/actions.py", line 74, in launchDependsWizard
    wizard = DependencyWizard(parent, project=proj)
  File "/studio/sww/plow/cvernon/lib/python2.7/plow/gui/dialogs/depends.py", line 74, in __init__
    self.__targetsPage = ChooseTargetsPage(project=project, parent=self)
  File "/studio/sww/plow/cvernon/lib/python2.7/plow/gui/dialogs/depends.py", line 252, in __init__
    self.__sourceSelector = src = common.job.JobColumnWidget(project=project, parent=self)
  File "/studio/sww/plow/cvernon/lib/python2.7/plow/gui/common/job.py", line 179, in __init__
    self._jobWidget = job = JobSelectionWidget(self, project=project)
  File "/studio/sww/plow/cvernon/lib/python2.7/plow/gui/common/job.py", line 316, in __init__
    kwargs = {"states": [plow.JobState.RUNNING]}
AttributeError: 'module' object has no attribute 'JobState'

Windows support

Hey Chad, just happened to find your fork here, are you working with Justin on this? :)

I also noticed mentions of Windows in some of your commits, are you working on getting this up and running on Windows? I'd be interested in helping you with that.

OSX: building python client libs gives destructor errors:

Could be an error the clang I'm using

Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.5.0

Commenting out the lines makes it compile. But since this file is procedurally generated, makes it kind of a hassle to do that. Not sure why it would need to call a destructor on a string.

src/plow.cpp:55258:25: error: expected the class name after '~' to name a destructor
  p->name.std::string::~string();
                        ^
src/plow.cpp:55259:28: error: expected the class name after '~' to name a destructor
  p->project.std::string::~string();
                           ^
src/plow.cpp:55260:29: error: expected the class name after '~' to name a destructor
  p->username.std::string::~string();
                            ^
src/plow.cpp:55261:28: error: expected the class name after '~' to name a destructor
  p->logPath.std::string::~string();
                           ^
src/plow.cpp:57045:25: error: expected the class name after '~' to name a destructor
  p->name.std::string::~string();
                        ^
src/plow.cpp:57884:29: error: expected the class name after '~' to name a destructor
  p->cpuModel.std::string::~string();
                            ^
src/plow.cpp:57885:29: error: expected the class name after '~' to name a destructor
  p->platform.std::string::~string();
                            ^
src/plow.cpp:60166:25: error: expected the class name after '~' to name a destructor
  p->path.std::string::~string();
                        ^
src/plow.cpp:60167:29: error: expected the class name after '~' to name a destructor
  p->outputId.std::string::~string();

generate_sources duplicate typename warning

Just need to rename Attrs

[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.