-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grip mode error: Internal server error #174
Comments
|
Okay, so this is what I found in the log: * Using credentials: atanasj^forge
* Serving Flask app "grip.app" (lazy loading)
* Environment: production
�[31m WARNING: This is a development server. Do not use it in a production deployment.�[0m
�[2m Use a production WSGI server instead.�[0m
* Debug mode: off
* Running on http://localhost:27115/ (Press CTRL+C to quit)
[2020-02-29 00:36:36,300] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python3.7/site-packages/grip/app.py", line 174, in _render_page
content = self.renderer.render(text, self.auth)
File "/usr/local/lib/python3.7/site-packages/grip/renderers.py", line 78, in render
r.raise_for_status()
File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.github.com/markdown/raw
127.0.0.1 - - [29/Feb/2020 00:36:36] "�[35m�[1mGET / HTTP/1.1�[0m" 500 -
127.0.0.1 - - [29/Feb/2020 00:36:36] "�[33mGET /favicon.ico HTTP/1.1�[0m" 404 - The output looks weird, so here's a screenshot too: Any ideas? Also, I had this in the grip --user=atanasj^forge --pass=xxxxxxx --title=README.md - Grip /var/folders/77/7ht3td2j1vb00csyp1l4wlv40000gn/T/README.mdjpjBsq.tmp 27115 I've been having troubles setting up |
I think it's related. The credentials is invalid, so |
Where do I set it? |
As in |
This does not seem to be working. I get the following error:
I am running this on a
markdown
file, and can open withgrip
viacli
.I am using
Grip 4.5.2
. Am I missing something?The text was updated successfully, but these errors were encountered: