#485 help() failure

closed-works-for-me
nobody
pythonwin (176)
5
2010-08-30
2010-05-10
Anonymous
No

This pretty much says it all:

help("os.urandom")Firing event 'ProcessEnter' failed.
Traceback (most recent call last):
File "C:\Python26\Lib\site-packages\pythonwin\pywin\scintilla\bindings.py", line 142, in fire
rc = binding.handler(*args)
File "C:\Python26\Lib\site-packages\pythonwin\pywin\framework\interact.py", line 453, in ProcessEnterEvent
if self.HandleSpecialLine(): return 0
File "C:\Python26\Lib\site-packages\pythonwin\pywin\framework\winout.py", line 152, in HandleSpecialLine
line = self.GetLine(lineNo-1)
File "C:\Python26\Lib\site-packages\pythonwin\pywin\scintilla\control.py", line 373, in GetLine
return self.GetTextRange(start, end)
File "C:\Python26\Lib\site-packages\pythonwin\pywin\scintilla\control.py", line 362, in GetTextRange
ret = ret.decode(default_scintilla_encoding)
File "C:\Python26\lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-2: invalid data

Help->About reports pywin32 build214

Running Python 2.6.5 from python.org locally.

Discussion

  • Roger Upole

    Roger Upole - 2010-06-05

    I can't reproduce this. Can you provide some more specifics on how to make it happen ?

     
  • Mark Hammond

    Mark Hammond - 2010-08-30
    • status: open --> closed-works-for-me
     
  • Mark Hammond

    Mark Hammond - 2010-08-30

    WFM too - I wonder if a default encoding has been specified in site.py?

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks