allfro / canari

Local and Remote Maltego Rapid Transform Development Framework
http://www.canariproject.com
102 stars 27 forks source link

Error on canari install-package #14

Closed catalyst256 closed 11 years ago

catalyst256 commented 11 years ago

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 commented 11 years ago

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