DPMAregister: Access forbidden!
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start with patzilla/access/dpma/dpmaregister.py, especially access_register around line 743, and inspect the response returned by DPMAregister. The traceback shows an HTTP 403 page where the expected patent document is parsed; determine whether the service access or response handling needs attention. Done when requests can retrieve and decode register data again, with the servicing interval restored.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Requests to the DPMAregister service are responded with Access forbidden!. The issue probably exists for a while already, because the servicing interval of PatZilla decreased significantly.
File "/path/to/patzilla/patzilla/navigator/services/dpma.py", line 77, in status_upstream_dpmaregister_handler
data = dpmaregister.access_register('DE212016000074', 'json')
File "/path/to/patzilla/patzilla/access/dpma/dpmaregister.py", line 743, in access_register
document = DpmaRegisterXmlDocument(response.content).decode()
File "/path/to/patzilla/patzilla/access/dpma/dpmaregister.py", line 555, in decode
title = self.pointer_title.resolve(self._data)
File "/path/to/patzilla/jsonpointer.py", line 204, in resolve
doc = self.walk(doc, part)
File "/path/to/patzilla/jsonpointer.py", line 279, in walk
raise JsonPointerException("member '%s' not found in %s" % (part, doc))
jsonpointer.JsonPointerException: member 'dpma-patent-document' not found in OrderedDict([('html', OrderedDict([('@lang', 'en'), ('@{http://www.w3.org/XML/1998/namespace}lang', 'en'), ('head', OrderedDict([('title', OrderedDict([('$', 'Access forbidden!')])), ('link', OrderedDict([('@href', 'mailto:[email protected]'), ('@rev', 'made')])), ('style', OrderedDict([('@type', 'text/css'), ('$', '/*><!--*/ \n body { color: #000000; background-color: #FFFFFF; }\n a:link { color: #0000CC; }\n p, address {margin-left: 3em;}\n span {font-size: smaller;}\n/**/-->')]))])), ('body', OrderedDict([('h1', OrderedDict([('$', 'Access forbidden!')])), ('p', [OrderedDict([('$', "You don't have permission to access the requested object.\n It is either read-protected or not readable by the server.")]), OrderedDict([('$', 'If you think this is a server error, please contact\nthe'), ('a', OrderedDict([('@href', 'mailto:[email protected]'), ('$', 'webmaster')]))])]), ('h2', OrderedDict([('$', 'Error 403')])), ('address', OrderedDict([('a', OrderedDict([('@href', '/'), ('$', 'register.dpma.de')])), ('br', OrderedDict()), ('span', OrderedDict([('$', 'Apache')]))]))]))]))])
- Ngôn ngữ chính
- Python
- Star
- 123
- Fork
- 31
- Merge trung bình
- 2 giờ 50 phút
- Pull request đã merge (30 ngày)
- 66
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ip-tools/patzilla
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
ip-tools/patzilla#149 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
ip-tools/patzilla#139 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
UI: Update BabelĐang mởdependencies help wanted javascript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
js: Update `elliptic`Đang mởdependencies help wanted javascript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
ip-tools/patzilla#181 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ip-tools/patzilla
Issue tương tự
-
URLValidator ignores an explicit empty scheme allowlistCó thể đã có người làm @IlyaKhalafi đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
tortoise/tortoise-orm#2393 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
frappe/frappe_docker#2046 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Weekly link check failedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
complete_box_iou_loss / complete_box_iou: NaN gradients for zero-height boxes, NaN for point boxesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
AXI SMU SPEC
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
tenstorrent/tt-oca-harness#3556 ·
Maintainer thường phản hồi trong vòng 1 ngày