This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author frispete
Recipients frispete, mcepl
Date 2020-07-03.20:50:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593809457.0.0.61002291088.issue33327@roundup.psfhosted.org>
In-reply-to
Content
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']
```
History
Date User Action Args
2020-07-03 20:50:57frispetesetrecipients: + frispete, mcepl
2020-07-03 20:50:57frispetesetmessageid: <1593809457.0.0.61002291088.issue33327@roundup.psfhosted.org>
2020-07-03 20:50:56frispetelinkissue33327 messages
2020-07-03 20:50:56frispetecreate