New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flask ext.script module not found #46
Comments
This is causing problems for the docker image as well. If you use the image then attempt to update the webapp it breaks because of this issue. |
Crickets from the devs. Looks like we're going to have to do this ourselves. |
I was looking at the code. Shouldn't be terrible to fix, though I'm no professional coder. I'll try to give it a shot this weekend. |
Update. Unfortunately I have not had a chance to dig into the code at this time. |
I've been attempting to fix it as well, but it's not as simple as a find and replace. |
I tried to reproduce but no luck. I took my stock image and booted it on a the new Pi 3B+. I went into /opt/alarmdecoder-webapp and did a 'python manage.py initdb' I did not SUDO as the owners should all be pi:pi but to see if it did cause an issue I also did it with sudo. Only issue was an alchemy warning. What do I need to do to reproduce this? |
This is due to a newer version of flask and flask_script. Force a lower
version or fix the code to work with a newer version.
*Sent with Shift
<https://tryshift.com/?utm_source=SentWithShift&utm_campaign=Sent%20with%20Shift%20Signature&utm_medium=Email%20Signature&utm_content=General%20Email%20Group>*
…On Fri, Aug 10, 2018 at 12:58 PM, Sean Mathews ***@***.***> wrote:
I tried to reproduce but no luck. I took my stock image and booted it on a
the new Pi 3B+. I went into /opt/alarmdecoder-webapp and did a 'python
manage.py initdb' I did not SUDO as the owners should all be pi:pi but to
see if it did cause an issue I also did it with sudo. Only issue was an
alchemy warning.
What do I need to do to reproduce this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADJ_fG3sBe5AoDtaF3xao3ynxmzbh-JXks5uPeXfgaJpZM4VVEPR>
.
|
I published a pull request to fix this. Waiting for it to be approved. |
This was merged. Thanks! |
When initializing the db with
sudo python manage.py initdb
, I get the errorThe flask extensions have changed from using
flask.ext.script
toflask_script
naming scheme.The text was updated successfully, but these errors were encountered: