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

walletd Compilation Issue: No Task Nodes Found on Execution #82

Closed
ps2xu opened this issue Mar 17, 2024 · 1 comment · Fixed by #83
Closed

walletd Compilation Issue: No Task Nodes Found on Execution #82

ps2xu opened this issue Mar 17, 2024 · 1 comment · Fixed by #83
Assignees
Labels
bug Something isn't working

Comments

@ps2xu
Copy link

ps2xu commented Mar 17, 2024

Hello,

I’ve encountered an issue after compiling walletd. Here are the steps I followed:

Set CGO_ENABLED=1.
Updated the %PATH% environment variable to include the GCC directory.
Ran the command go generate ./...
Followed by go build -o ./bin/ ./cmd/walletd

After these steps, I obtained an executable .exe file. However, when I run this executable, I receive an error stating couldn't discover UPnP router {"error": "no UPnP-enabled gateway found"}

Could you please help me understand the potential causes of this error? Any guidance or suggestions would be greatly appreciated.

Thank you!

E:\SiaData\sia>walletd
walletd v0.1.0
Enter API password:
�[35mDEBUG�[0m  couldn't discover UPnP router   {"error": "no UPnP-enabled gateway found"}
�[34mINFO�[0m   stdlib  p2p: Listening on [::]:9981
�[34mINFO�[0m   stdlib  api: Listening on 127.0.0.1:9980
�[31mERROR�[0m  syncer.peerLoop failed to fetch peers   {"error": "transaction failed (attempt 1): failed to scan peer info: sql: expected 1 destination arguments in Scan, not 5"}
�[31mERROR�[0m  syncer.peerLoop failed to fetch peers   {"error": "transaction failed (attempt 1): failed to scan peer info: sql: expected 1 destination arguments in Scan, not 5"}
�[31mERROR�[0m  syncer.peerLoop failed to fetch peers   {"error": "transaction failed (attempt 1): failed to scan peer info: sql: expected 1 destination arguments in Scan, not 5"}
�[31mERROR�[0m  syncer.peerLoop failed to fetch peers   {"error": "transaction failed (attempt 1): failed to scan peer info: sql: expected 1 destination arguments in Scan, not 5"}
�[31mERROR�[0m  syncer.peerLoop failed to fetch peers   {"error": "transaction failed (attempt 1): failed to scan peer info: sql: expected 1 destination arguments in Scan, not 5"}
�[31mERROR�[0m  syncer.peerLoop failed to fetch peers   {"error": "transaction failed (attempt 1): failed to scan peer info: sql: expected 1 destination arguments in Scan, not 5"}
@ChrisSchinnerl ChrisSchinnerl self-assigned this Mar 18, 2024
@ChrisSchinnerl ChrisSchinnerl added the bug Something isn't working label Mar 18, 2024
@ChrisSchinnerl
Copy link
Member

Thanks for reporting. no UPnP-enabled gateway found is not an issue, it just means walletd can't automatically forward a port. The transaction failed error is definitely an issue though and will be fixed asap.
In the meantime I'd recommend sticking to the tagged releases of walletd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants