| Summary: | lockfile module within python-daemon not available | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Reto Rayen <reto.rayen> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED WONTFIX | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2017.02.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
Thanks for the report, well spotted. I'll see if our most active Python contributor can have a look. Hi Thomas i did find in addition that "thread" is also not included. Which is needed by lockfile. I'm closing this bug, because: - The runner functionality in the python-daemon project is deprecated - The python-lockfile project is deprecated too, and known to be broken So there is no good way to fix this problem. |
Hi guys we found a bug which is encountering when we use the python-daemon to run a script as a daemon. When we want to start the daemon. It always fails because the lockfile within the python-daemon is not available. Can you please add this to the standard buildroot image when the package "python-daemon" gets compiled. We encounter the issue with python2 and python3. In both versions it's not included. Below you can find a error trace: Traceback (most recent call last): File "/usr/local/bin/bender-daemon", line 9, in <module> from daemon import runner File "/home/deployer/projects/buildroot-2017.02.2/output/target/usr/lib/python3.5/site-packages/daemon/runner.py", line 33, in <module> ImportError: No module named 'lockfile'