I was able to view a generated Python file this morning at one point, but I've gone in and made some changes and trying to generate again, and I don't see any code on the screen and can't find a file. I see the current TCL files. I'm on Windows 10 and MS Edge. Is there something I need to do first?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are you doing a PAGE save ( File | Save ) before you try to generate the Python GUI? Also are you generating the support file after generating the GUI file? You can also check the backups folder to see if the GUI and support files are being generated there. The proper order is Save the .tcl file then generate the GUI file and finally generate the support file.
Also, the proper way to start PAGE is from the folder you want to do development in. For example, your development folder is c:\development\PAGE\MyProject1. That is the folder you should start PAGE from. That way, everything is generated in the proper folder.
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2022-01-18
Got it done. I needed to save the TCL file without the ## on each end of the name. Once that was done, I could get the file on the screen. Thank you Greg.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No problem. The tcl file that looks like this #project.tcl# is an autosave file that PAGE creates. Just in case of something serious, it can be loaded (automatically with your permission) and should get you close to where things were before the bad situation happened.
I'm glad we got you back on the road!
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was able to view a generated Python file this morning at one point, but I've gone in and made some changes and trying to generate again, and I don't see any code on the screen and can't find a file. I see the current TCL files. I'm on Windows 10 and MS Edge. Is there something I need to do first?
Are you doing a PAGE save ( File | Save ) before you try to generate the Python GUI? Also are you generating the support file after generating the GUI file? You can also check the backups folder to see if the GUI and support files are being generated there. The proper order is Save the .tcl file then generate the GUI file and finally generate the support file.
Also, the proper way to start PAGE is from the folder you want to do development in. For example, your development folder is c:\development\PAGE\MyProject1. That is the folder you should start PAGE from. That way, everything is generated in the proper folder.
Greg
Got it done. I needed to save the TCL file without the ## on each end of the name. Once that was done, I could get the file on the screen. Thank you Greg.
No problem. The tcl file that looks like this #project.tcl# is an autosave file that PAGE creates. Just in case of something serious, it can be loaded (automatically with your permission) and should get you close to where things were before the bad situation happened.
I'm glad we got you back on the road!
Greg