Even though listing repositories works fine, as does listing topics specific to a particular repo in the DB, listing global topics always fails with eieio-oref@closql-object: Wrong type argument: (or eieio-object cl-structure-object oclosure), nil.
I've tried adding a couple of repos from my work GitLab instance, and had this issue with both. I tried adding a GitHub repository and removing all of the GitLab repos at the self-hosted instance to no avail.
I'm really not sure what's going wrong here. The SQLite DB does have entries for the repos in question (although the value in the issues column for them is always eieio-unbound). Idrk what I'm doing but I can even get objects out of them, it seems, using forge-get-repository.
My environment
Fwiw, I am storing the API tokens for GitHub and our self-hosted GitHub instance with auth-sources-pass-- not sure if that could be a factor.
I looked for similar issues, those with that same message and others, and saw that sometimes they were a result of some kind of version mismatch. I've deleted my entire straight build directory and rebuilt all packages, but that didn't help. I also temporarily uninstalled other packages that depended on emacsql so that they couldn't pull in some other version, but that didn't help either. I'm using Doom Emacs, and have tried first upgrading/rebuilding my packages and then upgrading Doom itself, which brought along some other package upgrades, but neither made a difference. I have nuked the forge-database-file every time I've played with version changes.
Thank you very much for this package! Its functionality is awesome. I'm a bit of a novice. In case this bug report is not sufficient to reproduce or diagnose the issue, I would be deeply grateful for your patience in helping me debug the issue. I want to learn more about how this and related packages work.
I haven't yet had time to see if I can repro with vanilla Emacs, but I would be happy to try if this seems it could be a Doom quirk.
The problem
Even though listing repositories works fine, as does listing topics specific to a particular repo in the DB, listing global topics always fails with
eieio-oref@closql-object: Wrong type argument: (or eieio-object cl-structure-object oclosure), nil
.I've tried adding a couple of repos from my work GitLab instance, and had this issue with both. I tried adding a GitHub repository and removing all of the GitLab repos at the self-hosted instance to no avail.
I'm really not sure what's going wrong here. The SQLite DB does have entries for the repos in question (although the value in the issues column for them is always
eieio-unbound
). Idrk what I'm doing but I can even get objects out of them, it seems, usingforge-get-repository
.My environment
Fwiw, I am storing the API tokens for GitHub and our self-hosted GitHub instance with
auth-sources-pass
-- not sure if that could be a factor.I looked for similar issues, those with that same message and others, and saw that sometimes they were a result of some kind of version mismatch. I've deleted my entire straight build directory and rebuilt all packages, but that didn't help. I also temporarily uninstalled other packages that depended on
emacsql
so that they couldn't pull in some other version, but that didn't help either. I'm using Doom Emacs, and have tried first upgrading/rebuilding my packages and then upgrading Doom itself, which brought along some other package upgrades, but neither made a difference. I have nuked the forge-database-file every time I've played with version changes.My Emacs does have sqlite support built-in.
Backtrace
Magit version
Other comments
Thank you very much for this package! Its functionality is awesome. I'm a bit of a novice. In case this bug report is not sufficient to reproduce or diagnose the issue, I would be deeply grateful for your patience in helping me debug the issue. I want to learn more about how this and related packages work.
I haven't yet had time to see if I can repro with vanilla Emacs, but I would be happy to try if this seems it could be a Doom quirk.