Backup manager shows the error: "Internal error: Failed to parse response. Reason: Failed to read data from stream Process output:"

Created:

2016-11-16 13:11:13 UTC

Modified:

2017-04-24 11:03:09 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Backup manager shows the error: "Internal error: Failed to parse response. Reason: Failed to read data from stream Process output:"

Applicable to:

  • Plesk Onyx for Linux
  • Plesk 12.0 for Windows

Symptoms

When opening Tools & Settings > Backup Manager in 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:

file: C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\backup\\protocol\\PMMConnector.php
line: 708
code: 0
trace: #0 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\backup\\protocol\\PMMConnector.php(299): PMMConnector->getResponse(Object(StreamXMLReader))
#1 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\CommonPanel\\Controller\\Action\\Backup\\Trait.php(1629): PMMConnector->getTasksList(Array, Array, '3600', 'domain')
#2 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\CommonPanel\\Controller\\Action\\Backup\\Trait.php(1371): Smb_BackupController->_getStatuses()
#3 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\CommonPanel\\Controller\\Action\\Backup\\Trait.php(58): Smb_BackupController->_getBackupLocalList()
#4 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\externals\\Zend\\Controller\\Action.php(516): Smb_BackupController->localRepositoryAction()
#5 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\externals\\Zend\\Controller\\Dispatcher\\Standard.php(295): Zend_Controller_Action->dispatch('localRepository...')
#6 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\externals\\Zend\\Controller\\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#7 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Application\\Web.php(38): Zend_Controller_Front->dispatch(NULL)
#8 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\htdocs\\application.php(15): Plesk\\Application_Web->run()
#9 {main}
[2015-08-20 14:43:23] ERR [panel] PleskPMMResponseException: Failed to parse response. Reason: Failed to read data from stream Process output:
file: C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\backup\\protocol\\PMMConnector.php
line: 708
code: 0

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

"%plesk_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 29, in <module>
from pmmcli_daemon_actions import DaemonTaskDeleteTempDump
File "C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\share\\pmmcli\\pmmcli_daemon_actions.py", line 15, in <module>
import smtplib
File "C:\\PROGRA~2\\PARALL~1\\Plesk\\python\\lib\\smtplib.py", line 49, in <module>
from email.base64mime import encode as encode_base64
File "C:\\PROGRA~2\\PARALL~1\\Plesk\\python\\lib\\email\\base64mime.py", line 40, in <module>
from email.utils import fix_eols
ImportError: cannot import name fix_eols

Cause

File C:\\Program Files (x86)\\Parallels\\Plesk\\python\\Lib\\email\\utils.pyc is corrupted.

Resolution

Rename C:\\Program Files (x86)\\Parallels\\Plesk\\python\\Lib\\email\\utils.pyc file. New one will be generated automatiacally.

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