On Wed, 28 Jan 2009 14:56:28 +0100, spir <[email protected]> wrote: Hi Denis,
>I have a strange geanistic behaviour when working with (python) >modules in several directories, such as /main > /tools > /samples >When I try to execute a file, it may or not run depending on the >location of the last executed file. Sometimes the 'cd' is >automatically executed before run (as shown in the terminal), and all >is fine. Else python does not find the file, which is logical because >for the system we are still in the previous dir: python: can't open >file 'pattern.py': [Errno 2] No such file or directory > >I hardly understand the logic of the issue: >* It seems that it always works fine between directories at the same >level (e.g. tools <-> samples). >* During some sessions it fails when going up (tools -> main), during >others when going down. This may depend on the first run of the >present session (haven't noted yet). > >Consistently enough, the feature called "Follow path of the current >file" works and fails the same way ;-} Meaning that sometines the 'cd' >instruction is neither shown nore executed in the terminal. Also, this >does not affect anything else as run. Could you provide a simple test case? Maybe a tarball with your directory structure and a few example files as well as a description how to reproduce what you do and what you expect? So far, I don't really understand the problem, sorry. Regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.asc
pgpEFP0WUD2Yi.pgp
Description: PGP signature
_______________________________________________ Geany mailing list [email protected] http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
