Hi olaoni,

First I want clarify if we talk about the same things.
PSPad adds red point in the 7th line of output (instead of lines 3rd and 5th).
If you click 7th line in output, then nothing happens. This is problem of PSPad
because it searches for string "error" in output and incorrectly marks lines
with red point (would be nice if author improve this in future). But this is not
critical problem, at least for me.
But if you double click on 3rd or 5th line and nothing happens, then I am trying
to help you.

Possible there is some difference between output generated by python and
simulated by batch file. Maybe there are some special bytes which aren't shown
in output window.

For this you can redirect outputs of both tests to files:
1) Redirect python output to file. For this you need modify settings in compiler
tab:
Parameters: %File%>python.log
2) Redirect output of simulated batch to file.
Parameters: >demo.log

And also regarding your last post, you can expand batch file demo.bat to this: 
@echo MLME_GTS_request( 0x0, 0x0 ) 
@echo Traceback (most recent call last): 
@echo File "C:\Dev\apps\nwktp2\TestMACprimitives.py", line 584, in ? 
@echo dataarray = prim.pack(Iam4bPrim) 
@echo File "C:\Dev\apps\nwktp2\MAC_primitives.py", line 2088, in pack 
@echo length = 3 + len(self.KeyId) 
@echo TypeError: len() of unsized object

And last step is comparing files demo.log and python.log (if no visual
difference, then you can check with hex viewer). Maybe this helps to locate
reason for problem.

regards,
Wal

-- 
<http://forum.pspad.com/read.php?2,34293,34366>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem