#13292: Bad symlink SAGE_DATA/graphs/graphs.db
-------------------------+--------------------------------------------------
Reporter: steven | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-5.2
Component: databases | Keywords: broken symlink, graphs database
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
-------------------------+--------------------------------------------------
I downloaded the file sage-5.1-linux-64bit-
ubuntu_12.04_lts-x86_64-Linux.tar.lzma from the official website. Sage was
unable to use the graphs database.
An example of failure is (taken from the documentation):
{{{
Q =
GraphQuery(display_cols=['graph6','num_vertices','degree_sequence'],num_edges=['<=',5],min_degree=1)
}}}
The file SAGE_DATA/graphs/graphs.db is a broken symlink to
/tmp/graphs.db.cm5Li3EYGT. Replacing it with a link to graphs.db.orig
fixed the problem.
From sage root directory:
{{{
$ cd data/graphs
$ rm graphs.db
$ ln -s graphs.db.orig graphs.db
$ ls -l
total 2452
lrwxrwxrwx 1 steven steven 14 Jul 26 14:35 graphs.db ->
graphs.db.orig
-rw-r--r-- 1 steven steven 1258496 May 20 2007 graphs.db.orig
-rw-r--r-- 1 steven steven 1247018 Apr 4 21:56 isgci_sage.xml
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13292>
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.