makerbot / conveyor

A printing dispatch engine for 3D objects and their friends
GNU Affero General Public License v3.0
26 stars 10 forks source link

conveyord is not forking #1

Closed tbuser closed 12 years ago

tbuser commented 12 years ago

Running: ./conveyord -c conveyor-user.conf does not return and acts the same as ./conveyord -c conveyor-user.conf --nofork

msamsonoff commented 12 years ago

I have seen two reasons that cause conveyord to not fork:

  1. It does not fork on Windows because the python-daemon package doesn't work on Windows.
  2. The virtualenv is not activated.

Cause 1 will be fixed as part of the platform integration.

Cause 2 can be fixed by running the setup.sh script and then sourcing the virtualenv/bin/activate script.

But, please let me know if you've run into another cause of this.

tbuser commented 12 years ago

That was the problem, I didn't realize you had to actually run it through virtualenv

msamsonoff commented 12 years ago

Resolved.