I was using the PAGE to create something, but it always report err like this. What's that meaning?
Would anyone can help me to figure it out
couldn't open "autosave.tcl.tmp": permission denied
while executing
"open $tmp_name w"
(procedure "vTcl:save2" line 64)
invoked from within
"vTcl:save2 $vTcl(project,file)"
(procedure "vTcl:save" line 12)
invoked from within
"vTcl:save"
(procedure "vTcl:generate_python_UI" line 11)
invoked from within
"vTcl:generate_python_UI"
(menu invoke)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
More than likely, it's the way you are starting PAGE.
You should ALWAYS start PAGE INSIDE the folder you are going to save the project. For example, if you are going to create the project in a folder named "C:/development/project1/", you should navigate to that folder in a Command Prompt or terminal and then use "page " or "page myproject" to start the project.
I'm guessing that you are running Windows, so to make things easy, use the File Explorer to navigate to the folder that you wish, then use "{Ctrl L}" to get access to the address bar. Then type "cmd" and press enter. That will open a command prompt in that folder. Then you can start PAGE.
If, on the other hand you are using Linux or Mac, Use your normal File manager to move to your folder and then right click and select "Open in Terminal". That will create a terminal inside of the folder.
Let me know if this helped.
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2023-04-02
Yes ! IT works. Thanks~
When I open the PAGE, I was double-click thye "page.py" in the PAGE installation directory.
But now I have a new problem...
I' sorry , i 'm totally a rookie.
when i tryied to generate Python GUI code , it report the err like this .
can't read "widget(rev,.top1)": no such element in array
while executing
"set alias $widget(rev,$window)"
(procedure "vTcl:generate_python_UI" line 137)
invoked from within
"vTcl:generate_python_UI"
(menu invoke)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was using the PAGE to create something, but it always report err like this. What's that meaning?
Would anyone can help me to figure it out
couldn't open "autosave.tcl.tmp": permission denied
while executing
"open $tmp_name w"
(procedure "vTcl:save2" line 64)
invoked from within
"vTcl:save2 $vTcl(project,file)"
(procedure "vTcl:save" line 12)
invoked from within
"vTcl:save"
(procedure "vTcl:generate_python_UI" line 11)
invoked from within
"vTcl:generate_python_UI"
(menu invoke)
More than likely, it's the way you are starting PAGE.
You should ALWAYS start PAGE INSIDE the folder you are going to save the project. For example, if you are going to create the project in a folder named "C:/development/project1/", you should navigate to that folder in a Command Prompt or terminal and then use "page " or "page myproject" to start the project.
I'm guessing that you are running Windows, so to make things easy, use the File Explorer to navigate to the folder that you wish, then use "{Ctrl L}" to get access to the address bar. Then type "cmd" and press enter. That will open a command prompt in that folder. Then you can start PAGE.
If, on the other hand you are using Linux or Mac, Use your normal File manager to move to your folder and then right click and select "Open in Terminal". That will create a terminal inside of the folder.
Let me know if this helped.
Greg
Yes ! IT works. Thanks~
When I open the PAGE, I was double-click thye "page.py" in the PAGE installation directory.
But now I have a new problem...
I' sorry , i 'm totally a rookie.
when i tryied to generate Python GUI code , it report the err like this .
can't read "widget(rev,.top1)": no such element in array
while executing
"set alias $widget(rev,$window)"
(procedure "vTcl:generate_python_UI" line 137)
invoked from within
"vTcl:generate_python_UI"
(menu invoke)
Could you post the .tcl file here so I can see what is going on?
Greg