nekohayo / specto

Automatically exported from code.google.com/p/specto
0 stars 0 forks source link

IMAP with SSL doesn't work #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. If I set a IMAP mail box which need ssl without the ssl option, it will
hang.
2. When I set it with ssl option enabled, it shows: 
".../watch_mail_imap.py", line 85, in update
    if int(newMsgs) > 0:
TypeError: int() argument must be a string or a number

and the ssl option can not be enabled
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

specto-0.1+svn20061124 on Ubuntu Edgy

Please provide any additional information below.

Original issue reported on code.google.com by scai1...@gmail.com on 24 Nov 2006 at 11:22

GoogleCodeExporter commented 9 years ago
Sorry, the second one should be:
2. If I set it with ssl option enabled, and then press "Add" button, it will 
show: 
".../watch_mail_imap.py", line 85, in update
    if int(newMsgs) > 0:
TypeError: int() argument must be a string or a number

The watch then can be added but the ssl option is still not enabled.

3. If I edit this watch and enable the ssl option again, and then press "save"
button, it will give:
Traceback (most recent call last):
  File ".../specto-0.1+svn20061124/src/specto/edit_watch.py", line 115, in save_clicked
    self.specto.notifier.change_entry_name(values['name'])
  File ".../specto-0.1+svn20061124/src/specto/notifier.py", line 393, in
change_entry_name
    self.model.set_value(iter, 2, args[2])
IndexError: tuple index out of range

Original comment by scai1...@gmail.com on 24 Nov 2006 at 11:36

GoogleCodeExporter commented 9 years ago
You could check if 
ssl = True 
is added for the watch in the file ~/.specto/watches.list and maybe it will 
work 
(the error seems a gui error).

I wrote the ssl part but i haven't got a ssl imap/pop3 mail account to test it, 
so 
thank you for your feedback.

Original comment by woutclym...@gmail.com on 24 Nov 2006 at 3:28

GoogleCodeExporter commented 9 years ago
I can not find the information for this watch. Actually, this watch can not be
saved. When I created this watch, it showed that "TypeError: int() argument 
must be a
string or a number" and the information was not saved in watches.list. After I
restarted Specto, it disappeared. 

Original comment by scai1...@gmail.com on 24 Nov 2006 at 8:22

GoogleCodeExporter commented 9 years ago

Original comment by woutclym...@gmail.com on 12 Dec 2006 at 5:46

GoogleCodeExporter commented 9 years ago

Original comment by woutclym...@gmail.com on 12 Dec 2006 at 5:46

GoogleCodeExporter commented 9 years ago
scai1976 could you test this fix? i am not sure if it works but i found some 
bugs so
at least it will be improved :)

Original comment by woutclym...@gmail.com on 12 Dec 2006 at 5:48

GoogleCodeExporter commented 9 years ago
someone with IMAP needs to test this!

Original comment by nekoh...@gmail.com on 18 Mar 2008 at 1:56