I wrote a dictionary application #450
Replies: 2 comments 8 replies
-
Followed the steps on the project page got me to First did Next, cloned the repo, did looking for qtbox in: /Users/12345/projects/ayandict/qtbox
final qtbox location: /Users/12345/projects/ayandict/qtbox
panic: runtime error: integer divide by zero
goroutine 1 [running, locked to thread]:
github.com/ilius/qt/internal.InitProcess.func2(0x14000035ad8?)
/Users/12345/projects/go/pkg/mod/github.com/ilius/qt@v0.0.0-20230422004322-c855bcf0151b/internal/internal.go:334 +0x9c
github.com/ilius/qt/internal.InitProcess.func1({0x1070d1ba8?, 0x140000aa2d0?}, {0x1300a5518?, 0x14000274000?}, 0x14000035d18)
/Users/12345/projects/go/pkg/mod/github.com/ilius/qt@v0.0.0-20230422004322-c855bcf0151b/internal/internal.go:309 +0x104
github.com/ilius/qt/internal.InitProcess()
/Users/12345/projects/go/pkg/mod/github.com/ilius/qt@v0.0.0-20230422004322-c855bcf0151b/internal/internal.go:333 +0x820
github.com/ilius/qt/widgets.NewQApplication(0x1087c5be0?, {0x1063ac303?, 0x13?, 0x1?})
/Users/12345/projects/go/pkg/mod/github.com/ilius/qt@v0.0.0-20230422004322-c855bcf0151b/widgets/widgets.go:4921 +0x28
github.com/ilius/ayandict/v2/pkg/application.Run()
/Users/12345/projects/go/pkg/mod/github.com/ilius/ayandict/v2@v2.1.0/pkg/application/app.go:76 +0x38
main.main()
/Users/12345/projects/go/pkg/mod/github.com/ilius/ayandict/v2@v2.1.0/main_gui.go:54 +0x10c next, running with After adding a stardict file in ayandict -create-config --no-gui
2025-01-13 17:29:22 INFO Initializing "DLE_v23.8_RealAcademia2025.ifo"
2025-01-13 17:29:22 INFO Starting to load indexes
2025-01-13 17:29:22 INFO Loaded index "/Users/12345/.stardict/dic/DLE_v23.8_RealAcademia2025.idx"
2025-01-13 17:29:22 INFO i_dicts.go:143 Loaded dictionaries dt=27.471542ms
2025-01-13 17:29:22 INFO server.go:256 Starting local server port=8357 It's the second time I'm trying to run ayandict, several months ago when attempting to do the same for the first time thought that the app was still in development, not ready yet for end users, and I remember thinking that I need to wait some more time, and then give it another go once it's ready, but as it is now the experience is pretty rough — the error messages are cryptic and don't provide hints as to how to fix them, there is no default config file, or at least I don't see any details in the console about which configs are used during the startup. I do admit though that maybe I am just not able to follow correctly the steps and struggle to understand what needs to be done. To me it looks the like app is probably already working fine, the only things that might be missing are better steps to set it up, and maybe better and more helpful error messages in the console about what's going going on, which config files are being used, which dictionaries are found, and what the user needs to do in order to get it up and running. In an ideal scenario I was expecting something like And if dependencies cannot be resolved, such as |
Beta Was this translation helpful? Give feedback.
-
After working with dictionaries for 15 years, I finally made my own dictionary application:
https://codeberg.org/ilius/ayandict
https://github.com/ilius/ayandict
A simple and minimalistic cross-platform desktop dictionary application based on Qt framework and written in Go that uses StarDict dictionary format.
Binaries for Windows, Linux and Mac are uploaded.
If you can make it work on Android, please let me know. (I do not have Android Studio)
Beta Was this translation helpful? Give feedback.
All reactions