Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OverflowError in the debugger #727

Closed
ghost opened this issue Aug 2, 2016 · 3 comments
Closed

OverflowError in the debugger #727

ghost opened this issue Aug 2, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 2, 2016

While trying to debug a program with pythonwin 220 I get OverflowError in the debugger:

`
PythonWin 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] on win32.
Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information.
Traceback (most recent call last):
File "C:\ProgramData\chocolatey\lib\python3\tools\Lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 321, in RunScript
debugger.run(codeObject, main.dict, start_stepping=1)
File "C:\ProgramData\chocolatey\lib\python3\tools\Lib\site-packages\Pythonwin\pywin\debugger_init_.py", line 60, in run
_GetCurrentDebugger().run(cmd, globals,locals, start_stepping)
File "C:\ProgramData\chocolatey\lib\python3\tools\Lib\site-packages\Pythonwin\pywin\debugger\debugger.py", line 654, in run
exec(cmd, globals, locals)
File "C:\Work\opencv-py\read_tiff.py", line 1, in
from PIL import Image
File "C:\Work\opencv-py\read_tiff.py", line 1, in
from PIL import Image
File "C:\ProgramData\chocolatey\lib\python3\tools\lib\bdb.py", line 48, in trace_dispatch
return self.dispatch_line(frame)
File "C:\ProgramData\chocolatey\lib\python3\tools\lib\bdb.py", line 66, in dispatch_line
self.user_line(frame)
File "C:\ProgramData\chocolatey\lib\python3\tools\Lib\site-packages\Pythonwin\pywin\debugger\debugger.py", line 616, in user_line
debugger_parent.user_line(self, frame)
File "C:\ProgramData\chocolatey\lib\python3\tools\lib\pdb.py", line 259, in user_line
self.interaction(frame, None)
File "C:\ProgramData\chocolatey\lib\python3\tools\lib\pdb.py", line 346, in interaction
self._cmdloop()
File "C:\ProgramData\chocolatey\lib\python3\tools\lib\pdb.py", line 319, in _cmdloop
self.cmdloop()
File "C:\ProgramData\chocolatey\lib\python3\tools\Lib\site-packages\Pythonwin\pywin\debugger\debugger.py", line 575, in cmdloop
self.GUIAboutToBreak()
File "C:\ProgramData\chocolatey\lib\python3\tools\Lib\site-packages\Pythonwin\pywin\debugger\debugger.py", line 847, in GUIAboutToBreak
self.GUIAboutToInteract()
File "C:\ProgramData\chocolatey\lib\python3\tools\Lib\site-packages\Pythonwin\pywin\debugger\debugger.py", line 878, in GUIAboutToInteract
self.GUIRespondDebuggerData()
File "C:\ProgramData\chocolatey\lib\python3\tools\Lib\site-packages\Pythonwin\pywin\debugger\debugger.py", line 833, in GUIRespondDebuggerData
cb.RespondDebuggerData()
File "C:\ProgramData\chocolatey\lib\python3\tools\Lib\site-packages\Pythonwin\pywin\debugger\debugger.py", line 219, in RespondDebuggerData
if self.list.GetItemImage(handle)!= (col, selCol):
OverflowError: Python int too large to convert to C long

`

Reported by: dbely

Original Ticket: pywin32/bugs/727

@ghost
Copy link
Author

ghost commented Dec 17, 2016

This has been happening to me also. It stops my development effort. Can it be fixed soon?

Original comment by: ramrom

@ghost
Copy link
Author

ghost commented Apr 1, 2017

Similar error debugging in 3.6.0 and 3.6.1 with -220 and -221. Just hit F10 to start the debugger and it happens on any script. I'm using Window 10 64-bit, and 64-bit versions of Python as well.

Original comment by: metolone

@mhammond
Copy link
Owner

mhammond commented Jan 4, 2018

Fixed in 375dca3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant