Data source DPMAregister broken

Just for the records.

Introduction

Our monitoring system notified us about a problem with the DPMAregister data source available through PatZilla today.

13

Problem

We have been able to reproduce it easily.

dpmaregister fetch DE19630877 --format=json | jq . currently yields

  File "/Users/amo/dev/elmyra/sources/ip-navigator/patzilla/access/dpma/dpmaregister.py", line 129, in fetch_st36xml
    st36xml_href = st36xml_anchor['href']
TypeError: 'NoneType' object has no attribute '__getitem__'

P.S.: We are also tracking this at Fixes and updates for DPMAregister subsystem by aghster · Pull Request #1 · ip-tools/ip-navigator · GitHub.

Investigation

The DPMA apparently changed the HTML output slightly.

Solution

This has been fixed by commit

and release 0.164.1.

Enjoy your research!