Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catch missing config #4

Open
mikemackintosh opened this issue Aug 24, 2014 · 0 comments
Open

catch missing config #4

mikemackintosh opened this issue Aug 24, 2014 · 0 comments

Comments

@mikemackintosh
Copy link
Member

╭ ─[12:04:32]
╰ ─ splug@Splugs-MacMini { ~ } $ ctznosx manager register
[ Manager::Register ] Attempting to register device with remote server
Traceback (most recent call last):
File "/usr/local/bin/ctznosx", line 5, in
cli.main()
File "/Library/Python/2.7/site-packages/ctznosx/cli.py", line 103, in main
manager(argv)
File "/Library/Python/2.7/site-packages/ctznosx/cli.py", line 58, in manager
Manager.register_device()
File "/Library/Python/2.7/site-packages/ctznosx/devicemgmt.py", line 42, in register_device
code, resp = send_request("%s/connect/%s" % (CONFIG["reporting"]["target"], data["serial"]), data)
File "/Library/Python/2.7/site-packages/ctznosx/devicemgmt.py", line 66, in send_request
response = opener.open(request)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 396, in open
protocol = req.get_type()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 258, in get_type
raise ValueError, "unknown url type: %s" % self.original
ValueError: unknown url type: /connect/C0________

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant