Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error running Getting Started on Windows

See original GitHub issue


I tried to reproduce Trying it out yourself on Windows. Installed end started Redis, but get the following error:

C:\Users\prokher\Desktop\HueyTest> -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\", line 49, in <module>
  File "C:\Program Files\Python36\Scripts\", line 45, in consumer_main
  File "c:\program files\python36\lib\site-packages\huey\", line 439, in run
  File "c:\program files\python36\lib\site-packages\huey\", line 430, in start
  File "c:\program files\python36\lib\multiprocessing\", line 105, in start
    self._popen = self._Popen(self)
  File "c:\program files\python36\lib\multiprocessing\", line 223, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "c:\program files\python36\lib\multiprocessing\", line 322, in _Popen
    return Popen(process_obj)
  File "c:\program files\python36\lib\multiprocessing\", line 65, in __init__
    reduction.dump(process_obj, to_child)
  File "c:\program files\python36\lib\multiprocessing\", 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\", line 99, in spawn_main
    new_handle = reduction.steal_handle(parent_pid, pipe_handle)
  File "c:\program files\python36\lib\multiprocessing\", 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:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

coleifercommented, Mar 15, 2018

Literally nobody should be running Windows.

prokhercommented, Mar 15, 2018

Unfortunately there are multibillion industries where Windows is dominating (e.g. mechanical engineering), so the software developed needs to be cross-platform.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found