HelloZeroNet / HelloZeroNet/ZeroNet

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

Ouverte
#1,286 19 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
18.8k
Forks
2.3k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### 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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript, python
Domaine
backend, frontend, networking
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
32/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.