File Creation Not Working In A Thread Class?

Gary Herron gherron at islandtraining.com
Sun May 11 16:38:45 EDT 2008


bc90021 wrote:
>> ...and the exact error message was?
>>
>> Here is a tip: if you want people to help you, then you have to help
>> them to help you.  Personally, I wouldn't respond to anymore of your
>> questions because you seem incapable of posting the information that was
>> requested.
>>     
>
> So far, the people who have answered this post have gone on the 
> assumption that I'm stupid.  I'm not.  I took perfectly working code, 
> cut it from one class, and put it in another.  It stopped working in the 
> second class.  I've spent days on this and trust me, given what I've 
> experienced of the Python community so far, if I didn't have to ask, I 
> wouldn't.
>
> (I really must say that so far the help I am getting in the Python 
> community is a big let down.  Whether it's on IRC or here, everyone has 
> an arrogance that I don't find anywhere else in the open source 
> community, and it seriously makes me question the choice of language that 
> I've made.)
>   

Sorry, the arrogance is yours. 

    Expecting us to help with only partial information.

    Expecting us to help when your posts of the error message changes 
from one post to the next.

    Expecting us to help when you refuse to post the traceback.

    Expecting us to believe that it has anything to do with threads.  
(No one believes that for a moment.)


While acknowledging that any piece of code may have bugs, Python's 
threading included, the problem here looks to be some simple mistake in 
the computation of the name of the file to be opened.   Then I look at 
the convoluted quoting surrounding your computation of the file name, 
and my confidence in that as an explanation sky-rockets.  Then someone 
in another post has found an extra set of quotes embedded in your 
filename you compute, and it's clear that we are on the right track.



> The error message was at the top of the thread (am I incapable of posting 
> it, or are you incapable of following a thread?), but here it is again:
>
> IOError: [Errno 2] no such file u'tempfileName'
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>   




More information about the Python-list mailing list