Skip to content

DEPATISnet: search_patents: AttributeError: 'exceptions.ValueError' object has no attribute 'read' #75

@amotl

Description

@amotl

Problem

We've observed an exception in the server log. The issue probably exists for a while already, because the servicing interval of PatZilla decreased significantly.

2025-08-05 00:35:07,714 ERROR    [patzilla.access.dpma.depatisnet         ][MainThread] Problem downloading results in XLS format: time data 'Aug 9, 1995' does not match format '%d.%m.%Y'
Traceback (most recent call last):
  File "/path/to/patzilla/navigator/services/dpma.py", line 65, in status_upstream_depatisnet_handler
    data = dpma_published_data_search_real('pn=EP666666', None)
  File "/path/to/patzilla/navigator/services/dpma.py", line 182, in dpma_published_data_search_real
    data = depatisnet.search_patents(query, options)
  File "/path/to/patzilla/access/dpma/depatisnet.py", line 199, in search_patents
    ex.http_response = ex.read()
AttributeError: 'exceptions.ValueError' object has no attribute 'read'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions