HelloZeroNet / HelloZeroNet/ZeroNet

"Save site settings" button or "Sign" button does nothing

Abierto
#1,286 19 comentarios 0 reacciones 0 asignados Ver en GitHub
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.6.2 rev3323
* Operating system: Win. 10 64bit
* Web browser: Firefox
* Tor status: available
* Opened port: no

### Step 2: Describe the problem:

I have clonned ZeroTalk, i have created first topic. I opened (0) menu and tried to modify site name and description and click "Save site settings" and "Sign" button. Nothing happened. Site has only me as apeer (Onion: 1). When i reload page and click save site settings, i see this in developer console (F12):

[ZeroTalk] save scrollTop 0
all.js:457:7
[ZeroWebsocket] Closed
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, defaultPrevented: false, … }
all.js:142:14
[Wrapper] Created!
all.js:1546:14
[ZeroWebsocket] Open
all.js:142:14
[ZeroTalk] inited!
all.js:457:7
[ZeroTalk] restore scrollTop
Object { scrollTop: 0 }
0
all.js:457:7
[Wrapper] actionSetViewport
Object { cmd: "wrapperSetViewport", params: "width=device-width, initial-scale=0.8", wrapper_nonce: "removed", id: 1 }
all.js:1546:14
[Wrapper] Setting title to myZeroTalk - ZeroNet
all.js:1546:14
[User] Updating user info... undefined
all.js:457:7
[ZeroTalk] Routing url: Topic:removed/removed&wrapper_nonce=removed
all.js:457:7
[TopicShow] Loading topic... (Done in 148ms)
all.js:457:7
[TopicShow] Loading comments... (Done in 168ms)
all.js:457:7
[ZeroTalk] Adding inline editors (Done in 8ms)
all.js:457:7
[Follow] Username mentions -> undefined
all.js:457:7
[Follow] New topics -> undefined
all.js:457:7
[ZeroTalk] Websocket callback not found:
{…}
cmd: "response"
result: undefined
to: 10
__proto__: {…}
__defineGetter__: function __defineGetter__()
__defineSetter__: function __defineSetter__()
__lookupGetter__: function __lookupGetter__()
__lookupSetter__: function __lookupSetter__()
constructor: function Object()
hasOwnProperty: function hasOwnProperty()
isPrototypeOf: function isPrototypeOf()
propertyIsEnumerable: function propertyIsEnumerable()
toLocaleString: function toLocaleString()
toSource: function toSource()
toString: function toString()
valueOf: function valueOf()
all.js:457:7
[Sidebar] startDrag
all.js:1596:7
[Sidebar] Moved
all.js:1596:7
[Sidebar] Creating content
all.js:1596:7
[Sidebar] Opened
all.js:1596:7
loadGlobe true
all.js:2399:7
[Sidebar] stopdrag opened: true
all.js:1596:7
THREE.WebGLRenderer 69
all.js:1048:216
THREE.WebGLProgram: gl.getProgramInfoLog()

all.js:1110:154
THREE.WebGLProgram: gl.getProgramInfoLog()
C:\fakepath(27,33-109): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them

all.js:1110:154
This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://developer.mozilla.org/docs/Mozilla/Performance/ScrollLinkedEffects for further details and to join the discussion on related tools and features!
19removed

I checked the log file for interesting log entries and i see:
[2018-02-13 11:40:16,786] DEBUG FileServer Conn#74741 64.137.251.65 [v2] > Socket error: UnpackValueError: Unknown header: 0xc1 in Connection.py line 185 > fallback.py line 557 > fallback.py line 538 > fallback.py line 537 > fallback.py line 498 > fallback.py line 494
[2018-02-13 11:40:30,592] DEBUG Site:mysiteaddress Websocket send error: UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 232: invalid continuation byte in UiWebsocket.py line 202 > __init__.py line 244 > encoder.py line 207 > encoder.py line 270

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Reproduce the ZeroTalk settings and signing actions while inspecting all.js and the server-side traces in Connection.py, fallback.py, and UiWebsocket.py. Start with the UnicodeDecodeError and the websocket callback warning, then verify that both buttons complete their actions without the reported console or log errors.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript, python
Área
backend, frontend, networking
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
32/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.