πŸ‡ΊπŸ‡¦ We stand with Ukraine! πŸ‡ΊπŸ‡¦

FilamentManager - could not add profile

I'm running Octoprint 4 Android (octo4a) and trying to use FilamentManager 1.9.1. I am a newbie to this stuff and need some help decoding the problem.

I am trying to save my first filament profile and get an error message in the octoprint logs:

Blockquote
2022-05-28 17:48:24,841 - octoprint.plugins.filamentmanager - WARNING - self.filamentManager is not initialized yet
2022-05-28 17:48:24,842 - octoprint - ERROR - Exception on /plugin/filamentmanager/profiles [POST]
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/flask/app.py", line 2077, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3.9/site-packages/flask/app.py", line 1526, in full_dispatch_request
return self.finalize_request(rv)
File "/usr/lib/python3.9/site-packages/flask/app.py", line 1545, in finalize_request
response = self.make_response(rv)
File "/usr/lib/python3.9/site-packages/flask/app.py", line 1701, in make_response
raise TypeError(
TypeError: The view function for 'plugin.filamentmanager.create_profile' did not return a valid response. The function either returned None or ended without a return statement.
Blockquote

Does anyone have a suggestion on how I can resolve this error?

Thank You,
...Patrick

Hi Patrick. Welcome to the forum!

I'd recommend submitting an issue at the plugin GitHub repository, as the author is more likely to see your post there.

But, as the plugin hasn't been updated since november 2021, and no bug reports & issues seem to have been answered by the author(s) of the plugin this year, I don't know that you'll be successful - sadly.

If you haven't already, I'd recommend trying some basic self-help things, like; restarting OctoPrint, reinstalling the plugin and possibly disabling all other plugins than this one to see if there could be a compatibility issue. It also helps if you upload the entire log.

Good luck!

Thanks for the tips AlbertMN. I appreciate your help!
I have restarted the phone, restarted Octoprint, uninstalled the Filament Manager plugin and reinstalled it. I have disabled most of the other installed plugins and still no joy.

I did post in the GitHub repository, and will pursue it there.
In the mean time I am able to make Spool Manager work and will focus on that for now.

Thanks,
...Patrick