HelloZeroNet / HelloZeroNet/ZeroNet
The content submission is in progress but nothing happen - Exception: Invalid content.json file
- Lenguaje dominante
- JavaScript
- Estrellas
- 18.8k
- Forks
- 2.3k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### Step 1: Please describe your environment
* ZeroNet version: 0.7.2 r4548, Python 3.7.3
* Operating system: Linux Arch
* Web browser: FF
* Tor status: available
* Opened port: yes
* Special configuration: multiuser
### Step 2: Describe the problem:
#### Steps to reproduce:
i have tried to like someone's topic from within index page of the ZeroTalk. It was only animating the vote button and nothing else.
The debug.log though shows something relevant:
> Site:1TaLkF..jipT WebSocket handleRequest error: Exception: Invalid content.json file: data/users/myaddress/data.json in UiWebsocket.py line 80 > 236 > MergerSite/MergerSitePlugin.py line 212 > 206 > UiWebsocket.py line 473 > MergerSite/MergerSitePlugin.py line 209 > 206 > OptionalManager/UiWebsocketPlugin.py line 41 > UiWebsocket.py line 415
> {"cmd":"sitePublish","params":{"inner_path":"data/users/myaddress/data.json"},"wrapper_nonce":"somestringhere","id":11}
>
So maybe ZeroNet can either fix the file on background or print some error on page so one knows how to fix this issue...
I have checked that data.json using online validator and it says it is valid and content.json seems OK too.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza reproduciendo el flujo de votación de ZeroTalk descrito en el issue e inspecciona la ruta de solicitud de WebSocket en UiWebsocket.py alrededor de la línea 80 y en las líneas 415-473, además de MergerSitePlugin.py en las líneas 206-212. Traza por qué publicar data/users/myaddress/data.json informa de que el archivo content.json no es válido y, después, verifica que la votación se complete o presente un error procesable.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- backend
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100