Hi
I have the following python project structure:
data/helper.py main.py
main.py is using helper.py (don't know if this important)
How to reproduce:
1) Open both files in geany 2) Run main.py (F5) 3) click to helper.py and run it (F5) 4) click to main.py and try to run it (F5) (this run will fail, and also copy of main.py will appear in "data" directory)
On 10/07/06 20:50:26, Yura Semashko wrote:
Hi
I have the following python project structure:
data/helper.py main.py
main.py is using helper.py (don't know if this important)
How to reproduce:
- Open both files in geany
- Run main.py (F5)
- click to helper.py and run it (F5)
- click to main.py and try to run it (F5) (this run will fail, and
also copy of main.py will appear in "data" directory)
Hi, I can't reproduce this. Can you explain: How you opened the files - e.g. from the command line/with open toolbar button/etc. How you switched files - e.g. left clicking the notebook tab/using the Open files pane/etc. What state of execution main.py and helper.py were in - e.g. was each of them still running, or had they finished executing? Do you get any status messages when the file does not run?
Also what do you mean by a 'copy of main.py' - is this just the filename, with 0 bytes contents, or is it a full copy of the file?
Thanks, Nick
P.S. Could you email me and Enrico a copy of these files if possible?
On Tue, 11 Jul 2006 12:56:24 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
P.S. Could you email me and Enrico a copy of these files if possible?
I sent the files already to Nick ;-)
Regards, Enrico
On 10/07/06 20:50:26, Yura Semashko wrote:
Hi
I have the following python project structure:
data/helper.py main.py
main.py is using helper.py (don't know if this important)
How to reproduce:
- Open both files in geany
- Run main.py (F5)
- click to helper.py and run it (F5)
- click to main.py and try to run it (F5) (this run will fail, and
also copy of main.py will appear in "data" directory)
Hi, I think you may have used the command-line to open one or both of these files. I have just made an SVN commit that will add the current directory to any command-line opened files (without a full path) so that Geany treats them the same as it treats full path filenames from e.g. the Open File dialog.
I hope this fixes your problem, if not, please see my first email in this thread ;-)
Thanks for reporting the problem.
Regards, Nick
On Tuesday 11 July 2006 17:01, Nick Treleaven wrote:
- Open both files in geany
- Run main.py (F5)
- click to helper.py and run it (F5)
- click to main.py and try to run it (F5) (this run will fail, and
also copy of main.py will appear in "data" directory)
I think you may have used the command-line to open one or both of these files. I have just made an SVN commit that will add the current directory to any command-line opened files (without a full path) so that Geany treats them the same as it treats full path filenames from e.g. the Open File dialog.
Yes, I opened the first file using command line.
I hope this fixes your problem, if not, please see my first email in this thread ;-)
The problem is fixed now, thanks.