As I was developing a service, I noticed that CheetahGenerator, 
ImageGenerator, CopyGenerator change the working directory to the directory 
of the skin that is being processed. This results in other threads ‘seeing’ 
the working directory change while skins are being processed. And after all 
skins are processed, the working directory is set to the last skin 
processed.

The fix to my service is easy, use absolute paths instead of relative 
(which is probably a best practice anyway). But, I thought I would pass 
this along in case it could save anyone some debugging time and effort. 

I suppose if another thread changed the working directory it could cause 
unexpected results in these generators. But the window of time where this 
could happen is pretty small.

rich

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/915c46e8-295d-43d3-a216-a86ca49f938an%40googlegroups.com.

Reply via email to