ssbc / patchbay

An alternative Secure Scuttlebutt client interface that is fully compatible with Patchwork
http://www.scuttlebutt.nz
386 stars 78 forks source link

Patchbay corrupts .ssb/config file #358

Closed ph1l closed 4 years ago

ph1l commented 4 years ago

Patchbay never displays initial page, I just get a blank window. Console error:

Console Output:

ssb@x200:~$ ./patchbay-Linux-8.1.0-x86_64.AppImage 
# AHOY: (main)     starting UI
SyntaxError: Unexpected string in JSON at position 4
    at JSON.parse (<anonymous>)
    at exports.parse (/tmp/.mount_patchbJ3GSAK/resources/app.asar/node_modules/rc/lib/utils.js:15:17)
    at addConfigFile (/tmp/.mount_patchbJ3GSAK/resources/app.asar/node_modules/rc/index.js:30:20)
    at Array.forEach (<anonymous>)
    at module.exports (/tmp/.mount_patchbJ3GSAK/resources/app.asar/node_modules/rc/index.js:43:36)
    at module.exports (/tmp/.mount_patchbJ3GSAK/resources/app.asar/node_modules/ssb-config/inject.js:6:12)
    at State.watch (/tmp/.mount_patchbJ3GSAK/resources/app.asar/node_modules/ssb-ahoy/views/config/state.js:38:20)
    at watch (/tmp/.mount_patchbJ3GSAK/resources/app.asar/node_modules/mutant/watch.js:7:5)
    at State (/tmp/.mount_patchbJ3GSAK/resources/app.asar/node_modules/ssb-ahoy/views/config/state.js:37:3)
    at module.exports (/tmp/.mount_patchbJ3GSAK/resources/app.asar/node_modules/ssb-ahoy/views/config/index.js:14:17)

.ssb/config:

{}  "friendPub": {
    "hops": 3
  },
  "gossip": {
    "friends": true,
    "global": true
  }
}

I think I attempted to recently use the settings page to configure my replication hops. I would guess that some config writer is broken?

stale[bot] commented 4 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?