Kongaloosh / blog-a-loosh

This is an indieweb blog developed for personal use.
9 stars 2 forks source link

Slugifying error on add. #88

Closed Kongaloosh closed 6 years ago

Kongaloosh commented 6 years ago

[2018-09-11 09:00:57 +0000] [24437] [ERROR] Error handling request /add
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gunicorn/workers/sync.py", line 130, in handle
  File "/usr/lib/python2.7/dist-packages/gunicorn/workers/sync.py", line 171, in handle_request
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 2309, in __call__
    return self.wsgi_app(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 2295, in wsgi_app
    response = self.handle_exception(e)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1741, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/deploy/kongaloosh/kongaloosh.py", line 372, in add
    location = create_json_entry(data, g=g, draft=True)
  File "/home/deploy/kongaloosh/pysrc/file_management/file_parser.py", line 237, in create_json_entry
    file_writer = open(total_path+".json", 'w')                # open and dump the actual post meta-data```