New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In IDLE my Tkinter program was executed, but Geany only starts a script #2578
Comments
What happens if you run the script from the normal terminal outside of Geany? |
How are you starting Geany? Are all the right python tk parts in your path? Sometimes Geany started from menus is not started i n a shell, so the login startup files are never read and setups are missed. |
Hello Matthew,
thank You for the answer ! The problem is, that i don't know where the script file is located.I do not find any ...sh file in the directories around Geany. Do You know it ?
Mit freundlichen Grüßen, Holger Lech Hadamarstr.22b 93051 Regensburg
Email : hlech65730@aol.com
…-----Ursprüngliche Mitteilung-----
Von: Matthew Brush <notifications@github.com>
An: geany/geany <geany@noreply.github.com>
Cc: hlech65730 <hlech65730@aol.com>; Author <author@noreply.github.com>
Verschickt: Sa, 22. Aug. 2020 20:18
Betreff: Re: [geany/geany] In IDLE my Tkinter program was executed, but Geany only starts a script (#2578)
What happens if you run the script from the normal terminal outside of Geany?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hello elextr,
thank you very much for Your answer ! I started Geany in 2 ways, from menu and with an icon in a folder from the desktop that i have created. The behaviour is the same when i started my python file. Only the empty Terminal window appears, that's all. When i load and start my python program from IDLE the Tkinter window appears and it runs.
Kindly Regards, Holger Lech Hadamarstr.22b 93051 Regensburg
Email : hlech65730@aol.com
…-----Ursprüngliche Mitteilung-----
Von: elextr <notifications@github.com>
An: geany/geany <geany@noreply.github.com>
Cc: hlech65730 <hlech65730@aol.com>; Author <author@noreply.github.com>
Verschickt: So, 23. Aug. 2020 1:26
Betreff: Re: [geany/geany] In IDLE my Tkinter program was executed, but Geany only starts a script (#2578)
How are you starting Geany? Are all the right python tk parts in your path? Sometimes Geany started from menus is not started i n a shell, so the login startup files are never read and setups are missed.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
This is just a little wrapper script created by Geany dynamically. Basically it just runs the command you configured in Geany (Build->Set build commands). It is most probably unrelated to the real problem. Can you run your code from the command like, e.g.: #!/usr/bin/env python
# -*- coding: utf-8 -*-
print("Hello World!") |
As @eht16 said, I meant to run your own Python script from the command line. |
Hello Matthew, hello Enrico, hello Elextr,
when I run my python scripts from command line they were executed ( inside of the command line window ).In the Execute adjustment of Geany the command is : python3 "%f" . The Python files are not on /home/pi or home/pi/desktop, I created some subfolders on the desktop /Python/....From the command line I started the scripts when i am inside of this folders where the scripts are located.Maybe the execute adjustment has to be changed ? But compiling adjustment in Geany is : python3 -m py_compile "%f" and this works.
Mit freundlichen Grüßen,kind regards, Holger Lech Hadamarstr.22b 93051 Regensburg
Email : hlech65730@aol.com
…-----Ursprüngliche Mitteilung-----
Von: Matthew Brush <notifications@github.com>
An: geany/geany <geany@noreply.github.com>
Cc: hlech65730 <hlech65730@aol.com>; Author <author@noreply.github.com>
Verschickt: So, 23. Aug. 2020 19:38
Betreff: Re: [geany/geany] In IDLE my Tkinter program was executed, but Geany only starts a script (#2578)
The problem is, that i don't know where the script file is located
As @eht16 said, I meant to run your own Python script from the command line.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hello @ all,
i am testing out a first Tkinter python program on different OS. On Raspbian ( Stretch ) i run this program under IDLE and IDLE3 and from Geany ( 1.29 ). The code is :
In IDLE the Tk window was opened but in Geany only a Terminal window with "geany_run_script_93XQp0.sh" appears and that's it, nothing more happens. On Mac OS a script is started too, but then the Tk windows appears. Whats wrong here ?
Thank You very much !
The text was updated successfully, but these errors were encountered: