GNU bug report logs - #24479
Problem opening .tex files on 25.1 under Windows 7

Previous Next

Package: auctex;

Reported by: Dave Footitt <dave <at> bogus.net>

Date: Tue, 20 Sep 2016 15:28:01 UTC

Severity: normal

Tags: notabug

Done: Mosè Giordano <mose <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 24479 in the body.
You can then email your comments to 24479 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#24479; Package auctex. (Tue, 20 Sep 2016 15:28:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dave Footitt <dave <at> bogus.net>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Tue, 20 Sep 2016 15:28:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dave Footitt <dave <at> bogus.net>
To: bug-auctex <at> gnu.org
Subject: Problem opening .tex files on 25.1 under Windows 7
Date: Tue, 20 Sep 2016 08:24:51 +0100 (BST)
Hi there,

I hope this is the right place to raise this, but I've had an issue 
opening .tex files with the new emacs.  On 24.5.1 everything opened fine 
and I was able to edit and typeset as usual with C-c C-c.

Now however, I get the following error:

File mode specification error: (dbus-error No connection to bus :session)

And the file opens in fundamental mode.

I'm happy to help in any way I can.

Many thanks


Dave




Information forwarded to bug-auctex <at> gnu.org:
bug#24479; Package auctex. (Tue, 20 Sep 2016 16:05:02 GMT) Full text and rfc822 format available.

Message #8 received at 24479 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash.esbati+ml <at> gmail.com>
To: Dave Footitt <dave <at> bogus.net>
Cc: 24479 <at> debbugs.gnu.org
Subject: Re: bug#24479: Problem opening .tex files on 25.1 under Windows 7
Date: Tue, 20 Sep 2016 17:49:35 +0200
Dave Footitt <dave <at> bogus.net> writes:

> Hi there,
>
> I hope this is the right place to raise this, but I've had an issue 
> opening .tex files with the new emacs.  On 24.5.1 everything opened fine 
> and I was able to edit and typeset as usual with C-c C-c.
>
> Now however, I get the following error:
>
> File mode specification error: (dbus-error No connection to bus :session)
>
> And the file opens in fundamental mode.

How did you obtain your Emacs binary?  Emacs with Dbus is known *not* to
work on Windows.  I suggest you grab a binary built `--without-dbus',
put (pdf)latex in your PATH and try again.

Best, Arash




Information forwarded to bug-auctex <at> gnu.org:
bug#24479; Package auctex. (Tue, 20 Sep 2016 20:20:01 GMT) Full text and rfc822 format available.

Message #11 received at 24479 <at> debbugs.gnu.org (full text, mbox):

From: gojjoe <at> gmail.com
To: 24479 <at> debbugs.gnu.org
Cc: Dave Footitt <dave <at> bogus.net>
Subject: Re: bug#24479: Problem opening .tex files on 25.1 under Windows 7
Date: Tue, 20 Sep 2016 22:19:28 +0200
Hi Dave,

I use the binary from

https://sourceforge.net/projects/emacs-bin/

on my Windows 7, and it works out of the box (make sure to 
run addpm.exe from the bin folder).

Hope this helps.
Cheers,
J


On 2016-09-20 17:49, Arash Esbati wrote:
> Dave Footitt <dave <at> bogus.net> writes:
>
>> Hi there,
>>
>> I hope this is the right place to raise this, but I've had an issue
>> opening .tex files with the new emacs.  On 24.5.1 everything opened fine
>> and I was able to edit and typeset as usual with C-c C-c.
>>
>> Now however, I get the following error:
>>
>> File mode specification error: (dbus-error No connection to bus :session)
>>
>> And the file opens in fundamental mode.
>
> How did you obtain your Emacs binary?  Emacs with Dbus is known *not* to
> work on Windows.  I suggest you grab a binary built `--without-dbus',
> put (pdf)latex in your PATH and try again.
>
> Best, Arash




Information forwarded to bug-auctex <at> gnu.org:
bug#24479; Package auctex. (Wed, 21 Sep 2016 07:23:01 GMT) Full text and rfc822 format available.

Message #14 received at 24479 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash.esbati+ml <at> gmail.com>
To: Dave Footitt <dave <at> bogus.net>
Cc: 24479 <at> debbugs.gnu.org
Subject: Re: bug#24479: Problem opening .tex files on 25.1 under Windows 7
Date: Wed, 21 Sep 2016 09:22:02 +0200
Dave Footitt <dave <at> bogus.net> writes:

> Hi there,
>
>> How did you obtain your Emacs binary?  Emacs with Dbus is known *not* to
>> work on Windows.  I suggest you grab a binary built `--without-dbus',
>> put (pdf)latex in your PATH and try again.
>
> I've been using this one:
>
> https://sourceforge.net/projects/emacsbinw64/
>
> Mainly because of it's built in image and TLS support on 64 bit.
>
> But it looks like the comments thread suggest it's actually compiled with 
> Dbus (I don't even know what Dbus is!), which is frustrating because up 
> until recently everything was working!

You can find out how Emacs was built by checking this variable:

,----[ C-h v system-configuration-options RET ]
| system-configuration-options is a variable defined in ‘C source code’.
| Its value is
| "... --without-imagemagick --without-dbus ..."
| 
| Documentation:
| String containing the configuration options Emacs was built with.
`----

You can try to delete `libdbus-*.dll' in your Emacs/bin directory, maybe
that prevents Emacs from using DBus [1].

Best, Arash

PS Please keep 24479 <at> debbugs.gnu.org in CC.

Footnotes: 
[1]  https://en.wikipedia.org/wiki/D-Bus




Information forwarded to bug-auctex <at> gnu.org:
bug#24479; Package auctex. (Wed, 21 Sep 2016 15:40:02 GMT) Full text and rfc822 format available.

Message #17 received at 24479 <at> debbugs.gnu.org (full text, mbox):

From: Dave Footitt <dave <at> bogus.net>
To: Arash Esbati <arash.esbati+ml <at> gmail.com>
Cc: 24479 <at> debbugs.gnu.org
Subject: Re: bug#24479: Problem opening .tex files on 25.1 under Windows 7
Date: Wed, 21 Sep 2016 09:50:21 +0100 (BST)
[Message part 1 (text/plain, inline)]
Aha, many thanks!

Running that on my last working copy (25.0.50.1) gives:

"--prefix=/z/emacs --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 
--build=x86_64-w64-mingw32 --with-wide-int --with-jpeg --with-xpm 
--with-png --with-tiff --with-rsvg --with-xml2 --with-gnutls 
--with-sound=yes --with-file-notification=yes --without-dbus 
--without-imagemagick 'CFLAGS=-O3 -fomit-frame-pointer -g0 -pipe' 
'LDFLAGS=-static-libgcc -static-libstdc++ -static -s -Wl,-s'"

Which as you see, contains "--without-dbus".

The latest one I've downloaded is much simpler:

"--prefix=/tmp/emacs --without-imagemagick 'CFLAGS=-O2 
-fomit-frame-pointer -g0'"

So that will be the problem.  Many thanks for your help, I'll try and get 
a version with the correct settings.

Cheers


Dave

On Wed, 21 Sep 2016, Arash Esbati wrote:

> Dave Footitt <dave <at> bogus.net> writes:
> 
> > Hi there,
> >
> >> How did you obtain your Emacs binary?  Emacs with Dbus is known *not* to
> >> work on Windows.  I suggest you grab a binary built `--without-dbus',
> >> put (pdf)latex in your PATH and try again.
> >
> > I've been using this one:
> >
> > https://sourceforge.net/projects/emacsbinw64/
> >
> > Mainly because of it's built in image and TLS support on 64 bit.
> >
> > But it looks like the comments thread suggest it's actually compiled with 
> > Dbus (I don't even know what Dbus is!), which is frustrating because up 
> > until recently everything was working!
> 
> You can find out how Emacs was built by checking this variable:
> 
> ,----[ C-h v system-configuration-options RET ]
> | system-configuration-options is a variable defined in ‘C source code’.
> | Its value is
> | "... --without-imagemagick --without-dbus ..."
> | 
> | Documentation:
> | String containing the configuration options Emacs was built with.
> `----
> 
> You can try to delete `libdbus-*.dll' in your Emacs/bin directory, maybe
> that prevents Emacs from using DBus [1].
> 
> Best, Arash
> 
> PS Please keep 24479 <at> debbugs.gnu.org in CC.
> 
> Footnotes: 
> [1]  https://en.wikipedia.org/wiki/D-Bus
> 

Information forwarded to bug-auctex <at> gnu.org:
bug#24479; Package auctex. (Wed, 28 Sep 2016 20:18:01 GMT) Full text and rfc822 format available.

Message #20 received at 24479 <at> debbugs.gnu.org (full text, mbox):

From: Mosè Giordano <mose <at> gnu.org>
To: Dave Footitt <dave <at> bogus.net>
Cc: Arash Esbati <arash.esbati+ml <at> gmail.com>, 24479 <at> debbugs.gnu.org
Subject: Re: bug#24479: Problem opening .tex files on 25.1 under Windows 7
Date: Wed, 28 Sep 2016 22:16:43 +0200
Hi Dave,

2016-09-21 10:50 GMT+02:00 Dave Footitt <dave <at> bogus.net>:
>
> Aha, many thanks!
>
> Running that on my last working copy (25.0.50.1) gives:
>
> "--prefix=/z/emacs --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32
> --build=x86_64-w64-mingw32 --with-wide-int --with-jpeg --with-xpm
> --with-png --with-tiff --with-rsvg --with-xml2 --with-gnutls
> --with-sound=yes --with-file-notification=yes --without-dbus
> --without-imagemagick 'CFLAGS=-O3 -fomit-frame-pointer -g0 -pipe'
> 'LDFLAGS=-static-libgcc -static-libstdc++ -static -s -Wl,-s'"
>
> Which as you see, contains "--without-dbus".
>
> The latest one I've downloaded is much simpler:
>
> "--prefix=/tmp/emacs --without-imagemagick 'CFLAGS=-O2
> -fomit-frame-pointer -g0'"
>
> So that will be the problem.  Many thanks for your help, I'll try and get
> a version with the correct settings.

So did you solve your problem?  Can we close this bug report?

Bye,
Mosè




bug closed, send any further explanations to 24479 <at> debbugs.gnu.org and Dave Footitt <dave <at> bogus.net> Request was from Mosè Giordano <mose <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 28 Sep 2016 23:11:01 GMT) Full text and rfc822 format available.

Added tag(s) notabug. Request was from Mosè Giordano <mose <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 28 Sep 2016 23:11:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-auctex <at> gnu.org:
bug#24479; Package auctex. (Wed, 28 Sep 2016 23:31:02 GMT) Full text and rfc822 format available.

Message #27 received at 24479 <at> debbugs.gnu.org (full text, mbox):

From: Dave Footitt <dave <at> bogus.net>
To: Mosè Giordano <mose <at> gnu.org>
Cc: Arash Esbati <arash.esbati+ml <at> gmail.com>, 24479 <at> debbugs.gnu.org
Subject: Re: bug#24479: Problem opening .tex files on 25.1 under Windows 7
Date: Wed, 28 Sep 2016 22:26:29 +0100 (BST)
> So did you solve your problem?  Can we close this bug report?

Yes, problem solved!  Very helpful, thank you.


Dave




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 27 Oct 2016 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 295 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.