-
Posts
24,476 -
Joined
-
Last visited
-
Days Won
865
Everything posted by Krydos
-
[Solved] How to connect postgres from a flask app
Krydos replied to geojoe's topic in Escalated Requests
I tested flask (python 3.7) with postgresql and it's working just fine for me. Here is some example code #!/usr/bin/python3.7 import psycopg2 conn_string = "host=localhost port=5432 dbname=krydos_test user=krydos_user password=password123" conn = psycopg2.connect(conn_string) cur = conn.cursor() cur.execute("select stuff from things where this = 'that'") row = cur.fetchone() print(row) Neither your database, nor your user exist: Databases: geojoe_flask Users: geojoe geojoe_geoffery- 10 replies
-
- wsgi
- flask.wsgi
-
(and 4 more)
Tagged with:
-
[Solved] Tommy: Python module install request
Krydos replied to geojoe's topic in Escalated Requests
There you go https://krydos.heliohost.org/cgi-bin/modules37.py -
Those are all versions of paper_lantern. Paper_lantern is the only current theme that would be available via that button that isn't working.
-
[Solved] CPanel isn't loaded after re-activation
Krydos replied to alexio's topic in Escalated Requests
You'll need to reset your password before you login, but it should be working now. -
I wouldn't worry about it. The one next to your domain just indicates whether you have ssl or not, which you can tell by just going to your site. There is only one theme to pick from so even if it loaded for you it is pointless.
-
I'm not sure where you got this from. I've tested the domain change script on Johnny and it works just fine. If the load is high, which it frequently is on Johnny, that could cause it to fail though.
-
Some ISPs that do this will give you a static IP if you just ask. It certainly doesn't hurt anything to ask.
-
Remote access enabled.
-
There you go https://krydos2.heliohost.org/cgi-bin/modules37.py
-
You're on Tommy now. Thanks for the donation.
-
Everyone on Tommy already has access to node.js. Here is a guide to get you started with a simple example https://wiki.helionet.org/Node.js
-
It will automatically renew itself as long as you don't block http access to the .well-known directory.
-
There you go https://radioretroperu.com/
-
Before I can help you need to change your nameservers to ns1.heliohost.org and ns2.heliohost.org. https://bybyron.net/php/tools/dns_records.php?domain=radioretroperu.com&rec=NS
-
[Solved] Suspended: hh_largestprimes
Krydos replied to l. p.'s topic in Suspended and Queued Accounts
You were suspended for having multiple accounts. Each person is allowed to have one account. Unsuspended. -
[Solved] Python dependencies on Ricky server
Krydos replied to ctpanda's topic in Escalated Requests
No, you'll need to ask an admin for the full error message if the cpanel error page doesn't give enough information. -
Unarchived.
-
[Solved] Python dependencies on Ricky server
Krydos replied to ctpanda's topic in Escalated Requests
The problem was actually with marshmallow-sqlalchemy version 0.19.0. Apparently the last version of marshmallow-sqlalchemy to support python 2.7 was 0.18.0. Once I downgraded that you can import flask_marshmallow now. -
[Solved] Suspended for inactivity: labreqv
Krydos replied to labrecqv's topic in Suspended and Queued Accounts
Your account is already active. If you're still seeing the inactive page please remember to clear your browser cache. -
Sorry, the password may not contain the username for security reasons. You're going to need to pick a better password.
-
It's not possible to get blocked from heliohost.org/login. That post you're linking too is so old that our main website was still using the classic site, not the new site. Try choosing a different password, and see if that works.
-
One of the domains on his account belongs to Ashoat, so nope, definitely not all his: https://who.is/whois/bluestonecoding.com
-
[Solved] Flask App and MySQL returning internal server error
Krydos replied to geojoe's topic in Customer Service
Yes, you can enable remote mysql connections. -
[Solved] Flask App and MySQL returning internal server error
Krydos replied to geojoe's topic in Customer Service
There you go https://krydos.heliohost.org/cgi-bin/modules37.py Now your error is ImportError: cannot import name 'run' from 'app' (/home/geojoe/public_html/flask/app/__init__.py), referer: https://flask.geoffery.ml/