Error running Getting Started on Windows
See original GitHub issueHello,
I tried to reproduce Trying it out yourself on Windows. Installed end started Redis, but get the following error:
C:\Users\prokher\Desktop\HueyTest>huey_consumer.py -w 1 -k process main.huey
[2017-03-11 00:30:20,280] INFO:huey.consumer:2688:Huey consumer started with 1 process, PID 2688
[2017-03-11 00:30:20,280] INFO:huey.consumer:2688:Scheduler runs every 1 seconds.
[2017-03-11 00:30:20,280] INFO:huey.consumer:2688:Periodic tasks are enabled.
[2017-03-11 00:30:20,295] INFO:huey.consumer:2688:The following commands are available:
+ count_beans
Traceback (most recent call last):
File "C:\Program Files\Python36\Scripts\huey_consumer.py", line 49, in <module>
consumer_main()
File "C:\Program Files\Python36\Scripts\huey_consumer.py", line 45, in consumer_main
consumer.run()
File "c:\program files\python36\lib\site-packages\huey\consumer.py", line 439, in run
self.start()
File "c:\program files\python36\lib\site-packages\huey\consumer.py", line 430, in start
self.scheduler.start()
File "c:\program files\python36\lib\multiprocessing\process.py", line 105, in start
self._popen = self._Popen(self)
File "c:\program files\python36\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "c:\program files\python36\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "c:\program files\python36\lib\multiprocessing\popen_spawn_win32.py", line 65, in __init__
reduction.dump(process_obj, to_child)
File "c:\program files\python36\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'Consumer._create_process.<locals>._run'
C:\Users\prokher\Desktop\HueyTest>Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\program files\python36\lib\multiprocessing\spawn.py", line 99, in spawn_main
new_handle = reduction.steal_handle(parent_pid, pipe_handle)
File "c:\program files\python36\lib\multiprocessing\reduction.py", line 82, in steal_handle
_winapi.PROCESS_DUP_HANDLE, False, source_pid)
OSError: [WinError 87] The parameter is incorrect
What am I doing wrong? (Except running it on Windows 😉 )
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to troubleshoot Windows Installer errors - Microsoft Support
Identify Windows Installer issues · Click Start, click Run, type cmd, and then click Command Prompt. · At the command prompt, type the...
Read more >Running into an error as soon as I turn my laptop on
1. Windows Key and type: CMD. · 2. On the list says command prompt, right click on it and run it as administrator....
Read more >Get help with Windows activation errors - Microsoft Support
Run the Windows Activation Troubleshooter: Select Start > Settings > System > Activation and then select Troubleshoot. ... Check to see if you...
Read more >Get help with Windows upgrade and installation errors
See some of the most common upgrade and installation errors for Windows 10 and Windows 11, and what you can do to try...
Read more >How to perform a clean boot in Windows - Microsoft Support
Describes how to use the clean boot process to troubleshoot a problem in Windows 8.1, Windows 8, Windows 7, or Windows Vista.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Literally nobody should be running Windows.
Unfortunately there are multibillion industries where Windows is dominating (e.g. mechanical engineering), so the software developed needs to be cross-platform.