thecocce / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Internal engine cannot be reinitialized #465

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run code that generates an exception using internal engine
2. Add try block or correct code issue
3. Re-run code

What is the expected output? What do you see instead?
It appears that the code is cached by the internal engine somehow and changes 
are not reflected in subsequent executions. This is reinforced by the fact that 
the traceback generated returns to the original problem line, even if that line 
has been changed completely by code modifications.

What version of the product are you using? On what operating system?
2.4.1, registry-free version, on Windows 7. It shouldn't matter, but the 
application folder is on a network drive.

Please provide any additional information below.
I am using the internal engine and the option to "reinitialize Python engine" 
is gray and unavailable.

Original issue reported on code.google.com by marginal...@gmail.com on 11 Jan 2011 at 4:45

GoogleCodeExporter commented 9 years ago
Only the remote Python engine can be reinitialized.  The Remote Python Engine 
has been the default for some time now and is recommended for all tasks.  It 
also gets reinitialized before each run by default.

See http://code.google.com/p/pyscripter/wiki/RemoteEngines for more info.

Original comment by pyscripter on 12 Jan 2011 at 9:24

GoogleCodeExporter commented 9 years ago
Thanks for your reply! Unfortunately, I do not have administrative access to 
the workstation I'm using at the moment, which is why I'm using the 
registry-free version of PyScripter. The RPYC module requires administrative 
access to be available to PyScripter (modifications to the Windows 7 firewall). 
Would the only resolution I have to be to restart PyScripter after every code 
change in order to re-run properly?

Original comment by marginal...@gmail.com on 12 Jan 2011 at 3:14

GoogleCodeExporter commented 9 years ago
The latest version does not require you to install anything.  The registry free 
version is just fine.

Original comment by pyscripter on 12 Jan 2011 at 9:12