{"action":"created","issue":{"url":"https://api.github.com/repos/HelloZeroNet/ZeroNet/issues/1286","repository_url":"https://api.github.com/repos/HelloZeroNet/ZeroNet","labels_url":"https://api.github.com/repos/HelloZeroNet/ZeroNet/issues/1286/labels{/name}","comments_url":"https://api.github.com/repos/HelloZeroNet/ZeroNet/issues/1286/comments","events_url":"https://api.github.com/repos/HelloZeroNet/ZeroNet/issues/1286/events","html_url":"https://github.com/HelloZeroNet/ZeroNet/issues/1286","id":296688955,"number":1286,"title":"\"Save site settings\" button or \"Sign\" button does nothing","user":{"login":"slrslr","id":6596726,"avatar_url":"https://avatars1.githubusercontent.com/u/6596726?v=4","gravatar_id":"","url":"https://api.github.com/users/slrslr","html_url":"https://github.com/slrslr","followers_url":"https://api.github.com/users/slrslr/followers","following_url":"https://api.github.com/users/slrslr/following{/other_user}","gists_url":"https://api.github.com/users/slrslr/gists{/gist_id}","starred_url":"https://api.github.com/users/slrslr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slrslr/subscriptions","organizations_url":"https://api.github.com/users/slrslr/orgs","repos_url":"https://api.github.com/users/slrslr/repos","events_url":"https://api.github.com/users/slrslr/events{/privacy}","received_events_url":"https://api.github.com/users/slrslr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-02-13T10:38:08Z","updated_at":"2018-03-20T08:19:12Z","closed_at":null,"author_association":"NONE","body":"### Step 1: Please describe your environment\r\n\r\n  * ZeroNet version: 0.6.2 rev3323\r\n  * Operating system: Win. 10 64bit\r\n  * Web browser: Firefox\r\n  * Tor status: available\r\n  * Opened port: no\r\n\r\n### Step 2: Describe the problem:\r\n\r\nI 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):\r\n\r\n[ZeroTalk] save scrollTop 0\r\nall.js:457:7\r\n[ZeroWebsocket] Closed \r\nclose { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: \"\", currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, defaultPrevented: false, … }\r\nall.js:142:14\r\n[Wrapper] Created!\r\nall.js:1546:14\r\n[ZeroWebsocket] Open\r\nall.js:142:14\r\n[ZeroTalk] inited!\r\nall.js:457:7\r\n[ZeroTalk] restore scrollTop \r\nObject { scrollTop: 0 }\r\n 0\r\nall.js:457:7\r\n[Wrapper] actionSetViewport \r\nObject { cmd: \"wrapperSetViewport\", params: \"width=device-width, initial-scale=0.8\", wrapper_nonce: \"removed\", id: 1 }\r\nall.js:1546:14\r\n[Wrapper] Setting title to myZeroTalk - ZeroNet\r\nall.js:1546:14\r\n[User] Updating user info... undefined\r\nall.js:457:7\r\n[ZeroTalk] Routing url: Topic:removed/removed&wrapper_nonce=removed\r\nall.js:457:7\r\n[TopicShow] Loading topic... (Done in 148ms)\r\nall.js:457:7\r\n[TopicShow] Loading comments... (Done in 168ms)\r\nall.js:457:7\r\n[ZeroTalk] Adding inline editors (Done in 8ms)\r\nall.js:457:7\r\n[Follow] Username mentions -> undefined\r\nall.js:457:7\r\n[Follow] New topics -> undefined\r\nall.js:457:7\r\n[ZeroTalk] Websocket callback not found: \r\n{…}\r\ncmd: \"response\"\r\nresult: undefined\r\nto: 10\r\n__proto__: {…}\r\n__defineGetter__: function __defineGetter__()\r\n__defineSetter__: function __defineSetter__()\r\n__lookupGetter__: function __lookupGetter__()\r\n__lookupSetter__: function __lookupSetter__()\r\nconstructor: function Object()\r\nhasOwnProperty: function hasOwnProperty()\r\nisPrototypeOf: function isPrototypeOf()\r\npropertyIsEnumerable: function propertyIsEnumerable()\r\ntoLocaleString: function toLocaleString()\r\ntoSource: function toSource()\r\ntoString: function toString()\r\nvalueOf: function valueOf()\r\nall.js:457:7\r\n[Sidebar] startDrag\r\nall.js:1596:7\r\n[Sidebar] Moved\r\nall.js:1596:7\r\n[Sidebar] Creating content\r\nall.js:1596:7\r\n[Sidebar] Opened\r\nall.js:1596:7\r\nloadGlobe true\r\nall.js:2399:7\r\n[Sidebar] stopdrag opened: true\r\nall.js:1596:7\r\nTHREE.WebGLRenderer 69\r\nall.js:1048:216\r\nTHREE.WebGLProgram: gl.getProgramInfoLog() \r\n\r\n\r\nall.js:1110:154\r\nTHREE.WebGLProgram: gl.getProgramInfoLog() \r\nC:\\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\r\n\r\n\r\n\r\nall.js:1110:154\r\nThis 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!\r\n19removed\r\n\r\nI checked the log file for interesting log entries and i see:\r\n[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\r\n[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"},"comment":{"url":"https://api.github.com/repos/HelloZeroNet/ZeroNet/issues/comments/374511627","html_url":"https://github.com/HelloZeroNet/ZeroNet/issues/1286#issuecomment-374511627","issue_url":"https://api.github.com/repos/HelloZeroNet/ZeroNet/issues/1286","id":374511627,"user":{"login":"krixano","id":4098042,"avatar_url":"https://avatars1.githubusercontent.com/u/4098042?v=4","gravatar_id":"","url":"https://api.github.com/users/krixano","html_url":"https://github.com/krixano","followers_url":"https://api.github.com/users/krixano/followers","following_url":"https://api.github.com/users/krixano/following{/other_user}","gists_url":"https://api.github.com/users/krixano/gists{/gist_id}","starred_url":"https://api.github.com/users/krixano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krixano/subscriptions","organizations_url":"https://api.github.com/users/krixano/orgs","repos_url":"https://api.github.com/users/krixano/repos","events_url":"https://api.github.com/users/krixano/events{/privacy}","received_events_url":"https://api.github.com/users/krixano/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T08:19:12Z","updated_at":"2018-03-20T08:19:12Z","author_association":"NONE","body":"I believe chrome uses C++ actually, but that doesn't negate the fact that it would be hard to rewrite everything in C++ - although I think it would be worth it to rewrite ZeroNet into a lower level language (not C++, but perhaps Rust - especially because of Rust's safety with no abstraction costs). Although, this *could* reduce cross-platform (Android and iOS), however, if you do it right, then you should be able to call out from swift/java to the C++ or Rust program."}}
{"actor":{"display_login":"krixano"}}