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
ERROR !!Unknown/Unexpected ERROR!!
ERROR If you're able to reproduce this please report this to the Ganga developers!
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[30], line 1
----> 1 j.virtualization = Docker("docker://fedora:latest")
File ~/Documents/GitHub/gsoc-2024/ganga/gangaenv/lib/python3.8/site-packages/ganga/GangaCore/GPIDev/Base/Proxy.py:883, in GPIProxyClassFactory.<locals>._init(self, *args, **kwds)
881 elif arg_len < len(getfullargspec(pluginclass.__init__)[0]):
882 clean_args = (stripProxy(arg) for arg in args)
--> 883 instance = pluginclass(*clean_args)
884 else:
885 # In the future we will just pass the args to the classes directly and throw excepions, but for now we're trying to maintain old behavior
886 logger.warning("Cannot use arguments: '%s' for constructing class type '%s'. Ignoring." %
887 (args, getName(pluginclass)))
TypeError: __init__() missing 1 required positional argument: 'mode'
Same issue if I run j.virtualization = Docker("fedora:latest")
The following lines in the documentation Virtualization.rst contains these instructions:
line 42 j.virtualization = Docker("docker://fedora:latest")
line 81 j.virtualization = Docker("image:tag")
e.g.: j.virtualization = Docker("fedora:latest")
The command that works is: j.virtualization = Docker(image="fedora:latest")
If this is a simple case of updating the documentation, I can do it soon. Thanks
The text was updated successfully, but these errors were encountered:
Passing arguments such as
Docker("docker://fedora:latest")
throwsTypeError
.Steps to reproduce
Error
Same issue if I run
j.virtualization = Docker("fedora:latest")
The following lines in the documentation Virtualization.rst contains these instructions:
line 42
j.virtualization = Docker("docker://fedora:latest")
line 81
j.virtualization = Docker("image:tag")
e.g.:
j.virtualization = Docker("fedora:latest")
The command that works is:
j.virtualization = Docker(image="fedora:latest")
If this is a simple case of updating the documentation, I can do it soon. Thanks
The text was updated successfully, but these errors were encountered: