[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#966514: elpa-org-roam: Invalid read syntax: "#" when building db



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

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   I started emacs without the init file using the command
   /usr/bin/emacs -q
   Then I ran
   (require 'org-roam)
   from scratch window and
   M-x org-roam-db-build-cache

   I get the error message:
   Invalid read syntax: "#"


If I run M-x toggle-debug-on-error 
and repeat the process it gives me a debug stack:
Debugger entered--Lisp error: (invalid-read-syntax "#")
  read(#<buffer  *emacsql sqlite*-841882>)
  #f(compiled-function (conn) #<bytecode 0x117b1a1>)(#<emacsql-sqlite3-connection emacsql-sqlite3-connection>)
  apply(#f(compiled-function (conn) #<bytecode 0x117b1a1>) #<emacsql-sqlite3-connection emacsql-sqlite3-connection> nil)
  emacsql-parse(#<emacsql-sqlite3-connection emacsql-sqlite3-connection>)
  #f(compiled-function (connection sql &rest args) "Send SQL s-expression to CONNECTION and return the results." #<bytecode 0x1174a75>)(#<emacsql-sqlite3-connection emacsql-sqlite3-connection> [:pragma (= busy-timeout $s1)] 15000)
  apply(#f(compiled-function (connection sql &rest args) "Send SQL s-expression to CONNECTION and return the results." #<bytecode 0x1174a75>) #<emacsql-sqlite3-connection emacsql-sqlite3-connection> ([:pragma (= busy-timeout $s1)] 15000))
  emacsql(#<emacsql-sqlite3-connection emacsql-sqlite3-connection> [:pragma (= busy-timeout $s1)] 15000)
  #f(compiled-function (conn slots) #<bytecode 0x117b0e5>)(#<emacsql-sqlite3-connection emacsql-sqlite3-connection> (:file "/home/rod/org-roam/org-roam.db"))
  apply(#f(compiled-function (conn slots) #<bytecode 0x117b0e5>) (#<emacsql-sqlite3-connection emacsql-sqlite3-connection> (:file "/home/rod/org-roam/org-roam.db")))
  #f(compiled-function (&rest args) #<bytecode 0x11702a1>)(#<emacsql-sqlite3-connection emacsql-sqlite3-connection> (:file "/home/rod/org-roam/org-roam.db"))
  apply(#f(compiled-function (&rest args) #<bytecode 0x11702a1>) #<emacsql-sqlite3-connection emacsql-sqlite3-connection> (:file "/home/rod/org-roam/org-roam.db"))
  initialize-instance(#<emacsql-sqlite3-connection emacsql-sqlite3-connection> (:file "/home/rod/org-roam/org-roam.db"))
  #f(compiled-function (class &rest slots) "Default constructor for CLASS `eieio-default-superclass'.\nSLOTS are the initialization slots used by `initialize-instance'.\nThis static method is called when an object is constructed.\nIt allocates the vector used to represent an EIEIO object, and then\ncalls `initialize-instance' on that object." #<bytecode 0x1147a75>)(emacsql-sqlite3-connection :file "/home/rod/org-roam/org-roam.db")
  apply(#f(compiled-function (class &rest slots) "Default constructor for CLASS `eieio-default-superclass'.\nSLOTS are the initialization slots used by `initialize-instance'.\nThis static method is called when an object is constructed.\nIt allocates the vector used to represent an EIEIO object, and then\ncalls `initialize-instance' on that object." #<bytecode 0x1147a75>) emacsql-sqlite3-connection (:file "/home/rod/org-roam/org-roam.db"))
  make-instance(emacsql-sqlite3-connection :file "/home/rod/org-roam/org-roam.db")
  emacsql-sqlite3("/home/rod/org-roam/org-roam.db")
  org-roam-db()
  org-roam-db-build-cache(nil)
  funcall-interactively(org-roam-db-build-cache nil)
  call-interactively(org-roam-db-build-cache record nil)
  command-execute(org-roam-db-build-cache record)
  execute-extended-command(nil "org-roam-db-build-cache" "org-roam-db-bu")
  funcall-interactively(execute-extended-command nil "org-roam-db-build-cache" "org-roam-db-bu")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)



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

Kernel: Linux 5.7.0-1-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=UTF-8) (ignored: LC_ALL set to en_GB.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.4
ii  elpa-dash             2.17.0+dfsg-1
ii  elpa-emacsql          3.0.0+ds-2
ii  elpa-emacsql-sqlite3  1.0.1-1
ii  elpa-f                0.20.0-2
ii  elpa-s                1.12.0-3
ii  emacsen-common        3.0.4

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

Versions of packages elpa-org-roam suggests:
pn  org-roam-doc  <none>

-- no debconf information


Reply to: