Jump to content
Ultimaker Community of 3D Printing Experts

'nonetype' object has no attribute 'close' in cura 7.1


Recommended Posts

Posted · 'nonetype' object has no attribute 'close' in cura 7.1

out of the blue my cura 7.1 started to give me the above error and i dont know why
 

Thread 0x000002d8 (most recent call first):
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\Backend\Backend.py", line 161 in _storeStderrToLogThread
  File "threading.py", line 862 in run
  File "threading.py", line 914 in _bootstrap_inner
  File "threading.py", line 882 in _bootstrap

Thread 0x000005c8 (most recent call first):
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\Backend\Backend.py", line 149 in _storeOutputToLogThread
  File "threading.py", line 862 in run
  File "threading.py", line 914 in _bootstrap_inner
  File "threading.py", line 882 in _bootstrap

Thread 0x000017d4 (most recent call first):
  File "C:\Program Files\Ultimaker Cura 4.6\plugins\RemovableDriveOutputDevice\RemovableDrivePlugin.py", line 61 in _updateThread
  File "threading.py", line 862 in run
  File "threading.py", line 914 in _bootstrap_inner
  File "threading.py", line 882 in _bootstrap

Thread 0x00001ee8 (most recent call first):
  File "C:\Program Files\Ultimaker Cura 4.6\plugins\USBPrinting\USBPrinterOutputDeviceManager.py", line 86 in _updateThread
  File "threading.py", line 862 in run
  File "threading.py", line 914 in _bootstrap_inner
  File "threading.py", line 882 in _bootstrap

Thread 0x00003640 (most recent call first):
  File "threading.py", line 297 in wait
  File "zeroconf\__init__.py", line 2117 in wait
  File "zeroconf\__init__.py", line 1434 in run
  File "threading.py", line 914 in _bootstrap_inner
  File "threading.py", line 882 in _bootstrap

Thread 0x00000674 (most recent call first):
  File "threading.py", line 297 in wait
  File "threading.py", line 549 in wait
  File "C:\Program Files\Ultimaker Cura 4.6\plugins\UM3NetworkPrinting\src\Network\ZeroConfClient.py", line 74 in _handleOnServiceChangedRequests
  File "threading.py", line 862 in run
  File "threading.py", line 914 in _bootstrap_inner
  File "threading.py", line 882 in _bootstrap

Thread 0x000026e4 (most recent call first):
  File "threading.py", line 297 in wait
  File "zeroconf\__init__.py", line 2117 in wait
  File "zeroconf\__init__.py", line 1262 in run
  File "threading.py", line 914 in _bootstrap_inner
  File "threading.py", line 882 in _bootstrap

Thread 0x00001f58 (most recent call first):
  File "zeroconf\__init__.py", line 1183 in run
  File "threading.py", line 914 in _bootstrap_inner
  File "threading.py", line 882 in _bootstrap

Thread 0x000013e4 (most recent call first):
  File "threading.py", line 293 in wait
  File "threading.py", line 424 in acquire
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run
  File "threading.py", line 914 in _bootstrap_inner
  File "threading.py", line 882 in _bootstrap

Thread 0x00002b30 (most recent call first):
  File "threading.py", line 293 in wait
  File "threading.py", line 424 in acquire
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run
  File "threading.py", line 914 in _bootstrap_inner
  File "threading.py", line 882 in _bootstrap

Thread 0x00001798 (most recent call first):
  File "threading.py", line 293 in wait
  File "threading.py", line 424 in acquire
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run
  File "threading.py", line 914 in _bootstrap_inner
  File "threading.py", line 882 in _bootstrap

Thread 0x000030e8 (most recent call first):
  File "threading.py", line 293 in wait
  File "threading.py", line 424 in acquire
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run
  File "threading.py", line 914 in _bootstrap_inner
  File "threading.py", line 882 in _bootstrap

Current thread 0x00002728 (most recent call first):
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\cura\CrashHandler.py", line 379 in _logInfoWidget
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\cura\CrashHandler.py", line 180 in _createDialog
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\cura\CrashHandler.py", line 86 in __init__
  File "C:\cura-build-output\build\inst\bin\cura_app.py", line 166 in exceptHook
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\Math\Polygon.py", line 224 in getConvexHull
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\cura\Scene\ConvexHullDecorator.py", line 292 in _compute2DConvexHull
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\cura\Scene\ConvexHullDecorator.py", line 109 in getConvexHull
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\cura\Scene\ConvexHullDecorator.py", line 168 in getPrintingArea
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\Scene\SceneNode.py", line 289 in callDecoration
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\cura\Scene\CuraSceneNode.py", line 91 in collidesWithAreas
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\cura\BuildVolume.py", line 263 in updateNodeBoundaryCheck
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\cura\PlatformPhysics.py", line 56 in _onChangeTimerFinished
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\cura\PlatformPhysics.py", line 194 in _onToolOperationStopped
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\Signal.py", line 332 in __performEmit
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\Signal.py", line 219 in emit
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\Controller.py", line 297 in _onToolOperationStopped
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\Signal.py", line 332 in __performEmit
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\Signal.py", line 219 in emit
  File "C:\Program Files\Ultimaker Cura 4.6\plugins\Tools\TranslateTool\TranslateTool.py", line 361 in event
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\Controller.py", line 397 in event
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\Signal.py", line 332 in __performEmit
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\Signal.py", line 219 in emit
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\Qt\QtMouseDevice.py", line 37 in handleEvent
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\Qt\Bindings\MainWindow.py", line 190 in mouseReleaseEvent
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\UM\Qt\QtApplication.py", line 378 in exec_
  File "C:\cura-build-output\build\inst\lib\python3.5\site-packages\cura\CuraApplication.py", line 813 in run
  File "C:\cura-build-output\build\inst\bin\cura_app.py", line 234 in <module>
  File "Console.py", line 24 in <module>
  File "<frozen importlib._bootstrap>", line 634 in _load_backward_compatible
  File "<frozen importlib._bootstrap>", line 664 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 957 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 968 in _find_and_load
  File "__startup__.py", line 12 in <module>
  File "<frozen importlib._bootstrap>", line 634 in _load_backward_compatible
  File "<frozen importlib._bootstrap>", line 664 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 957 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 968 in _find_and_load
AttributeError: 'NoneType' object has no attribute 'close'


this is the log

  • Link to post
    Share on other sites
    Posted · 'nonetype' object has no attribute 'close' in cura 7.1

    What triggers the error? ie: what do you do immediately before the error happens?

    Can you share Cura.log from the configuration folder?

     

    NB: Cura 7.1 does not exist. Cura 4.7.1 does.

  • Link to post
    Share on other sites
    Posted (edited) · 'nonetype' object has no attribute 'close' in cura 7.1

    It's happening to me as well. Immediately after slicing and attempting an Octoprint print. Saving the file and saving to SD works fine as does printing from those files and importing them manually to Octoprint but the direct connection throws that error since last night on a model I had successfully printed earlier in the evening with no settings changes. And on every subsequent file I try.

    Edited by jerryd11
  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • Create New...