Hi,
I'm giving a try to PAGE 7.4 + Python 3.10 on Windows 10 and I've created a basic GUI with no effort. Unfortunately, when I hit CTRL-P to generate the corresponding code, the Python console doesn't show up, so I get no code.
Any clue on what's missing here?
Thanks in advance for any help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2022-05-31
in Page go under Page preferences/basics ....under python command it should contain: python3
Also do you have python3 installed on your system (sounds like you do_?
Forget about using ctrl+p....you have to be active in the right place in all of the regions for it to work ...go to the page menu and select it from page's Gen_Python drop down ...there will be no doubt you are in the correct place and something will happen.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a couple of questions.
1. Have you been able to generate code for any previous project?
2. Have you used PAGE with dual monitors and moved the Python console off the main monitor?
3. Were you successful in saving the project? If so could you send me the Tcl project file?
4. Do you get the problem if you just open PAGE and immediately try to generate The GUI module. If the problem persists, one thing to try is to delete or rename the file ".pagerc" in your home directly and try again. If it works be sure to quit which will save a new ".pagerc" file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As I just posted above, the issue was due to a wrong default config: I've updated the Preferences from "python" to "python3" and the console now shows up.
I now have some error messages when running the code, such as:
Hi,
I'm giving a try to PAGE 7.4 + Python 3.10 on Windows 10 and I've created a basic GUI with no effort. Unfortunately, when I hit CTRL-P to generate the corresponding code, the Python console doesn't show up, so I get no code.
Any clue on what's missing here?
Thanks in advance for any help!
in Page go under Page preferences/basics ....under python command it should contain: python3
Also do you have python3 installed on your system (sounds like you do_?
Forget about using ctrl+p....you have to be active in the right place in all of the regions for it to work ...go to the page menu and select it from page's Gen_Python drop down ...there will be no doubt you are in the correct place and something will happen.
Thanks for the quick answer! I've correected the Preferences and the console now shows up! Case solved, thanks a lot!
I have a couple of questions.
1. Have you been able to generate code for any previous project?
2. Have you used PAGE with dual monitors and moved the Python console off the main monitor?
3. Were you successful in saving the project? If so could you send me the Tcl project file?
4. Do you get the problem if you just open PAGE and immediately try to generate The GUI module. If the problem persists, one thing to try is to delete or rename the file ".pagerc" in your home directly and try again. If it works be sure to quit which will save a new ".pagerc" file.
Hi Don, thanks for the quick answer!
As I just posted above, the issue was due to a wrong default config: I've updated the Preferences from "python" to "python3" and the console now shows up.
I now have some error messages when running the code, such as:
and will investigate into the configuration...
Thanks again for your help!