Event creator issues

I need to update the start time for our quarterly meeting in December. This is also the big Birthday Bash. I have tried several ways of editing the meeting and nothing will allow me to sync. I can’t even delete it. Can someone please help?

Make sure that you are not adding “Meetup” to the list of platforms. There is a known issue with that sync option.

I did that. I am aware of that issue. This is something else and I can’t figure out what.

@ladeana Do you have any ideas here?

The problem was Meetup. Looks like it was selected when the event was created, and was throwing an error when trying to remove it. I manually deleted the Meetup event and removed the database entry.

=============================
removing platform Meetup from Quarterly Membership Meeting
Platform('Meetup')
ERROR:main:Exception on /sync/2925 [GET]
Traceback (most recent call last):
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/requests/models.py", line 971, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/gql/transport/requests.py", line 243, in execute
    result = response.json()
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/requests/models.py", line 975, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/gql/transport/requests.py", line 231, in raise_response_error
    resp.raise_for_status()
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.meetup.com/gql

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/flask/app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/flask/app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/flask/app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/flask/app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/flask_login/utils.py", line 290, in decorated_view
    return current_app.ensure_sync(func)(*args, **kwargs)
  File "/var/event-creator/src/routes.py", line 237, in sync
    result = SyncEvent(Event.query.get(event_id))
  File "/var/event-creator/src/event_sync.py", line 36, in SyncEvent
    loadedPlugins[platform.name].deleteEvent(event)
  File "plugins/Meetup/__init__.py", line 274, in deleteEvent
    result = self._call(query, variables)
  File "plugins/Meetup/__init__.py", line 130, in _call
    result = client.execute(gql(query), variable_values=variables)
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/gql/client.py", line 410, in execute
    **kwargs,
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/gql/client.py", line 228, in execute_sync
    **kwargs,
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/gql/client.py", line 855, in execute
    **kwargs,
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/gql/client.py", line 762, in _execute
    **kwargs,
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/gql/transport/requests.py", line 249, in execute
    raise_response_error(response, "Not a JSON answer")
  File "/root/.local/share/virtualenvs/event-creator-o0TfSS_7/lib/python3.7/site-packages/gql/transport/requests.py", line 233, in raise_response_error
    raise TransportServerError(str(e), e.response.status_code) from e
gql.transport.exceptions.TransportServerError: 404 Client Error: Not Found for url: https://api.meetup.com/gql

Thank You Christian. That wasnt an option the average joe has access to inside of event creator. I appreciate your help. :slight_smile: