novoid / Memacs

What did I do on February 14th 2007? Visualize your (digital) life in Org-mode
GNU General Public License v3.0
1.03k stars 66 forks source link

mumail: ValueError: time data does not match format #43

Closed schvabodka-man closed 5 years ago

schvabodka-man commented 6 years ago

Helo. When running memacs-mumail, i'm getting

ValueError: time data 'Thu 08 Dec 2016 02:33:56 AM EET' does not match format '%c'

and this traceback:

Traceback (most recent call last):
     File "/usr/local/lib/python2.7/dist-packages/memacs/lib/memacs.py", line 187, in handle_main
       self._main()
     File "/usr/local/lib/python2.7/dist-packages/memacs/mu.py", line 116, in _main
       timestamp = self.__getTimestamp(datum)
     File "/usr/local/lib/python2.7/dist-packages/memacs/mu.py", line 71, in __getTimestamp
       mail_date = datetime.strptime(time,"%c")
     File "/usr/lib/python2.7/_strptime.py", line 332, in _strptime
       (data_string, format))
   ValueError: time data 'Thu 08 Dec 2016 02:33:56 AM EET' does not match format '%c'
Traceback (most recent call last):
  File "/usr/local/bin/memacs_mumail.py", line 31, in <module>
    memacs.handle_main()
  File "/usr/local/lib/python2.7/dist-packages/memacs/lib/memacs.py", line 187, in handle_main
    self._main()
  File "/usr/local/lib/python2.7/dist-packages/memacs/mu.py", line 116, in _main
    timestamp = self.__getTimestamp(datum)
  File "/usr/local/lib/python2.7/dist-packages/memacs/mu.py", line 71, in __getTimestamp
    mail_date = datetime.strptime(time,"%c")
  File "/usr/lib/python2.7/_strptime.py", line 332, in _strptime
    (data_string, format))
ValueError: time data 'Thu 08 Dec 2016 02:33:56 AM EET' does not match format '%c'

It's somehow releated to timestamp format(and how can i change it for memacs) or just a bug?

novoid commented 6 years ago

Hi, I am the maintainer of Memacs.

The mumail module was not implemented by me and I am not using mumail or this Memacs module. Please write memacs-mumail@m.stennes.org as stated in https://github.com/novoid/Memacs/blob/master/docs/memacs_mumail.org so that he is able to help you with this issue. I'll close the issue when it is solved.

Thanks!

novoid commented 6 years ago

Hi @stvol,

As of https://github.com/novoid/Memacs/commits/master/memacs/mu.py you are the author of the mumail module.

Could you please help @schvabodka-man?

(I'm going to close the issue when we won't find a solution until end of 2018 and I'm going to mark the module unmaintained since I don't use mumail at all.)

novoid commented 5 years ago

@schvabodka-man I assume this issue is solved. If you do not report back for confirmation, I'll close this issue soon.

novoid commented 5 years ago

I assume that this issue was fixed above. If not, please re-open issue and provide further information. Thanks!