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

Stack in gui error report is truncated #2774

Open
kavyashrre opened this issue Mar 27, 2024 · 3 comments
Open

Stack in gui error report is truncated #2774

kavyashrre opened this issue Mar 27, 2024 · 3 comments
Labels
kind/bug A bug in existing code (including security flaws) kind/enhancement A net-new feature or improvement to an existing feature

Comments

@kavyashrre
Copy link

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

Specifications

  • OS: win32 10.0.22631
  • IPFS Desktop Version: 0.33.0
  • Electron Version: 19.1.9
  • Chrome Version: 102.0.5005.167

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
@kavyashrre kavyashrre added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Mar 27, 2024
Copy link

welcome bot commented Mar 27, 2024

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:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

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

@lidel
Copy link
Member

lidel commented Mar 27, 2024

@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 lidel added the need/author-input Needs input from the original author label Mar 27, 2024
@lidel lidel added kind/enhancement A net-new feature or improvement to an existing feature and removed need/triage Needs initial labeling and prioritization need/author-input Needs input from the original author labels Jun 12, 2024
@lidel lidel changed the title [gui error report] Error: Initializing daemon... Stack in gui error report is truncated Jun 12, 2024
@lidel
Copy link
Member

lidel commented Jun 12, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) kind/enhancement A net-new feature or improvement to an existing feature
Projects
No open projects
Status: No status
Development

No branches or pull requests

2 participants