Python App failing on pythonanywhere using Flask - python

I just moved from Heroku to PythonAnyWhere.com and im trying to get my python app work over there.
So i am trying to access the url but i get an error message. When i check the error logs i see this:
https://www.dropbox.com/s/fl16xbatsxbru36/Screen%20Shot%202015-03-27%20at%2023.25.54.png?dl=0
Since i am new to PythonAnyWhere i am having a REALLY hard time trying to understand if this is a code error from my python code (which i doubt since the same code works on Heroku). So does anyone know what problem could be here?

Related

Ldap error when try to runserver, Django/Python

I can't seem to find much information about my topic online so I figured I'll ask. I'm trying to set up an app on Django and when I try to 'runserver' I get the following error. It runs with no problem when I remove the ldap configurations but when I add it back in I get this error. Anyone have an idea what can be causing this to break? I'm using Ubunut 20.04 on a windows machine.

App works locally but crashes on Heroku because of Databases connection

Stack communities,
I need your help. I’ve just written my first app in Python with the dash libraries. I am now trying to deploy thanks to the Heroku frameworks. It first works but when trying to connect it my database (PostGre), it crashed. I think it’s because my connection btw Heroku/PostGre SQL is not working correctly.
I’ve tried many changes within my code but still don’t understand why my app crash.
When I try to run the app, I get the following error within the heroku log :
Image of the Heroku error within the server log
My code can be found here in my Github repositorie.
As of now, my database consists of a giant CSV master file because I want to keep it simple for now.
Link to the Database (Private): https://s3-eu-west-1.amazonaws.com/iag-test1/Test1.csv
*On Heroku it seems that I should use the AWS-S3 and connect it. But I didn't manage to do it.
The goal of this project is to build an end-to-end visualization tool in python and deploy it. (I decided to use Dash Library and Heroku to deploy it). Maybe I should switch to AWS...
Any help/advice would be greatly appreciated…

Google App Engine Deploy Error When Deploying Python

Currently I am trying to deploy a server for Mit App Inventor, when I browser the project it looks just fine and the local host works as well. The problem is that when I try to deploy it I get an error. I am using python 2.7.8. By the way I am doing this project from my other gmail account.
I have tried and retried a thousand times, but with no result. Can you please help me?
This is the main error
It says that that's an error when reading a line.
From what I can see you're still using the Google App Engine Launcher which I think was deprecated and is no longer supported. The point is that it still uses appcfg.py to deploy and from the error message you get it also tries to use login/password for authentication which is also no longer supported.
Today you should use the Cloud SDK and the gcloud command line to manage/deploy your app. I'm confident that will solve your issue.

Google App Engine - One module doesn't deploy

I'm deploying my Python app on GAE using the command line interface, which has always worked without problems. Since yesterday, one of the modules is getting stuck on "Scanning 500 files" and in the end throws following error:
Another transaction by user jong.vincent is already in progress for app: s~replimeapp, version: uno. That user can undo the transaction with "appcfg rollback".
However when I rollback updates for this app, the error is still thrown on the next deployment. No clue what I can do to resolve this. There is another module which refers to the same files, which has no problem deploying. No clue what I can do to get rid of this. Help please!
Changed the name of the module and then it worked. Very strange, but at least the problem is solved.

Google App Engine/Cloud SQL/Django syncdb database backend error

I've been successfully able to run syncdb's on my django project for the past weeks, but something must have happened and I'm not sure what.
I always get this error:
No module named google.appengine.ext.django.backends.rdbms.base
I'm not sure why it's just kind of started. Shortly after getting this error, I tried updating my project on app engine and was prompted to download a new app engine launcher SDK, which I have done, but this error still exists. Not sure if maybe something is wrong with my PYTHONPATH?
From your description, this sounds like it could possibly be an issue, not intended behaviour. It sounds crazy, but perhaps something changed with the default Django installation. I suggest you attach a basic reproducing app to a new issue thread in the Public Issue Tracker
You may need to authorize your IP address. If that doesn't work, try using the standard MySQL driver instead of the Google App Engine one as described in our docs.

Categories