Python debugger (something else required)

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
aag031
Posts: 8
Joined: Thu Jul 11, 2013 12:49 pm

Python debugger (something else required)

Post by aag031 »

Colleagues

I tried to run python debugger for simple script and observed message that printed below. What additional file should be installed

I checked and find out that actually directory C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeu is alive

With Best Regards
Alexander


--------------------------------------------------------------------------
Zeus - Version 3.97p
Copyright (c) Xidicone P/L 1993-2013. All rights reserved.
---------------------------------------------------------------------------
**** Unregistered Software. To be used for evaluation purposes only. ****
---------------------------------------------------------------------------

Using implied script: C:\Users\alexander.gorlov\Documents\Projects\python-test-test\join-test-suite.pyModule:'C:\Users\alexander.gorlov\Documents\Projects\python-test-test\join-test-suite.py'
Directory:'C:\Users\alexander.gorlov\Documents\Projects\python-test-test\'
Command Line:'pythonc.exe -S -u C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeu C:/Users/alexander.gorlov/Documents/Projects/python-test-test/join-test-suite.py '

pythonc.exe: can't open file 'C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeu': [Errno 2] No such file or directory
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

I'm not quite sure what is going on :?:

It looks like the command has been truncated :?

What the debugger command line should look like is this:

Code: Select all

Command Line:'pythonc.exe -S -u "C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeus\zScript\PyLib\pdb.py" C:\Users\alexander.gorlov\Documents\Projects\python-test-test\join-test-suite.py '
Could you try the latest Zeus beta found here: http://www.zeusedit.com/z300/ze397q-beta.zip

When you run the debugger in that version it should hopefully look something like this:

Code: Select all

Using implied script: C:\Users\alexander.gorlov\Documents\Projects\python-test-test\join-test-suite.py'
Directory:'c:\temp\'
Command Line:'pythonc.exe -S -u "C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeus\zScript\PyLib\pdb.py" C:\Users\alexander.gorlov\Documents\Projects\python-test-test\join-test-suite.py '

> c:\temp\test.py(4)<module>()
-> import sys
(Pdb)
Cheers Jussi
aag031
Posts: 8
Joined: Thu Jul 11, 2013 12:49 pm

Post by aag031 »

jussij wrote:I'm not quite sure what is going on :?:

It looks like the command has been truncated :?

What the debugger command line should look like is this:

Code: Select all

Command Line:'pythonc.exe -S -u "C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeus\zScript\PyLib\pdb.py" C:\Users\alexander.gorlov\Documents\Projects\python-test-test\join-test-suite.py '
Could you try the latest Zeus beta found here: http://www.zeusedit.com/z300/ze397q-beta.zip

When you run the debugger in that version it should hopefully look something like this:

Code: Select all

Using implied script: C:\Users\alexander.gorlov\Documents\Projects\python-test-test\join-test-suite.py'
Directory:'c:\temp\'
Command Line:'pythonc.exe -S -u "C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeus\zScript\PyLib\pdb.py" C:\Users\alexander.gorlov\Documents\Projects\python-test-test\join-test-suite.py '

> c:\temp\test.py(4)<module>()
-> import sys
(Pdb)
Cheers Jussi
I've update current installation of Zeus(3.97p) with recommended archive
Debugger does not start, no messages, no error, no warning :P
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

I'll have to take a closer look at Zeus code to try and figure out what might be going wrong.

That might take a day or two.

Cheers Jussi
aag031
Posts: 8
Joined: Thu Jul 11, 2013 12:49 pm

Post by aag031 »

jussij wrote:I'll have to take a closer look at Zeus code to try and figure out what might be going wrong.

That might take a day or two.

Cheers Jussi
This I found in error log
-------------------------------------------------------------------------
Zeus - Version 3.97q - Beta2
Copyright (c) Xidicone P/L 1993-2013. All rights reserved.
---------------------------------------------------------------------------
**** Unregistered Software. To be used for evaluation purposes only. ****
---------------------------------------------------------------------------

[Thu Jul 11 16:15:00 2013] TRACE ".\zfwsys01.cpp" (2121) >> Created Common Data folder: C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeus\zBackup
[Thu Jul 11 16:15:00 2013] TRACE ".\zfwsys01.cpp" (2121) >> Created Common Data folder: C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeus\zConfig
[Thu Jul 11 16:15:00 2013] TRACE ".\zfwsys01.cpp" (2121) >> Created Common Data folder: C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeus\zExample
[Thu Jul 11 16:15:00 2013] TRACE ".\zfwsys01.cpp" (2121) >> Created Common Data folder: C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeus\zHelp
[Thu Jul 11 16:15:00 2013] TRACE ".\zfwsys01.cpp" (2121) >> Created Common Data folder: C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeus\zScript
[Thu Jul 11 16:15:02 2013] TRACE ".\zfwsys01.cpp" (2121) >> Created Common Data folder: C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeus\zSpell
[Thu Jul 11 16:15:02 2013] TRACE ".\zfwsys01.cpp" (2121) >> Created Common Data folder: C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeus\zTags
[Thu Jul 11 16:43:45 2013] ASSERT ".\zfwdoc01.cpp" (1471) >>
[Thu Jul 11 17:12:51 2013] ASSERT ".\zfwdvw01.cpp" (3191) >>
[Thu Jul 11 17:34:32 2013] ASSERT ".\zfwdvw01.cpp" (3191) >>

Insure the executable is found in the system PATH environment variable.
aag031
Posts: 8
Joined: Thu Jul 11, 2013 12:49 pm

Post by aag031 »

Do you have any updates regarding this problem?
If you additional information, I will be glad to provide this
aag031
Posts: 8
Joined: Thu Jul 11, 2013 12:49 pm

Post by aag031 »

i activated python debugger and observed the same situation with cut command

--------------------------------------------------------------------------
Zeus - Version 3.97q - Beta2
Copyright (c) Xidicone P/L 1993-2013. All rights reserved.
---------------------------------------------------------------------------
**** Unregistered Software. To be used for evaluation purposes only. ****
---------------------------------------------------------------------------

Using implied script: C:\Users\alexander.gorlov\Documents\Projects\wd\wd.pyModule:'C:\Users\alexander.gorlov\Documents\Projects\wd\wd.py'
Directory:'C:\Users\alexander.gorlov\Documents\Projects\wd\'
Command Line:'pythonc.exe -S -u C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeu C:/Users/alexander.gorlov/Documents/Projects/wd/wd.py '

pythonc.exe: can't open file 'C:\Users\alexander.gorlov\AppData\Roaming\Xidicone\Zeu': [Errno 2] No such file or directory
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Do you have any updates regarding this problem?

I have managed to replicate this issue on a Windows 7 machine.

It appears the command line is being truncated, as can be seen from the debug output :(

The Python debugger is found in the pdb.py file and that is the file that seems to be getting truncated.

So the plan is to try and have the python.exe find the pdb.py file, without it having to be fully qualified, which will reduce the size of the command line and hopefully stop the truncation.

That is the plan but it still needs to be coded and fully tested.

Cheers Jussi
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

This issue should be fixed in the latest beta version found here: http://www.zeusedit.com/z300/ze397q-beta.zip

To test the debugger, make sure no workspace is open, open a Python test file and use the Debugger, Start menu to start the debugger.

Cheers Jussi
Post Reply