Your message dated Tue, 27 Feb 2007 18:40:22 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Close
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: python2.3-pyorbit
Version: 2.0.0-1
Severity: normal
It is currently not possible to use pyORBit and threading. If I run the
attached python script, it will print out numbers up to a certain point
and then stop. The equivalent C program (also attached - compile with
"gcc `pkg-config --libs ORBit-2.0` `pkg-config --cflags ORBit-2.0` -Wall
orbit.c -o orbit") works.
- Sebastian
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux jroger 2.4.21 #1 Sam Jun 14 16:38:16 CEST 2003 i686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8
Versions of packages python2.3-pyorbit depends on:
ii libc6 2.3.2-8 GNU C Library: Shared libraries an
ii libglib2.0-0 2.2.3-1 The GLib library of C routines
ii liblinc1 2:1.0.3-4 library to simplify creating netwo
ii liborbit2 1:2.8.1-5 Libraries for ORBit2 - a CORBA ORB
ii python2.3 2.3.2-2 An interactive high-level object-o
-- no debconf information
#!/usr/bin/python
import threading
import time
import CORBA
def run():
i = 0
while True:
print i
time.sleep(0.01)
i += 1
if __name__ == "__main__":
orb = CORBA.ORB_init()
t = threading.Thread(target = run)
t.start()
time.sleep(1)
orb.run()
#include <stdio.h>
#include <unistd.h>
#include <pthread.h>
#include <orbit/orbit.h>
void *run(void *arg)
{
int i = 0;
while (1) {
printf("%d\n", i++);
usleep(100);
}
return NULL;
}
int main(int argc, char **argv)
{
CORBA_ORB orb;
CORBA_Environment ev;
pthread_t t;
pthread_create(&t, NULL, &run, NULL);
CORBA_exception_init(&ev);
orb = CORBA_ORB_init(&argc, argv, "orbit-local-orb", &ev);
printf("foo: %p\n", orb);
CORBA_ORB_run(orb, &ev);
CORBA_exception_free(&ev);
return 0;
}
--- End Message ---
--- Begin Message ---
This has been fixed upstream some time ago. "Python threaded example
attached to this bug report added to pyorbit. They seem to work fine
now."
--
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
signature.asc
Description: This is a digitally signed message part
--- End Message ---