Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: unsupported DTSTART parm: VALUE=DATE-TIME #679

Closed
potuz opened this issue Jun 22, 2017 · 5 comments
Closed

ValueError: unsupported DTSTART parm: VALUE=DATE-TIME #679

potuz opened this issue Jun 22, 2017 · 5 comments

Comments

@potuz
Copy link

potuz commented Jun 22, 2017

I am not sure where to report this. It is an issue with python-dateutil module, more than khal, but nonetheless I report here (and radicale) in search for help. When trying to sync a calendar built from khal to radicale I get

Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/vobject/base.py", line 183, in transformToNati
ve
return self.behavior.transformToNative(self)
File "/usr/lib/python3.4/site-packages/vobject/icalendar.py", line 989, in transformT
oNative
obj.registerTzinfo(obj.tzinfo)
File "/usr/lib/python3.4/site-packages/vobject/icalendar.py", line 150, in gettzinfo
return tz.tzical(buffer).get()
File "/usr/lib/python3.4/site-packages/dateutil/tz/tz.py", line 1109, in init
self._parse_rfc(fobj.read())
File "/usr/lib/python3.4/site-packages/dateutil/tz/tz.py", line 1230, in _parse_rfc
cache=True)
File "/usr/lib/python3.4/site-packages/dateutil/rrule.py", line 1603, in call
return self._parse_rfc(s, **kwargs)
File "/usr/lib/python3.4/site-packages/dateutil/rrule.py", line 1562, in _parse_rfc
raise ValueError("unsupported DTSTART parm: "+parm)
ValueError: unsupported DTSTART parm: VALUE=DATE-TIME

Which is due to rrule.py not wanting any parameter to DTSTART. Can I do something about this, or where should be the correct place to report it?

@geier
Copy link
Member

geier commented Jun 23, 2017

When and where does this error occur? This traceback doesn't really look vdirsyncer or khal related, or is the .ics that khal causing these errors somewhere else?

Could you also link the radicale issue?

@potuz
Copy link
Author

potuz commented Jun 23, 2017 via email

@geier
Copy link
Member

geier commented Jun 23, 2017

quick note: dateutil is actually on github these days: https://github.com/dateutil/dateutil, I'll look at this later properly.

@potuz
Copy link
Author

potuz commented Jun 23, 2017 via email

@potuz potuz changed the title alueError: unsupported DTSTART parm: VALUE=DATE-TIME ValueError: unsupported DTSTART parm: VALUE=DATE-TIME Jun 23, 2017
@geier
Copy link
Member

geier commented Jun 27, 2017

You'll probably want to ignore VALUE=DATE as well.

I'll close this, because I believe our code generates standard compliant .ics files.

@geier geier closed this as completed Jun 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants