Comments (12)
Can you send the application logs?
from pydodge.
The log is never ending - it constantly attempts to "respond worker 1"
I do not know if this has to do anything with deployment error - when ever I try to use the button "deploy to heroku" it fails, and this message is shown: "Item could not be created: We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy."
...
To bypass this, basically I just created a empty app and then later connecting my Github account to upload the proxy. I don't know if it's blocking any files?
from pydodge.
I also notice that when deploying Heroku says that no Python version is detected so it automatically uses 3.10.3. Does the code support this version? Is there a certain version of Python I should be using for PyDodge? Or more over does Python 3.10.3 support all of the requirements in https://github.com/BinBashBanana/PyDodge/blob/master/requirements.txt?
from pydodge.
"Item could not be created: We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy."
There's nothing I can do about this, the easiest way to get around it is to just fork the repository and deploy the fork.
I can't find anything in the logs, possibly try an older version of python (3.6 or 3.7)
Really what you should do is consider an alternative such as Ultraviolet, as pydodge is pretty outdated.
from pydodge.
I used an older version of python-3.7.13, and now got the generic "Internal Server Error". Can you happen to find anything in this new logs?
murmuring-oasis-34315-logs-1648271498060.txt
(I created a txt file named runtime and wrote python-3.7.13 to declare that version.) Here's a list of Heroku's so-called supported python supported versions.
from pydodge.
from pydodge.
This is @queasydoughnuts, I just hopped accounts ... Heroku blocked my other github account, so I use this one to upload things to Heroku's server
from pydodge.
Strange... it looks like it wasn't able to detect the application this time. Try running bash run-heroku.sh
in the console.
from pydodge.
here's what the console outputted:
[uWSGI] getting INI configuration from uwsgi-heroku.ini
*** Starting uWSGI 2.0.20 (64bit) on [Sat Mar 26 05:26:12 2022] ***
compiled with version: 9.4.0 on 26 March 2022 05:08:51
os: Linux-4.4.0-1101-aws #106-Ubuntu SMP Tue Mar 1 10:51:49 UTC 2022
nodename: fcc9c596-a595-42f5-a785-e049f120ebbe
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 8
current working directory: /app
detected binary path: /app/.heroku/python/bin/uwsgi
your processes number limit is 256
your memory page size is 4096 bytes
detected max file descriptor number: 10000
- async cores set to 100 - fd table size: 10000
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address :38512 fd 3
Python version: 3.7.13 (default, Mar 16 2022, 21:15:28) [GCC 9.4.0]
Python main interpreter initialized at 0x559f9ea096b0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 2216128 bytes (2164 KB) for 100 cores
*** Operational MODE: async ***
Traceback (most recent call last):
File "./pywb/apps/wayback.py", line 2, in
from pywb.apps.frontendapp import FrontEndApp
File "./pywb/apps/frontendapp.py", line 23, in
from pywb.rewrite.templateview import BaseInsertView
File "./pywb/rewrite/templateview.py", line 8, in
from jinja2 import Environment, TemplateNotFound, contextfunction, select_autoescape
File "/app/.heroku/python/lib/python3.7/site-packages/jinja2/init.py", line 12, in
from .environment import Environment
File "/app/.heroku/python/lib/python3.7/site-packages/jinja2/environment.py", line 25, in
from .defaults import BLOCK_END_STRING
File "/app/.heroku/python/lib/python3.7/site-packages/jinja2/defaults.py", line 3, in
from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401
File "/app/.heroku/python/lib/python3.7/site-packages/jinja2/filters.py", line 13, in
from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/app/.heroku/python/lib/python3.7/site-packages/markupsafe/init.py)
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 9)
spawned uWSGI worker 1 (pid: 12, cores: 100)
*** running gevent loop engine [addr:0x559f9db44d50] ***
from pydodge.
Looks like there were missing dependencies. Try pip install -r requirements.txt
and then bash run-heroku.sh
from pydodge.
Unfortunately still getting a 500 error, and here is my log now:
murmuring-oasis-34315-logs-1648273615738.txt
here's the console:
[uWSGI] getting INI configuration from uwsgi-heroku.ini
*** Starting uWSGI 2.0.20 (64bit) on [Sat Mar 26 05:44:13 2022] ***
compiled with version: 9.4.0 on 26 March 2022 05:08:51
os: Linux-4.4.0-1101-aws #106-Ubuntu SMP Tue Mar 1 10:51:49 UTC 2022
nodename: 48864397-4bba-40da-93fa-64d10e1a95f4
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 8
current working directory: /app
detected binary path: /app/.heroku/python/bin/uwsgi
your processes number limit is 256
your memory page size is 4096 bytes
detected max file descriptor number: 10000
- async cores set to 100 - fd table size: 10000
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address :28011 fd 3
Python version: 3.7.13 (default, Mar 16 2022, 21:15:28) [GCC 9.4.0]
Python main interpreter initialized at 0x559bb4ab56b0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 2216128 bytes (2164 KB) for 100 cores
*** Operational MODE: async ***
Traceback (most recent call last):
File "./pywb/apps/wayback.py", line 2, in
from pywb.apps.frontendapp import FrontEndApp
File "./pywb/apps/frontendapp.py", line 23, in
from pywb.rewrite.templateview import BaseInsertView
File "./pywb/rewrite/templateview.py", line 8, in
from jinja2 import Environment, TemplateNotFound, contextfunction, select_autoescape
File "/app/.heroku/python/lib/python3.7/site-packages/jinja2/init.py", line 12, in
from .environment import Environment
File "/app/.heroku/python/lib/python3.7/site-packages/jinja2/environment.py", line 25, in
from .defaults import BLOCK_END_STRING
File "/app/.heroku/python/lib/python3.7/site-packages/jinja2/defaults.py", line 3, in
from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401
File "/app/.heroku/python/lib/python3.7/site-packages/jinja2/filters.py", line 13, in
from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/app/.heroku/python/lib/python3.7/site-packages/markupsafe/init.py)
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 9)
spawned uWSGI worker 1 (pid: 12, cores: 100)
*** running gevent loop engine [addr:0x559bb2f7ed50] ***
from pydodge.
Well my heroku account just got banned so I'm unfortunately this whole process has gone to waste
from pydodge.
Related Issues (20)
- wiziz io not working HOT 1
- youtube not working HOT 2
- google safe browsing says the heroku demo is malicious HOT 1
- netflix not working HOT 2
- Hosting on windows 10? HOT 11
- how to change prefix?
- ReCaptcha Support HOT 8
- Instagram DM Unreliability HOT 13
- OH DON'T GET ME STARTED ON EASELLA HOT 1
- update to python 3.5
- Install on Ubuntu VPS HOT 3
- invalid HTTP request size (max 4096)...skip HOT 1
- Heroku deploying issue fixed (of 4/2/22) HOT 2
- problem with greenlet HOT 4
- Linked files and other things not working when deployed to a custom domain. HOT 2
- not working HOT 3
- Discord HOT 5
- zombs io not working HOT 4
- recaptcha not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydodge.