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

使用python的ics模块解析时报ValueError: A VALARM must have at least one DESCRIPTION #42

Closed
f1ynng8 opened this issue Dec 25, 2023 · 2 comments

Comments

@f1ynng8
Copy link

f1ynng8 commented Dec 25, 2023

报错信息:
ValueError: A VALARM must have at least one DESCRIPTION

gpt解释:
VALARM是iCalendar规范的一部分,用于定义一个闹钟组件。根据规范,VALARM必须至少包含一个DESCRIPTION属性。

如果你在解析.ics文件时遇到了ValueError: A VALARM must have at least one DESCRIPTION这个错误,那可能是因为你的.ics文件中的VALARM组件没有包含DESCRIPTION属性。

@f1ynng8
Copy link
Author

f1ynng8 commented Dec 25, 2023

暂时先通过文本处理删除了所有的VALARM组件来供本地解析使用,希望作者能够在VALARM中添加DESCRIPTION。

@lanceliao
Copy link
Owner

感谢反馈,已修复

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