Symptoms
-
Site Import fails with ModuleNotFoundError: No module named 'urllib2'
CONFIG_TEXT: command: su jdoe --shell /bin/sh -c '/usr/local/psa/admin/plib/modules/site-import/backend/lib/python/parallels/core/extras/web-stream-downloader/web-stream-downloader --config-file -'
exit code: 1
stdout:
stderr: Traceback (most recent call last):
File "/usr/local/psa/admin/plib/modules/site-import/backend/lib/python/parallels/core/extras/web-stream-downloader/web-stream-downloader", line 3, in [module]
from web_stream_downloader.main import main
File "/opt/psa/admin/plib/modules/site-import/backend/lib/python/parallels/core/extras/web-stream-downloader/web_stream_downloader/main.py", line 4, in [module]
import urllib2
ModuleNotFoundError: No module named 'urllib2'
Cause
Product issue:
-
#PMT-5363 "Site import no longer fails with the âNo module named /âurllib2/ââ error."
Fixed in:- Site Import 1.8.4 15 August 2024
Resolution
Workaround
If update is not possible for some reason you may try the following
Update Plesk to the latest release.
Comments
Please sign in to leave a comment.