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

Error on canari install-package #14

Closed
catalyst256 opened this issue Apr 18, 2013 · 1 comment
Closed

Error on canari install-package #14

catalyst256 opened this issue Apr 18, 2013 · 1 comment

Comments

@catalyst256
Copy link

Morning, I've just come across this error when trying to install my package. It's worked fine up until now and I'm not sure if its canari or my code (worked fine on another machine).

root@bt:~/localTransforms/sniffMyPackets# canari install-package sniffMyPackets -w /root/localTransforms/sniffMyPackets/src
Looking for transforms in sniffMyPackets.transforms
Installing transform sniffMyPackets.v2.map2ip_domain from sniffMyPackets.transforms.map2ip...
Installing transform sniffMyPackets.v2.map2ip_host from sniffMyPackets.transforms.map2ip...
Traceback (most recent call last):
File "/usr/local/bin/canari", line 5, in
pkg_resources.run_script('canari==0.8', 'canari')
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 461, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1194, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.6/dist-packages/canari-0.8-py2.6.egg/EGG-INFO/scripts/canari", line 45, in
main()
File "/usr/local/lib/python2.6/dist-packages/canari-0.8-py2.6.egg/EGG-INFO/scripts/canari", line 40, in main
cmds[args[0].command].run(args[1])
File "/usr/local/lib/python2.6/dist-packages/canari-0.8-py2.6.egg/canari/commands/install_package.py", line 331, in run
opts.working_dir
File "/usr/local/lib/python2.6/dist-packages/canari-0.8-py2.6.egg/canari/commands/install_package.py", line 104, in install_transform
intype = spec.inputs[i]1.type
IndexError: list index out of range

I've tried this on BackTrack 5 R3 and Kali.

Backtrack was using the easy_install method to get canari and Kali was from doing a git pull and then installing canari again.

Thanks.

@catalyst256
Copy link
Author

Actually ignore me, it was my code. I had left something in one of my transforms that was generating the error.

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