Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

no --version on OS X #35

Open
viegelinsch opened this issue Aug 15, 2014 · 0 comments
Open

no --version on OS X #35

viegelinsch opened this issue Aug 15, 2014 · 0 comments

Comments

@viegelinsch
Copy link

Installing on OS X worked like a charm.

But now
python-keepass-httpd --version

leads to

Traceback (most recent call last):
  File "/usr/local/bin/python-keepass-httpd", line 11, in <module> 
    sys.exit(main())
  File "/Library/Python/2.7/site-packages/keepass_http/scripts/python_keepass_httpd.py", line 69, in main
    backend = backends.BaseBackend.get_by_filepath(database_path)
  File "/Library/Python/2.7/site-packages/keepass_http/backends/__init__.py", line 73, in get_by_filepath
    mimetype = mimetypes.guess_type(filepath)[0]
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/mimetypes.py", line 295, in guess_type
    return _db.guess_type(url, strict)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/mimetypes.py", line 114, in guess_type
    scheme, url = urllib.splittype(url)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 1071, in splittype
    match = _typeprog.match(url)
TypeError: expected string or buffer

Any hints ideas?

@viegelinsch viegelinsch changed the title no version on OS X no --version on OS X Aug 15, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant