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

Bug? Custom fields widgets are not displayed #310

Open
zigmhount opened this issue Dec 18, 2024 · 3 comments
Open

Bug? Custom fields widgets are not displayed #310

zigmhount opened this issue Dec 18, 2024 · 3 comments

Comments

@zigmhount
Copy link

Hello,

I just discovered Tiddlywiki yesterday and I'm very excited about migrating after several years spent on Logseq.

I'm attempting to set up a wiki in a folder and to open it with TiddlyDesktop. Following the suggestion in #99, I've created a new wiki with nodejs (tiddlywiki my_tw --init server), and opened it in TiddlyDesktop.
I found it generally quite buggy (tiddlers not being displayed in the story river when selecting them in the Recents list, not saving or not closing them properly), and the most visible issue is the widgets not being displayed for custom fields:
image

Viewing the same tiddler from the browser (Firefox 133.0) however displays it correctly (and the application is generally working better):
image

In case it is related, I was also surprised to see that the version displayed in $:/ControlPanel is 5.3.0-prerelease even though tiddlywiki --version does say 5.3.6. Choosing a different edition when initializing the wiki (I tried empty and full) give the same 5.3.0-prerelease.

I'm using TiddlyDesktop 0.0.20 on linux64 (Debian 12), nw --version says nwjs 114.0.5735.91 , npm version 9.2.0, nodejs v18.19.0.

I'm having a hard time believing that it may be an actual bug in TiddlyDesktop, given that the release is many months old, and that I get this issue on a freshly created wiki, so hopefully I'm making mistakes or wrong assumptions, or some of the tools are too old?

One more clue I just found: the DevTools inspection console shows (in all the wikis I tried creating as above) Uncaught ReferenceError: sjcl is not defined crypto.js:21, which someone resolved before by replacing sjcl.js - but here I'd rather suspect something going wrong with the wiki initialization.

Thanks!

@Jermolene
Copy link
Member

Hi @zigmhount I can confirm the problem with the missing field value controls, and the story river not being properly updated. It only occurs with wiki folders, not single file wikis, which seems very mysterious. I shall investigate properly as soon as I can.

@Jermolene
Copy link
Member

Hi @zigmhount I've updated TiddlyDesktop to the newest versions of nw.js and TiddlyWiki itself. In my tests this bug seems to have resolved itself.

You can download a build for testing from here:

https://github.com/TiddlyWiki/TiddlyDesktop/actions/runs/12456787682

@zigmhount
Copy link
Author

Thanks! The field controls and story river seem to be working better now indeed.

However, one of my wikis does not load in TiddlyDesktop (it does with nodejs+browser). I've been playing around a lot with various plugins in the past 2 weeks, and I see these errors in the console, which might be related to a faulty plugin maybe?

[21196:21209:1231/100244.545902:ERROR:nss_util.cc(345)] After loading Root Certs, loaded==false: NSS error code: -8018
[21196:21196:1231/100250.752019:ERROR:extension_host.cc(458)] Received EventAck for extension bpdeplafbjkfabcdjdbibppeobkefplc for an unknown event.
[21196:21196:1231/100315.619272:ERROR:extension_host.cc(458)] Received EventAck for extension bpdeplafbjkfabcdjdbibppeobkefplc for an unknown event.

That said, this wiki also doesn't load in TiddlyDesktop v0.0.20, but with different error messages:

[23301:23306:1231/101332.697479:ERROR:nss_util.cc(357)] After loading Root Certs, loaded==false: NSS error code: -8018
[23301:23306:1231/101332.697726:ERROR:cert_verify_proc_builtin.cc(624)] No net_fetcher for performing AIA chasing.
[23301:23306:1231/101337.605391:ERROR:cert_verify_proc_builtin.cc(624)] No net_fetcher for performing AIA chasing.

These errors are obviously different from this issue's original topic though, I can move them to another issue if you prefer, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants