logseq-plugin-todo icon indicating copy to clipboard operation
logseq-plugin-todo copied to clipboard

Widget not showing anything

Open Microeinstein opened this issue 3 years ago • 11 comments

Setup

Description Value
OS ~ Distro ArchLinux
Locale IT
App version v0.7.1
App install method custom repository (tried AppImage)
App theme light built-in
Plugin version v1.3.1
Plugin install method marketplace

Message

Hi, I just installed Logseq and your plugin as described, but I can't get the widget to show up the tasks from journal nor from other pages. Am I missing something?

Best regards

Attachments

screenshot

Microeinstein avatar Jun 02 '22 19:06 Microeinstein

Please enter the following query in logseq and see if it shows the tasks in the current page?

#+BEGIN_QUERY
{:title "Find tasks"
 :query [:find (pull ?b [*])
     :where
     [?b :block/marker ?marker]
     [(contains? #{"NOW" "LATER" "TODO"} ?marker)]
     [?b :block/page ?p]
     (or
       (and
        [?p :block/journal? true]
        [?p :block/journal-day ?d]
        (not [?b :block/scheduled])
        (not [?b :block/deadline])
        [(<= ?d :today)])
       (and
        (or
          [?b :block/scheduled ?d]
          [?b :block/deadline ?d])
        [(<= ?d :today)]))]}
#+END_QUERY

ahonn avatar Jun 06 '22 09:06 ahonn

Tested both in a custom page and the journal — the query correctly detects as specified (journal entries not shown in the screenshot — tested later); the widget remains empty.

screenshot

Microeinstein avatar Jun 06 '22 09:06 Microeinstein

It looks like something went wrong. Try opening the console tab in devtools (F12), then click to open the plugin widget and see if there is an error message in the console. Please take a screenshot of what the console shows.

ahonn avatar Jun 06 '22 12:06 ahonn

Ctrl+Shift+I worked for me; I don't see any errors, I made you a video (notice the brief freeze of developer tools)

Is it possible for some extensions to conflict with each other?

https://user-images.githubusercontent.com/16826381/172172886-3fc4db94-8be7-4d5b-845e-b7473683410e.mp4

Microeinstein avatar Jun 06 '22 13:06 Microeinstein

I'm having the exact same issue. Funny that I'm on Arch Linux too. I've installed Logseq using the logseq-desktop-git package from AUR, so it's completely up to date. The plugin was installed from the marketplace, it's the latest version right now.

arnefm avatar Jul 10 '22 22:07 arnefm

I'm experiencing this on Manjaro Linux with KDE Plasma (I also installed Logseq via AUR logseq-desktop-git, and plugin from the Marketplace).

Edit to add:

  • Experienced this issue with TODO List v1.5.0 and Logseq v0.7.8 on Manjaro
  • DO NOT experience this issue with on macOS with above versions
  • I posted a comment to AUR referencing this issue.

webbj74 avatar Jul 22 '22 19:07 webbj74

Possible cause? The AUR package patches package.json to change the electron version from v15.x to v17.x (to fix a bug with electron & wayland).

See also: logseq/logseq#6032

webbj74 avatar Jul 25 '22 16:07 webbj74

Hmm - when running yarn dev-electron-app from macOS (following logseq's develop-logseq.md), I'm able to replicate this problem.

webbj74 avatar Jul 25 '22 19:07 webbj74

I'm the maintainer of the AUR package logseq-desktop-git. Could anyone see if this plugin now works with logseq-desktop-git? It's working on my machine, but I don't really use this plugin, so maybe someone can do more and deeper tests.

The upstream has bumped the version of electron to v19 (and bumped the Logseq version to v0.8), so the only thing I did was to remove the patch for electron version.

piyueh avatar Aug 09 '22 16:08 piyueh

I confirm that the plugin works with logseq-desktop-git, it seems the problem was indeed with the electron version.

haoadoreorange avatar Aug 11 '22 02:08 haoadoreorange

Yes, it works fine now after rebuilding Logseq. I'm now on version 0.8.1, package version 0.8.1.r21.653b72211-1. Not a plugin bug after all!

arnefm avatar Aug 22 '22 07:08 arnefm

Sorry for disappearing, I still wanted to say I confirm it's working for me too with Logseq 0.8.8 and mentioned repackaging :+1: immagine

Microeinstein avatar Oct 24 '22 18:10 Microeinstein