Issue replacing _parse_blob
- Lenguaje dominante
- Python
- Estrellas
- 1.3k
- Forks
- 304
- Merge medio
- 4 h 32 min
- PR fusionados (30 d)
- 216
Descripción
I was working on applicationstate.py and I ran into an issue regarding plist parsing. I tried to replace the local _parse_blob function with the standard function from the core, but I ran into errors.
Testing with get_plist_content I tried passing the data to this function, but it failed with this error:
```Error: Type error when parsing plist data: a bytes-like object is required, not '_io.BytesIO'```
I also noticed that this same custom block of code is present in other modules, not just here. I found it in:
- bumble.py
- imoHD_Chat.py
- instagramThreads.py
- safariTabs.py
- uberClient.py
- vipps.py
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
The issue is in applicationstate.py's _parse_blob function and similar functions in bumble.py, imoHD_Chat.py, instagramThreads.py, safariTabs.py, uberClient.py, and vipps.py. Start by examining the get_plist_content function and the standard plist parsing function from the core to understand the expected input type (bytes vs. BytesIO). Run tests to reproduce the error and then update the functions to pass the correct data type.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- tooling
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 55/100