Registering failed, could not get access token
Hi, sorry if this is a stupid mistake on my side, but what should I do if I get the following output: (I THINK I installed everything you mentioned), thanks for this tool, I hope I can get it to work.
C:\Users\naien\Downloads\cfib90-ojoc-2080a31409a2>ojoc.py
OJOC, Copyright (C) 2016 Christian Fibich
OJOC comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.
This is free software, and you are welcome to redistribute it
under certain conditions; see LICENSE for details.
OJOC makes use of OpenStreetMap's Nominatim Service.
See http://wiki.openstreetmap.org/wiki/Nominatim for details.
C:\Users\naien\AppData\Local\cfib90\OJOC\Cache None 'NoneType' object has no attribute 'getitem' Registering failed Could not get access token: None: 'NoneType' object has no attribute 'getitem' Could not connect to server: Authorization error. Traceback (most recent call last): File "C:\Users\naien\Downloads\cfib90-ojoc-2080a31409a2\ojoc.py", line 210, in initialize Notify.Notification.new("OJOC","Error: "+msg).show() File "C:\Python27\lib\site-packages\gi\module.py", line 139, in getattr self.name, name)) AttributeError: 'gi.repository.Notify' object has no attribute 'Notification'
Comments (1)
-
repo owner - Log in to comment
Two problems:
Please set verbose to True in OJOC/Connection.py and then paste the output again. Make sure you wrap your pasted text in
```
("Code").