Any idea as to why one would get the following message when executing examples (such as the button.py example) from the page console? It seems to be running, but there is no GUI displayed.
Running C:/page/examples/button/button.py ...
No Output
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Works for me. Regenerate and save the gui/support modules, then run support from a console and see that it's valid Python with no errors. e.g., python.exe mymod.py
Let me take this opportunity to thank Don Rozenberg for the incredible work.
It's taken me some time to grasp and comprehend the scope of this accomplishment and just what it does and how I can use it, but now I realize this is in a class by itself. I've tried I guess all the major gui bulders for Python and nothing compares or even comes close.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, I agree. I've searched everywhere. Had no idea what I was getting into when I began learning Python to develop a program that does a lot of computing but needs a GUI as well. PAGE is saving my bacon. I came across Greg D. Walters tutorial on using PAGE and got the idea that maybe I had pyttk installed incorrectly. Delving into that, I found a number of related installation matters that needed attention. I'm not sure which of these improvement activities affected the outcome, but the GUI based module (a work in progress) now again runs in PAGE. It always ran in IDLE and that was critical. I'm delighted with the PAGE tool. And the fact that I'm still moving in the right direction.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Howard,
Glad you got it all worked out.
If you don't mind my asking, what were the installation related issues? It could be helpful to know, so that I can tell if I need to update the tutorial.
Thanks in advance,
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Honestly, I cannot offer anything useful on this matter. I was reading an old tutorial of yours that seemed to be unix based (or maybe just old). Early into that, I got the impression that Tk/tcl may have not been properly installed. This prompted me to examine that possiblity and other installation details as it may point the source of the problem "I thought" I was having with PAGE. That was a fruitful exercise as I learned about PATH settings. Working from a DOS prompt is easier now, thought I try to avoid that. In any case, in hindsight, I believe I was mis-interpretting the "No Output" message on my console. I believe this was simply an accurate statement from Python and not an actual "Error" message.
I believe PAGE was working correctly all along.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2021-02-05
Can you explain how you fixed that error? I've been getting the same "No Output" error when I try to run it? Although when I can python 3 to just python in python command preferences it works properly. But that is just a temporary solution
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok. Well, I am glad that things are working for you now.
If you have any other questions about Page, you can post them here, email me (thedesignatedgeek at gmail dot com) or check my website (thedesignatedgeek.xyz). I've started a blog, putting up some tips and tricks on using Page and Python.
Have a happy 4th of July!
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2019-08-20
Hi, I'm just downloaded the PAGE software and I'm currently working with the tutorial that comes with it.
I just finished adding a callback to a button widget and when I click on the button, the black boxes around the button come up. I've generated the GUI module and the support module and yet the button doesn't click. Any help would be appreciated. Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are you still in the Page designer? The button won't "click" that way. You have two choices here...
1) in the consoles (either the GUI console or Support console) AFTER you have generated both modules, you can click the [Run] button to quickly test your code.
or
2) In a terminal, go to where you saved your python modules and type "python [myproject.py]" where [myproject.py] is the name of your program.
Hope this helps,
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Any idea as to why one would get the following message when executing examples (such as the button.py example) from the page console? It seems to be running, but there is no GUI displayed.
Running C:/page/examples/button/button.py ...
No Output
button.py executes properly from IDLE
Works for me. Regenerate and save the gui/support modules, then run support from a console and see that it's valid Python with no errors. e.g., python.exe mymod.py
Let me take this opportunity to thank Don Rozenberg for the incredible work.
It's taken me some time to grasp and comprehend the scope of this accomplishment and just what it does and how I can use it, but now I realize this is in a class by itself. I've tried I guess all the major gui bulders for Python and nothing compares or even comes close.
Yes, I agree. I've searched everywhere. Had no idea what I was getting into when I began learning Python to develop a program that does a lot of computing but needs a GUI as well. PAGE is saving my bacon. I came across Greg D. Walters tutorial on using PAGE and got the idea that maybe I had pyttk installed incorrectly. Delving into that, I found a number of related installation matters that needed attention. I'm not sure which of these improvement activities affected the outcome, but the GUI based module (a work in progress) now again runs in PAGE. It always ran in IDLE and that was critical. I'm delighted with the PAGE tool. And the fact that I'm still moving in the right direction.
Hi Howard,
Glad you got it all worked out.
If you don't mind my asking, what were the installation related issues? It could be helpful to know, so that I can tell if I need to update the tutorial.
Thanks in advance,
Greg
Honestly, I cannot offer anything useful on this matter. I was reading an old tutorial of yours that seemed to be unix based (or maybe just old). Early into that, I got the impression that Tk/tcl may have not been properly installed. This prompted me to examine that possiblity and other installation details as it may point the source of the problem "I thought" I was having with PAGE. That was a fruitful exercise as I learned about PATH settings. Working from a DOS prompt is easier now, thought I try to avoid that. In any case, in hindsight, I believe I was mis-interpretting the "No Output" message on my console. I believe this was simply an accurate statement from Python and not an actual "Error" message.
I believe PAGE was working correctly all along.
Can you explain how you fixed that error? I've been getting the same "No Output" error when I try to run it? Although when I can python 3 to just python in python command preferences it works properly. But that is just a temporary solution
Ok. Well, I am glad that things are working for you now.
If you have any other questions about Page, you can post them here, email me (thedesignatedgeek at gmail dot com) or check my website (thedesignatedgeek.xyz). I've started a blog, putting up some tips and tricks on using Page and Python.
Have a happy 4th of July!
Greg
Hi, I'm just downloaded the PAGE software and I'm currently working with the tutorial that comes with it.
I just finished adding a callback to a button widget and when I click on the button, the black boxes around the button come up. I've generated the GUI module and the support module and yet the button doesn't click. Any help would be appreciated. Thanks.
Are you still in the Page designer? The button won't "click" that way. You have two choices here...
1) in the consoles (either the GUI console or Support console) AFTER you have generated both modules, you can click the [Run] button to quickly test your code.
or
2) In a terminal, go to where you saved your python modules and type "python [myproject.py]" where [myproject.py] is the name of your program.
Hope this helps,
Greg