-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Description
Originally reported by: Paul Hammant (Bitbucket: paul_hammant)
$ python3 testtt.py
Traceback (most recent call last):
File "testtt.py", line 18, in
print('%d messages in INBOX' % select_info['EXISTS'])
KeyError: 'EXISTS'
Segmentation fault: 11
- I've done DiskUtility - disk repair (sometimes people ask you to do that for segfault-y bug reports)
- I uninstalled Python3.5.1 from homebrew, and did the downloadable Python 3.4.4 installer from Python.org.
- Using it's pip3 command, I installed imapclient today.
- I took your first script from the https://imapclient.readthedocs.org site, and changed imap server, user, password (and turned on SSL).
- Running you script causes the seg-fault, as above. The Apple app-crash-catcher opens up. I've dismissed it. This is consistently reproducible for me, so I can run it again, and send debug information.
I can reproduce this on two Macs. One a MacBookAir (2011), one a MacBookPro (2014). Both running Yosemite 10.10.5. I was trying first with Python 3.5.1, but I note that is not listed as supported, so I downgraded and tried again.
I would test the same script on Windows10/Python334 but I get SSL errors. See below.
Note - I was logging issues with backport.ssl too - alekstorm/backports.ssl#16 and alekstorm/backports.ssl#15 and alekstorm/backports.ssl#14