Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > thread/queue bug

Reply
Thread Tools

thread/queue bug

 
 
phil
Guest
Posts: n/a
 
      12-10-2004
> 4. The fact that you have a .pyc file instead of a .py
> file very likely has *nothing* to do with any threading
> problem you are facing, so I suggest you get past that mental
> block and look elsewhere.


Well, I tried to make it clear that the ONLY difference between
working and not working was the pnetx.pyc when imported did not
work when
#!/usr/bin/python
# pnet.py, exists only to import pnetx.py
import pnetx.py

Otherwise the program has worked fine for months.
I don't think its a mental block, its the ONLY difference.
It freezes on the following statement:
mq = Queue(0)
and I haven't a clue why. All the other threads continue to run.

> 5. Sorry I can't be more help. You don't give anyone much
> to go on. All that stuff about "Queue(0)" and "listenq"
> is pretty much meaningless to us, you know...


You know, I get this all the time on language support groups.
All of my Linux support groups, if they don't understand, say
why and ask for elaboration. I tried to explain what was going on,
without incuding the source. I have about 200 man hours in the source
and I bet it would take longer to understand it.
If my explanation was insufficient, I'm sorry.

ALSO, you did not respond to my email, so I didn't know how to reply.
There is nothing on the archives page which gives me a clue as to
how to respond.

SO, if there is ZERO chance there is some sort of inadvertent lock
occuring in saved byte code, I just kludge around and move on.
Maybe 2.4

Thanks.


 
Reply With Quote
 
 
 
 
Peter Hansen
Guest
Posts: n/a
 
      12-10-2004
phil wrote:
> You know, I get this all the time on language support groups.
> All of my Linux support groups, if they don't understand, say
> why and ask for elaboration.


Wow, amazing! Imagine that... asking for elaboration when
someone posts unclear confusing questions and extraneous
information. The noive!

I also find it remarkable that so many different people are
all doing the same thing to you. It must be a conspiracy.
Certainly not a problem with, say, you...
 
Reply With Quote
 
 
 
 
Steve Holden
Guest
Posts: n/a
 
      12-12-2004
phil wrote:

[...]
>
> > 5. Sorry I can't be more help. You don't give anyone much
> > to go on. All that stuff about "Queue(0)" and "listenq"
> > is pretty much meaningless to us, you know...

>
> You know, I get this all the time on language support groups.


This might be a clue.

> All of my Linux support groups, if they don't understand, say
> why and ask for elaboration. I tried to explain what was going on,
> without incuding the source. I have about 200 man hours in the source
> and I bet it would take longer to understand it.
> If my explanation was insufficient, I'm sorry.
>

It *was* pretty sketchy. Basically you shouldn't expect people to debug
code they can't see. There are some very able programmers active on this
newsgroup, but their psychic abilities are limited

> ALSO, you did not respond to my email, so I didn't know how to reply.
> There is nothing on the archives page which gives me a clue as to
> how to respond.
>

Once yo post in the newsgroup (or mailing list) then use of the same
channel is advisable.

> SO, if there is ZERO chance there is some sort of inadvertent lock
> occuring in saved byte code, I just kludge around and move on.
> Maybe 2.4
>

If you suspect the problem is a bug in Python then you might consider
searching the bugs database on sourceforge. If nobody's reported a bug
then you are being very optimistic assuming that migrating to 2.4 will
fix the problem.

> Thanks.
>
>


regards
Steve
--
http://www.holdenweb.com
http://pydish.holdenweb.com
Holden Web LLC +1 800 494 3119
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
*bug* *bug* *bug* David Raleigh Arnold Firefox 12 04-02-2007 03:13 AM
ASP.NET Login control bug or SQL 2005 bug? RedEye ASP .Net 2 12-13-2005 10:57 AM
Re: BUG? OR NOT A BUG? John ASP .Net 2 09-21-2005 10:31 AM
Bug Parade Bug 4953793 Michel Joly de Lotbiniere Java 4 12-02-2003 05:05 AM
how to report bug to g++ ? got a bug and fixed up source code DarkSpy C++ 4 06-27-2003 09:05 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57