You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing an .mtz file which contains Entities and Icons that were exported from Maltego 3.6.1, the "canari create-profile" command will throw the error:
****:~/Downloads/<project>$ canari create-profile <project>
Looking for transforms in <project>.transforms...
Package loaded.
Creating profile /home/****/Downloads/<project>/<project>.mtz...
Installing transform ****
Installing entity ****
Installing custom icon Icons/ to Icons/...
Traceback (most recent call last):
File "/usr/local/bin/canari", line 4, in <module>
__import__('pkg_resources').run_script('canari==1.1', 'canari')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1394, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/EGG-INFO/scripts/canari", line 20, in <module>
canari_main()
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/commands/framework.py", line 33, in _func
return func(self.parser.parse_args(args_, namespace))
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/commands/common.py", line 65, in canari_main
opts.command_function(opts)
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/commands/create_profile.py", line 54, in create_profile
transform_package.create_profile(opts.working_dir, current_dir)
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/pkgutils/transform.py", line 311, in create_profile
self.install(install_prefix, mtz, configure)
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/pkgutils/transform.py", line 237, in install
self._install_entities(distribution)
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/pkgutils/transform.py", line 263, in _install_entities
distribution.write_file(p, data)
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/pkgutils/maltego.py", line 695, in write_file
self.writestr(zinfo_or_arcname, contents)
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/pkgutils/maltego.py", line 481, in writestr
with file(realpath, mode='wb') as f:
IOError: [Errno 21] Is a directory: '/tmp/tmpmfaenH/Icons/'
Writing transform set <project> to /home/****/Downloads/<project>/<project>.mtz...
Writing server Local to /home/****/Downloads/<project>/<project>.mtz
To generate the .mtz file within Maltego:
Create a new entity;
Import a new Icon;
Assign the Icon to the entity;
Export the entity to a .mtz file.
Place the mtz file into the "/src//resources/maltego" folder.
The text was updated successfully, but these errors were encountered:
When importing an .mtz file which contains Entities and Icons that were exported from Maltego 3.6.1, the "canari create-profile" command will throw the error:
To generate the .mtz file within Maltego:
The text was updated successfully, but these errors were encountered: