[Geany] change dir

Enrico Tröger enrico.troeger at xxxxx
Wed Jan 28 18:05:40 UTC 2009


On Wed, 28 Jan 2009 14:56:28 +0100, spir <denis.spir at free.fr> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20090128/34db3ba3/attachment.pgp>


More information about the Users mailing list