Hello Didi,
Sure I will do that.
Thank you.
Regards,
Aidil
From: Yedidyah Bar David
Sent: Tuesday, 26 May 2020 2:25 pm
To: Aidilf Fitri
Cc: users
Subject: Re: [ovirt-users] Error encountered when running ovirt-engine-rename
On Tue, May 26, 2020 at 4:06 AM Aidilf Fitri <darketemplar@outlook.sg> wrote:
>
> Hello All,
>
> I have encountered an error when trying to execute the ovirt engine rename script. Below is the error I have encountered. Any advise?
>
> ----------------Start of Error----------------------------------------------------------------------------------------------------------------------------------------------------
> ***L:ERROR Internal error: No module named 'urlparse'
> Traceback (most recent call last):
> File "/usr/lib/python3.6/site-packages/otopi/main.py", line 141, in execute
> self.context.loadPlugins()
> File "/usr/lib/python3.6/site-packages/otopi/context.py", line 803, in loadPlugins
> self._loadPluginGroups(plugindir, needgroups, loadedgroups)
> File "/usr/lib/python3.6/site-packages/otopi/context.py", line 112, in _loadPluginGroups
> self._loadPlugins(path, path, groupname)
> File "/usr/lib/python3.6/site-packages/otopi/context.py", line 69, in _loadPlugins
> self._loadPlugins(base, d, groupname)
> File "/usr/lib/python3.6/site-packages/otopi/context.py", line 100, in _loadPlugins
> os.path.basename(path),
> File "/usr/lib/python3.6/site-packages/otopi/util.py", line 109, in loadModule
> spec.loader.exec_module(module)
> File "<frozen importlib._bootstrap_external>", line 678, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-rename/vmconsole_proxy_helper/__init__.py", line 15, in <module>
> from . import config
> File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-rename/vmconsole_proxy_helper/config.py", line 14, in <module>
> import urlparse
> ModuleNotFoundError: No module named 'urlparse'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "/usr/lib/python3.6/site-packages/otopi/__main__.py", line 88, in main
> installer.execute()
> File "/usr/lib/python3.6/site-packages/otopi/main.py", line 147, in execute
> sys.exc_info()[2],
> File "/usr/lib/python3.6/site-packages/otopi/util.py", line 84, in raiseExceptionInformation
> raise info[1].with_traceback(info[2])
> File "/usr/lib/python3.6/site-packages/otopi/main.py", line 141, in execute
> self.context.loadPlugins()
> File "/usr/lib/python3.6/site-packages/otopi/context.py", line 803, in loadPlugins
> self._loadPluginGroups(plugindir, needgroups, loadedgroups)
> File "/usr/lib/python3.6/site-packages/otopi/context.py", line 112, in _loadPluginGroups
> self._loadPlugins(path, path, groupname)
> File "/usr/lib/python3.6/site-packages/otopi/context.py", line 69, in _loadPlugins
> self._loadPlugins(base, d, groupname)
> File "/usr/lib/python3.6/site-packages/otopi/context.py", line 100, in _loadPlugins
> os.path.basename(path),
> File "/usr/lib/python3.6/site-packages/otopi/util.py", line 109, in loadModule
> spec.loader.exec_module(module)
> File "<frozen importlib._bootstrap_external>", line 678, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-rename/vmconsole_proxy_helper/__init__.py", line 15, in <module>
> from . import config
> File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-rename/vmconsole_proxy_helper/config.py", line 14, in <module>
> import urlparse
> otopi.main.PluginLoadException: No module named 'urlparse'
> ----------------End of Error----------------------------------------------------------------------------------------------------------------------------------------------------
Seems like it was forgotten during the move to python3. There is no
urlparse in python3.
Sorry for that.
Would you like to file a bug?
https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine
Thanks and best regards,
--
Didi