1,331 questions
0
votes
0
answers
30
views
Setting up spotipy in pythonanywhere
I'm making a program which I want to run continuously (hence the pythonanywhere):
def setup():
spOauth = SpotifyOAuth(client_id=CLIENTID,
client_secret=CLIENTSECRET,
...
0
votes
1
answer
42
views
No connection to MySQL-database - PythonAnywhere/ Beginners Plan
Attempt to connect to MySQL-database by module MySQLdb fails and will be responded by: name 'MySQLdb' is not defined... in the servers log. Environment is not virtual, framework is Flask
The ...
1
vote
1
answer
55
views
Cannot connect to PythonAnywhere database from PyCharm?
I have a MySQL database and web app set up on PythonAnywhere (a paid account). When I am exclusively on PythonAnywhere, the web app works great! The database is connected, and I am able to use the ...
0
votes
2
answers
64
views
Trying to deploy Django web app on PythonAnywhere, "no python application found"
I have a Django web app (Python 3.11) that runs on Azure, and I'm trying to migrate it to PythonAnywhere.
I've followed the setup instructions. The web page itself says "Internal Server Error&...
0
votes
2
answers
146
views
"object has no attribute 'delay_on_commit'"
Launching a Celery 5.5.1 task from a Django 4.2 view sometimes causes
'generate_report' object has no attribute 'delay_on_commit'
# tasks.py
from celery import shared_task
@shared_task
def ...
-2
votes
2
answers
67
views
Django app works locally but shows "Unhandled Exception" on PythonAnywhere (Logs available)
Link to the youtube video: https://youtu.be/iJrUiem10iI
I have developed a Django application that includes features like downloading YouTube videos (using yt-dlp) and potentially converting file ...
0
votes
1
answer
65
views
Template does not exists error in python anywhere
I have deployed my django app in python anywhere and getting below error :
TemplateDoesNotExist at /topic/
cms_app\content.html
I have two apps in my project. One is cms_app and other is users.
My ...
2
votes
0
answers
55
views
Tornado app launch in PythonAnywhere failed with "Unhandled Exception"
I tried code from a tutorial in the PythonAnywhere help-pages:
Using tornado | PythonAnywhere help
In the information section, they explained that they need to see this code and paste it into the ...
0
votes
1
answer
15
views
uwsgi_response_write_body_do(): Broken pipe - PythonAnywhere
I have a Flask-based dashboard application where all users can log in and use the system except for one specific account. Whenever this user attempts to log in, I receive a 502-backend error.
I have ...
1
vote
1
answer
108
views
Cloudinary Upload Issue on PythonAnywhere: MaxRetryError
I'm developing a Django application that uses Cloudinary for image storage. When running the project locally, everything works fine, and images upload successfully.
However, when I deploy the project ...
0
votes
0
answers
41
views
Running python app 'changedetection' on PythonAnywhere
Has anyone ever used PythonAnywhere to host opensource python program called changedetection?
I'm having trouble with the web app WSGI file, which is the file telling the web app where to find the app ...
-1
votes
1
answer
69
views
How to deploy TG-bot to PythonAnywhere?
When i'm trying to run the bot uploaded to home/%User_name%/ at PythonAnywhere it crashes with:
File "/home/%User_name%/%Project_name%/./handlers/command_handlers.py",
line 103, in ...
1
vote
1
answer
66
views
How to Install Django Debug Toolbar on PythonAnywhere?
I am following the Django tutorial and am on part 8 where you install the Django Debug Toolbar by following the the toolbar installation instructions.
I've checked my code against the tutorial's code ...
0
votes
0
answers
307
views
How to Set Up Google Cloud ADC (Application Default Credentials) in Django on PythonAnywhere?
I'm trying to set up Google Cloud's Application Default Credentials (ADC) for my Django project on PythonAnywhere, but I keep encountering the following error:
Error creating story: Your default ...
0
votes
1
answer
80
views
How to keep an always-on task running?
hey so i am trying to get my always on task to stay running. It says its just starting and in the task log it shows its asking for the phone number. I start the script from the file page. The script ...