GNU bug report logs -
#7361
23.2; python-describe-symbol fails
Previous Next
Reported by: Andrey Paramonov <cmr.aparamon <at> gmail.com>
Date: Wed, 10 Nov 2010 06:46:02 UTC
Severity: normal
Tags: moreinfo, unreproducible
Found in version 23.2
Done: Glenn Morris <rgm <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 7361 in the body.
You can then email your comments to 7361 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7361
; Package
emacs
.
(Wed, 10 Nov 2010 06:46:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Andrey Paramonov <cmr.aparamon <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 10 Nov 2010 06:46: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)]
Hello!
python-describe-symbol fails for me, i.e. on the following minimal
example (| shows cursor pos):
import os.path
os.path.abspath|
Instead of description of abspath, C-c C-f shows a backtrace:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/share/emacs/23.2/etc/emacs2.py", line 202, in ehelp
except: help (name)
File "/usr/lib/python2.6/site.py", line 432, in __call__
return pydoc.help(*args, **kwds)
File "/usr/lib/python2.6/pydoc.py", line 1730, in __call__
self.help(request)
File "/usr/lib/python2.6/pydoc.py", line 1775, in help
elif request: doc(request, 'Help on %s:')
File "/usr/lib/python2.6/pydoc.py", line 1515, in doc
pager(render_doc(thing, title, forceload))
File "/usr/lib/python2.6/pydoc.py", line 1321, in pager
pager = getpager()
File "/usr/lib/python2.6/pydoc.py", line 1328, in getpager
if not sys.stdin.isatty() or not sys.stdout.isatty():
ValueError: I/O operation on closed file
Not reproducible with emacs -Q, but I don't see how my customizations
could interfere:
[.emacs (text/plain, inline)]
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(TeX-PDF-mode t)
'(TeX-save-query nil)
'(case-fold-search t)
'(column-number-mode t)
'(csv-align-style (quote right))
'(current-language-environment "UTF-8")
'(default-input-method "russian-computer")
'(dictionary-create-buttons nil)
'(dictionary-default-dictionary "ru-en--en-ru")
'(dictionary-server "dict.dvo.ru")
'(dired-listing-switches "-l --group-directories-first")
'(ediff-split-window-function (quote split-window-horizontally))
'(ediff-window-setup-function (quote ediff-setup-windows-plain))
'(global-visual-line-mode t)
'(gnus-select-method (quote (nntp "news.gmane.org")))
'(ibuffer-enable t)
'(ibuffer-never-show-predicates (quote ("^\\*.*")) nil (ibuf-ext))
'(kill-whole-line t)
'(list-directory-brief-switches "-CF --group-directories-first")
'(list-directory-verbose-switches "-l --group-directories-first")
'(mouse-wheel-mode t)
'(org-insert-mode-line-in-empty-file t)
'(org-support-shift-select (quote always))
'(pc-selection-mode t)
'(pp^L-^L-string-function (lambda (window) (make-string (1- (window-width window)) 32)))
'(pp^L-^L-string-pre "")
'(pretty-control-l-mode t)
'(reftex-plug-into-AUCTeX t)
'(ropemacs-enable-autoimport t)
'(scroll-conservatively 50)
'(scroll-margin 5)
'(scroll-preserve-screen-position t)
'(sentence-end-double-space nil)
'(show-paren-mode t)
'(svn-status-default-export-directory "~/study")
'(svn-status-fancy-file-state-in-modeline nil)
'(svn-status-preserve-window-configuration t)
'(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify)))
'(tool-bar-mode nil)
'(truncate-lines t)
'(use-dialog-box nil)
'(w3m-coding-system (quote utf-8))
'(w3m-default-coding-system (quote utf-8))
'(w3m-file-coding-system (quote utf-8))
'(w3m-file-name-coding-system (quote utf-8))
'(w3m-terminal-coding-system (quote utf-8))
'(w3m-use-cookies t)
'(x-select-enable-clipboard t)
'(x-select-request-type (quote UTF8_STRING) t))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(pp^L-highlight ((t (:inherit shadow :strike-through t))))
'(tooltip ((((class color)) (:inherit variable-pitch :background "lightyellow" :foreground "black" :height 0.83333)))))
;; --- AucTeX ---
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
(eval-after-load "tex"
'(setcdr (assoc "^pdf$" TeX-output-view-style)
'("." "evince %o")))
;; --- Key bindings ---
(global-set-key [f15] 'toggle-input-method)
(global-set-key [(control tab)] 'next-buffer)
(global-set-key [(control shift iso-lefttab)] 'previous-buffer)
(global-set-key [(control f4)] 'kill-this-buffer)
(global-set-key [(f5)] 'delete-other-windows)
;(global-set-key [(f6)] 'other-window)
(global-set-key [(f9)] 'ibuffer)
;(global-set-key [(f10)] 'menu-bar-open)
(global-set-key [(f11)] 'svn-status)
(global-set-key [(f12)] '(lambda() (interactive) (find-file remember-data-file)))
(global-set-key [(control f12)] 'remember)
(global-set-key [(control \`)] 'dictionary-search)
(global-set-key [(meta \?)] 'find-name-dired)
[Message part 3 (text/plain, inline)]
I'm ready to provide any additional info,
Andrey Paramonov
In GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-08-15 on raven, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ru_RU.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Python
Minor modes in effect:
global-semanticdb-minor-mode: t
semantic-idle-scheduler-mode: t
semantic-mode: t
delete-selection-mode: t
show-paren-mode: t
pc-selection-mode: t
shell-dirtrack-mode: t
pretty-control-l-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
global-visual-line-mode: t
visual-line-mode: t
transient-mark-mode: t
Load-path shadows:
/usr/share/emacs/23.2/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style
/usr/share/emacs/23.2/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font
/usr/share/emacs/23.2/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite
/usr/share/emacs/23.2/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf
/usr/share/emacs/23.2/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl
/usr/share/emacs/23.2/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info
/usr/share/emacs/23.2/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex
/usr/share/emacs/23.2/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex
/usr/share/emacs/23.2/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context
/usr/share/emacs/23.2/site-lisp/auctex/tex-fptex hides /usr/share/emacs/site-lisp/auctex/tex-fptex
/usr/share/emacs/23.2/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en
/usr/share/emacs/23.2/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex
/usr/share/emacs/23.2/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold
/usr/share/emacs/23.2/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp
/usr/share/emacs/23.2/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt
/usr/share/emacs/23.2/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp
/usr/share/emacs/23.2/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar
/usr/share/emacs/23.2/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik
/usr/share/emacs/23.2/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x
/usr/share/emacs/23.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs23/site-lisp/flim/md4 hides /usr/share/emacs/23.2/lisp/md4
/usr/share/emacs23/site-lisp/flim/hex-util hides /usr/share/emacs/23.2/lisp/hex-util
/usr/share/emacs23/site-lisp/flim/sha1 hides /usr/share/emacs/23.2/lisp/sha1
/usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.2/lisp/textmodes/flyspell
/usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.2/lisp/textmodes/ispell
/usr/share/emacs23/site-lisp/flim/ntlm hides /usr/share/emacs/23.2/lisp/net/ntlm
/usr/share/emacs23/site-lisp/flim/sasl-cram hides /usr/share/emacs/23.2/lisp/net/sasl-cram
/usr/share/emacs23/site-lisp/flim/sasl hides /usr/share/emacs/23.2/lisp/net/sasl
/usr/share/emacs23/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/23.2/lisp/net/sasl-ntlm
/usr/share/emacs23/site-lisp/flim/sasl-digest hides /usr/share/emacs/23.2/lisp/net/sasl-digest
/usr/share/emacs23/site-lisp/flim/hmac-md5 hides /usr/share/emacs/23.2/lisp/net/hmac-md5
/usr/share/emacs23/site-lisp/flim/hmac-def hides /usr/share/emacs/23.2/lisp/net/hmac-def
Features:
(shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev gmm-utils mailheader canlock
sha1 sha1-el hex-util hashcash emacsbug semantic/edit semantic/tag-file
semantic/find semantic/senator semantic/analyze/complete
semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn
noutline outline goto-addr info semantic/tag-write thai-util thai-word
mule-util lao-util etags help-fns pp imenu cus-edit semantic/db-file
cedet-files semantic/wisent/python semantic/decorate/include
semantic/db-find semantic/db-ref semantic/decorate/mode
semantic/decorate pulse semantic/dep semantic/wisent/python-wy
semantic/wisent semantic/wisent/wisent semantic/db-mode semantic/db
eieio-base semantic/idle semantic/format ezimage semantic/tag-ls
semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag
semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile mode-local
cedet quail multi-isearch dired vc-dispatcher vc-svn python-21 python
help-mode view server ibuf-ext ibuffer delsel disp-table paren pc-select
gnus gnus-ems nnheader gnus-util netrc time-date mail-utils mm-util
mail-prsvr wid-edit cus-start cus-load pp-c-l debian-el
debian-el-loaddefs w3m-load compile ess-toolbar ess-mouse mouseme
thingatpt browse-url ess-menu ess-swv ess-noweb noweb-font-lock-mode
ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a executable shell
ess-arc-d ess-vst-d ess-xls-d ess-lsp-l ess-sta-d ess-sta-l cc-vars
cc-defs make-regexp ess-sp6-d ess-sp5-d ess-sp3-d ess-r-d ess-r-args
assoc ess-s-l ess-inf ess-utils comint ring ess-mode noweb-mode ess
ess-custom regexp-opt easymenu ess-compat ess-site emacs-goodies-el
emacs-goodies-custom emacs-goodies-loaddefs easy-mmode preview-latex
tex-site auto-loads cyril-util tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset
image fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev loaddefs button minibuffer faces cus-face files
text-properties overlay md5 base64 format env code-pages mule custom
widget hashtable-print-readable backquote make-network-process dbusbind
system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#7361
; Package
emacs
.
(Mon, 18 Jun 2012 23:25:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 7361 <at> debbugs.gnu.org (full text, mbox):
Andrey Paramonov wrote:
> python-describe-symbol fails for me, i.e. on the following minimal
> example (| shows cursor pos):
>
> import os.path
> os.path.abspath|
>
> Instead of description of abspath, C-c C-f shows a backtrace:
Thanks for the report; sorry no-one ever replied.
> Not reproducible with emacs -Q, but I don't see how my customizations
> could interfere:
If you still see this issue with the latest Emacs, please try and narrow
down which customization causes it. Eg comment out half of them, see if
it still occurs, repeat.
Following is the only one that seems obviously python related.
> '(ropemacs-enable-autoimport t)
[...]
> In GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
> of 2010-08-15 on raven, modified by Debian
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#7361
; Package
emacs
.
(Wed, 20 Jun 2012 20:05:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 7361 <at> debbugs.gnu.org (full text, mbox):
2012/6/19 Glenn Morris <rgm <at> gnu.org>:
> If you still see this issue with the latest Emacs, please try and narrow
> down which customization causes it. Eg comment out half of them, see if
> it still occurs, repeat.
Cannot reproduce anymore on GNU Emacs 23.4.1 (i486-pc-linux-gnu, GTK+
Version 2.24.10). Should have been fixed somehow.
Best wishes,
Andrey Paramonov
bug closed, send any further explanations to
7361 <at> debbugs.gnu.org and Andrey Paramonov <cmr.aparamon <at> gmail.com>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 20 Jun 2012 20:08:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 19 Jul 2012 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 59 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.