Yonas added the comment:
Gregory,
Awesome! Approx. how long until we hear back from you in this report?
--
___
Python tracker
<http://bugs.python.org/issue1731
Yonas added the comment:
By the way, in three months from today, this bug will be 3 years old.
--
___
Python tracker
<http://bugs.python.org/issue1731
Yonas added the comment:
Ben Finney's comment suggests to me that this bug is being ignored. Am I wrong?
"with extra notes in the documentation that anyone using child processes needs
to be wary of signal handling."
Why should they be wary? We should ju
Yonas added the comment:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/9a853d0308c8e55a
"I'm also glad to see a test case that causes exactly the same error with or
without the presence of a ‘daemon.DaemonContext’.
Further research shows that handling of ‘S
Yonas added the comment:
Florent,
Have you tested any of the sample test programs mentioned in this bug report?
For example, the one by Joel Martin (kanaka).
I'd suggest to test those first before marking this issue as fixed.
- Yonas
--
status: pending -&
Yonas added the comment:
I'm assuming that exim4 is reading config files from /etc/exim4/conf.d/*.
To make sure, you can enforce "split file mode" by running `sudo
dpkg-reconfigure exim4-config`. It should be one of the last questions
Yonas added the comment:
Also, copy exim_local_scan2.py to /usr/lib/python2.6/
--
Added file: http://bugs.python.org/file14134/exim_local_scan2.py
___
Python tracker
<http://bugs.python.org/issue1731
Yonas added the comment:
To test with exim4 is easy. To reproduce on Ubuntu Jaunty:
1. apt-get install exim4-daemon-heavy
2. echo "local_scan = /usr/lib/exim4/local_scan/libpyexim.so" >
/etc/exim4/conf.d/main/15_py-exim_plugin_path
3. cd /usr/lib/exim4/local_scan
4. Compile
Changes by Yonas :
--
versions: +Python 2.5, Python 3.0
___
Python tracker
<http://bugs.python.org/issue6122>
___
___
Python-bugs-list mailing list
Unsubscribe:
Yonas added the comment:
Here's another test, taken from the docs:
http://docs.python.org/library/subprocess.html#subprocess-replacements:
This is slightly better than Popen because the program executes and
shows output, but worse than os.system(), because it still shows the
Yonas added the comment:
os.system() works:
os.system("echo `date` >> /tmp/myfile")
r...@yonas-laptop:/usr/lib/exim4/local_scan# cat /tmp/myfile
Wed May 27 16:04:54 EDT 2009
Wed May 27 16:04:54 EDT 2009
--
___
Pytho
Yonas added the comment:
Could this be a permissions issue? I have no idea how permissions would
effect it, though...
r...@yonas-laptop:/usr/lib/exim4/local_scan# ls -la /usr/sbin/exim4
-rwsr-xr-x 1 root root 824440 2009-02-11 08:53 /usr/sbin/exim4
Yonas added the comment:
I didn't find anything unusual about how exim uses dlopen, but if you
want to see the code, it's here:
http://pastebin.com/m52398b30
Line 166 is the actual call.
Again, no problems except with Pyth
Yonas added the comment:
Thanks for testing, it works when running ./main, but not when run
through exim.
--
___
Python tracker
<http://bugs.python.org/issue6
Yonas added the comment:
The test doesn't fail when run directly from ./main, but it fails when
run from exim4 mail server.
exim will dlopen() mylib and run local_scan().
Besides using Popen, I haven't had any problems.
--
Added file: http://bugs.python.org
Changes by Yonas :
--
type: -> crash
___
Python tracker
<http://bugs.python.org/issue6122>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.p
Changes by Yonas :
--
title: [Errno 10] No child processes -> OSError: [Errno 10] No child processes
___
Python tracker
<http://bugs.python.org/issue6122>
___
_
Changes by Yonas :
Added file: http://bugs.python.org/file14089/main.c
___
Python tracker
<http://bugs.python.org/issue6122>
___
___
Python-bugs-list mailing list
Unsub
New submission from Yonas :
I always get a subprocess error when using embedded Python 2.6.2:
File "/usr/lib/python2.6/subprocess.py", line 1123, in wait: pid,
sts = os.waitpid(self.pid, 0): OSError: [Errno 10] No child processes
Sample library and main files attached.
--
Changes by Yonas :
Added file: http://bugs.python.org/file14087/main.c
___
Python tracker
<http://bugs.python.org/issue1731717>
___
___
Python-bugs-list mailing list
Unsub
Yonas added the comment:
I always get a subprocess error when using embedded python 2.6.2:
File "/usr/lib/python2.6/subprocess.py", line 1123, in wait: pid,
sts = os.waitpid(self.pid, 0): OSError: [Errno 10] No child processes
Example library and main program ar
Yonas added the comment:
rb's workaround works, though.
--
___
Python tracker
<http://bugs.python.org/issue4434>
___
___
Python-bugs-list mailing list
Yonas added the comment:
Updated log file.
--
Added file: http://bugs.python.org/file14034/log-main.txt
___
Python tracker
<http://bugs.python.org/issue4
Changes by Yonas :
Removed file: http://bugs.python.org/file14033/log-main.txt
___
Python tracker
<http://bugs.python.org/issue4434>
___
___
Python-bugs-list mailin
Yonas added the comment:
Here's my log file (`LD_DEBUG=all ./main`)
--
Added file: http://bugs.python.org/file14033/log-main.txt
___
Python tracker
<http://bugs.python.org/i
Yonas added the comment:
Same error message:
import dl: ImportError: /usr/lib/python2.6/lib-dynload/dl.so: undefined
symbol: PyExc_ValueError
--
___
Python tracker
<http://bugs.python.org/issue4
Yonas added the comment:
Ralf,
Linking against the static library (with '-Xlinker -export-dynamic') did
_not_ solve the problem for me.
gcc `python2.6-config --cflags` -c -fPIC mylib.c -o mylib.o -Xlinker
-export-dynamic
gcc -Xlinker -export-dynamic -lpthread -ldl -lutil -lm -lz -
27 matches
Mail list logo