Skip to content
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

AttributeError: 'EntryPoints' object has no attribute 'get' #57

Closed
MehmedGIT opened this issue Nov 30, 2022 · 2 comments
Closed

AttributeError: 'EntryPoints' object has no attribute 'get' #57

MehmedGIT opened this issue Nov 30, 2022 · 2 comments

Comments

@MehmedGIT
Copy link

What is going wrong here? Native installation or installation using pip ends up producing the same error.

mm@MM-Notebook:~$ sudo docker run -it --rm -v /home/mm/Desktop/workflows/:/data -p 8085:8085 -p 8080:8080 hnesk/ocrd_browser
+ python serve.py -p 8080 -P 8085 -d /data
+ broadwayd :5
Listening on /root/.cache/broadway6.socket
/data/ocrd-ws-serial-cleaned/mets.xml
/data/ocrd-ws-serial/mets.xml
/data/ocrd-ws-pagewise/mets.xml
/data/ocrd-ws-pagewise-cleaned/mets.xml
172.17.0.1 - - [30/Nov/2022 23:02:05] "GET / HTTP/1.1" 200 -
172.17.0.1 - - [30/Nov/2022 23:02:05] "GET /favicon.ico HTTP/1.1" 403 -
172.17.0.1 - - [30/Nov/2022 23:02:05] "GET /favicon.ico HTTP/1.1" 403 -
172.17.0.1 - - [30/Nov/2022 23:02:05] "GET /favicon.ico HTTP/1.1" 403 -
172.17.0.1 - - [30/Nov/2022 23:02:05] "GET /favicon.ico HTTP/1.1" 403 -
172.17.0.1 - - [30/Nov/2022 23:02:05] "GET /favicon.ico HTTP/1.1" 403 -
172.17.0.1 - - [30/Nov/2022 23:02:05] "GET /favicon.ico HTTP/1.1" 403 -
172.17.0.1 - - [30/Nov/2022 23:02:05] "GET /favicon.ico HTTP/1.1" 403 -
172.17.0.1 - - [30/Nov/2022 23:02:05] "GET /favicon.ico HTTP/1.1" 403 -
172.17.0.1 - - [30/Nov/2022 23:02:05] "GET /favicon.ico HTTP/1.1" 403 -
172.17.0.1 - - [30/Nov/2022 23:02:05] "GET /favicon.ico HTTP/1.1" 403 -
172.17.0.1 - - [30/Nov/2022 23:02:10] "GET /browse/ocrd-ws-serial-cleaned/mets.xml HTTP/1.1" 303 -
Traceback (most recent call last):
  File "/usr/local/bin/browse-ocrd", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/ocrd_browser/main.py", line 63, in main
    app = OcrdBrowserApplication()
  File "/usr/local/lib/python3.7/site-packages/ocrd_browser/application.py", line 28, in __init__
    self.view_registry = ViewRegistry.create_from_entry_points()
  File "/usr/local/lib/python3.7/site-packages/ocrd_browser/view/registry.py", line 21, in create_from_entry_points
    for entry_point in entry_points().get('ocrd_browser_view', []):
AttributeError: 'EntryPoints' object has no attribute 'get'
@bertsky
Copy link
Contributor

bertsky commented Nov 30, 2022

See #56 and #53

@hnesk
Copy link
Owner

hnesk commented Feb 20, 2023

Fixed by @bertsky in #53 and #56. Sorry for the delay.

@hnesk hnesk closed this as completed Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants