* [Buildroot] [Bug 9921] New: lockfile module within python-daemon not available
@ 2017-05-31 16:31 bugzilla at busybox.net
2017-05-31 19:10 ` [Buildroot] [Bug 9921] " bugzilla at busybox.net
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-05-31 16:31 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9921
Bug ID: 9921
Summary: lockfile module within python-daemon not available
Product: buildroot
Version: 2017.02.1
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: reto.rayen at outlook.com
CC: buildroot at uclibc.org
Target Milestone: ---
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'
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread* [Buildroot] [Bug 9921] lockfile module within python-daemon not available 2017-05-31 16:31 [Buildroot] [Bug 9921] New: lockfile module within python-daemon not available bugzilla at busybox.net @ 2017-05-31 19:10 ` bugzilla at busybox.net 2017-05-31 19:39 ` bugzilla at busybox.net 2018-06-06 19:16 ` bugzilla at busybox.net 2 siblings, 0 replies; 6+ messages in thread From: bugzilla at busybox.net @ 2017-05-31 19:10 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9921 --- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- Thanks for the report, well spotted. I'll see if our most active Python contributor can have a look. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 9921] lockfile module within python-daemon not available 2017-05-31 16:31 [Buildroot] [Bug 9921] New: lockfile module within python-daemon not available bugzilla at busybox.net 2017-05-31 19:10 ` [Buildroot] [Bug 9921] " bugzilla at busybox.net @ 2017-05-31 19:39 ` bugzilla at busybox.net 2017-06-09 8:17 ` Yegor Yefremov 2018-06-06 19:16 ` bugzilla at busybox.net 2 siblings, 1 reply; 6+ messages in thread From: bugzilla at busybox.net @ 2017-05-31 19:39 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9921 --- Comment #2 from Reto Rayen <reto.rayen@outlook.com> --- Hi Thomas i did find in addition that "thread" is also not included. Which is needed by lockfile. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 9921] lockfile module within python-daemon not available 2017-05-31 19:39 ` bugzilla at busybox.net @ 2017-06-09 8:17 ` Yegor Yefremov 2017-06-09 8:30 ` Yegor Yefremov 0 siblings, 1 reply; 6+ messages in thread From: Yegor Yefremov @ 2017-06-09 8:17 UTC (permalink / raw) To: buildroot Hi Reto, On Wed, May 31, 2017 at 9:39 PM, <bugzilla@busybox.net> wrote: > https://bugs.busybox.net/show_bug.cgi?id=9921 > > --- Comment #2 from Reto Rayen <reto.rayen@outlook.com> --- > Hi Thomas > > i did find in addition that "thread" is also not included. Which is needed by > lockfile. https://pypi.python.org/pypi/lockfile/0.12.2 is unfortunately deprecated and according to [1] broken as well. According to the new python-daemon version runner.py is going to be deprecated [2]. Can you try to update python-daemon and avoid using runner.py? [1] https://pagure.io/python-daemon/issue/4 [2] https://pagure.io/python-daemon/c/f25678cacc8cd1fbb8a28c196e8fe2eed291146c?branch=master Yegor ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 9921] lockfile module within python-daemon not available 2017-06-09 8:17 ` Yegor Yefremov @ 2017-06-09 8:30 ` Yegor Yefremov 0 siblings, 0 replies; 6+ messages in thread From: Yegor Yefremov @ 2017-06-09 8:30 UTC (permalink / raw) To: buildroot On Fri, Jun 9, 2017 at 10:17 AM, Yegor Yefremov <yegorslists@googlemail.com> wrote: > Hi Reto, > > On Wed, May 31, 2017 at 9:39 PM, <bugzilla@busybox.net> wrote: >> https://bugs.busybox.net/show_bug.cgi?id=9921 >> >> --- Comment #2 from Reto Rayen <reto.rayen@outlook.com> --- >> Hi Thomas >> >> i did find in addition that "thread" is also not included. Which is needed by >> lockfile. > > https://pypi.python.org/pypi/lockfile/0.12.2 is unfortunately > deprecated and according to [1] broken as well. According to the new > python-daemon version runner.py is going to be deprecated [2]. Can you > try to update python-daemon and avoid using runner.py? > > [1] https://pagure.io/python-daemon/issue/4 > [2] https://pagure.io/python-daemon/c/f25678cacc8cd1fbb8a28c196e8fe2eed291146c?branch=master Adding Reto in CC ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 9921] lockfile module within python-daemon not available 2017-05-31 16:31 [Buildroot] [Bug 9921] New: lockfile module within python-daemon not available bugzilla at busybox.net 2017-05-31 19:10 ` [Buildroot] [Bug 9921] " bugzilla at busybox.net 2017-05-31 19:39 ` bugzilla at busybox.net @ 2018-06-06 19:16 ` bugzilla at busybox.net 2 siblings, 0 replies; 6+ messages in thread From: bugzilla at busybox.net @ 2018-06-06 19:16 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9921 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- 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. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-06-06 19:16 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-05-31 16:31 [Buildroot] [Bug 9921] New: lockfile module within python-daemon not available bugzilla at busybox.net 2017-05-31 19:10 ` [Buildroot] [Bug 9921] " bugzilla at busybox.net 2017-05-31 19:39 ` bugzilla at busybox.net 2017-06-09 8:17 ` Yegor Yefremov 2017-06-09 8:30 ` Yegor Yefremov 2018-06-06 19:16 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox