FTL Error while running app error="dial unix /tmp/itd/socket: connect: no such file or directory" & Can't compile itgui #46
Labels
No Label
Bug
Cantfix
Duplicate
Enhancement
External
Help Wanted
In Progress
Invalid
Question
Waiting
Waiting For Info
Waiting for Upstream
Wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Elara6331/itd#46
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System:
Ubuntu 22.04
when running itctl and any command I get:
"FTL Error while running app error="dial unix /tmp/itd/socket: connect: no such file or directory""
I see that there is no /temp/itd/socket directory - but... why wouldn't it have created this?
also when trying to compile the GUI it just says:
"go: go.mod file not found in current directory or any parent directory; see 'go help modules'"
How can these issues be fixed?
This means ITD isn't running. Run
systemctl enable --now itd
without root.You must run
go build ./cmd/itgui
from the root of the repo. You cannot cd into the directory before runninggo build
.I did start the deamon with:
actually this
didn't work:
"Failed to enable unit: Unit file itd.service does not exist."
but then - it turns out you have to connected the watch via bluetooth, I thought perhaps usb...
and then I manually ran itd and saw output indicated it worked. After restarting the deamon with stop and start now it's working.
No GUI though yet...
and the itctl res load commond (to put resources on the watch) just says "removing" instead of uploading... but we're onto something at least...
The PineTime USB charger provides no data, only power. It's impossible to connect to it through USB.
Oh, I forgot to include
--user
. It'ssystemctl --user enable --now itd
. What this does is starts ITD, and tells systemd to start it automatically when you boot your system.What happens if you run
go build ./cmd/itgui
?It says "Removing" because it tries to remove the obsolete files before uploading new ones. If it's stuck on that, it's probably because you're not running a version of InfiniTime that implements the FS service. In this case, you'll need to update before you can use the FS or upload resources.
ah - with compiling, I didn't realize I needed to download the code first and it wasn't in the deb.
Downloaded the code and ran but still having trouble with the make & make install
I think I managed to install itd again and the gui was funky in kde but I did manage to load the res files eventually...
Maybe later I can suggest some adjustments to the documenation for folks who have less experience with linux and go :P It does bring me back a bit to my gentoo days but I've not been using linux for a minute so...
I'm working on making the GUI installation much easier with one of my other projects. Unfortunately, I can't include it in the precompiled packages because it's extremely complex to cross-compile it at all, and it doesn't work on things like Alpine Linux because they use musl libc while the Debian image I use to compile uses glibc.
Anyway, if your issue is resolved, I'll close this. Thanks.