These are chat archives for DataBrewery/cubes

19th
Apr 2016
Affan Sadiq
@affansadiq
Apr 19 2016 15:13
Hey is anyone there who could help me im having some issues when trying to import my model
When trying to import whats inside test.json with workspace.import_model('test.json') i get this error
/Users/Affan/repos/cubes/examples/worldbank/build/bdist.macosx-10.11-x86_64/egg/cubes/metadata.py(76)_json_from_url()
-> raise SyntaxError("Syntax error in %s: %s" % (url, str(e)))
(Pdb) Traceback (most recent call last):
File "aggregate.py", line 15, in <module>
workspace.import_model("test.json")
File "build/bdist.macosx-10.11-x86_64/egg/cubes/workspace.py", line 436, in import_model
File "build/bdist.macosx-10.11-x86_64/egg/cubes/metadata.py", line 97, in read_model_metadata
File "build/bdist.macosx-10.11-x86_64/egg/cubes/metadata.py", line 76, in _json_from_url
File "build/bdist.macosx-10.11-x86_64/egg/cubes/metadata.py", line 76, in _json_from_url
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/bdb.py", line 49, in trace_dispatch
return self.dispatch_line(frame)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/bdb.py", line 67, in dispatch_line
self.user_line(frame)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pdb.py", line 158, in user_line
self.interaction(frame, None)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pdb.py", line 210, in interaction
self.cmdloop()
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cmd.py", line 130, in cmdloop
line = raw_input(self.prompt)
Affan Sadiq
@affansadiq
Apr 19 2016 16:11
Nevermind i have solved the issue..was working on the issue for 6 hours and noticed that i added a ',' by mistake --