GNU bug report logs - #19452
24.4; sql-connect fails in first invocation: "Attempt to set a constant symbol: nil"

Previous Next

Package: emacs;

Reported by: JuanLeon Lahoz <juanleon.lahoz <at> gmail.com>

Date: Sat, 27 Dec 2014 06:46:01 UTC

Severity: normal

Merged with 21458, 23280

Found in versions 24.4, 25.0.92

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Manuel Uberti - Boccaperta <manuel <at> boccaperta.com>
Subject: bug#21458: closed (Re: bug#19452: status?)
Date: Fri, 02 Dec 2016 09:56:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#19452: sql-connect: (setting-constant nil)

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 21458 <at> debbugs.gnu.org.

-- 
19452: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19452
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: root <at> opow.pw
Cc: 19452-done <at> debbugs.gnu.org
Subject: Re: bug#19452: status?
Date: Fri, 02 Dec 2016 11:55:01 +0200
> Date: Tue, 29 Nov 2016 22:01:42 +0100
> From: root <at> opow.pw
> 
> Just wondering why it's still not fixed.
> Incorrect patch?

Thanks for the reminder, I pushed the patch to the master branch.

[Message part 3 (message/rfc822, inline)]
From: Manuel Uberti - Boccaperta <manuel <at> boccaperta.com>
To: bug-gnu-emacs <at> gnu.org
Subject: sql-connect: (setting-constant nil)
Date: Fri, 11 Sep 2015 15:26:19 +0200
I am on GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6) of
2015-09-11.

In 'emacs- Q', I do:

- M-x sql-connect RET
- Type in 'boccaperta' (without quotes, only connection I have saved in
  custom.el), and then hit RET

This is the error I see with toggle-debug-on-error enabled:

Debugger entered--Lisp error: (setting-constant nil)
(let ((nil (quote nil))) (sql-product-interactive (quote postgres) (quote nil)))
eval((let ((nil (quote nil))) (sql-product-interactive (quote postgres) (quote
nil))))
sql-connect("boccaperta" nil)
funcall-interactively(sql-connect "boccaperta" nil)
call-interactively(sql-connect nil nil)
command-execute(sql-connect)

This only happens the first time I use sql-connect. If I do it again, I
can connect to my DB.

--
Manuel Uberti
informatica.boccaperta.com



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

Previous Next


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