Printerprofiles: Update/Delete not working

Hi,
I am using Octoprint Version 1.3.12 and I struggle with some printer-profile issues:

  1. When trying to delete a profile, I get an error, after I confirm the activity:


    image

  2. Trying to update settings of a printer: same problem:

What can I do?

Log is jsut like this:
2020-02-09 15:34:56,259 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=de', 'path': '/', 'base_url': 'http://octopi.local/'}
2020-02-09 15:35:01,066 - octoprint.server.preemptive_cache - INFO - ... done in 4.81s
2020-02-09 15:39:03,766 - tornado.access - WARNING - 404 DELETE http://192.168.178.25/api/printerprofiles/anycubic_4max_pro (::ffff:192.168.178.72) 11.53ms
2020-02-09 15:40:07,390 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.178.72
2020-02-09 15:40:07,659 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.178.72
2020-02-09 15:40:07,748 - octoprint.server.util.flask - INFO - Passively logging in user dummy from ::ffff:192.168.178.72

Have you tried clearing your browser cache? It could be that the profile you are trying to delete or update has already been deleted, but is still visible in the web interface.

I jujst tried another browser I never used before. But same issue. I already restarted Octoprint already.
Any further ideas?

I still have this issue with Octoprint 1.3.12 (OctoPi). I cannot delete any printer or update settings (like checking "invert", even these ones not being _default. So it is not only about deleting, but updating as well:

LOG:

2020-02-10 07:38:04,465 - octoprint.server.api - ERROR - Error calling SimpleApiPlugin pluginmanager
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/init.py", line 68, in pluginData
response = api_plugin.on_api_get(request)
File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/init.py", line 284, in on_api_get
if refresh_notices or not self._is_notices_cache_valid():
File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/init.py", line 865, in _is_notices_cache_valid
return mtime + self._notices_cache_ttl >= time.time() > mtime
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
2020-02-10 07:38:04,471 - tornado.access - ERROR - 500 GET /api/plugin/pluginmanager (::ffff:192.168.178.72) 12.14ms
2020-02-10 07:38:04,652 - octoprint.plugins.announcements - INFO - Loaded channel _important from https://octoprint.org/feeds/important.xml in 0.16s
2020-02-10 07:38:04,997 - octoprint.plugins.announcements - INFO - Loaded channel _releases from https://octoprint.org/feeds/releases.xml in 0.14s
2020-02-10 07:38:05,815 - octoprint.plugins.announcements - INFO - Loaded channel _blog from https://octoprint.org/feeds/octoblog.xml in 0.14s
2020-02-10 07:38:06,018 - octoprint.plugins.announcements - INFO - Loaded channel _plugins from https://plugins.octoprint.org/feed.xml in 0.14s
2020-02-10 07:38:06,250 - octoprint.plugins.announcements - INFO - Loaded channel _octopi from https://octoprint.org/feeds/octopi.xml in 0.14s
2020-02-10 07:38:08,754 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.178.72
2020-02-10 07:38:14,789 - tornado.access - WARNING - 404 DELETE http://192.168.178.25/api/printerprofiles/anycubic_4max_pro (::ffff:192.168.178.72) 9.32ms
2020-02-10 07:42:33,060 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.178.72
2020-02-10 07:42:36,433 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.178.72
2020-02-10 07:42:37,433 - octoprint.server.util.flask - INFO - Passively logging in user dummy from ::ffff:192.168.178.72
2020-02-10 07:42:38,739 - octoprint.server.api - ERROR - Error calling SimpleApiPlugin pluginmanager
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/init.py", line 68, in pluginData
response = api_plugin.on_api_get(request)
File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/init.py", line 284, in on_api_get
if refresh_notices or not self._is_notices_cache_valid():
File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/init.py", line 865, in _is_notices_cache_valid
return mtime + self._notices_cache_ttl >= time.time() > mtime
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
2020-02-10 07:42:38,746 - tornado.access - ERROR - 500 GET /api/plugin/pluginmanager (::ffff:192.168.178.72) 13.10ms
2020-02-10 07:44:03,153 - octoprint.plugins.errortracking - INFO - Initialized error tracking
2020-02-10 07:44:47,550 - tornado.access - WARNING - 404 DELETE http://192.168.178.25/api/printerprofiles/anycubic_4max_pro (::ffff:192.168.178.72) 9.22ms
2020-02-10 07:52:29,197 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 08:04:21,707 - tornado.access - WARNING - 404 DELETE http://192.168.178.25/api/printerprofiles/dhdghh (::ffff:192.168.178.72) 11.63ms
2020-02-10 08:07:29,199 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 08:15:27,101 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.178.72
2020-02-10 08:15:29,709 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.178.72
2020-02-10 08:15:29,792 - octoprint.server.util.flask - INFO - Passively logging in user dummy from ::ffff:192.168.178.72
2020-02-10 08:15:30,805 - octoprint.server.api - ERROR - Error calling SimpleApiPlugin pluginmanager
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/init.py", line 68, in pluginData
response = api_plugin.on_api_get(request)
File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/init.py", line 284, in on_api_get
if refresh_notices or not self._is_notices_cache_valid():
File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/init.py", line 865, in _is_notices_cache_valid
return mtime + self._notices_cache_ttl >= time.time() > mtime
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
2020-02-10 08:15:30,841 - tornado.access - ERROR - 500 GET /api/plugin/pluginmanager (::ffff:192.168.178.72) 41.93ms
2020-02-10 08:22:29,200 - octoprint.server.heartbeat - INFO - Server heartbeat <3

I am surprised about the huge amount of errors.

Any idea?

Is this an OctoPi installation or something else?

BTW: Could you please format the listings/logs? ( the </> icon above the input frame)

Yes, right. I am using OctoPi with an Raspberry Pi 3B+.
I just updated formatting.

And I just updated to latest Release Candidate (1.4.0rc4), but without any improvement.

1 Like

The errors in the excerpt reduce to 2 or 3 issues, but they should not effect the problem you have.
Could you please upload the complete octoprint.log for more information?
I'm afraid something is wrong with the access rights...

Now it is getting even worse!
Suddenly I have to login, I never had to login before. I have no clue about any login credentials.
That's really anoying. Feels like a beta version.

Do I have to reinstall again?

This is with new now to 1.4.0.rc4. It includes a granular permission system. So the system has to know who is logging in. For it's a release candidate, things can happen (maybe omitting the login procedure if only one user is registered).

--> Login screen after last update (1.4.0rc4)

..... you do realize you installed a Release Candidate, right? The thing that has this in its release notes?

1 Like

Yes, sure, I am aware of this.
It was a try to find out, if there the problem gets fixed. I wonder, if I am the only one having this problem. I just setup a fresh SDcard with the image and now I got stuck with the same issue.
Really bad!
I jsut want to cleanup the printerlist and I want to modify the printer-profile. How shall I do?

To my knowledge you are the only one. And in order to have a chance to help you we need full logs.

Here is the log:

2020-02-10 14:37:27,151 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 14:37:27,171 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2020-02-10 14:37:27,173 - octoprint.server - INFO - OctoPrint 1.3.12
2020-02-10 14:37:27,199 - octoprint.plugin.core - INFO - 15 plugin(s) registered with the system:
|  Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements
|  Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/tracking
|  Application Keys Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/appkeys
|  Backup & Restore (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/backup
|  Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery
|  Error Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/errortracking
|  Force Login (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/forcelogin
|  Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging
|  Pi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pi_support
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
|  Printer Safety Check (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
2020-02-10 14:37:27,247 - octoprint.environment - INFO - Detected environment is Python 2.7.16 under Linux (linux2). Details:
|  hardware:
|    cores: 4
|    freq: 1400.0
|    ram: 917016576
|  os:
|    id: linux
|    platform: linux2
|  plugins:
|    pi_support:
|      model: Raspberry Pi 3 Model B Plus Rev 1.3
|      octopi_version: 0.17.0
|  python:
|    pip: 19.3.1
|    version: 2.7.16
|    virtualenv: /home/pi/oprint
2020-02-10 14:37:27,247 - octoprint.server - INFO - ------------------------------------------------------------------------------
2020-02-10 14:52:27,154 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 15:02:15,279 - octoprint.server.util.flask.PreemptiveCache - INFO - Adding entry for / and {'query_string': 'l10n=de', 'path': u'/', '_count': 1, '_timestamp': 1581346935.278914, 'base_url': u'http://192.168.178.25/'}
2020-02-10 15:02:26,094 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.178.72
2020-02-10 15:05:11,133 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2020-02-10 15:05:16,476 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.178.72
2020-02-10 15:05:18,731 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.178.72
2020-02-10 15:05:18,853 - octoprint.server.util.flask - INFO - Passively logging in user dummy from ::ffff:192.168.178.72
2020-02-10 15:05:20,508 - octoprint.plugins.announcements - INFO - Loaded channel _important from https://octoprint.org/feeds/important.xml in 0.13s
2020-02-10 15:05:20,844 - octoprint.plugins.announcements - INFO - Loaded channel _releases from https://octoprint.org/feeds/releases.xml in 0.13s
2020-02-10 15:05:21,650 - octoprint.plugins.announcements - INFO - Loaded channel _blog from https://octoprint.org/feeds/octoblog.xml in 0.14s
2020-02-10 15:05:21,831 - octoprint.plugins.announcements - INFO - Loaded channel _plugins from https://plugins.octoprint.org/feed.xml in 0.12s
2020-02-10 15:05:22,053 - octoprint.plugins.announcements - INFO - Loaded channel _octopi from https://octoprint.org/feeds/octopi.xml in 0.13s
2020-02-10 15:05:22,583 - octoprint.server.api - ERROR - Error calling SimpleApiPlugin pluginmanager
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/__init__.py", line 68, in pluginData
    response = api_plugin.on_api_get(request)
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 280, in on_api_get
    if refresh_repository or not self._is_repository_cache_valid():
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 797, in _is_repository_cache_valid
    return mtime + self._repository_cache_ttl >= time.time() > mtime
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
2020-02-10 15:05:22,590 - tornado.access - ERROR - 500 GET /api/plugin/pluginmanager (::ffff:192.168.178.72) 12.55ms
2020-02-10 15:07:27,156 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 15:22:27,158 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 15:37:27,161 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 15:52:27,163 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 16:07:27,165 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 16:12:44,236 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2020-02-10 16:12:44,360 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Opening serial port"
2020-02-10 16:12:44,367 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Detecting baudrate"
2020-02-10 16:12:45,399 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-02-10 16:12:59,928 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-02-10 16:13:00,933 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-02-10 16:13:01,942 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-02-10 16:13:02,952 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-02-10 16:13:03,958 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-02-10 16:13:03,975 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting baudrate" to "Operational"
2020-02-10 16:13:03,985 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-02-10 16:13:04,012 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 1.1.0-RC8 (Github)"
2020-02-10 16:13:24,575 - octoprint.filemanager.analysis - INFO - Starting analysis of local:TemperatureTower_PLA_180-225.gcode
2020-02-10 16:13:24,577 - octoprint.filemanager.analysis - INFO - Invoking analysis command: /home/pi/oprint/bin/python2 -m octoprint analysis gcode --speed-x=3000 --speed-y=3000 --max-t=10 --throttle=0.0 --throttle-lines=100 /home/pi/.octoprint/uploads/TemperatureTower_PLA_180-225.gcode
2020-02-10 16:13:33,748 - octoprint.printer.standard.job - INFO - Print job selected - origin: local, path: TemperatureTower_PLA_180-225.gcode, owner: dummy, user: dummy
2020-02-10 16:13:39,716 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Starting"
2020-02-10 16:13:39,723 - octoprint.printer.standard.job - INFO - Print job started - origin: local, path: TemperatureTower_PLA_180-225.gcode, owner: dummy, user: dummy
2020-02-10 16:13:39,734 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-02-10 16:13:39,742 - octoprint.util.comm - INFO - Changing monitoring state from "Starting" to "Printing"
2020-02-10 16:22:27,167 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 16:37:27,169 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 16:52:27,171 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 17:07:27,172 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 17:22:27,174 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 17:37:27,177 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 17:52:27,180 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 18:07:27,182 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 18:22:27,185 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 18:37:27,189 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 18:52:27,190 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 19:05:33,421 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.178.52
2020-02-10 19:05:34,582 - octoprint.server.util.flask - INFO - Passively logging in user dummy from ::ffff:192.168.178.52
2020-02-10 19:07:27,193 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 19:12:18,848 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.178.68
2020-02-10 19:12:18,956 - octoprint.server.util.flask - INFO - Passively logging in user dummy from ::ffff:192.168.178.68
2020-02-10 19:12:20,230 - octoprint.server.api - ERROR - Error calling SimpleApiPlugin pluginmanager
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/__init__.py", line 68, in pluginData
    response = api_plugin.on_api_get(request)
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 280, in on_api_get
    if refresh_repository or not self._is_repository_cache_valid():
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 797, in _is_repository_cache_valid
    return mtime + self._repository_cache_ttl >= time.time() > mtime
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
2020-02-10 19:12:20,245 - tornado.access - ERROR - 500 GET /api/plugin/pluginmanager (::ffff:192.168.178.68) 21.94ms
2020-02-10 19:14:06,458 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.178.68
2020-02-10 19:14:17,514 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.178.52
2020-02-10 19:14:18,751 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.178.52
2020-02-10 19:14:19,377 - octoprint.server.util.flask - INFO - Passively logging in user dummy from ::ffff:192.168.178.52
2020-02-10 19:15:11,233 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.178.52
2020-02-10 19:15:13,501 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.178.52
2020-02-10 19:15:13,641 - octoprint.server.util.flask - INFO - Passively logging in user dummy from ::ffff:192.168.178.52
2020-02-10 19:15:16,172 - octoprint.server.api - ERROR - Error calling SimpleApiPlugin pluginmanager
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/__init__.py", line 68, in pluginData
    response = api_plugin.on_api_get(request)
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 280, in on_api_get
    if refresh_repository or not self._is_repository_cache_valid():
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 797, in _is_repository_cache_valid
    return mtime + self._repository_cache_ttl >= time.time() > mtime
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
2020-02-10 19:15:16,180 - tornado.access - ERROR - 500 GET /api/plugin/pluginmanager (::ffff:192.168.178.52) 14.97ms
2020-02-10 19:21:03,177 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.178.72
2020-02-10 19:22:27,195 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 19:37:27,197 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 19:51:07,777 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.178.52
2020-02-10 19:51:10,244 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.178.52
2020-02-10 19:51:10,397 - octoprint.server.util.flask - INFO - Passively logging in user dummy from ::ffff:192.168.178.52
2020-02-10 19:51:11,395 - octoprint.server.api - ERROR - Error calling SimpleApiPlugin pluginmanager
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/__init__.py", line 68, in pluginData
    response = api_plugin.on_api_get(request)
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 280, in on_api_get
    if refresh_repository or not self._is_repository_cache_valid():
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 797, in _is_repository_cache_valid
    return mtime + self._repository_cache_ttl >= time.time() > mtime
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
2020-02-10 19:51:11,403 - tornado.access - ERROR - 500 GET /api/plugin/pluginmanager (::ffff:192.168.178.52) 14.46ms
2020-02-10 19:52:27,199 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 20:07:27,201 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 20:21:53,276 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.178.52
2020-02-10 20:22:27,202 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-10 20:23:29,846 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.178.52
2020-02-10 20:23:30,017 - octoprint.server.util.flask - INFO - Passively logging in user dummy from ::ffff:192.168.178.52
2020-02-10 20:23:31,034 - octoprint.server.api - ERROR - Error calling SimpleApiPlugin pluginmanager
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/__init__.py", line 68, in pluginData
    response = api_plugin.on_api_get(request)
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 280, in on_api_get
    if refresh_repository or not self._is_repository_cache_valid():
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 797, in _is_repository_cache_valid
    return mtime + self._repository_cache_ttl >= time.time() > mtime
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
2020-02-10 20:23:31,040 - tornado.access - ERROR - 500 GET /api/plugin/pluginmanager (::ffff:192.168.178.52) 12.93ms
2020-02-10 20:31:55,146 - octoprint.util.comm - INFO - Finished in 15495.432 s.
2020-02-10 20:31:55,149 - octoprint.util.comm - INFO - Changing monitoring state from "Printing" to "Finishing"
2020-02-10 20:31:55,160 - octoprint.filemanager.analysis - INFO - Starting analysis of local:TemperatureTower_PLA_180-225.gcode
2020-02-10 20:31:55,164 - octoprint.filemanager.analysis - INFO - Invoking analysis command: /home/pi/oprint/bin/python2 -m octoprint analysis gcode --speed-x=3000 --speed-y=3000 --max-t=10 --throttle=0.0 --throttle-lines=100 /home/pi/.octoprint/uploads/TemperatureTower_PLA_180-225.gcode
2020-02-10 20:31:55,179 - octoprint.printer.standard.job - INFO - Print job done - origin: local, path: TemperatureTower_PLA_180-225.gcode, owner: dummy
2020-02-10 20:31:55,224 - octoprint.util.comm - INFO - Changing monitoring state from "Finishing" to "Operational"
2020-02-10 20:32:18,985 - octoprint.filemanager.analysis - INFO - Analysis of entry local:TemperatureTower_PLA_180-225.gcode finished, needed 23.83s
2020-02-10 20:32:40,399 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.178.52
2020-02-10 20:32:41,769 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.178.52
2020-02-10 20:32:41,959 - octoprint.server.util.flask - INFO - Passively logging in user dummy from ::ffff:192.168.178.52
2020-02-10 20:32:42,947 - octoprint.server.api - ERROR - Error calling SimpleApiPlugin pluginmanager
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/__init__.py", line 68, in pluginData
    response = api_plugin.on_api_get(request)
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 280, in on_api_get
    if refresh_repository or not self._is_repository_cache_valid():
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 797, in _is_repository_cache_valid
    return mtime + self._repository_cache_ttl >= time.time() > mtime
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
2020-02-10 20:32:42,953 - tornado.access - ERROR - 500 GET /api/plugin/pluginmanager (::ffff:192.168.178.52) 12.51ms
2020-02-10 20:34:01,717 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.178.68
2020-02-10 20:34:01,847 - octoprint.server.util.flask - INFO - Passively logging in user dummy from ::ffff:192.168.178.68

It looks like there are no third-party plugins as combined with a repeated Python error for the bundled pluginmanager, I'm guessing.

OctoPi 0.17.0

Perhaps you get one of these each time you visit the Settings page.

What if plugins.json is missing?

ls -l ~/.octoprint/data/pluginmanager/plugins.json

On first glance I don't see anything relating to printer profiles in there so I guess the next step is you sharing what's in your browser's error console:

As for the logged traces from plugin manager, those are completely unrelated and can be fixed like this:

Hi,
PlugIn-Mamanger isn't causing any issue and it isn't empty:

I just cliecked on the star for setting Anycubic as default printer:

When updating a setting in default printer:

Will this help?

So that certainly explains that it doesn't work, but I don't really understand what makes Chrome log an ERR_EMPTY_RESPONSE here. Can you check if you see the same issue in another browser, e.g. Firefox?

Also, are you connecting directly to the Pi running OctoPrint here, or is there an additional reverse proxy in between?

Im connecting from a computer located directly in the same network (Windows 10). When using IE11:

@DoublePrint: how do you usually power off the Pi?

I use shutdown feature in menu.
The problem occurs right from the beginning after starting with a fresh setup.