#13889: Better automatic backtrace
--------------------------------+-------------------------------------------
Reporter: vbraun | Owner: GeorgSWeber
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-5.6
Component: build | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Volker Braun | Merged in:
Dependencies: #13881 | Stopgaps:
--------------------------------+-------------------------------------------
Comment (by jdemeyer):
Even just starting `gdb` within a Sage shell gives me:
{{{
(sage-sh) jdemeyer@arcanis:sage-5.6.beta3$ gdb
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/src/sage-5.6.beta3/local/lib/python/os.py", line 398,
in <module>
import UserDict
File "/usr/local/src/sage-5.6.beta3/local/lib/python/UserDict.py", line
83, in <module>
import _abcoll
File "/usr/local/src/sage-5.6.beta3/local/lib/python/_abcoll.py", line
11, in <module>
from abc import ABCMeta, abstractmethod
File "/usr/local/src/sage-5.6.beta3/local/lib/python/abc.py", line 8, in
<module>
from _weakrefset import WeakSet
File "/usr/local/src/sage-5.6.beta3/local/lib/python/_weakrefset.py",
line 5, in <module>
from _weakref import ref
ImportError: No module named _weakref
GNU gdb (Gentoo 7.5 p1) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>.
(gdb)
}}}
Aren't there always going to be problems if `gdb` uses system Python
instead of Sage python?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13889#comment:21>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.