无法将生成的 ics 文件导入 Google 日历和 Outlook
我正在尝试生成 ics 文件,请参阅此处的示例: http://deap.nu/myprogram.ics< /a>
它在这里验证正常:https://icalendar.org/validator.html 但当尝试将其导入谷歌日历时,我收到消息
“导入事件失败:无法处理您的 ical/CSV 文件。”
这不是很有信息。我尝试精简文件,并用谷歌搜索了很多,但找不到问题所在。对此的任何意见都将受到赞赏。
导入到outlook也不起作用。
I'm trying to generate ics-files, see sample here: http://deap.nu/myprogram.ics
It validates alright here: https://icalendar.org/validator.html
but when trying to import it into a google calendar I get the message
"Failed to import events: Unable to process your ical/CSV file."
which isn't very informative. I've tried to slim the file down, and googled a lot but can't find whats wrong. Any input on this is appreciated.
Importing to outlook doesn't work either.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我意识到这是一篇旧帖子,但我添加此帖子是为了帮助其他可能在尝试导入 .ics 文件时遇到问题的人。
就 Google 日历而言,这些错误不是描述性的,也不是完全误导性的。我遇到了权限错误,但这是由于文件中存在 UID(唯一事件 ID)造成的。正如 Google 日历社区论坛所述,解决方案是删除文件中的该行,保存它,然后尝试再次导入它。成功了!
I realize this is an old post, but I'm adding this in to help others that might run into issues trying to import an .ics file.
As far as Google Calendar, the errors are not descriptive or outright misleading. I had a permissions error, but that was due to a UID (Unique Event ID) being in the file. As described below from Google's Calendar Community Forum, the solution was to remove that line from the file, save it, then try to import it again. It worked!
经过一番睡眠和更多的尝试和错误后,我设法将问题查明到 .ics 文件中的 Organizer 元素。所以我暂时删除了它们,而是将信息添加到了描述中。
After some sleep and more trial and error I managed to pinpoint the problem to the Organizer elements in the .ics file. So I removed them for now, adding the information to the description instead.
我还有另一个关于成功导入 GCalendar (calendar.google.com) 的建议。我多次导入 ics 文件失败,并出现毫无意义的错误消息。
我尝试了任何使 ics-file 标准符合的方法,遗漏了所有 UID 行等,但没有任何帮助。
我使用的是 Google Chrome,这是我日常使用的浏览器。
我想:哪种浏览器更适合与 Google 服务一起使用?
但是:当我使用 Microsoft Edge(基于 Chromium)登录 google-calendar 时,ics-import 就开箱即用了。
希望它可以帮助其他遇到同样问题的人...
然后
I have another recommandation for a successful import to GCalendar (calendar.google.com). I failed several times to import an ics-File with meaningless error messages.
I tried anything to make the ics-file standard conform, left out all UID rows etc. but nothing helped.
I used Google Chrome, which is my normal every day browser.
I thought: Which browser could be better to use it with Google-Services?
But: When I logged in to google-calendar using Microsoft Edge (Chromium-based) the ics-import just worked out of the box.
Hope it helps others with the same problem...
Then
我刚刚解决了具有相同描述的问题。我可以保留 Organizer,但是在 Linux 上使用 emacs 编辑文件时,我注意到描述包含回车符 (^M),而当我保存 .ics 文件时,其他换行符已标准化为 Linux 标准。我删除了^Ms,然后它就正常导入了。
I just got past a problem with the same description. I could leave Organizer in, but, editing the file with emacs on linux, I noticed that the Description contained carriage returns (^M), whereas the other line breaks had been normalized to linux standard when I had saved the .ics file. I removed the ^Ms and it then imported fine.