Article ID: 122916, created on Sep 17, 2014, last review on Oct 28, 2014

  • Applies to:
  • Plesk 12.0 for Windows


Backup manager shows the error:

    Runtime error in pmmcli: cannot import name StringIO

From pmmcli.log:

    DEBUG: --> <pmmcli.GetTasksListAction object at 0x023DEA10>
    CRITICAL: Runtime error in pmmcli: 
    <type 'exceptions.ImportError'> cannot import name StringIO
    Traceback (most recent call last):
      File "C:\Program Files (x86)\Parallels\Plesk\admin\share\pmmcli\", line 2650, in main
        data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
      File "C:\Program Files (x86)\Parallels\Plesk\admin\share\pmmcli\", line 2489, in get_tasks_list
        return ActionRunner(GetTasksListAction, task_params, deprecated_params).doActivity()
      File "C:\Program Files (x86)\Parallels\Plesk\admin\share\pmmcli\", line 160, in __init__
        self.processor = ActionProcessor(parameter_stdin, parameters)
      File "C:\Program Files (x86)\Parallels\Plesk\admin\share\pmmcli\", line 1702, in __init__
        PMMCliAction.__init__(self, parameter_stdin, parameters)
      File "C:\Program Files (x86)\Parallels\Plesk\admin\share\pmmcli\", line 197, in __init__"stdin: " + maskPassword(parameter_stdin))
      File "C:\Program Files (x86)\Parallels\Plesk\admin\share\pmmcli\", line 187, in maskPassword
        return doc.toxml()
      File "C:\PROGRA~2\PARALL~1\Plesk\python\lib\xml\dom\", line 46, in toxml
        return self.toprettyxml("", "", encoding)
      File "C:\PROGRA~2\PARALL~1\Plesk\python\lib\xml\dom\", line 51, in toprettyxml
        writer = _get_StringIO()
      File "C:\PROGRA~2\PARALL~1\Plesk\python\lib\xml\dom\", line 1907, in _get_StringIO
        from StringIO import StringIO
    ImportError: cannot import name StringIO


File "C:\Program Files (x86)\Parallels\Plesk\python\Lib\StringIO.pyc" is corrupted or was replaced.


Make sure that file "C:\Program Files (x86)\Parallels\Plesk\python\Lib\StringIO.pyc" was not modified. If it was modified, just rename this file. New one will be generated automatiacally.

ed7be2b984f9c27de1d2dc349dc19c6d 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 a766cea0c28e23e978fa78ef81918ab8

Email subscription for changes to this article
Save as PDF