What is the problem?
A certain uploaded Creality Slicer G-code job will not run. It is kind of greyed out and won't load or load/run. The log shows an error, I have no idea what it means:
TypeError: argument of type 'NoneType' is not iterable
2021-03-30 06:00:16,110 - tornado.access - ERROR - 500 POST /api/files/local/Bing_Gluing_Clamp_Long_Convx_Pair.gcode (fe80::7405:bab4:3240:fead) 64.01ms
I have been trying to run a specific part for several days off and on, created in TinkerCad and Sliced by Creality Slicer 1.2.3 similar to hundreds of other jobs I have run over the past 2 months.
Now it is getting worse. I ran a job today successfully and the same g-code, never moved from OctoPrint, would not run 4 hours later. I had to reload it 3 times and then it ran.
What did you already try to solve it?
I tried many changes to the slicer parameters, no help. I loaded it many time and it always remained grayed out, would never run. I finally loaded it sneaker net to the SD card and it ran fine
I can load the questionable g-code to the SD card manually or through the Octo feature and the Ender Pro 3 will run it without an issue.
Have you tried running in safe mode?
Yes.
Did running in safe mode solve the problem?
No.
Complete Logs
octoprint.log
, serial.log
or output on terminal tab at a minimum, browser error console if UI issue ... no logs, no support! Not log excerpts, complete logs.)
This is from a reboot through the error:
2021-03-30 05:57:22,236 - octoprint.startup - INFO - ******************************************************************************
2021-03-30 05:57:22,238 - octoprint.startup - INFO - Starting OctoPrint 1.5.3
2021-03-30 05:57:22,241 - octoprint.startup - INFO - ******************************************************************************
2021-03-30 05:57:28,865 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity state is currently: offline
2021-03-30 05:57:28,865 - octoprint.util.connectivity.connectivity_checker - INFO - Connecting to 8.8.8.8:53 is not working
2021-03-30 05:57:28,866 - octoprint.util.connectivity.connectivity_checker - INFO - Resolving octoprint.org is not working
2021-03-30 05:57:28,874 - octoprint.startup - INFO - We don't appear to be online, not fetching plugin blacklist
2021-03-30 05:57:28,979 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2021-03-30 05:57:30,575 - octoprint.plugin.core - INFO - Plugin TpLinkHandler (1.0.4) is disabled.
2021-03-30 05:57:30,651 - octoprint.plugin.core - INFO - Plugin Tasmota (1.0.1) is disabled.
2021-03-30 05:57:30,833 - octoprint.startup - INFO - Added settings overlay from plugin firmware_check
2021-03-30 05:57:30,838 - octoprint.plugin.core - INFO - Found 21 plugin(s) providing 19 mixin implementations, 40 hook handlers
2021-03-30 05:57:31,052 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2021-03-30 05:57:31,081 - octoprint.server - INFO - Intermediary server started
2021-03-30 05:57:31,131 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2021-03-30 05:57:31,641 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2021-03-30 05:57:31,646 - octoprint.server - INFO - Added new permission from plugin action_command_notification: PLUGIN_ACTION_COMMAND_NOTIFICATION_SHOW (needs: "Need(method='role', value='plugin_action_command_notification_show')")
2021-03-30 05:57:31,646 - octoprint.server - INFO - Added new permission from plugin action_command_notification: PLUGIN_ACTION_COMMAND_NOTIFICATION_CLEAR (needs: "Need(method='role', value='plugin_action_command_notification_clear')")
2021-03-30 05:57:31,647 - octoprint.server - INFO - Added new permission from plugin action_command_prompt: PLUGIN_ACTION_COMMAND_PROMPT_INTERACT (needs: "Need(method='role', value='plugin_action_command_prompt_interact')")
2021-03-30 05:57:31,648 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_READ (needs: "Need(method='role', value='plugin_announcements_read')")
2021-03-30 05:57:31,648 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_MANAGE (needs: "Need(method='role', value='plugin_announcements_manage'), Need(method='role', value='plugin_announcements_read')")
2021-03-30 05:57:31,649 - octoprint.server - INFO - Added new permission from plugin appkeys: PLUGIN_APPKEYS_ADMIN (needs: "Need(method='role', value='plugin_appkeys_admin')")
2021-03-30 05:57:31,650 - octoprint.server - INFO - Added new permission from plugin backup: PLUGIN_BACKUP_ACCESS (needs: "Need(method='role', value='plugin_backup_access')")
2021-03-30 05:57:31,650 - octoprint.server - INFO - Added new permission from plugin firmware_check: PLUGIN_FIRMWARE_CHECK_DISPLAY (needs: "Need(method='role', value='plugin_firmware_check_display')")
2021-03-30 05:57:31,651 - octoprint.server - INFO - Added new permission from plugin logging: PLUGIN_LOGGING_MANAGE (needs: "Need(method='role', value='plugin_logging_manage')")
2021-03-30 05:57:31,651 - octoprint.server - INFO - Added new permission from plugin pi_support: PLUGIN_PI_SUPPORT_STATUS (needs: "Need(method='role', value='plugin_pi_support_check')")
2021-03-30 05:57:31,655 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_MANAGE (needs: "Need(method='role', value='plugin_pluginmanager_manage')")
2021-03-30 05:57:31,658 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_INSTALL (needs: "Need(method='role', value='plugin_pluginmanager_manage'), Need(method='role', value='plugin_pluginmanager_install')")
2021-03-30 05:57:31,660 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CHECK (needs: "Need(method='role', value='plugin_softwareupdate_check')")
2021-03-30 05:57:31,662 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_UPDATE (needs: "Need(method='role', value='plugin_softwareupdate_update')")
2021-03-30 05:57:31,665 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CONFIGURE (needs: "Need(method='role', value='plugin_softwareupdate_configure')")
2021-03-30 05:57:31,697 - octoprint.printer.standard - INFO - Using print time estimator provided by SlicerEstimator
2021-03-30 05:57:32,860 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python3 -m pip" as command to invoke pip
2021-03-30 05:57:33,750 - octoprint.util.pip - INFO - Version of pip is 20.3.3
2021-03-30 05:57:33,752 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python3.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2021-03-30 05:57:33,752 - octoprint.util.pip - INFO - ==> pip ok -> yes
2021-03-30 05:57:33,874 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2021-03-30 05:57:33,911 - octoprint.plugin.core - INFO - Initialized 19 plugin implementation(s)
2021-03-30 05:57:33,926 - octoprint.plugin.core - INFO - 21 plugin(s) registered with the system:
| Action Command Notification Support (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/action_command_notification
| Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/announcements
| Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/tracking
| Application Keys Plugin (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/appkeys
| Backup & Restore (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/backup
| Core Wizard (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/corewizard
| Creality-2x-temperature-reporting-fix (0.0.4) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_ender3v2tempfix
| Discovery (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/discovery
| Error Tracking (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/errortracking
| File Check (2021.2.23) (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_file_check
| Firmware Check (2021.2.4) (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_firmware_check
| GCode Viewer (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/gcodeviewer
| Logging (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/logging
| Pi Support Plugin (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/pi_support
| Plugin Manager (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/pluginmanager
| Slicer Print Time Estimator (1.0.2) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_SlicerEstimator
| Software Update (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/softwareupdate
| !Tasmota (1.0.1) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_tasmota
| !TpLinkHandler (1.0.4) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_TpLinkAutoShutdown
| Virtual Printer (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/virtual_printer
Prefix legend: ! = disabled, # = blacklisted, * = incompatible
2021-03-30 05:57:33,959 - octoprint.environment - INFO - Detected environment is Python 3.7.3 under Linux (linux). Details:
| hardware:
| cores: 4
| freq: 1400.0
| ram: 915718144
| os:
| bits: 32
| id: linux
| platform: linux
| plugins:
| pi_support:
| model: Raspberry Pi 3 Model B Plus Rev 1.3
| octopi_version: 0.18.0
| throttle_state: '0x0'
| python:
| pip: 20.3.3
| version: 3.7.3
| virtualenv: /home/pi/oprint
2021-03-30 05:57:33,974 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2021-03-30 05:57:33,994 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2021-03-30 05:57:34,772 - octoprint.server - INFO - Shutting down intermediary server...
2021-03-30 05:57:34,991 - octoprint.server - INFO - Intermediary server shut down
2021-03-30 05:57:34,994 - octoprint.events - INFO - Processing startup event, this is our first event
2021-03-30 05:57:34,994 - octoprint.events - INFO - Adding 1 events to queue that were held back before startup event
2021-03-30 05:57:34,995 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2021-03-30 05:57:35,000 - octoprint.server - INFO - Autoconnect on startup is configured, trying to connect to the printer...
2021-03-30 05:57:35,012 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2021-03-30 05:57:35,059 - octoprint.server - INFO - Trying to connect to configured serial port /dev/ttyUSB0
2021-03-30 05:57:35,104 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Opening serial connection"
2021-03-30 05:57:35,106 - octoprint.util.comm - INFO - Connecting to port /dev/ttyUSB0, baudrate 115200
2021-03-30 05:57:35,111 - octoprint.server.util.watchdog - INFO - Running initial scan on watched folder...
2021-03-30 05:57:35,115 - octoprint.server.util.watchdog - INFO - ... initial scan done.
2021-03-30 05:57:35,128 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial connection" to "Connecting"
2021-03-30 05:57:35,227 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2021-03-30 05:57:35,239 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2021-03-30 05:57:35,241 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational"
2021-03-30 05:57:35,267 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2021-03-30 05:57:35,297 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin Creality 3D"
2021-03-30 05:57:35,307 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting
2021-03-30 05:57:35,929 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on octopi._http._tcp.local.' for _http._tcp.local.
2021-03-30 05:57:36,746 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on octopi._octoprint._tcp.local.' for _octoprint._tcp.local.
2021-03-30 05:57:36,768 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on octopi for SSDP
2021-03-30 05:57:36,789 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2021-03-30 05:57:36,892 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2021-03-30 05:57:37,910 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python3 -m pip" as command to invoke pip
2021-03-30 05:57:37,917 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.227
2021-03-30 05:57:37,923 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python3.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2021-03-30 05:57:37,955 - octoprint.util.pip - INFO - ==> pip ok -> yes
2021-03-30 05:57:38,034 - octoprint.plugins.softwareupdate - INFO - Minimum free storage across all update relevant locations is 52.8GB. That is considered sufficient for updating.
2021-03-30 05:57:38,034 - octoprint.plugins.softwareupdate - INFO - Not fetching check overlays, we are offline
2021-03-30 05:57:38,176 - octoprint.server.util.flask - INFO - Passively logging in user ghb from ::ffff:192.168.1.227
2021-03-30 05:57:38,183 - octoprint.access.users - INFO - Logged in user: ghb
2021-03-30 05:57:38,600 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity changed from offline to online
2021-03-30 05:57:38,729 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2021-03-30 05:57:39,330 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2021-03-30 05:57:40,593 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python3 -m pip" as command to invoke pip
2021-03-30 05:57:40,594 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python3.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2021-03-30 05:57:40,594 - octoprint.util.pip - INFO - ==> pip ok -> yes
2021-03-30 05:57:40,809 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2021-03-30 05:57:40,856 - octoprint.plugins.SlicerEstimator - INFO - Started up SlicerEstimator
2021-03-30 05:57:41,396 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2021-03-30 05:57:41,624 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'base_url': 'http://octopi.local/', 'path': '/', 'query_string': 'l10n=en'}
2021-03-30 05:57:41,766 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 10}
2021-03-30 05:57:41,952 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.227
2021-03-30 05:57:42,360 - octoprint.plugins.tracking - INFO - Sent tracking event pong, payload: {'version': '1.5.3', 'os': 'linux', 'bits': 32, 'python': '3.7.3', 'pip': '20.3.3', 'cores': 4, 'freq': 1400.0, 'ram': 915718144, 'pi_model': 'Raspberry Pi 3 Model B Plus Rev 1.3', 'octopi_version': '0.18.0', 'plugins': 'slicerestimator:1.0.2,ender3v2tempfix:0.0.4'}
2021-03-30 05:57:42,718 - octoprint.server.util.flask - INFO - Passively logging in user ghb from fe80::7405:bab4:3240:fead
2021-03-30 05:57:42,719 - octoprint.access.users - INFO - Logged in user: ghb
2021-03-30 05:57:42,933 - octoprint.plugins.tracking - INFO - Sent tracking event startup, payload: {'version': '1.5.3', 'os': 'linux', 'bits': 32, 'python': '3.7.3', 'pip': '20.3.3', 'cores': 4, 'freq': 1400.0, 'ram': 915718144, 'pi_model': 'Raspberry Pi 3 Model B Plus Rev 1.3', 'octopi_version': '0.18.0'}
2021-03-30 05:58:13,219 - octoprint.server.preemptive_cache - INFO - ... done in 20.16s
2021-03-30 05:58:13,278 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.227
2021-03-30 05:58:14,208 - octoprint.server.util.flask - INFO - Passively logging in user ghb from fe80::7405:bab4:3240:fead
2021-03-30 05:58:14,209 - octoprint.access.users - INFO - Logged in user: ghb
2021-03-30 05:58:14,807 - octoprint.server.util.sockjs - INFO - New connection from client: fe80::7405:bab4:3240:fead
2021-03-30 05:58:14,843 - octoprint.server.util.flask - INFO - Passively logging in user ghb from fe80::7405:bab4:3240:fead
2021-03-30 05:58:14,843 - octoprint.access.users - INFO - Logged in user: ghb
2021-03-30 05:58:17,015 - octoprint.server.util.sockjs - INFO - User ghb logged in on the socket from client fe80::7405:bab4:3240:fead
2021-03-30 05:58:41,248 - octoprint.server.util.sockjs - INFO - Client connection closed: fe80::7405:bab4:3240:fead
2021-03-30 05:58:41,504 - octoprint.server.util.sockjs - INFO - New connection from client: fe80::7405:bab4:3240:fead
2021-03-30 05:58:41,601 - octoprint.server.util.sockjs - INFO - New connection from client: fe80::7405:bab4:3240:fead
2021-03-30 05:58:41,662 - octoprint.server.util.sockjs - INFO - Client connection closed: fe80::7405:bab4:3240:fead
2021-03-30 05:58:41,683 - octoprint.server.util.flask - INFO - Passively logging in user ghb from fe80::7405:bab4:3240:fead
2021-03-30 05:58:41,684 - octoprint.access.users - INFO - Logged in user: ghb
2021-03-30 05:58:41,868 - octoprint.server.util.sockjs - INFO - User ghb logged in on the socket from client fe80::7405:bab4:3240:fead
2021-03-30 06:00:09,307 - octoprint.printer.standard.job - INFO - Print job selected - origin: local, path: Bing_Gluing_Clamp_Long_Convx_Pair.gcode, owner: ghb, user: ghb
2021-03-30 06:00:09,323 - octoprint - ERROR - Exception on /api/files/local/Bing_Gluing_Clamp_Long_Convx_Pair.gcode [POST]
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/home/pi/oprint/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/pi/oprint/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/pi/oprint/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/pi/oprint/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/home/pi/oprint/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/util/flask.py", line 1539, in decorated_view
return func(*args, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/api/files.py", line 802, in gcodeFileCommand
printer.select_file(filenameToSelect, sd, printAfterLoading, user)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/printer/standard.py", line 680, in select_file
tags=kwargs.get("tags", set()) | {"trigger:printer.select_file"},
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 1599, in selectFile
filename, self._currentFile.getFilesize(), False, user=user
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/printer/standard.py", line 1545, in on_comm_file_selected
self._setJobData(full_path, size, sd, user=user)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/printer/standard.py", line 1282, in _setJobData
and "estimatedPrintTime" in fileData["analysis"]
TypeError: argument of type 'NoneType' is not iterable
2021-03-30 06:00:09,344 - tornado.access - ERROR - 500 POST /api/files/local/Bing_Gluing_Clamp_Long_Convx_Pair.gcode (fe80::7405:bab4:3240:fead) 75.50ms
2021-03-30 06:00:16,085 - octoprint.printer.standard.job - INFO - Print job selected - origin: local, path: Bing_Gluing_Clamp_Long_Convx_Pair.gcode, owner: ghb, user: ghb
2021-03-30 06:00:16,099 - octoprint - ERROR - Exception on /api/files/local/Bing_Gluing_Clamp_Long_Convx_Pair.gcode [POST]
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/home/pi/oprint/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/pi/oprint/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/pi/oprint/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/pi/oprint/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/home/pi/oprint/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/util/flask.py", line 1539, in decorated_view
return func(*args, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/api/files.py", line 802, in gcodeFileCommand
printer.select_file(filenameToSelect, sd, printAfterLoading, user)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/printer/standard.py", line 680, in select_file
tags=kwargs.get("tags", set()) | {"trigger:printer.select_file"},
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 1599, in selectFile
filename, self._currentFile.getFilesize(), False, user=user
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/printer/standard.py", line 1545, in on_comm_file_selected
self._setJobData(full_path, size, sd, user=user)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/printer/standard.py", line 1282, in _setJobData
and "estimatedPrintTime" in fileData["analysis"]
TypeError: argument of type 'NoneType' is not iterable
2021-03-30 06:00:16,110 - tornado.access - ERROR - 500 POST /api/files/local/Bing_Gluing_Clamp_Long_Convx_Pair.gcode (fe80::7405:bab4:3240:fead) 64.01ms
Note:
I loaded the g-code in question for the third time and it was loading very slowly so I started the printer which connected while g-code was loading. It was not grayed out so I started the print job which is running fine. This log is from the period I just described:
2021-03-30 06:00:53,756 - octoprint.server.util.sockjs - INFO - Client connection closed: fe80::7405:bab4:3240:fead
2021-03-30 06:12:31,055 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2021-03-30 06:12:41,908 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 898}
2021-03-30 06:12:50,160 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.227
2021-03-30 06:23:05,452 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 3831, in _readline
ret = self._serial.readline()
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 6455, in readline
c = self.read(1)
File "/home/pi/oprint/lib/python3.7/site-packages/serial/serialposix.py", line 596, in read
'device reports readiness to read but returned no data '
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2021-03-30 06:23:05,471 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this.
2021-03-30 06:23:05,493 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Offline (Error: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:3831)"
2021-03-30 06:23:05,520 - octoprint.plugins.action_command_notification - INFO - Notifications cleared
2021-03-30 06:27:31,057 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2021-03-30 06:27:41,583 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 1798}
2021-03-30 06:37:37,047 - octoprint.plugins.pi_support - WARNING - This Raspberry Pi is reporting problems that might lead to bad performance or errors caused by overheating or insufficient power.
!!! UNDERVOLTAGE REPORTED !!! Make sure that the power supply and power cable are capable of supplying enough voltage and current to your Pi.
2021-03-30 06:37:37,607 - octoprint.plugins.tracking - INFO - Sent tracking event system_unthrottled, payload: {'throttled_now': False, 'throttled_past': True, 'throttled_mask': 327680, 'throttled_voltage_now': False, 'throttled_voltage_past': True, 'throttled_overheat_now': False, 'throttled_overheat_past': False}
2021-03-30 06:40:18,584 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial connection"
2021-03-30 06:40:18,612 - octoprint.util.comm - INFO - Serial detection: Performing autodetection with 1 port/baudrate candidates: /dev/ttyUSB0@115200
2021-03-30 06:40:18,613 - octoprint.util.comm - INFO - Serial detection: Trying port /dev/ttyUSB0, baudrate 115200
2021-03-30 06:40:18,613 - octoprint.util.comm - INFO - Connecting to port /dev/ttyUSB0, baudrate 115200
2021-03-30 06:40:18,622 - octoprint.util.comm - INFO - Serial detection: Handshake attempt #1 with timeout 2.0s
2021-03-30 06:40:18,626 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2021-03-30 06:40:18,633 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial connection" to "Operational"
2021-03-30 06:40:18,638 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2021-03-30 06:40:18,691 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin Creality 3D"
2021-03-30 06:40:18,711 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting
2021-03-30 06:40:19,358 - octoprint.plugins.tracking - INFO - Sent tracking event printer_connected, payload: {'firmware_name': 'Marlin Creality 3D', 'printer_port': 'AUTO', 'printer_baudrate': 115200}
2021-03-30 06:41:25,689 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Bing_Gluing_Clamp_Long_Convx_Pair.gcode
2021-03-30 06:41:25,690 - octoprint.filemanager.analysis - INFO - Invoking analysis command: /home/pi/oprint/bin/python3 -m octoprint analysis gcode --speed-x=6000 --speed-y=6000 --max-t=10 --throttle=0.0 --throttle-lines=100 /home/pi/.octoprint/uploads/Bing_Gluing_Clamp_Long_Convx_Pair.gcode
2021-03-30 06:41:39,126 - octoprint.printer.standard.job - INFO - Print job selected - origin: local, path: Bing_Gluing_Clamp_Long_Convx_Pair.gcode, owner: ghb, user: ghb
2021-03-30 06:41:43,618 - octoprint.util.comm - INFO - Starting job on behalf of user ghb
2021-03-30 06:41:43,624 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Starting"
2021-03-30 06:41:43,631 - octoprint.printer.standard.job - INFO - Print job started - origin: local, path: Bing_Gluing_Clamp_Long_Convx_Pair.gcode, owner: ghb, user: ghb
2021-03-30 06:41:43,696 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2021-03-30 06:41:43,707 - octoprint.util.comm - INFO - Changing monitoring state from "Starting" to "Printing"
2021-03-30 06:41:44,698 - octoprint.plugins.tracking - INFO - Sent tracking event print_started, payload: {'origin': 'local', 'file': '1a71ffb425297e03d330e24958d591715f547061', 'throttled_now': False, 'throttled_past': True, 'throttled_mask': 327680}
2021-03-30 06:41:44,999 - octoprint.plugins.SlicerEstimator - WARNING - Autoselection of slicer not successful!
2021-03-30 06:41:45,502 - octoprint.plugins.SlicerEstimator - WARNING - Slicer-Comment not found. Please check if you selected the correct slicer.
2021-03-30 06:41:45,720 - octoprint.util.comm - INFO - Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly
2021-03-30 06:42:31,059 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2021-03-30 06:42:41,388 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 2698}
2021-03-30 06:45:03,741 - octoprint.server.util.sockjs - INFO - Client connection closed: fe80::7405:bab4:3240:fead
2021-03-30 06:45:04,318 - octoprint.server.util.sockjs - INFO - New connection from client: fe80::7405:bab4:3240:fead
2021-03-30 06:45:04,419 - octoprint.server.util.flask - INFO - Passively logging in user ghb from fe80::7405:bab4:3240:fead
2021-03-30 06:45:04,420 - octoprint.access.users - INFO - Logged in user: ghb
2021-03-30 06:45:04,663 - octoprint.server.util.sockjs - INFO - User ghb logged in on the socket from client fe80::7405:bab4:3240:fead
2021-03-30 06:45:06,304 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.227
2021-03-30 06:45:06,329 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.227
2021-03-30 06:45:30,112 - octoprint.util.comm - INFO - Telling the printer to set the busy interval to our "communicationBusy" timeout - 1s = 2s
2021-03-30 06:48:23,030 - octoprint.server.util.sockjs - INFO - Client connection closed: fe80::7405:bab4:3240:fead
2021-03-30 06:48:23,311 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.227
2021-03-30 06:48:23,383 - octoprint.server.util.flask - INFO - Passively logging in user ghb from ::ffff:192.168.1.227
2021-03-30 06:48:23,383 - octoprint.access.users - INFO - Logged in user: ghb
2021-03-30 06:48:23,435 - octoprint.server.util.sockjs - INFO - User ghb logged in on the socket from client ::ffff:192.168.1.227
2021-03-30 06:50:12,298 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.227
Note: I saw the low voltage warning, this is with a new and approved power supply. Cable? Who knows. But that is a different issue.
Additional information about your setup
OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
pi_support:
| model: Raspberry Pi 3 Model B Plus Rev 1.3
| octopi_version: 0.18.0
| throttle_state: '0x0'
| python:
| pip: 20.3.3
| version: 3.7.3
| virtualenv: /home/pi/oprint
Windows 10, 32 bit.
Firefox Current Browser.
Creality Slicer 1.2.3
Marlin Version 0.0.6 May 30, 2020
Thanks.