[issue41859] Uncaught ValueError

2020-10-20 Thread Terry J. Reedy


Change by Terry J. Reedy :


Removed file: https://bugs.python.org/file49480/debian-desktop.png

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41859] Uncaught ValueError

2020-10-20 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
nosy:  -patanjalisutra666

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41859] Uncaught ValueError

2020-10-20 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
Removed message: https://bugs.python.org/msg377737

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41859] Uncaught ValueError

2020-09-30 Thread Patricia Timmers


Patricia Timmers  added the comment:

JRequest Id: 74c342d8-c8af-46fe-a488-837736590d01
Correlation Id: 79fac27b-d04d-4597-9bfd-ee7624927c4e
Timestamp: 2020-10-01T04:53:13Z
Message: AADSTS750054: SAMLRequest or SAMLResponse must be present as query 
string parameters in HTTP request for SAML Redirect binding.

--
nosy: +patanjalisutra666
Added file: https://bugs.python.org/file49480/debian-desktop.png

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41859] Uncaught ValueError

2020-09-30 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

I don't have a reproducer.  The event occurred one in a full-day session.

I don't get a completion box.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41859] Uncaught ValueError

2020-09-28 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Reports with a reproducer are also helpful.

Again, can you get a completion box at all?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41859] Uncaught ValueError

2020-09-26 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

On Windows, the only key I found that closed the completion box via 
keyrelease_event is Left Arrow.  If I explicitly caught that, the method might 
not be needed on Windows.  Next I will look at the triplets list and how 
something might be missing or deleted twice.

On my Mac Airbook with current 3.8.6 and 3.9.0rc2, I cannot get a completion 
box, even with the menu.  Do you have the same issue?

Reports with a traceback, like this one, are helpful and welcome.  If possible, 
include and information about either the code or action that triggered the 
exception.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41859] Uncaught ValueError

2020-09-25 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

> What python binary?

This is from the 64-bit macOS build on python.org:

$ python3.9
Python 3.9.0rc2 (v3.9.0rc2:2bd31b5fde, Sep 16 2020, 20:19:18)
[Clang 6.0 (clang-600.0.57)] on darwin

Thanks for looking into this :-)

Let me know if filing these issues is helpful to you.  I log a couple thousand 
hours of heavy IDLE usage each year and my students really put the tool through 
its paces.  We tend to uncover buglets that wouldn't surface in light testing.  
At the end of the day, if there are tracebacks I haven't seen before, I'm 
posting them here.  Hopefully, they are useful.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41859] Uncaught ValueError

2020-09-24 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

I presume that at some point you got a completion box.  It disappeared with 
this traceback and when >>> appeared, you continued.  What python binary? 
3.8.5?  3.8.6? My diagnosis so far.

__call__ is a method in CallWrapper.  The wrapped func is multicall.handler.  
The exception was caught in the
except: self.widget._report_exception()
clause of __call__, but it should never have been raised.

keyrelease_event catches internal errors.  If the insert cursor is not where 
IDLE expects, because "# we didn't catch an event which moved the insert", IDLE 
just closes box rather than trying to recover.  I presume that this should 
never happen.  But when it did, a ValueError was raised for the reason given.  
In this error state, multicall.event_delete makes an invalid assumption.

The simple and immediate fix would be to catch the very rare delete failure.  A 
better and harder fix would be to catch the uncaught insert-moving event. For 
this, it would have been nice if keyrelease displayed a message identifying the 
released key with an email request.  I should  try to reproduce the failure 
(including on Mac) by trying every key (or type of key) that might possibly 
move the cursor.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41859] Uncaught ValueError

2020-09-24 Thread Raymond Hettinger


New submission from Raymond Hettinger :

I found this in today's long running shell session.  The trigger event isn't 
known.

Exception in Tkinter callback
Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/tkinter/__init__.py",
 line 1885, in __call__
return self.func(*args)
  File 
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/idlelib/multicall.py",
 line 176, in handler
r = l[i](event)
  File 
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/idlelib/autocomplete_w.py",
 line 430, in keyrelease_event
self.hide_window()
  File 
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/idlelib/autocomplete_w.py",
 line 447, in hide_window
self.widget.event_delete(HIDE_VIRTUAL_EVENT_NAME, seq)
  File 
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/idlelib/multicall.py",
 line 392, in event_delete
triplets.remove(triplet)
ValueError: list.remove(x): x not in list

--
assignee: terry.reedy
components: IDLE
messages: 377479
nosy: rhettinger, terry.reedy
priority: normal
severity: normal
status: open
title: Uncaught ValueError
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com