• Bug#1048517: elpa-org-roam: Org-roam fails to build its database after

    From Martin Marshall@21:1/5 to All on Mon Aug 14 02:20:10 2023
    XPost: linux.debian.bugs.dist

    Package: elpa-org-roam
    Version: 2.2.2-1
    Severity: important

    Dear Maintainer,

    Installed debian unstable in a Gnome Boxes VM and then installed the
    packages "emacs-pgtk" and "elpa-org-roam".

    Following the set up instructions on the org-roam website (https://www.orgroam.com/manual.html#Setting-up-Org_002droam), I opened
    Emacs without a configuration file, and in the "*scratch*" buffer, I
    pasted and evaluated the following:

    (make-directory "~/org-roam")
    (setq org-roam-directory (file-truename "~/org-roam")) (org-roam-db-autosync-mode)

    This resulted in a "*Backtrace*" pop-up, containing the following text:

    Debugger entered--Lisp error: (error "Process emacsql-sqlite not
    running:
    finished\n")
      process-send-string(#<process emacsql-sqlite> "7 ")
      #f(compiled-function (connection message) #<bytecode -0x648c87926dc2db6>)(#<emacsql-sqlite-connection emacsql-sqlite- connection-1581bb883466> "COMMIT;")
      apply(#f(compiled-function (connection message) #<bytecode -0x648c87926dc2db6>) (#<emacsql-sqlite-connection emacsql-sqlite- connection-1581bb883466> "COMMIT;"))
      #f(compiled-function (&rest args) #<bytecode - 0x1f3d5346d8d99a5c>)(#<emacsql-
    sqlite-connection emacsql-sqlite-connection-1581bb883466> "COMMIT;")
      apply(#f(compiled-function (&rest args) #<bytecode -
    0x1f3d5346d8d99a5c>)
    #<emacsql-sqlite-connection emacsql-sqlite-connection-1581bb883466>
    "COMMIT;")
      emacsql-send-message(#<emacsql-sqlite-connection emacsql-sqlite- connection-1581bb883466> "COMMIT;")
      #f(compiled-function (connection sql &rest args) #<bytecode -0x98dafa2cd92d0a4>)(#<emacsql-sqlite-connection emacsql-sqlite- connection-1581bb883466> [:commit])
      apply(#f(compiled-function (connection sql &rest args) #<bytecode -0x98dafa2cd92d0a4>) #<emacsql-sqlite-connection emacsql-sqlite- connection-1581bb883466> [:commit])
      emacsql(#<emacsql-sqlite-connection emacsql-sqlite-connection-
    1581bb883466>
    [:commit])
      org-roam-db--upgrade-maybe(#<emacsql-sqlite-connection emacsql-
    sqlite-
    connection-1581bb883466> 0)
      org-roam-db()
      org-roam-db-sync()
      org-roam-db-autosync-mode()
      (progn (org-roam-db-autosync-mode))
      elisp--eval-last-sexp(nil)
      eval-last-sexp(nil)
      funcall-interactively(eval-last-sexp nil)
      command-execute(eval-last-sexp)


       * What exactly did you do (or not do) that was effective (or
         ineffective)?

    I am able to get Org-roam working from the MELPA repository. Of course,
    that merely avoids using the debian package.

    I've also used it on Bookworm with the stable debian Emacs package
    (28.2), and it worked as expected there.

       * What outcome did you expect instead?

    After installing "elpa-org-roam" on Sid with Sid's Emacs 29.1 package installed, copying the setup code from the Org-roam manual, and
    evaluating it in Emacs, I expected org-roam to build its database and
    for its other commands to be usable for inserting and finding notes in
    the database.


    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.4.0-2-amd64 (SMP w/16 CPU threads; PREEMPT)
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
    LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages elpa-org-roam depends on:
    ii dh-elpa-helper 2.0.17
    ii elpa-dash 2.19.1+git20220608.1.0ac1ecf+dfsg-1
    ii elpa-emacsql 3.1.1+ds-1
    ii elpa-emacsql-sqlite 3.1.1+ds-1
    ii elpa-magit-section 3.3.0-3
    ii emacsen-common 3.0.5

    Versions of packages elpa-org-roam recommends:
    ii emacs 1:29.1+1-2
    ii emacs-pgtk [emacs] 1:29.1+1-2

    Versions of packages elpa-org-roam suggests:
    ii org-roam-doc 2.2.2-1

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue Jan 14 22:50:01 2025
    This is a multi-part message in MIME format...

    Your message dated Tue, 14 Jan 2025 21:38:39 +0000
    with message-id <[email protected]>
    and subject line Bug#1048517: fixed in org-roam 2.2.2+git20250111.425d53d-1
    has caused the Debian Bug report #1048517,
    regarding elpa-org-roam: Org-roam fails to build its database after Emacs 29.1 install
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected]
    immediately.)


    --
    1048517: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1048517
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 14 Aug 2023 00:15:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-6.9 required=4.0 tests=ATTENDEES_DBSPAM_BODY4,
    ATTENDEES_DBSPAM_HEADER4,BAYES_00,DIGITS_LETTERS,DKIM_SIGNED,
    DKIM_VALID,FOURLA,HAS_PACKAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,
    SPF_NONE autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 60; hammy, 150; neutral, 151; spammy,
    0. spammytokens: hammytokens:0.000-+--bookworm, 0.000-+--H*u:Evolution,
    0.000-+--trixie, 0.000-+--apparmor, 0.000-+--AppArmor
    Return-path: <[email protected]>
    Received: from mail-yw1-x112f.google.com ([2607:f8b0:4864:20::112f]:57580)
    by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PS