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: helloworld sample transform on tungsten 3.4 5003 #20

Closed
stanleyf opened this issue Dec 15, 2013 · 3 comments
Closed

ERROR: helloworld sample transform on tungsten 3.4 5003 #20

stanleyf opened this issue Dec 15, 2013 · 3 comments

Comments

@stanleyf
Copy link

canari framework is awesome!
thank you for all the hours you put into this project.

i used the create- package and create-profile and maltego UI to import.

is my setup that is wrong? or is it a bug with the path on import?

if someone please could point me in the right direction, that would be awesome

OS: Linux 3.8.0-19-generic amd64
JAVA: 1.7.0_45 VM
JAVA: Java HotSpot(TM) 64-Bit Server VM 24.45-b08

ERROR:
Transform To MyTestEntity [Hello World] done
Running transform To MyTestEntity [Hello World] on 1 entities.
Transform To MyTestEntity [Hello World] returned with an error: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/canari-1.0-py2.7.egg/canari/commands/run_transform.py", line 73, in run
transform_module = import_transform(transform)
File "/usr/local/lib/python2.7/dist-packages/canari-1.0-py2.7.egg/canari/commands/common.py", line 192, in import_transform
return import(script, globals(), locals(), ['dotransform'])
ImportError: No module named transforms.helloworld

Transform To MyTestEntity [Hello World] done

@allfro
Copy link
Owner

allfro commented Dec 15, 2013

Hi @stanleyf

It looks like your package isn't in the python site-path. Make sure you run python setup.py install prior to running the transforms in Maltego.

Cheers,

Nadeem

@stanleyf
Copy link
Author

Wupss! silly me ;)

It works flawless, thank you!

-Stanley

@allfro
Copy link
Owner

allfro commented Dec 15, 2013

Cheers! :)

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

2 participants