Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gui error report] SyntaxError: Unexpected end of JSON input: Error: open /path/to/ipfsrepo #2836

Closed
rtxs34 opened this issue Jul 14, 2024 · 7 comments
Labels
area/linux Linux area/macos MacOS kind/bug A bug in existing code (including security flaws) kind/stale need/author-input Needs input from the original author

Comments

@rtxs34
Copy link

rtxs34 commented Jul 14, 2024

  • Desktop: 0.37.0
  • OS: linux 6.1.0-22-amd64 x64
  • Electron: 31.0.1
  • Chrome: 126.0.6478.36
SyntaxError: Unexpected end of JSON input: Error: open /path/to/ipfsrepo/config: no such file or directory
    at JSON.parse (<anonymous>)
    at Daemon._getConfig (/opt/IPFS Desktop/resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:368:21)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Daemon.init (/opt/IPFS Desktop/resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:158:9)
    at async getIpfsd (/opt/IPFS Desktop/resources/app.asar/src/daemon/daemon.js:63:7)
    at async startDaemon (/opt/IPFS Desktop/resources/app.asar/src/daemon/daemon.js:210:17)
    at async startIpfs (/opt/IPFS Desktop/resources/app.asar/src/daemon/index.js:49:17)
    at async setupDaemon (/opt/IPFS Desktop/resources/app.asar/src/daemon/index.js:116:3)
    at async Promise.all (index 1)
    at async run (/opt/IPFS Desktop/resources/app.asar/src/index.js:68:5)
@rtxs34 rtxs34 added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Jul 14, 2024
@jc-frosty
Copy link

Closed my issue, as the only difference is the OS. Following this one.

@jc-frosty
Copy link

This error occurs in 0.36.0 as well. See above issue (2839).

@jc-frosty
Copy link

@rtxs34 did you install ipfs desktop via macports? I ask because some of your files are in /opt which is where macports installs(and mine are not installed there).

@lidel
Copy link
Member

lidel commented Sep 11, 2024

@rtxs34 @jc-frosty any idea how reproduce this problem?

@lidel lidel added need/author-input Needs input from the original author area/macos MacOS area/linux Linux and removed need/triage Needs initial labeling and prioritization labels Sep 11, 2024
@jc-frosty
Copy link

Not sure. I have just opened IPFS on what computer I probably had the error on and there is no error. I don't know if it took a specific action. I am running macOS Sonoma 14.6.1, and I don't know what Darwin version that translates to(that is how I would identify which computer I filed the report from/for).

Copy link
Contributor

Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days.

Copy link
Contributor

This issue was closed because it is missing author input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/linux Linux area/macos MacOS kind/bug A bug in existing code (including security flaws) kind/stale need/author-input Needs input from the original author
Projects
No open projects
Status: No status
Development

No branches or pull requests

3 participants