I'm using PyQode in FreeCAD as a scripting editor. When I switch to another workbench, I close the file being edited and remove the PyCodeEdit widget from the left dock. If a user goes back to the workbench with PyCodeEdit during the same session, the editor gets added again (via the same mechanism that added it the first time) and the document is opened, but the editor stays blank (no text). I can pull the text from the editor instance and manipulate it via code, but the text just doesn't show up in the PyCodeEdit instance. I grabbed a log of a session where I selected my workbench, then switched to another, then switched back to mine. I'm not sure if there's any information in it that will help in diagnosing this.
DEBUG:pyqode.qt:importing PySide
DEBUG:pyqode.qt:imported PySide
INFO:pyqode.qt:using pyside
INFO:pyqode.core.managers.backend:starting backend process: python2.7 /usr/lib/freecad/Mod/CadQuery/cq_server.py 58243 -s /usr/lib/freecad/Mod/CadQuery/Libs
DEBUG:pyqode.core.managers.modes:adding mode 'OutlineMode'
DEBUG:pyqode.core.managers.panels:adding panel FoldingPanel at 'left'
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.managers.panels:panel FoldingPanel installed
DEBUG:pyqode.core.managers.panels:adding panel LineNumberPanel at 'left'
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.managers.panels:panel LineNumberPanel installed
DEBUG:pyqode.core.managers.panels:adding panel CheckerPanel at 'left'
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.managers.panels:panel CheckerPanel installed
DEBUG:pyqode.core.managers.panels:adding panel GlobalCheckerPanel at 'right'
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.managers.panels:panel GlobalCheckerPanel installed
DEBUG:pyqode.core.managers.panels:adding panel SearchAndReplacePanel at 'bottom'
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.api.panel:SearchAndReplacePanel visibility changed
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.managers.panels:panel SearchAndReplacePanel installed
DEBUG:pyqode.core.api.panel:EncodingPanel visibility changed
DEBUG:pyqode.core.managers.panels:adding panel EncodingPanel at 'top'
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.managers.panels:panel EncodingPanel installed
DEBUG:pyqode.core.managers.panels:adding panel QuickDocPanel at 'bottom'
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.api.panel:QuickDocPanel visibility changed
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.managers.panels:panel QuickDocPanel installed
DEBUG:pyqode.core.managers.modes:adding mode 'CaretLineHighlighterMode'
DEBUG:pyqode.core.managers.modes:adding mode 'FileWatcherMode'
DEBUG:pyqode.core.managers.modes:adding mode 'RightMarginMode'
DEBUG:pyqode.core.managers.modes:adding mode 'ZoomMode'
DEBUG:pyqode.core.managers.modes:adding mode 'SymbolMatcherMode'
DEBUG:pyqode.core.managers.modes:adding mode 'CodeCompletionMode'
DEBUG:pyqode.core.managers.modes:adding mode 'OccurrencesHighlighterMode'
DEBUG:pyqode.core.managers.modes:adding mode 'SmartBackSpaceMode'
DEBUG:pyqode.core.managers.modes:adding mode 'ExtendedSelectionMode'
DEBUG:pyqode.core.managers.modes:adding mode 'CaseConverterMode'
DEBUG:pyqode.core.managers.modes:adding mode 'PyAutoIndentMode'
DEBUG:pyqode.core.managers.modes:adding mode 'PyAutoCompleteMode'
DEBUG:pyqode.core.managers.modes:adding mode 'FrostedCheckerMode'
DEBUG:pyqode.core.modes.checker [FrostedCheckerMode]:running analysis
DEBUG:pyqode.core.managers.modes:adding mode 'PEP8CheckerMode'
DEBUG:pyqode.core.modes.checker [PEP8CheckerMode]:running analysis
DEBUG:pyqode.core.managers.modes:adding mode 'CalltipsMode'
DEBUG:pyqode.core.managers.modes:adding mode 'PyIndenterMode'
DEBUG:pyqode.core.managers.modes:adding mode 'GoToAssignmentsMode'
DEBUG:pyqode.core.managers.modes:adding mode 'CommentsMode'
DEBUG:pyqode.core.managers.modes:adding mode 'PythonSH'
DEBUG:pyqode.core.managers.file:detecting mimetype for Ex000_Introduction.py
DEBUG:pyqode.core.managers.file:mimetype detected: text/x-python
DEBUG:pyqode.core.modes.checker [FrostedCheckerMode]:running analysis
DEBUG:pyqode.core.modes.checker [PEP8CheckerMode]:running analysis
INFO:pyqode.core.api.code_edit:setPlainText duration: 0.007367s
INFO:pyqode.core.managers.backend:sending request, worker=<function defined_names at 0x7f3b425311b8>
DEBUG:pyqode.core.api.client:connecting to 127.0.0.1:58243
DEBUG:pyqode.core.api.panel:FoldingPanel visibility changed
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.api.panel:LineNumberPanel visibility changed
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.api.panel:CheckerPanel visibility changed
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.api.panel:GlobalCheckerPanel visibility changed
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.api.code_edit:show event: PyCodeEdit(path=u'/usr/lib/freecad/Mod/CadQuery/Examples/Ex000_Introduction.py')
INFO:pyqode.core.api.client:backend process started
DEBUG:pyqode.core.api.client:connected to backend: 127.0.0.1:58243
DEBUG:pyqode.core.api.client:sending request: {'data': {'path': u'/usr/lib/freecad/Mod/CadQuery/Examples/Ex000_Introduction.py', 'code': u'# This example is meant to be used from within the CadQuery module of FreeCAD.\n# From within FreeCAD, you can make changes to this script and then click\n# CadQuery > Execute Script, or you can press F2.\n# There are more examples in the Examples directory included with this module.\n# Ex026_Lego_Brick.py is highly recommended as a great example of what CadQuery\n# can do.\nimport cadquery\nfrom Helpers import show\n\n# The dimensions of the box. These can be modified rather than changing the\n# object\'s code directly.\nlength = 2.0\nheight = 1.0\nthickness = 1.0\n\n# Create a 3D box based on the dimension variables above\nresult = cadquery.Workplane("XY").box(length, height, thickness)\n\n# Render the solid\nshow(result)\n', 'encoding': u'UTF-8'}, 'worker': 'pyqode.python.backend.workers.defined_names', 'request_id': 'f974e49b-1dd6-4f3d-b1ee-295be2a25b60'}
DEBUG:pyqode.core.api.client:reading header
DEBUG:pyqode.core.api.client:header content: 490
DEBUG:pyqode.core.api.client:reading payload data
DEBUG:pyqode.core.api.client:remaining bytes to read: 490
DEBUG:pyqode.core.api.client:490 bytes read
DEBUG:pyqode.core.api.client:payload read: u'{"results": [{"column": 0, "line": 11, "children": [], "name": "length", "icon": ":/pyqode_python_icons/rc/var.png"}, {"column": 0, "line": 12, "children": [], "name": "height", "icon": ":/pyqode_python_icons/rc/var.png"}, {"column": 0, "line": 13, "children": [], "name": "thickness", "icon": ":/pyqode_python_icons/rc/var.png"}, {"column": 0, "line": 16, "children": [], "name": "result", "icon": ":/pyqode_python_icons/rc/var.png"}], "request_id": "f974e49b-1dd6-4f3d-b1ee-295be2a25b60"}'
DEBUG:pyqode.core.api.client:payload length: 490
DEBUG:pyqode.core.api.client:decoding payload as json object
DEBUG:pyqode.core.api.client:response received: {u'results': [{u'column': 0, u'line': 11, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'length'}, {u'column': 0, u'line': 12, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'height'}, {u'column': 0, u'line': 13, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'thickness'}, {u'column': 0, u'line': 16, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'result'}], u'request_id': u'f974e49b-1dd6-4f3d-b1ee-295be2a25b60'}
DEBUG:pyqode.core.modes.outline:Document structure changed
DEBUG:pyqode.core.api.client:disconnected from backend: 127.0.0.1:58243
INFO:pyqode.core.managers.backend:sending request, worker=<function run_pep8 at 0x7f3b425312a8>
DEBUG:pyqode.core.api.client:connecting to 127.0.0.1:58243
DEBUG:pyqode.core.api.client:connected to backend: 127.0.0.1:58243
DEBUG:pyqode.core.api.client:sending request: {'data': {'path': u'/usr/lib/freecad/Mod/CadQuery/Examples/Ex000_Introduction.py', 'code': u'# This example is meant to be used from within the CadQuery module of FreeCAD.\n# From within FreeCAD, you can make changes to this script and then click\n# CadQuery > Execute Script, or you can press F2.\n# There are more examples in the Examples directory included with this module.\n# Ex026_Lego_Brick.py is highly recommended as a great example of what CadQuery\n# can do.\nimport cadquery\nfrom Helpers import show\n\n# The dimensions of the box. These can be modified rather than changing the\n# object\'s code directly.\nlength = 2.0\nheight = 1.0\nthickness = 1.0\n\n# Create a 3D box based on the dimension variables above\nresult = cadquery.Workplane("XY").box(length, height, thickness)\n\n# Render the solid\nshow(result)\n', 'encoding': u'UTF-8'}, 'worker': 'pyqode.python.backend.workers.run_pep8', 'request_id': '536b2a94-5d96-497c-bac5-f4f790ff64bc'}
DEBUG:pyqode.core.api.client:reading header
DEBUG:pyqode.core.api.client:header content: 69
DEBUG:pyqode.core.api.client:reading payload data
DEBUG:pyqode.core.api.client:remaining bytes to read: 69
DEBUG:pyqode.core.api.client:69 bytes read
DEBUG:pyqode.core.api.client:payload read: u'{"results": [], "request_id": "536b2a94-5d96-497c-bac5-f4f790ff64bc"}'
DEBUG:pyqode.core.api.client:payload length: 69
DEBUG:pyqode.core.api.client:decoding payload as json object
DEBUG:pyqode.core.api.client:response received: {u'results': [], u'request_id': u'536b2a94-5d96-497c-bac5-f4f790ff64bc'}
DEBUG:pyqode.core.modes.checker [PEP8CheckerMode]:adding 0 messages
DEBUG:pyqode.core.api.client:disconnected from backend: 127.0.0.1:58243
DEBUG:pyqode.core.modes.checker [PEP8CheckerMode]:finished
INFO:pyqode.core.managers.backend:sending request, worker=<function defined_names at 0x7f3b425311b8>
DEBUG:pyqode.core.api.client:connecting to 127.0.0.1:58243
DEBUG:pyqode.core.api.client:connected to backend: 127.0.0.1:58243
DEBUG:pyqode.core.api.client:sending request: {'data': {'path': u'/usr/lib/freecad/Mod/CadQuery/Examples/Ex000_Introduction.py', 'code': u'# This example is meant to be used from within the CadQuery module of FreeCAD.\n# From within FreeCAD, you can make changes to this script and then click\n# CadQuery > Execute Script, or you can press F2.\n# There are more examples in the Examples directory included with this module.\n# Ex026_Lego_Brick.py is highly recommended as a great example of what CadQuery\n# can do.\nimport cadquery\nfrom Helpers import show\n\n# The dimensions of the box. These can be modified rather than changing the\n# object\'s code directly.\nlength = 2.0\nheight = 1.0\nthickness = 1.0\n\n# Create a 3D box based on the dimension variables above\nresult = cadquery.Workplane("XY").box(length, height, thickness)\n\n# Render the solid\nshow(result)\n', 'encoding': u'UTF-8'}, 'worker': 'pyqode.python.backend.workers.defined_names', 'request_id': '3730e9d0-d19f-4a4f-803f-e65ee07e442f'}
INFO:pyqode.core.managers.backend:sending request, worker=<function findall at 0x7f3b43546410>
DEBUG:pyqode.core.api.client:connecting to 127.0.0.1:58243
DEBUG:pyqode.core.api.client:connected to backend: 127.0.0.1:58243
DEBUG:pyqode.core.api.client:sending request: {'data': {'regex': False, 'case_sensitive': True, 'string': u'# This example is meant to be used from within the CadQuery module of FreeCAD.\n# From within FreeCAD, you can make changes to this script and then click\n# CadQuery > Execute Script, or you can press F2.\n# There are more examples in the Examples directory included with this module.\n# Ex026_Lego_Brick.py is highly recommended as a great example of what CadQuery\n# can do.\nimport cadquery\nfrom Helpers import show\n\n# The dimensions of the box. These can be modified rather than changing the\n# object\'s code directly.\nlength = 2.0\nheight = 1.0\nthickness = 1.0\n\n# Create a 3D box based on the dimension variables above\nresult = cadquery.Workplane("XY").box(length, height, thickness)\n\n# Render the solid\nshow(result)\n', 'whole_word': True, 'sub': u'thickness'}, 'worker': 'pyqode.core.backend.workers.findall', 'request_id': '0f1599ab-9ec5-4570-a71f-550469f74d59'}
DEBUG:pyqode.core.api.client:reading header
DEBUG:pyqode.core.api.client:header content: 490
DEBUG:pyqode.core.api.client:reading payload data
DEBUG:pyqode.core.api.client:remaining bytes to read: 490
DEBUG:pyqode.core.api.client:490 bytes read
DEBUG:pyqode.core.api.client:payload read: u'{"results": [{"column": 0, "line": 11, "children": [], "name": "length", "icon": ":/pyqode_python_icons/rc/var.png"}, {"column": 0, "line": 12, "children": [], "name": "height", "icon": ":/pyqode_python_icons/rc/var.png"}, {"column": 0, "line": 13, "children": [], "name": "thickness", "icon": ":/pyqode_python_icons/rc/var.png"}, {"column": 0, "line": 16, "children": [], "name": "result", "icon": ":/pyqode_python_icons/rc/var.png"}], "request_id": "3730e9d0-d19f-4a4f-803f-e65ee07e442f"}'
DEBUG:pyqode.core.api.client:payload length: 490
DEBUG:pyqode.core.api.client:decoding payload as json object
DEBUG:pyqode.core.api.client:response received: {u'results': [{u'column': 0, u'line': 11, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'length'}, {u'column': 0, u'line': 12, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'height'}, {u'column': 0, u'line': 13, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'thickness'}, {u'column': 0, u'line': 16, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'result'}], u'request_id': u'3730e9d0-d19f-4a4f-803f-e65ee07e442f'}
DEBUG:pyqode.core.modes.outline:Document structure changed
DEBUG:pyqode.core.api.client:disconnected from backend: 127.0.0.1:58243
DEBUG:pyqode.core.api.client:reading header
DEBUG:pyqode.core.api.client:header content: 91
DEBUG:pyqode.core.api.client:reading payload data
DEBUG:pyqode.core.api.client:remaining bytes to read: 91
DEBUG:pyqode.core.api.client:91 bytes read
DEBUG:pyqode.core.api.client:payload read: u'{"results": [[542, 551], [670, 679]], "request_id": "0f1599ab-9ec5-4570-a71f-550469f74d59"}'
DEBUG:pyqode.core.api.client:payload length: 91
DEBUG:pyqode.core.api.client:decoding payload as json object
DEBUG:pyqode.core.api.client:response received: {u'results': [[542, 551], [670, 679]], u'request_id': u'0f1599ab-9ec5-4570-a71f-550469f74d59'}
DEBUG:pyqode.core.api.client:disconnected from backend: 127.0.0.1:58243
INFO:pyqode.core.managers.backend:sending request, worker=<function run_frosted at 0x7f3b42531320>
DEBUG:pyqode.core.api.client:connecting to 127.0.0.1:58243
DEBUG:pyqode.core.api.client:connected to backend: 127.0.0.1:58243
DEBUG:pyqode.core.api.client:sending request: {'data': {'path': u'/usr/lib/freecad/Mod/CadQuery/Examples/Ex000_Introduction.py', 'code': u'# This example is meant to be used from within the CadQuery module of FreeCAD.\n# From within FreeCAD, you can make changes to this script and then click\n# CadQuery > Execute Script, or you can press F2.\n# There are more examples in the Examples directory included with this module.\n# Ex026_Lego_Brick.py is highly recommended as a great example of what CadQuery\n# can do.\nimport cadquery\nfrom Helpers import show\n\n# The dimensions of the box. These can be modified rather than changing the\n# object\'s code directly.\nlength = 2.0\nheight = 1.0\nthickness = 1.0\n\n# Create a 3D box based on the dimension variables above\nresult = cadquery.Workplane("XY").box(length, height, thickness)\n\n# Render the solid\nshow(result)\n', 'encoding': u'UTF-8'}, 'worker': 'pyqode.python.backend.workers.run_frosted', 'request_id': '5e5cd63b-1cf7-483d-9a95-fabf7de21c67'}
DEBUG:pyqode.core.api.client:reading header
DEBUG:pyqode.core.api.client:header content: 69
DEBUG:pyqode.core.api.client:reading payload data
DEBUG:pyqode.core.api.client:remaining bytes to read: 69
DEBUG:pyqode.core.api.client:69 bytes read
DEBUG:pyqode.core.api.client:payload read: u'{"results": [], "request_id": "5e5cd63b-1cf7-483d-9a95-fabf7de21c67"}'
DEBUG:pyqode.core.api.client:payload length: 69
DEBUG:pyqode.core.api.client:decoding payload as json object
DEBUG:pyqode.core.api.client:response received: {u'results': [], u'request_id': u'5e5cd63b-1cf7-483d-9a95-fabf7de21c67'}
DEBUG:pyqode.core.modes.checker [FrostedCheckerMode]:adding 0 messages
DEBUG:pyqode.core.api.client:disconnected from backend: 127.0.0.1:58243
DEBUG:pyqode.core.modes.checker [FrostedCheckerMode]:finished
DEBUG:pyqode.core.modes.checker [FrostedCheckerMode]:running analysis
DEBUG:pyqode.core.modes.checker [PEP8CheckerMode]:running analysis
INFO:pyqode.core.managers.backend:sending request, worker=<function run_pep8 at 0x7f3b425312a8>
DEBUG:pyqode.core.api.client:connecting to 127.0.0.1:58243
DEBUG:pyqode.core.api.client:connected to backend: 127.0.0.1:58243
DEBUG:pyqode.core.api.client:sending request: {'data': {'path': '', 'code': u'', 'encoding': 'UTF-8'}, 'worker': 'pyqode.python.backend.workers.run_pep8', 'request_id': '4021727d-99ed-4db7-b845-63c2d4f18031'}
DEBUG:pyqode.core.api.client:reading header
DEBUG:pyqode.core.api.client:header content: 69
DEBUG:pyqode.core.api.client:reading payload data
DEBUG:pyqode.core.api.client:remaining bytes to read: 69
DEBUG:pyqode.core.api.client:69 bytes read
DEBUG:pyqode.core.api.client:payload read: u'{"results": [], "request_id": "4021727d-99ed-4db7-b845-63c2d4f18031"}'
DEBUG:pyqode.core.api.client:payload length: 69
DEBUG:pyqode.core.api.client:decoding payload as json object
DEBUG:pyqode.core.api.client:response received: {u'results': [], u'request_id': u'4021727d-99ed-4db7-b845-63c2d4f18031'}
DEBUG:pyqode.core.modes.checker [PEP8CheckerMode]:adding 0 messages
DEBUG:pyqode.core.api.client:disconnected from backend: 127.0.0.1:58243
DEBUG:pyqode.core.modes.checker [PEP8CheckerMode]:finished
INFO:pyqode.core.managers.backend:sending request, worker=<function run_frosted at 0x7f3b42531320>
DEBUG:pyqode.core.api.client:connecting to 127.0.0.1:58243
DEBUG:pyqode.core.api.client:connected to backend: 127.0.0.1:58243
DEBUG:pyqode.core.api.client:sending request: {'data': {'path': '', 'code': u'', 'encoding': 'UTF-8'}, 'worker': 'pyqode.python.backend.workers.run_frosted', 'request_id': 'f952cc84-5814-428c-85b6-f217dbd2025e'}
DEBUG:pyqode.core.api.client:reading header
DEBUG:pyqode.core.api.client:header content: 69
DEBUG:pyqode.core.api.client:reading payload data
DEBUG:pyqode.core.api.client:remaining bytes to read: 69
DEBUG:pyqode.core.api.client:69 bytes read
DEBUG:pyqode.core.api.client:payload read: u'{"results": [], "request_id": "f952cc84-5814-428c-85b6-f217dbd2025e"}'
DEBUG:pyqode.core.api.client:payload length: 69
DEBUG:pyqode.core.api.client:decoding payload as json object
DEBUG:pyqode.core.api.client:response received: {u'results': [], u'request_id': u'f952cc84-5814-428c-85b6-f217dbd2025e'}
DEBUG:pyqode.core.modes.checker [FrostedCheckerMode]:adding 0 messages
DEBUG:pyqode.core.api.client:disconnected from backend: 127.0.0.1:58243
DEBUG:pyqode.core.modes.checker [FrostedCheckerMode]:finished
INFO:pyqode.core.managers.backend:starting backend process: python2.7 /usr/lib/freecad/Mod/CadQuery/cq_server.py 42223 -s /usr/lib/freecad/Mod/CadQuery/Libs
DEBUG:pyqode.core.managers.modes:adding mode 'OutlineMode'
DEBUG:pyqode.core.managers.panels:adding panel FoldingPanel at 'left'
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.managers.panels:panel FoldingPanel installed
DEBUG:pyqode.core.managers.panels:adding panel LineNumberPanel at 'left'
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.managers.panels:panel LineNumberPanel installed
DEBUG:pyqode.core.managers.panels:adding panel CheckerPanel at 'left'
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.managers.panels:panel CheckerPanel installed
DEBUG:pyqode.core.managers.panels:adding panel GlobalCheckerPanel at 'right'
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.managers.panels:panel GlobalCheckerPanel installed
DEBUG:pyqode.core.managers.panels:adding panel SearchAndReplacePanel at 'bottom'
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.api.panel:SearchAndReplacePanel visibility changed
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.managers.panels:panel SearchAndReplacePanel installed
DEBUG:pyqode.core.api.panel:EncodingPanel visibility changed
DEBUG:pyqode.core.managers.panels:adding panel EncodingPanel at 'top'
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.managers.panels:panel EncodingPanel installed
DEBUG:pyqode.core.managers.panels:adding panel QuickDocPanel at 'bottom'
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.api.panel:QuickDocPanel visibility changed
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.managers.panels:panel QuickDocPanel installed
DEBUG:pyqode.core.managers.modes:adding mode 'CaretLineHighlighterMode'
DEBUG:pyqode.core.managers.modes:adding mode 'FileWatcherMode'
DEBUG:pyqode.core.managers.modes:adding mode 'RightMarginMode'
DEBUG:pyqode.core.managers.modes:adding mode 'ZoomMode'
DEBUG:pyqode.core.managers.modes:adding mode 'SymbolMatcherMode'
DEBUG:pyqode.core.managers.modes:adding mode 'CodeCompletionMode'
DEBUG:pyqode.core.managers.modes:adding mode 'OccurrencesHighlighterMode'
DEBUG:pyqode.core.managers.modes:adding mode 'SmartBackSpaceMode'
DEBUG:pyqode.core.managers.modes:adding mode 'ExtendedSelectionMode'
DEBUG:pyqode.core.managers.modes:adding mode 'CaseConverterMode'
DEBUG:pyqode.core.managers.modes:adding mode 'PyAutoIndentMode'
DEBUG:pyqode.core.managers.modes:adding mode 'PyAutoCompleteMode'
DEBUG:pyqode.core.managers.modes:adding mode 'FrostedCheckerMode'
DEBUG:pyqode.core.modes.checker [FrostedCheckerMode]:running analysis
DEBUG:pyqode.core.managers.modes:adding mode 'PEP8CheckerMode'
DEBUG:pyqode.core.modes.checker [PEP8CheckerMode]:running analysis
DEBUG:pyqode.core.managers.modes:adding mode 'CalltipsMode'
DEBUG:pyqode.core.managers.modes:adding mode 'PyIndenterMode'
DEBUG:pyqode.core.managers.modes:adding mode 'GoToAssignmentsMode'
DEBUG:pyqode.core.managers.modes:adding mode 'CommentsMode'
DEBUG:pyqode.core.managers.modes:adding mode 'PythonSH'
DEBUG:pyqode.core.managers.file:detecting mimetype for Ex000_Introduction.py
DEBUG:pyqode.core.managers.file:mimetype detected: text/x-python
DEBUG:pyqode.core.modes.checker [FrostedCheckerMode]:running analysis
DEBUG:pyqode.core.modes.checker [PEP8CheckerMode]:running analysis
INFO:pyqode.core.api.code_edit:setPlainText duration: 0.007224s
INFO:pyqode.core.managers.backend:sending request, worker=<function defined_names at 0x7f3b425311b8>
DEBUG:pyqode.core.api.client:connecting to 127.0.0.1:58243
DEBUG:pyqode.core.api.panel:FoldingPanel visibility changed
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.api.panel:LineNumberPanel visibility changed
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.api.panel:CheckerPanel visibility changed
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.api.panel:GlobalCheckerPanel visibility changed
DEBUG:pyqode.core.managers.panels:refresh_panels
DEBUG:pyqode.core.api.code_edit:show event: PyCodeEdit(path='')
DEBUG:pyqode.core.modes.checker [FrostedCheckerMode]:running analysis
DEBUG:pyqode.core.modes.checker [PEP8CheckerMode]:running analysis
INFO:pyqode.core.api.client:backend process started
DEBUG:pyqode.core.api.client:connected to backend: 127.0.0.1:58243
DEBUG:pyqode.core.api.client:sending request: {'data': {'path': u'/usr/lib/freecad/Mod/CadQuery/Examples/Ex000_Introduction.py', 'code': u'# This example is meant to be used from within the CadQuery module of FreeCAD.\n# From within FreeCAD, you can make changes to this script and then click\n# CadQuery > Execute Script, or you can press F2.\n# There are more examples in the Examples directory included with this module.\n# Ex026_Lego_Brick.py is highly recommended as a great example of what CadQuery\n# can do.\nimport cadquery\nfrom Helpers import show\n\n# The dimensions of the box. These can be modified rather than changing the\n# object\'s code directly.\nlength = 2.0\nheight = 1.0\nthickness = 1.0\n\n# Create a 3D box based on the dimension variables above\nresult = cadquery.Workplane("XY").box(length, height, thickness)\n\n# Render the solid\nshow(result)\n', 'encoding': u'UTF-8'}, 'worker': 'pyqode.python.backend.workers.defined_names', 'request_id': '8c7a1360-b5ea-416e-9491-ca4677ac043b'}
DEBUG:pyqode.core.api.client:reading header
DEBUG:pyqode.core.api.client:header content: 490
DEBUG:pyqode.core.api.client:reading payload data
DEBUG:pyqode.core.api.client:remaining bytes to read: 490
DEBUG:pyqode.core.api.client:490 bytes read
DEBUG:pyqode.core.api.client:payload read: u'{"results": [{"column": 0, "line": 11, "children": [], "name": "length", "icon": ":/pyqode_python_icons/rc/var.png"}, {"column": 0, "line": 12, "children": [], "name": "height", "icon": ":/pyqode_python_icons/rc/var.png"}, {"column": 0, "line": 13, "children": [], "name": "thickness", "icon": ":/pyqode_python_icons/rc/var.png"}, {"column": 0, "line": 16, "children": [], "name": "result", "icon": ":/pyqode_python_icons/rc/var.png"}], "request_id": "8c7a1360-b5ea-416e-9491-ca4677ac043b"}'
DEBUG:pyqode.core.api.client:payload length: 490
DEBUG:pyqode.core.api.client:decoding payload as json object
DEBUG:pyqode.core.api.client:response received: {u'results': [{u'column': 0, u'line': 11, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'length'}, {u'column': 0, u'line': 12, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'height'}, {u'column': 0, u'line': 13, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'thickness'}, {u'column': 0, u'line': 16, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'result'}], u'request_id': u'8c7a1360-b5ea-416e-9491-ca4677ac043b'}
DEBUG:pyqode.core.modes.outline:Document structure changed
DEBUG:pyqode.core.api.client:disconnected from backend: 127.0.0.1:58243
INFO:pyqode.core.managers.backend:sending request, worker=<function run_pep8 at 0x7f3b425312a8>
DEBUG:pyqode.core.api.client:connecting to 127.0.0.1:58243
DEBUG:pyqode.core.api.client:connected to backend: 127.0.0.1:58243
DEBUG:pyqode.core.api.client:sending request: {'data': {'path': u'/usr/lib/freecad/Mod/CadQuery/Examples/Ex000_Introduction.py', 'code': u'# This example is meant to be used from within the CadQuery module of FreeCAD.\n# From within FreeCAD, you can make changes to this script and then click\n# CadQuery > Execute Script, or you can press F2.\n# There are more examples in the Examples directory included with this module.\n# Ex026_Lego_Brick.py is highly recommended as a great example of what CadQuery\n# can do.\nimport cadquery\nfrom Helpers import show\n\n# The dimensions of the box. These can be modified rather than changing the\n# object\'s code directly.\nlength = 2.0\nheight = 1.0\nthickness = 1.0\n\n# Create a 3D box based on the dimension variables above\nresult = cadquery.Workplane("XY").box(length, height, thickness)\n\n# Render the solid\nshow(result)\n', 'encoding': u'UTF-8'}, 'worker': 'pyqode.python.backend.workers.run_pep8', 'request_id': '5a28736f-a643-490b-bef1-a64a73cc622e'}
DEBUG:pyqode.core.api.client:reading header
DEBUG:pyqode.core.api.client:header content: 69
DEBUG:pyqode.core.api.client:reading payload data
DEBUG:pyqode.core.api.client:remaining bytes to read: 69
DEBUG:pyqode.core.api.client:69 bytes read
DEBUG:pyqode.core.api.client:payload read: u'{"results": [], "request_id": "5a28736f-a643-490b-bef1-a64a73cc622e"}'
DEBUG:pyqode.core.api.client:payload length: 69
DEBUG:pyqode.core.api.client:decoding payload as json object
DEBUG:pyqode.core.api.client:response received: {u'results': [], u'request_id': u'5a28736f-a643-490b-bef1-a64a73cc622e'}
DEBUG:pyqode.core.modes.checker [PEP8CheckerMode]:adding 0 messages
DEBUG:pyqode.core.api.client:disconnected from backend: 127.0.0.1:58243
DEBUG:pyqode.core.modes.checker [PEP8CheckerMode]:finished
INFO:pyqode.core.managers.backend:sending request, worker=<function run_pep8 at 0x7f3b425312a8>
DEBUG:pyqode.core.api.client:connecting to 127.0.0.1:42223
DEBUG:pyqode.core.api.client:connected to backend: 127.0.0.1:42223
DEBUG:pyqode.core.api.client:sending request: {'data': {'path': '', 'code': u'', 'encoding': 'UTF-8'}, 'worker': 'pyqode.python.backend.workers.run_pep8', 'request_id': '17801e2a-4237-400b-9560-28b295dde3d3'}
DEBUG:pyqode.core.api.client:reading header
DEBUG:pyqode.core.api.client:header content: 69
DEBUG:pyqode.core.api.client:reading payload data
DEBUG:pyqode.core.api.client:remaining bytes to read: 69
DEBUG:pyqode.core.api.client:69 bytes read
DEBUG:pyqode.core.api.client:payload read: u'{"results": [], "request_id": "17801e2a-4237-400b-9560-28b295dde3d3"}'
DEBUG:pyqode.core.api.client:payload length: 69
DEBUG:pyqode.core.api.client:decoding payload as json object
DEBUG:pyqode.core.api.client:response received: {u'results': [], u'request_id': u'17801e2a-4237-400b-9560-28b295dde3d3'}
DEBUG:pyqode.core.modes.checker [PEP8CheckerMode]:adding 0 messages
DEBUG:pyqode.core.api.client:disconnected from backend: 127.0.0.1:42223
DEBUG:pyqode.core.modes.checker [PEP8CheckerMode]:finished
INFO:pyqode.core.managers.backend:sending request, worker=<function defined_names at 0x7f3b425311b8>
DEBUG:pyqode.core.api.client:connecting to 127.0.0.1:58243
DEBUG:pyqode.core.api.client:connected to backend: 127.0.0.1:58243
DEBUG:pyqode.core.api.client:sending request: {'data': {'path': u'/usr/lib/freecad/Mod/CadQuery/Examples/Ex000_Introduction.py', 'code': u'# This example is meant to be used from within the CadQuery module of FreeCAD.\n# From within FreeCAD, you can make changes to this script and then click\n# CadQuery > Execute Script, or you can press F2.\n# There are more examples in the Examples directory included with this module.\n# Ex026_Lego_Brick.py is highly recommended as a great example of what CadQuery\n# can do.\nimport cadquery\nfrom Helpers import show\n\n# The dimensions of the box. These can be modified rather than changing the\n# object\'s code directly.\nlength = 2.0\nheight = 1.0\nthickness = 1.0\n\n# Create a 3D box based on the dimension variables above\nresult = cadquery.Workplane("XY").box(length, height, thickness)\n\n# Render the solid\nshow(result)\n', 'encoding': u'UTF-8'}, 'worker': 'pyqode.python.backend.workers.defined_names', 'request_id': '731f631e-f065-4da1-80b7-7c3269523dc0'}
DEBUG:pyqode.core.api.client:reading header
DEBUG:pyqode.core.api.client:header content: 490
DEBUG:pyqode.core.api.client:reading payload data
DEBUG:pyqode.core.api.client:remaining bytes to read: 490
DEBUG:pyqode.core.api.client:490 bytes read
DEBUG:pyqode.core.api.client:payload read: u'{"results": [{"column": 0, "line": 11, "children": [], "name": "length", "icon": ":/pyqode_python_icons/rc/var.png"}, {"column": 0, "line": 12, "children": [], "name": "height", "icon": ":/pyqode_python_icons/rc/var.png"}, {"column": 0, "line": 13, "children": [], "name": "thickness", "icon": ":/pyqode_python_icons/rc/var.png"}, {"column": 0, "line": 16, "children": [], "name": "result", "icon": ":/pyqode_python_icons/rc/var.png"}], "request_id": "731f631e-f065-4da1-80b7-7c3269523dc0"}'
DEBUG:pyqode.core.api.client:payload length: 490
DEBUG:pyqode.core.api.client:decoding payload as json object
DEBUG:pyqode.core.api.client:response received: {u'results': [{u'column': 0, u'line': 11, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'length'}, {u'column': 0, u'line': 12, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'height'}, {u'column': 0, u'line': 13, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'thickness'}, {u'column': 0, u'line': 16, u'icon': u':/pyqode_python_icons/rc/var.png', u'children': [], u'name': u'result'}], u'request_id': u'731f631e-f065-4da1-80b7-7c3269523dc0'}
DEBUG:pyqode.core.modes.outline:Document structure changed
DEBUG:pyqode.core.api.client:disconnected from backend: 127.0.0.1:58243
INFO:pyqode.core.managers.backend:sending request, worker=<function run_frosted at 0x7f3b42531320>
DEBUG:pyqode.core.api.client:connecting to 127.0.0.1:58243
DEBUG:pyqode.core.api.client:connected to backend: 127.0.0.1:58243
DEBUG:pyqode.core.api.client:sending request: {'data': {'path': u'/usr/lib/freecad/Mod/CadQuery/Examples/Ex000_Introduction.py', 'code': u'# This example is meant to be used from within the CadQuery module of FreeCAD.\n# From within FreeCAD, you can make changes to this script and then click\n# CadQuery > Execute Script, or you can press F2.\n# There are more examples in the Examples directory included with this module.\n# Ex026_Lego_Brick.py is highly recommended as a great example of what CadQuery\n# can do.\nimport cadquery\nfrom Helpers import show\n\n# The dimensions of the box. These can be modified rather than changing the\n# object\'s code directly.\nlength = 2.0\nheight = 1.0\nthickness = 1.0\n\n# Create a 3D box based on the dimension variables above\nresult = cadquery.Workplane("XY").box(length, height, thickness)\n\n# Render the solid\nshow(result)\n', 'encoding': u'UTF-8'}, 'worker': 'pyqode.python.backend.workers.run_frosted', 'request_id': 'd707fb1a-ddfb-4713-a412-9a3a4a28e709'}
DEBUG:pyqode.core.api.client:reading header
DEBUG:pyqode.core.api.client:header content: 69
DEBUG:pyqode.core.api.client:reading payload data
DEBUG:pyqode.core.api.client:remaining bytes to read: 69
DEBUG:pyqode.core.api.client:69 bytes read
DEBUG:pyqode.core.api.client:payload read: u'{"results": [], "request_id": "d707fb1a-ddfb-4713-a412-9a3a4a28e709"}'
DEBUG:pyqode.core.api.client:payload length: 69
DEBUG:pyqode.core.api.client:decoding payload as json object
DEBUG:pyqode.core.api.client:response received: {u'results': [], u'request_id': u'd707fb1a-ddfb-4713-a412-9a3a4a28e709'}
DEBUG:pyqode.core.modes.checker [FrostedCheckerMode]:adding 0 messages
DEBUG:pyqode.core.api.client:disconnected from backend: 127.0.0.1:58243
DEBUG:pyqode.core.modes.checker [FrostedCheckerMode]:finished
INFO:pyqode.core.managers.backend:sending request, worker=<function run_frosted at 0x7f3b42531320>
DEBUG:pyqode.core.api.client:connecting to 127.0.0.1:42223
DEBUG:pyqode.core.api.client:connected to backend: 127.0.0.1:42223
DEBUG:pyqode.core.api.client:sending request: {'data': {'path': '', 'code': u'', 'encoding': 'UTF-8'}, 'worker': 'pyqode.python.backend.workers.run_frosted', 'request_id': 'e8976760-6f66-4910-babb-c96d0a3b1531'}
DEBUG:pyqode.core.api.client:reading header
DEBUG:pyqode.core.api.client:header content: 69
DEBUG:pyqode.core.api.client:reading payload data
DEBUG:pyqode.core.api.client:remaining bytes to read: 69
DEBUG:pyqode.core.api.client:69 bytes read
DEBUG:pyqode.core.api.client:payload read: u'{"results": [], "request_id": "e8976760-6f66-4910-babb-c96d0a3b1531"}'
DEBUG:pyqode.core.api.client:payload length: 69
DEBUG:pyqode.core.api.client:decoding payload as json object
DEBUG:pyqode.core.api.client:response received: {u'results': [], u'request_id': u'e8976760-6f66-4910-babb-c96d0a3b1531'}
DEBUG:pyqode.core.modes.checker [FrostedCheckerMode]:adding 0 messages
DEBUG:pyqode.core.api.client:disconnected from backend: 127.0.0.1:42223
DEBUG:pyqode.core.modes.checker [FrostedCheckerMode]:finished