Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

[bug] object of type 'NoneType' has no len() #47

Open
mzemb opened this issue May 19, 2015 · 1 comment
Open

[bug] object of type 'NoneType' has no len() #47

mzemb opened this issue May 19, 2015 · 1 comment

Comments

@mzemb
Copy link

mzemb commented May 19, 2015

machination create --sharedfolder /home/titi/toto /mnt/project --sharedfolder /home/titi/tutu /mnt/install --no-interactive --verbose :1.0
[...]
Templates loaded.
Instances loaded.
Instance does not exist, proceeding to its creation.
[...]
Unable to create machine instance : object of type 'NoneType' has no len().
Traceback (most recent call last):
File "/usr/local/share/machination/python/machination/cmdline.py", line 454, in createMachineInstance
(template, arch, osversion, provider, provisioner, guestInterfaces, sharedFolders) = w.execute(args,templates)
File "/usr/local/share/machination/python/machination/cmdline.py", line 249, in execute
if(len(args.guestinterface) < template.getGuestInterfaces()):
TypeError: object of type 'NoneType' has no len()

@mzemb
Copy link
Author

mzemb commented May 19, 2015

patch: line 249 of cmdLine.py :
"+ args.guestinterface!=None and "

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

No branches or pull requests

1 participant