Comments (9)
pip install sanic==19.3.1
from brave.
Is anything else printed back on the console to indicate an error ?
from brave.
No, I have fixed this error by adding app name in init.py
app = Sanic(name="brave")
from brave.
But still when i am running app and opening url i am getting 500 internal server error.
from brave.
from brave.
Hmm I'm unable to replicate can yous share more details of your setup please ?
from brave.
ERROR:sanic.root:Exception occurred while handling uri: 'http://localhost:5000/'
Traceback (most recent call last):
File "/Users/mark/sourcecode/brave/venv/lib/python3.7/site-packages/sanic/app.py", line 892, in handle_request
request, request_name=name
File "/Users/mark/sourcecode/brave/venv/lib/python3.7/site-packages/sanic/app.py", line 1220, in _run_request_middleware
response = await response
File "/Users/mark/sourcecode/brave/brave/api/init.py", line 42, in give_session_to_each_route_handler
request['session'] = session
TypeError: 'Request' object does not support item assignment
from brave.
@moschopsuk issue still not resolved.......
I am still getting error on http://0.0.0.0:5000/
etech@etech-Aspire-ES1-572:~/Desktop/brave$ pipenv run ./brave.py
/home/etech/Desktop/brave/brave/inputs/input.py:37: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if position is not None and position is not -1:
/home/etech/Desktop/brave/brave/inputoutputoverlay.py:137: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if a is not 'state' and hasattr(self, a):
/home/etech/Desktop/brave/brave/connections/connection_to_mixer.py:287: SyntaxWarning: "is" with a literal. Did you mean "=="?
if audio_or_video is 'video':
[2021-03-15 18:00:21 +0530] [55804] [INFO] Goin' Fast @ http://0.0.0.0:5000
INFO:sanic.root:Goin' Fast @ http://0.0.0.0:5000
[2021-03-15 18:00:29 +0530] [55804] [ERROR] Exception occurred while handling uri: 'http://0.0.0.0:5000/'
Traceback (most recent call last):
File "/home/etech/.local/share/virtualenvs/brave-Ja8gTjmL/lib/python3.8/site-packages/sanic/app.py", line 891, in handle_request
response = await self._run_request_middleware(
File "/home/etech/.local/share/virtualenvs/brave-Ja8gTjmL/lib/python3.8/site-packages/sanic/app.py", line 1220, in _run_request_middleware
response = await response
File "/home/etech/Desktop/brave/brave/api/__init__.py", line 42, in give_session_to_each_route_handler
request['session'] = session
TypeError: 'Request' object does not support item assignment
ERROR:sanic.root:Exception occurred while handling uri: 'http://0.0.0.0:5000/'
Traceback (most recent call last):
File "/home/etech/.local/share/virtualenvs/brave-Ja8gTjmL/lib/python3.8/site-packages/sanic/app.py", line 891, in handle_request
response = await self._run_request_middleware(
File "/home/etech/.local/share/virtualenvs/brave-Ja8gTjmL/lib/python3.8/site-packages/sanic/app.py", line 1220, in _run_request_middleware
response = await response
File "/home/etech/Desktop/brave/brave/api/__init__.py", line 42, in give_session_to_each_route_handler
request['session'] = session
TypeError: 'Request' object does not support item assignment
from brave.
from brave.
Related Issues (20)
- Bad form for value comparison HOT 1
- Performance Buffer Improvements HOT 1
- [Question] is HTML overlay possible? HOT 1
- [Question] will there be an SRT support ? HOT 3
- i am facing this issue with the library HOT 1
- What is the Future of this project ? HOT 1
- Any particular things to consider when proxying through nginx for ssl? HOT 1
- Split video inputs into a single Mixer HOT 1
- Unable to setup brave on Ubuntu 20.04 HOT 2
- Using brave as RTMP server HOT 2
- ubuntu package python-gst-1.0 unable to locate HOT 1
- Is it possible to use opencv to edit frames and add overlay using opencv? HOT 1
- Machine Specs HOT 13
- Failure to start HOT 2
- Unable to add element intervideosink HOT 1
- Multiple webrtc preview
- Is brave dead? HOT 8
- Crop for picture by picture
- I don't can run brave in my Mac m1
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 brave.