ipfs / ipfs-desktop

An unobtrusive and user-friendly desktop application for IPFS on Windows, Mac and Linux.
https://docs.ipfs.tech/install/ipfs-desktop/
MIT License
5.86k stars 850 forks source link

Stack in gui error report is truncated #2774

Open kavyashrre opened 3 months ago

kavyashrre commented 3 months ago

👉️ Please describe what you were doing when this error happened.

Specifications

Error


Error: Initializing daemon...
Kubo version: 0.26.0
Repo version: 15
System version: amd64/windows
Golang version: go1.21.6
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/127.0.0.1/udp/4001/quic-v1
Swarm listening on /ip4/127.0.0.1/udp/4001/quic-v1/webtransport/certhash/uEiDDC1fL_rtDpblX7x08CPTGmNSUmtQzHDvFK7vTCRhlcA/certhash/uEiCKrWYDIG6RQgig97CpB0XDf2-tlQuh-279bRuQcMyceQ
Swarm listening on /ip4/169.254.152.226/tcp/4001
Swarm listening on /ip4/169.254.152.226/udp/4001/quic-v1
Swarm listening on /ip4/169.254.152.226/udp/4001/quic-v1/webtransport/certhash/uEiDDC1fL_rtDpblX7x08CPTGmNSUmtQzHDvFK7vTCRhlcA/certhash/uEiCKrWYDIG6RQgig97CpB0XDf2-tlQuh-279bRuQcMyceQ
Swarm listening on /ip4/169.254.214.43/tcp/4001
Swarm listening on /ip4/169.254.214.43/udp/4001/quic-v1
Swarm listening on /ip4/169.254.214.43/udp/4001/quic-v1/webtransport/certhash/uEiDDC1fL_rtDpblX7x08CPTGmNSUmtQzHDvFK7vTCRhlcA/certhash/uEiCKrWYDIG6RQgig97CpB0XDf2-tlQuh-279bRuQcMyceQ
Swarm listening on /ip4/169.254.64.185/tcp/4001
Swarm listening on /ip4/169.254.64.185/udp/4001/quic-v1
Swarm listening on /ip4/169.254.64.185/udp/4001/quic-v1/webtransport/certhash/uEiDDC1fL_rtDpblX7x08CPTGmNSUmtQzHDvFK7vTCRhlcA/certhash/uEiCKrWYDIG6RQgig97CpB0XDf2-tlQuh-279bRuQcMyceQ
Swarm listening on /ip4/192.168.0.30/tcp/4001
Swarm listening on /ip4/192.168.0.30/u
welcome[bot] commented 3 months ago

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

Finally, remember to use https://discuss.ipfs.io if you just need general support.

lidel commented 3 months ago

@kavyashrre seems the error message got cut-off, are you able to resolve the problem by following steps from https://github.com/ipfs/ipfs-desktop?tab=readme-ov-file#error-initializing-daemon ?

lidel commented 2 weeks ago

Repurposing this to handle problems like this.

src/dialogs/errors.js is limiting the length of the stacktrace by limiting it to ~2k characters.

In such cases, we should show first ~7 lines and then as much of the tail as we can, to include error that usually occurs at the end of the stdout.