django-carrot icon indicating copy to clipboard operation
django-carrot copied to clipboard

Running first command to start deamon

Open sal-git opened this issue 4 years ago • 0 comments

Hello, I followed the instructions on the readme, but I'm running into an issue

The commands I've ran:

python manage.py carrot_daemon start or python manage.py carrot

Traceback:

Traceback (most recent call last):
  File ".\stxerp\manage.py", line 21, in <module>
    main()
  File ".\stxerp\manage.py", line 17, in main
    execute_from_command_line(sys.argv)
  File "C:\Users\Stephen\.virtualenvs\STX-ERP-_y3Z_URn\lib\site-packages\django\core\management\__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "C:\Users\Stephen\.virtualenvs\STX-ERP-_y3Z_URn\lib\site-packages\django\core\management\__init__.py", line 395, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "C:\Users\Stephen\.virtualenvs\STX-ERP-_y3Z_URn\lib\site-packages\django\core\management\base.py", line 330, in run_from_argv
    self.execute(*args, **cmd_options)
  File "C:\Users\Stephen\.virtualenvs\STX-ERP-_y3Z_URn\lib\site-packages\django\core\management\base.py", line 371, in execute
    output = self.handle(*args, **options)
  File "C:\Users\Stephen\.virtualenvs\STX-ERP-_y3Z_URn\lib\site-packages\carrot\management\commands\carrot.py", line 93, in handle
    if not q._pid == os.getpgid(0):
AttributeError: module 'os' has no attribute 'getpgid'

I'm running Python 3.6 and Django 3.1 on Windows 10.

Python 3.6 on windows does not have os.getpgid() as I tried running it separate from my environment. I believe this function is just on UNIX. Does carrot support windows?

sal-git avatar Oct 29 '20 05:10 sal-git