Giter Site home page Giter Site logo

machbar-kalender's People

Watchers

Christoph Sterz avatar Sven Köhler avatar Nicco Kunzmann avatar Kirstin Heidler avatar James Cloos avatar cyroxx avatar  avatar  avatar

machbar-kalender's Issues

Error in calendar

https://open-web-calendar.herokuapp.com/calendar.events.json?specification_url=https://raw.githubusercontent.com/Chaostreff-Potsdam/machbar-kalender/master/calendar-specification.json&timeshift=-60

This is true for the calendar of chaostreff and of machbar.

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Traceback (most recent call last):
  File "/app/.heroku/python/lib/python3.7/site-packages/icalendar/parser.py", line 340, in parts
    validate_token(name)
  File "/app/.heroku/python/lib/python3.7/site-packages/icalendar/parser.py", line 128, in validate_token
    raise ValueError(name)
ValueError: {"errors"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/app/.heroku/python/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/app/app.py", line 229, in get_calendar
    entries = get_events(specification)
  File "/app/app.py", line 209, in get_events
    for events in events_list:
  File "/app/.heroku/python/lib/python3.7/concurrent/futures/_base.py", line 586, in result_iterator
    yield fs.pop().result()
  File "/app/.heroku/python/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/app/.heroku/python/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/app/.heroku/python/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/app/app.py", line 208, in 
    events_list = e.map(lambda url: retrieve_calendar(url, specification), urls)
  File "/app/app.py", line 159, in retrieve_calendar
    calendars = icalendar.Calendar.from_ical(calendar_text, multiple=True)
  File "/app/.heroku/python/lib/python3.7/site-packages/icalendar/cal.py", line 330, in from_ical
    name, params, vals = line.parts()
  File "/app/.heroku/python/lib/python3.7/site-packages/icalendar/parser.py", line 354, in parts
    % (self, exc)
ValueError: Content line could not be parsed into parts: '{"errors":["param is missing or the value is empty: category_slug_path_with_id"]}': {"errors"

Might be, it is the discourse calendar.

https://forum.wilap.de/c/machbar/l/calendar.ics?time_zone=Europe/Berlin
Yes, it is.

{"errors":["param is missing or the value is empty: category_slug_path_with_id"]}

https://forum.wilap.de/c/machbar/l/calendar.ics?category_slug_path_with_id=machbar works however, it duplicates the slug id :\

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.