You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to set up giftless as the LFS backend for our mercurial server. I got to the point where I could successfully push new objects into giftless, but when I try to clone a repo with an object stored in GiftLess, I get this:
* Serving Flask app 'giftless.wsgi_entrypoint' (lazy loading)
* Environment: development
* Debug mode: on
2023-06-06 13:07:21,098 werkzeug INFO * Running on all addresses (0.0.0.0)
WARNING: This is a development server. Do not use it in a production deployment.
* Running on http://127.0.0.1:5000
* Running on http://10.0.2.15:5000 (Press CTRL+C to quit)
2023-06-06 13:07:21,098 werkzeug INFO * Restarting with stat
* Debugger is active!
* Debugger PIN: 485-499-891
192.168.5.20 - - [06/Jun/2023 13:07:27] "POST /TTDE/LFTest/objects/batch HTTP/1.1" 200 -
2023-06-06 13:07:27,874 werkzeug INFO 192.168.5.20 - - [06/Jun/2023 13:07:27] "POST /TTDE/LFTest/objects/batch HTTP/1.1" 200 -
192.168.5.20 - - [06/Jun/2023 13:07:27] "GET /TTDE/LFTest/objects/storage/aa1db5c660d3d1f3f4f9361b9848694300929be94b74c84452a87420c59e5df9?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6ImdpZnRsZXNzLWludGVybmFsLWp3dC1rZXkifQ.eyJleHAiOjE2ODYwMTM3MDcsImlhdCI6MTY4NjAxMzY0NywibmJmIjoxNjg2MDEzNjQ3LCJzdWIiOm51bGwsIm5hbWUiOiJhbm9ueW1vdXMiLCJzY29wZXMiOiJvYmo6VFRERS9MRlRlc3QvYWExZGI1YzY2MGQzZDFmM2Y0ZjkzNjFiOTg0ODY5NDMwMDkyOWJlOTRiNzRjODQ0NTJhODc0MjBjNTllNWRmOTpyZWFkIn0._4pVD0jfYXt0X0Gna1ExK4TpHyr_G9zL3gfCKR_b9Ks HTTP/1.1" 500 -
2023-06-06 13:07:27,879 werkzeug INFO 192.168.5.20 - - [06/Jun/2023 13:07:27] "GET /TTDE/LFTest/objects/storage/aa1db5c660d3d1f3f4f9361b9848694300929be94b74c84452a87420c59e5df9?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6ImdpZnRsZXNzLWludGVybmFsLWp3dC1rZXkifQ.eyJleHAiOjE2ODYwMTM3MDcsImlhdCI6MTY4NjAxMzY0NywibmJmIjoxNjg2MDEzNjQ3LCJzdWIiOm51bGwsIm5hbWUiOiJhbm9ueW1vdXMiLCJzY29wZXMiOiJvYmo6VFRERS9MRlRlc3QvYWExZGI1YzY2MGQzZDFmM2Y0ZjkzNjFiOTg0ODY5NDMwMDkyOWJlOTRiNzRjODQ0NTJhODc0MjBjNTllNWRmOTpyZWFkIn0._4pVD0jfYXt0X0Gna1ExK4TpHyr_G9zL3gfCKR_b9Ks HTTP/1.1" 500 -
Traceback (most recent call last):
File "/home/giftless/venv/lib/python3.10/site-packages/flask/app.py", line 2095, in __call__
return self.wsgi_app(environ, start_response)
File "/home/giftless/venv/lib/python3.10/site-packages/flask/app.py", line 2080, in wsgi_app
response = self.handle_exception(e)
File "/home/giftless/venv/lib/python3.10/site-packages/flask/app.py", line 2077, in wsgi_app
response = self.full_dispatch_request()
File "/home/giftless/venv/lib/python3.10/site-packages/flask/app.py", line 1525, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/giftless/venv/lib/python3.10/site-packages/flask/app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "/home/giftless/venv/lib/python3.10/site-packages/flask/app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/home/giftless/venv/lib/python3.10/site-packages/flask_classful.py", line 301, in proxy
response = view(**request.view_args)
File "/home/giftless/venv/lib/python3.10/site-packages/giftless/auth/__init__.py", line 90, in decorated_function
return f(*args, **kwargs)
File "/home/giftless/venv/lib/python3.10/site-packages/flask_classful.py", line 269, in inner
return fn(*args, **kwargs)
File "/home/giftless/venv/lib/python3.10/site-packages/giftless/transfer/basic_streaming.py", line 85, in get
filename = safe_filename(filename)
File "/home/giftless/venv/lib/python3.10/site-packages/giftless/util.py", line 84, in safe_filename
return ''.join(c for c in original_filename if c in valid_chars)
TypeError: 'NoneType' object is not iterable
Any idea what's going wrong?
The text was updated successfully, but these errors were encountered:
Ok, I have just tried the source install rather than the pip one and that seems to work better. I note pip hasn't been updated in quite a while. Is it perhaps time for another tag and release?
Trying to set up giftless as the LFS backend for our mercurial server. I got to the point where I could successfully push new objects into giftless, but when I try to clone a repo with an object stored in GiftLess, I get this:
Any idea what's going wrong?
The text was updated successfully, but these errors were encountered: