GNU bug report logs -
#59380
File mode specification error
Previous Next
Reported by: 杜海波 <duhaibo <at> whc.edu.cn>
Date: Sat, 19 Nov 2022 09:26:02 UTC
Severity: normal
Done: Tassilo Horn <tsdh <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59380 in the body.
You can then email your comments to 59380 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#59380
; Package
auctex
.
(Sat, 19 Nov 2022 09:26:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
杜海波 <duhaibo <at> whc.edu.cn>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Sat, 19 Nov 2022 09:26:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
When openning an tex file, Latex-mode fails to start, error in
*Messages" buffer is as this: File mode specification error: (file-
error The name org.mate.atril.Daemon was not provided by any .service
files)
I use debian, gnome, I don't even know what is the meaning of this
error. Does this mean my system lacks some component?
--
文华学院经济管理学部
杜海波
Email: duhaibo <at> whc.edu.cn
[smime.p7s (application/pkcs7-signature, attachment)]
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#59380
; Package
auctex
.
(Sat, 19 Nov 2022 20:33:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 59380 <at> debbugs.gnu.org (full text, mbox):
杜海波 <duhaibo <at> whc.edu.cn> writes:
> When openning an tex file, Latex-mode fails to start, error in
> *Messages" buffer is as this: File mode specification error: (file-
> error The name org.mate.atril.Daemon was not provided by any .service
> files)
>
> I use debian, gnome, I don't even know what is the meaning of this
> error. Does this mean my system lacks some component?
I'm not on Debian, but I suspect this is a D-BUS issue: You have
configured AUCTeX to use atril as viewer but it is not registered to
D-BUS. Maybe it lacks this file:
https://github.com/mate-desktop/atril/blob/master/data/org.mate.atril.Daemon.service.in
Best, Arash
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#59380
; Package
auctex
.
(Sun, 20 Nov 2022 06:05:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 59380 <at> debbugs.gnu.org (full text, mbox):
Hi Arash,
>>>>> Arash Esbati <arash <at> gnu.org> writes:
> I'm not on Debian, but I suspect this is a D-BUS issue:
I think so, too.
> You have configured AUCTeX to use atril as viewer
But I doubt it. I suspect that the error was the responce to this entry
in `TeX-view-program-list-builtin':
("Atril" ,(TeX-view-program-select-evince "mate" "atril") "atril")
This entry calls `TeX-view-program-select-evince' unconditionally even
if the user configures nothing particular for atril.
> Maybe it lacks this file:
> https://github.com/mate-desktop/atril/blob/master/data/org.mate.atril.Daemon.service.in
I'm not familiar with D-BUS. I hope Tassilo can settle out the issue.
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
Reply sent
to
Tassilo Horn <tsdh <at> gnu.org>
:
You have taken responsibility.
(Sun, 20 Nov 2022 08:45:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
杜海波 <duhaibo <at> whc.edu.cn>
:
bug acknowledged by developer.
(Sun, 20 Nov 2022 08:45:03 GMT)
Full text and
rfc822 format available.
Message #16 received at 59380-done <at> debbugs.gnu.org (full text, mbox):
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
Hi chaps,
> I'm not familiar with D-BUS. I hope Tassilo can settle out the issue.
I think, I've just fixed it with a3887ad1.
I don't quite understand where the error comes from but I've seen the
same error for ement.el recently. It's definitely some peculiarity with
some distro's DBUS setup.
duhaibo, could you try (before updating auctex) to reproduce the issue
with M-x toggle-debug-on-error RET before opening the first tex file and
post the backtrace you'll get then? Just for curiosity...
Bye,
Tassilo
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#59380
; Package
auctex
.
(Mon, 21 Nov 2022 09:02:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 59380 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
this is the message when I turn debug-on-error, but I don't use gnome
instead of mate:
Debugger entered--Lisp error: (file-error "The name
org.mate.atril.Daemon was not provided by...")
signal(file-error ("The name org.mate.atril.Daemon was not provided
by..."))
tramp-gvfs-dbus-event-error((dbus-event :session 3 30
"org.freedesktop.DBus" nil nil nil dbus-call-method-handler "The name
org.mate.atril.Daemon was not provided by...") (dbus-error "The name
org.mate.atril.Daemon was not provided by..."))
run-hook-with-args(tramp-gvfs-dbus-event-error (dbus-event :session 3
30 "org.freedesktop.DBus" nil nil nil dbus-call-method-handler "The
name org.mate.atril.Daemon was not provided by...") (dbus-error "The
name org.mate.atril.Daemon was not provided by..."))
dbus-handle-event((dbus-event :session 3 30 "org.freedesktop.DBus" nil
nil nil dbus-call-method-handler "The name org.mate.atril.Daemon was
not provided by..."))
funcall-interactively(dbus-handle-event (dbus-event :session 3 30
"org.freedesktop.DBus" nil nil nil dbus-call-method-handler "The name
org.mate.atril.Daemon was not provided by..."))
call-interactively(dbus-handle-event nil [(dbus-event :session 3 30
"org.freedesktop.DBus" nil nil nil dbus-call-method-handler "The name
org.mate.atril.Daemon was not provided by...")])
command-execute(dbus-handle-event nil [(dbus-event :session 3 30
"org.freedesktop.DBus" nil nil nil dbus-call-method-handler "The name
org.mate.atril.Daemon was not provided by...")] t)
read-event(nil nil 0.001)
dbus-call-method(:session "org.mate.atril.Daemon"
"/org/freedesktop/DBus" "org.freedesktop.DBus.Peer" "Ping")
dbus-ping(:session "org.mate.atril.Daemon")
TeX-evince-dbus-p("mate" "atril" :forward)
TeX-view-program-select-evince("mate" "atril")
byte-
code("\10\301\267\202\n\0\302\207\303\207\304\305\306\307\310\311DE\312
\313\314\315\316\317\"\320BB\321\315\322\323\"\324BB\325\315\326\327\"\
330BB\331\332\333\334\335\336..." [system-type #<hash-table eq 2/2
0x158b72ab76d1> (("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o")
"yap") ("dviout" ("dviout -1 " ((paper-a4 paper-portrait) "-y=A4 ")
((paper-a4 paper-landscape) "-y=A4L ") ((paper-a5 paper-portrait) "-
y=A5 ") ((paper-a5 paper-landscape) "-y=A5L ") ((paper-b5 paper-
portrait) "-y=E5 ") ((paper-b5 paper-landscape) "-y=E5L ") ((paper-
b4jis paper-portrait) "-y=B4 ") ((paper-b4jis paper-landscape) "-y=B4L
") ((paper-b5jis paper-portrait) "-y=B5 ") ((paper-b5jis paper-
landscape) "-y=B5L ") (paper-legal "-y=Legal ") (paper-letter "-
y=Letter ") (paper-executive "-y=Executive ") "%d" (mode-io-correlate "
\"# %n '%b'\"")) "dviout") ("PDF Tools" TeX-pdf-tools-sync-view)
("SumatraPDF" ("SumatraPDF -reuse-instance" (mode-io-correlate " -
forward-search \"%b\" %n") " %o") "SumatraPDF") ("dvips and start"
"dvips %d -o && start \"\" %f" "dvips") ("start" "start \"\" %o"))
(("Preview.app" "open -a Preview.app %o" "open") ("Skim" "open -a
Skim.app %o" "open") ("PDF Tools" TeX-pdf-tools-sync-view)
("displayline" "displayline %n %o %b" "displayline") ("open" "open %o"
"open")) ("dvi2tty" ("dvi2tty -q -w 132 %o")) ("xdvi" ("%(o?)xdvi"
(mode-io-correlate " -sourceposition \"%n %b\" -editor \"%cS\"")
((paper-a4 paper-portrait) " -paper a4") ((paper-a4 paper-landscape) "
-paper a4r") ((paper-a5 paper-portrait) " -paper a5") ((paper-a5 paper-
landscape) " -paper a5r") (paper-b5 " -paper b5") (paper-letter " -
paper us") (paper-legal " -paper legal") (paper-executive " -paper
7.25x10.5in") " %d") "%(o?)xdvi") "dvips and gv" "%(o?)dvips %d -o &&
gv %f" "%(o?)dvips" "gv" ("gv" "gv %o" "gv") ("xpdf" ("xpdf -remote %s
-raise %o" (mode-io-correlate " %(outpage)")) "xpdf") "Evince" TeX-
view-program-select-evince "gnome" "evince" ("evince") "Atril" "mate"
"atril" ("atril") "Xreader" "x" "reader" ("xreader") ("Okular" ("okular
--unique %o" (mode-io-correlate "#src:%n%a")) "okular") ("xdg-open"
"xdg-open %o" "xdg-open") ("PDF Tools" TeX-pdf-tools-sync-view)
("Zathura" ("zathura %o" (mode-io-correlate " --synctex-forward
%n:0:\"%b\" -x \"emacsclient +%{li...")) "zathura") "Sioyek" "sioyek
%o" mode-io-correlate " --forward-search-file \"%b\" --forward-search-
line ..." ("sioyek")] 16)
(defvar TeX-view-program-list-builtin (byte-code
"\10\301\267\202\n\0\302\207\303\207\304\305\306\307\310\311DE\312\313\
314\315\316\317\"\320BB\321\315\322\323\"\324BB\325\315\326\327\"\330BB
\331\332\333\334\335\336..." [system-type #<hash-table eq 2/2
0x158b72ab76d1> (("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o")
"yap") ("dviout" ("dviout -1 " ((paper-a4 paper-portrait) "-y=A4 ")
((paper-a4 paper-landscape) "-y=A4L ") ((paper-a5 paper-portrait) "-
y=A5 ") ((paper-a5 paper-landscape) "-y=A5L ") ((paper-b5 paper-
portrait) "-y=E5 ") ((paper-b5 paper-landscape) "-y=E5L ") ((paper-
b4jis paper-portrait) "-y=B4 ") ((paper-b4jis paper-landscape) "-y=B4L
") ((paper-b5jis paper-portrait) "-y=B5 ") ((paper-b5jis paper-
landscape) "-y=B5L ") (paper-legal "-y=Legal ") (paper-letter "-
y=Letter ") (paper-executive "-y=Executive ") "%d" (mode-io-correlate "
\"# %n '%b'\"")) "dviout") ("PDF Tools" TeX-pdf-tools-sync-view)
("SumatraPDF" ("SumatraPDF -reuse-instance" (mode-io-correlate " -
forward-search \"%b\" %n") " %o") "SumatraPDF") ("dvips and start"
"dvips %d -o && start \"\" %f" "dvips") ("start" "start \"\" %o"))
(("Preview.app" "open -a Preview.app %o" "open") ("Skim" "open -a
Skim.app %o" "open") ("PDF Tools" TeX-pdf-tools-sync-view)
("displayline" "displayline %n %o %b" "displayline") ("open" "open %o"
"open")) ("dvi2tty" ("dvi2tty -q -w 132 %o")) ("xdvi" ("%(o?)xdvi"
(mode-io-correlate " -sourceposition \"%n %b\" -editor \"%cS\"")
((paper-a4 paper-portrait) " -paper a4") ((paper-a4 paper-landscape) "
-paper a4r") ((paper-a5 paper-portrait) " -paper a5") ((paper-a5 paper-
landscape) " -paper a5r") (paper-b5 " -paper b5") (paper-letter " -
paper us") (paper-legal " -paper legal") (paper-executive " -paper
7.25x10.5in") " %d") "%(o?)xdvi") "dvips and gv" "%(o?)dvips %d -o &&
gv %f" "%(o?)dvips" "gv" ("gv" "gv %o" "gv") ("xpdf" ("xpdf -remote %s
-raise %o" (mode-io-correlate " %(outpage)")) "xpdf") "Evince" TeX-
view-program-select-evince "gnome" "evince" ("evince") "Atril" "mate"
"atril" ("atril") "Xreader" "x" "reader" ("xreader") ("Okular" ("okular
--unique %o" (mode-io-correlate "#src:%n%a")) "okular") ("xdg-open"
"xdg-open %o" "xdg-open") ("PDF Tools" TeX-pdf-tools-sync-view)
("Zathura" ("zathura %o" (mode-io-correlate " --synctex-forward
%n:0:\"%b\" -x \"emacsclient +%{li...")) "zathura") "Sioyek" "sioyek
%o" mode-io-correlate " --forward-search-file \"%b\" --forward-search-
line ..." ("sioyek")] 16) ("/home/duhaibo/.emacs.d/elpa/auctex-
13.1.6/tex.elc" . 36609))
TeX-tex-mode()
apply(TeX-tex-mode nil)
tex-mode()
set-auto-mode-0(tex-mode nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(#<buffer 123.tex> "~/tex/examples/123.tex" nil nil
"~/tex/examples/123.tex" (4852253 2066))
find-file-noselect("/home/duhaibo/tex/examples/123.tex" nil nil nil)
find-file("/home/duhaibo/tex/examples/123.tex")
helm-find-file-or-marked("/home/duhaibo/tex/examples/123.tex")
helm-execute-selection-action-1()
helm-execute-selection-action()
helm-internal(helm-source-find-files "/home/duhaibo/notes/org/" "Find
files or url: " nil nil "*helm find files*" nil nil nil)
apply(helm-internal (helm-source-find-files "/home/duhaibo/notes/org/"
"Find files or url: " nil nil "*helm find files*" nil nil nil))
helm(helm-source-find-files "/home/duhaibo/notes/org/" "Find files or
url: " nil nil "*helm find files*" nil nil nil)
apply(helm (helm-source-find-files "/home/duhaibo/notes/org/" "Find
files or url: " nil nil "*helm find files*" nil nil nil))
helm(:sources helm-source-find-files :input "/home/duhaibo/notes/org/"
:case-fold-search smart :preselect nil :ff-transformer-show-only-
basename t :default nil :prompt "Find files or url: " :buffer "*helm
find files*")
helm-find-files-1("/home/duhaibo/notes/org/" nil)
helm-find-files(nil)
funcall-interactively(helm-find-files nil)
call-interactively(helm-find-files nil nil)
command-execute(helm-find-files)
--
best, David
[Message part 2 (text/html, inline)]
[smime.p7s (application/pkcs7-signature, attachment)]
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#59380
; Package
auctex
.
(Mon, 21 Nov 2022 09:36:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 59380 <at> debbugs.gnu.org (full text, mbox):
杜海波 <duhaibo <at> whc.edu.cn> writes:
Hi again,
> this is the message when I turn debug-on-error, but I don't use gnome
> instead of mate:
I don't know what you mean by "I don't use gnome instead of mate" but it
doesn't matter, I think.
> dbus-ping(:session "org.mate.atril.Daemon")
> TeX-evince-dbus-p("mate" "atril" :forward)
> TeX-view-program-select-evince("mate" "atril")
That's what I wanted to validate, i.e., that the error happens when
trying to ping the service. That's caught by my fix.
If you use auctex from git, can you check if the current master fixes
the issue? If you don't, I guess I'll release a new ELPA version soon.
Bye,
Tassilo
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 19 Dec 2022 12:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.