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----------------------------------------------------------------------------------------------------------------------------------------------------