OllisGit / OctoPrint-FilamentManager

OctoPrint plugin to manage your filament inventory
GNU Affero General Public License v3.0
52 stars 24 forks source link

Plugin doesn't install in Octoprint / Windows / Python 3.9 - time.clock() deprecated #23

Open SebMeunier opened 3 years ago

SebMeunier commented 3 years ago

Describe the bug The plugin doesn't install from Octoprint UI in Windows, with Python 3.9. Trying to install it manually gives a success, but Plugin isn't present in Octoprint.

Steps to reproduce

See all details here: https://community.octoprint.org/t/filamentmanager-plugin-install-issue-windows/26718/3

Expected behavior Installation working :-)

Did the same happen when all other 3rd party plugins are disabled? Yes

Log file octoprint.log

Screenshots See https://community.octoprint.org/t/filamentmanager-plugin-install-issue-windows/26718/3

Additional context

stale[bot] commented 3 years ago

This issue has been automatically marked for closing, because it has not had activity in 30 days. It will be closed if no further activity occurs in 10 days.

SebMeunier commented 3 years ago

@OllisGit any chance to get an update from you about this?

Micha7719 commented 3 years ago

same Problem here. any news?

felda commented 3 years ago

I am also having this issue on Windows 10, python 3.9.

OllisGit commented 3 years ago

PS. Sorry, for being late to the party, but I made a "Octoprint sabatical" (no coding, no printing) the last months.

Will check if it possible to upgrade the sql-dependencies.

Sigilos commented 3 years ago

Having this same issue, but accessing the Octopi UI from Chromebook instead of Win 10. No matter how many reboots or installs from the plugin manager, this plugin just won't show up in the UI or the list of Installed Plugins.

OllisGit commented 3 years ago

It doesn't look so good, it will take a lot of effort to make the plugin Python 3.8+ ready....maybe I can just upgrade the SQL-Library and release this version as an untested version.

cp2004 commented 3 years ago

To solve this issue all you have to do is upgrade the SQLAlchemy dependency. Emphasis on all because of course that is easier said than done, since the API might have changed. I just checked, the latest version (1.3.23) is still compatible with Python 2 and 3.4+, so it would work for that.

cp2004 commented 3 years ago

It's been a long time since I have used SQL Alchemy, but it is a very popular library/framework so I wouldn't expect too much of an issue - it is only one minor release 'jump'. Since it is so heavily depended on, I don't imagine they would break things that easily.

lmerega commented 2 years ago

Hallo, any news about this issue? I cannot use filament manager on my Windows Instllation and it would be really nice.