fetch_st36xml: `TypeError: 'NoneType' object has no attribute '__getitem__'`
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Start in patzilla/access/dpma/dpmaregister.py at fetch_st36xml, around the st36xml_anchor['href'] access shown in the traceback. Reproduce the failing DPMA register request for the document number in the stack trace and inspect why the anchor lookup returns None. Done means the request handles this response without raising the reported TypeError; the issue gives no test file or expected response behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
2025-11-12 10:22:51,105 INFO [patzilla.access.dpma.dpmaregister ][MainThread] Accessing URL https://register.dpma.de/DPMAregister/pat/register:showalleverfahrenstabellen?AKZ=2120160000748&lang=en
Traceback (most recent call last):
[...]
File "/path/to/site-packages/patzilla/navigator/services/dpma.py", line 77, in status_upstream_dpmaregister_handler
data = dpmaregister.access_register('DE212016000074', 'json')
File "/path/to/site-packages/patzilla/access/dpma/dpmaregister.py", line 742, in access_register
response = register.fetch_st36xml(document_number, language)
File "/path/to/site-packages/dogpile/cache/region.py", line 1231, in decorate
should_cache_fn)
[...]
File "/path/to/site-packages/patzilla/access/dpma/dpmaregister.py", line 147, in fetch_st36xml
st36xml_href = st36xml_anchor['href']
TypeError: 'NoneType' object has no attribute '__getitem__'
- Lenguaje dominante
- Python
- Estrellas
- 123
- Forks
- 31
- Merge medio
- 1 h 6 min
- PR fusionados (30 d)
- 50
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ip-tools/patzilla
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
ip-tools/patzilla#149 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
ip-tools/patzilla#139 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
UI: Update BabelAbiertodependencies help wanted javascript
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
Los mantenedores suelen responder en 1 día
Todos los issues de ip-tools/patzilla
Issues similares
-
infrastructure
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
NatLabRockies/H2Integrate#977 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
topoteretes/cognee#6470 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
area:docs priority:p2 type:docs wave:9
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
jejjohnson/radtrax#293 ·
Los mantenedores suelen responder en 1 día
-
bug core plugins
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
bunkerity/bunkerweb#4121 · 1 comentario ·
Los mantenedores suelen responder en 1 día