Hans-Peter Jansen <h...@urpla.net> added the comment:

If I'm not mistaken, this is applied to the openSUSE TW version of Python. 
For some reason, this seems to not play well with <instance>.uid('move',...)
on a cyrus imap server (v2.4.19). Is that to be expected?

```
2020-07-03 18:04:05  INFO: [imap_reorg] move b'10399' from 2017-01-01 
06:30:35+02:00 to INBOX.2017
Traceback (most recent call last):
  File "./imap_reorg.py", line 431, in <module>
    sys.exit(main())
  File "./imap_reorg.py", line 425, in main
    return process()
  File "./imap_reorg.py", line 133, in trace_and_call
    result = func(*args, **kwargs)
  File "./imap_reorg.py", line 358, in process
    ret |= reorg.run_expr(expr)
  File "./imap_reorg.py", line 345, in run_expr
    return method(*args)
  File "./imap_reorg.py", line 328, in yearly
    ret = self.imap.uid('move', uid, dest)
  File "/usr/lib64/python3.8/imaplib.py", line 881, in uid
    typ, dat = self._simple_command(name, command, *args)
  File "/usr/lib64/python3.8/imaplib.py", line 1205, in _simple_command
    return self._command_complete(name, self._command(name, *args))
  File "/usr/lib64/python3.8/imaplib.py", line 1030, in _command_complete
    raise self.error('%s command error: %s %s' % (name, typ, data))
imaplib.error: UID command error: BAD [b'Unrecognized UID subcommand']
```

----------
nosy: +frispete

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33327>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to