Failed to parse response. Reason: Failed to read data from stream Process output: libxml2.pyc

Created:

2016-11-16 13:09:10 UTC

Modified:

2017-04-24 11:56:11 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Failed to parse response. Reason: Failed to read data from stream Process output: libxml2.pyc

Applicable to:

  • Plesk 11.5 for Windows
  • Plesk
  • Plesk 12.0 for Windows

Symptoms

When opening Tools & Settings > Backup Manager in Parallels Plesk the following error message is displayed:

    Internal error: Failed to parse response. Reason: Failed to read data from stream Process output:
Message Failed to parse response. Reason: Failed to read data from stream Process output:
File PMMConnector.php
Line 708
Type PleskPMMResponseException

In " %plesk_dir%\\admin\\logs\\php_error.log " there is a following message:

    PleskPMMResponseException: Failed to parse response. Reason: Failed to read data from stream         Process output: 
file: %plesk_dir%\\admin\\plib\\backup\\protocol\\PMMConnector.php
line: 708
code: 0
trace: #0 %plesk_dir%\\admin\\plib\\backup\\protocol\\PMMConnector.php(299): PMMConnector->getResponse(Object(StreamXMLReader))

Running " PMMcli.exe " binary in command line outputs an error:

    "%plesk_bin%\\PMMcli.exe" --help 
C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin>PMMcli.exe --help
Traceback (most recent call last):
File "C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\PMMcli-runner.py", line 14, in <module>
import pmmcli
File "C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\share\\pmmcli\\pmmcli.py", line 8, in <module>
import libxml2
ImportError: Bad magic number in C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\lib\\python\\libxml2\\libxml2.pyc

Cause

Corrupted Python addon file or folder.

Resolution

Reinstall Python as described in KB article #213957405 .

Have more questions? Submit a request
Please sign in to leave a comment.