Skip to content

Instantly share code, notes, and snippets.

@shawnkirsch
Created January 10, 2017 06:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shawnkirsch/c5b96b7bd77e7a252074cb56f331aa01 to your computer and use it in GitHub Desktop.
Save shawnkirsch/c5b96b7bd77e7a252074cb56f331aa01 to your computer and use it in GitHub Desktop.
octoprint_updatefix_error_logs
pi@octopi ~/OctoPrint $ .
2017-01-10 06:04:23,960 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.145
2017-01-10 06:04:53,652 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.145
2017-01-10 06:04:54,468 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.145
2017-01-10 06:05:51,794 - py.warnings - WARNING - /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
2017-01-10 06:05:53,055 - octoprint.plugins.softwareupdate - ERROR - Could not check octoprint for updates
Traceback (most recent call last):
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/__init__.py", line 471, in _get_current_version
information, is_current = version_checker.get_latest(target, check)
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 140, in get_latest
force_base=force_base)
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 93, in _is_current
sanitized_local = _get_sanitized_version(release_information["local"]["value"])
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 48, in _get_sanitized_version
if "-" in version_string:
TypeError: argument of type 'NoneType' is not iterable
2017-01-10 06:05:53,259 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $ 2017-01-10 06:07:57,621 - octoprint.util.pip - ERROR - Error while discovering pip command
Traceback (most recent call last):
File "/home/pi/OctoPrint/src/octoprint/util/pip.py", line 72, in trigger_refresh
self._command, self._version, self._version_string, self._use_sudo = self._find_pip()
File "/home/pi/OctoPrint/src/octoprint/util/pip.py", line 179, in _find_pip
p = sarge.run(sarge_command, stdout=sarge.Capture(), stderr=sarge.Capture())
File "/usr/local/lib/python2.7/dist-packages/sarge/__init__.py", line 1411, in run
p.run(input=input, async=async)
File "/usr/local/lib/python2.7/dist-packages/sarge/__init__.py", line 1040, in run
self.run_node(node, input=input, async=async)
File "/usr/local/lib/python2.7/dist-packages/sarge/__init__.py", line 1136, in run_node
result = getattr(self, method)(node, input, async)
File "/usr/local/lib/python2.7/dist-packages/sarge/__init__.py", line 1282, in run_command_node
node.cmd.run(input=input, async=async)
File "/usr/local/lib/python2.7/dist-packages/sarge/__init__.py", line 632, in run
self.process = p = Popen(self.args, **self.kwargs)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/local/lib/python2.7/dist-packages/sarge/__init__.py", line 545, in _execute_child
super(Popen, self)._execute_child(args, executable, preexec, *rest)
File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
2017-01-10 06:07:59,139 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from http://plugins.octoprint.org/plugins.json
2017-01-10 06:08:18,608 - octoprint.util.pip - INFO - Found pip at /usr/bin/pip, version is 1.1
2017-01-10 06:08:20,284 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from http://plugins.octoprint.org/plugins.json
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $ 2017-01-10 06:09:15,503 - octoprint.server.api - INFO - Performing command: sudo service octoprint restart
[ ok ] Restarting Octoprint Daemon: Octoprint.
2017-01-10 06:10:10,892 - py.warnings - WARNING - /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
2017-01-10 06:10:12,527 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2017-01-10 06:10:17,965 - py.warnings - WARNING - /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $ 2017-01-10 06:10:21,627 - octoprint.plugins.softwareupdate - ERROR - Could not check octoprint for updates
Traceback (most recent call last):
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/__init__.py", line 471, in _get_current_version
information, is_current = version_checker.get_latest(target, check)
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 140, in get_latest
force_base=force_base)
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 93, in _is_current
sanitized_local = _get_sanitized_version(release_information["local"]["value"])
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 48, in _get_sanitized_version
if "-" in version_string:
TypeError: argument of type 'NoneType' is not iterable
2017-01-10 06:10:21,817 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $ pip uninstall https://github.com/OctoPrint/OctoPrint-Updatefix-1.2.7/archive/master.zip
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $ mkdir /usr/local/lib/python2.7/dist-packages/octoprint_updatefix127
mkdir: cannot create directory `/usr/local/lib/python2.7/dist-packages/octoprint_updatefix127': Permission denied
pi@octopi ~/OctoPrint $ sudo mkdir /usr/local/lib/python2.7/dist-packages/octoprint_updatefix127
pi@octopi ~/OctoPrint $ 2017-01-10 06:13:21,919 - py.warnings - WARNING - /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
2017-01-10 06:13:23,260 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $ 2017-01-10 06:13:33,636 - py.warnings - WARNING - /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
2017-01-10 06:13:34,577 - octoprint.plugins.softwareupdate - ERROR - Could not check octoprint for updates
Traceback (most recent call last):
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/__init__.py", line 471, in _get_current_version
information, is_current = version_checker.get_latest(target, check)
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 140, in get_latest
force_base=force_base)
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 93, in _is_current
sanitized_local = _get_sanitized_version(release_information["local"]["value"])
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 48, in _get_sanitized_version
if "-" in version_string:
TypeError: argument of type 'NoneType' is not iterable
2017-01-10 06:13:34,766 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2017-01-10 06:14:10,127 - octoprint.server.api - INFO - Performing command: sudo service octoprint restart
[ ok ] Restarting Octoprint Daemon: Octoprint.
2017-01-10 06:14:29,525 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.145
2017-01-10 06:14:33,296 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.145
2017-01-10 06:14:36,046 - py.warnings - WARNING - /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
2017-01-10 06:14:37,277 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2017-01-10 06:14:54,998 - py.warnings - WARNING - /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
2017-01-10 06:14:55,879 - octoprint.plugins.softwareupdate - ERROR - Could not check octoprint for updates
Traceback (most recent call last):
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/__init__.py", line 471, in _get_current_version
information, is_current = version_checker.get_latest(target, check)
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 140, in get_latest
force_base=force_base)
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 93, in _is_current
sanitized_local = _get_sanitized_version(release_information["local"]["value"])
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 48, in _get_sanitized_version
if "-" in version_string:
TypeError: argument of type 'NoneType' is not iterable
2017-01-10 06:14:56,063 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2017-01-10 06:15:39,076 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.145
2017-01-10 06:21:28,316 - py.warnings - WARNING - /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
2017-01-10 06:21:30,064 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $ remote: Counting objects: 9693, done.
pi@octopi ~/OctoPrint $
remote: Total 9693 (delta 2059), reused 2059 (delta 2059), pack-reused 7634
Receiving objects: 100% (9693/9693), 23.30 MiB | 134 KiB/s, done.
Resolving deltas: 100% (6098/6098), completed with 421 local objects.
From https://github.com/foosel/OctoPrint
6c622f7..1014712 master -> origin/master
* [new branch] dev/commRefactoringNG -> origin/dev/commRefactoringNG
* [new branch] dev/gcodeInterpreterImprovements -> origin/dev/gcodeInterpreterImprovements
* [new branch] dev/temperatureGraphCrosshair -> origin/dev/temperatureGraphCrosshair
ecd7045..48c02c6 devel -> origin/devel
* [new branch] fix/betterPluginDependencyTracking -> origin/fix/betterPluginDependencyTracking
12ebe73..ef42550 gh-pages -> origin/gh-pages
* [new branch] improve/commUnitTests -> origin/improve/commUnitTests
* [new branch] main/supportPasswordManagers -> origin/main/supportPasswordManagers
40fe74e..f3f6067 maintenance -> origin/maintenance
* [new branch] pr/mrvn/feature-multiple-gcodes -> origin/pr/mrvn/feature-multiple-gcodes
* [new branch] rc/devel -> origin/rc/devel
* [new branch] rc/maintenance -> origin/rc/maintenance
* [new tag] 1.3.0 -> 1.3.0
From https://github.com/foosel/OctoPrint
* [new tag] 1.2.10 -> 1.2.10
* [new tag] 1.2.11 -> 1.2.11
* [new tag] 1.2.12 -> 1.2.12
* [new tag] 1.2.13 -> 1.2.13
* [new tag] 1.2.14 -> 1.2.14
* [new tag] 1.2.15 -> 1.2.15
* [new tag] 1.2.16 -> 1.2.16
* [new tag] 1.2.16rc1 -> 1.2.16rc1
* [new tag] 1.2.16rc2 -> 1.2.16rc2
* [new tag] 1.2.17 -> 1.2.17
* [new tag] 1.2.17rc1 -> 1.2.17rc1
* [new tag] 1.2.17rc2 -> 1.2.17rc2
* [new tag] 1.2.17rc3 -> 1.2.17rc3
* [new tag] 1.2.17rc4 -> 1.2.17rc4
* [new tag] 1.2.18 -> 1.2.18
* [new tag] 1.2.18rc1 -> 1.2.18rc1
* [new tag] 1.2.8 -> 1.2.8
* [new tag] 1.2.9 -> 1.2.9
* [new tag] 1.3.0rc1 -> 1.3.0rc1
* [new tag] 1.3.0rc2 -> 1.3.0rc2
* [new tag] 1.3.0rc3 -> 1.3.0rc3
2017-01-10 06:23:20,024 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $ 2017-01-10 06:23:38,471 - py.warnings - WARNING - /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
2017-01-10 06:23:40,075 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $ 2017-01-10 06:24:36,288 - py.warnings - WARNING - /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
2017-01-10 06:24:37,525 - octoprint.plugins.softwareupdate - ERROR - Could not check octoprint for updates
Traceback (most recent call last):
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/__init__.py", line 471, in _get_current_version
information, is_current = version_checker.get_latest(target, check)
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 140, in get_latest
force_base=force_base)
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 93, in _is_current
sanitized_local = _get_sanitized_version(release_information["local"]["value"])
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 48, in _get_sanitized_version
if "-" in version_string:
TypeError: argument of type 'NoneType' is not iterable
2017-01-10 06:24:37,716 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $
pi@octopi ~/OctoPrint $ 2017-01-10 06:25:07,462 - octoprint.server.api - INFO - Performing command: sudo service octoprint restart
[ ok ] Restarting Octoprint Daemon: Octoprint.
2017-01-10 06:25:33,839 - py.warnings - WARNING - /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
2017-01-10 06:25:36,524 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2017-01-10 06:25:45,722 - py.warnings - WARNING - /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
2017-01-10 06:25:46,679 - octoprint.plugins.softwareupdate - ERROR - Could not check octoprint for updates
Traceback (most recent call last):
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/__init__.py", line 471, in _get_current_version
information, is_current = version_checker.get_latest(target, check)
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 140, in get_latest
force_base=force_base)
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 93, in _is_current
sanitized_local = _get_sanitized_version(release_information["local"]["value"])
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 48, in _get_sanitized_version
if "-" in version_string:
TypeError: argument of type 'NoneType' is not iterable
2017-01-10 06:25:46,874 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2017-01-10 06:26:23,924 - py.warnings - WARNING - /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
2017-01-10 06:26:25,284 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2017-01-10 06:26:31,656 - py.warnings - WARNING - /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
2017-01-10 06:26:32,704 - octoprint.plugins.softwareupdate - ERROR - Could not check octoprint for updates
Traceback (most recent call last):
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/__init__.py", line 471, in _get_current_version
information, is_current = version_checker.get_latest(target, check)
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 140, in get_latest
force_base=force_base)
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 93, in _is_current
sanitized_local = _get_sanitized_version(release_information["local"]["value"])
File "/home/pi/OctoPrint/src/octoprint/plugins/softwareupdate/version_checks/github_release.py", line 48, in _get_sanitized_version
if "-" in version_string:
TypeError: argument of type 'NoneType' is not iterable
2017-01-10 06:26:32,901 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment