> Hmm... could you paste the whole traceback?
Here it is:
---------------------------------------------------------------------------
ValueError Traceback (most recent call
last)
/home/jakubi/.sage/<ipython console> in <module>()
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/IPython/Prompts.py in __call__(self, arg)
533
534 # and now call a possibly user-defined print
mechanism
--> 535 manipulated_val = self.display(arg)
536
537 # user display hooks can change the variable to be
stored in
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/IPython/Prompts.py in _display(self, arg)
559 return IPython.generics.result_display(arg)
560 except TryNext:
--> 561 return self.shell.hooks.result_display(arg)
562
563 # Assign the default display method:
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/IPython/hooks.py in __call__(self, *args, **kw)
132 #print "prio",prio,"cmd",cmd #dbg
133 try:
--> 134 ret = cmd(*args, **kw)
135 return ret
136 except ipapi.TryNext, exc:
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/IPython/hooks.py in result_display(self, arg)
160
161 if self.rc.pprint:
--> 162 out = pformat(arg)
163 if '\n' in out:
164 # So that multi-line strings line up with the left
column of
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python/
pprint.py in pformat(self, object)
109 def pformat(self, object):
110 sio = _StringIO()
--> 111 self._format(object, sio, 0, 0, {}, 0)
112 return sio.getvalue()
113
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python/
pprint.py in _format(self, object, stream, indent, allowance, context,
level)
127 self._readable = False
128 return
--> 129 rep = self._repr(object, context, level - 1)
130 typ = _type(object)
131 sepLines = _len(rep) > (self._width - 1 - indent -
allowance)
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python/
pprint.py in _repr(self, object, context, level)
193 def _repr(self, object, context, level):
194 repr, readable, recursive = self.format(object,
context.copy(),
--> 195 self._depth,
level)
196 if not readable:
197 self._readable = False
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python/
pprint.py in format(self, object, context, maxlevels, level)
205 and whether the object represents a recursive
construct.
206 """
--> 207 return _safe_repr(object, context, maxlevels, level)
208
209
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python/
pprint.py in _safe_repr(object, context, maxlevels, level)
290 return format % _commajoin(components), readable,
recursive
291
--> 292 rep = repr(object)
293 return rep, (rep and not rep.startswith('<')), False
294
/home/jakubi/.sage/sage_object.pyx in
sage.structure.sage_object.SageObject.__repr__ (sage/structure/
sage_object.c:618)()
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/sage/plot/plot.py in _repr_(self)
736 """
737 if SHOW_DEFAULT:
--> 738 self.show()
739 return ''
740 else:
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/sage/plot/plot.py in show(self, xmin, xmax, ymin, ymax,
figsize, filename, dpi, axes, axes_labels, frame, fontsize,
aspect_ratio)
1250 self.save(filename, xmin, xmax, ymin, ymax, figsize,
dpi=dpi, axes=axes,
1251 frame=frame, fontsize=fontsize,
-> 1252 aspect_ratio=aspect_ratio)
1253 os.system('%s %s 2>/dev/null 1>/dev/null &'%
(sage.misc.viewer.browser(), filename))
1254
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/sage/plot/plot.py in save(self, filename, xmin, xmax,
ymin, ymax, figsize, figure, sub, savenow, dpi, axes, axes_labels,
fontsize, frame, verify, aspect_ratio)
1344 axes = self.__show_axes
1345
-> 1346 from matplotlib.figure import Figure
1347 if filename is None:
1348 filename = sage.misc.misc.graphics_filename()
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/matplotlib/figure.py in <module>()
8 import artist
9 from artist import Artist
---> 10 from axes import Axes, Subplot, PolarSubplot, PolarAxes
11 from cbook import flatten, allequal, Stack, iterable, dedent
12 import _image
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/matplotlib/axes.py in <module>()
11 from matplotlib import artist as martist
12 from matplotlib import agg
---> 13 from matplotlib import axis as maxis
14 from matplotlib import cbook
15 from matplotlib import collections as mcoll
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/matplotlib/axis.py in <module>()
18 from transforms import Value, blend_xy_sep_transform,\
19 translation_transform, bbox_all, identity_transform
---> 20 from font_manager import FontProperties
21 from text import Text, TextWithDash, _process_text_args
22 from patches import bbox_artist
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/matplotlib/font_manager.py in <module>()
1127 verbose.report("Using fontManager instance from %s" %
_fmcache)
1128 except:
-> 1129 _rebuild()
1130
1131 def findfont(prop, **kw):
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/matplotlib/font_manager.py in _rebuild()
1118 def _rebuild():
1119 global fontManager
-> 1120 fontManager = FontManager()
1121 pickle_dump(fontManager, _fmcache)
1122 verbose.report("generated new fontManager")
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/matplotlib/font_manager.py in __init__(self, size,
weight)
908 self.afmfiles = findSystemFonts(paths,
fontext='afm') + \
909 findSystemFonts(fontext='afm')
--> 910 self.afmdict = createFontDict(self.afmfiles,
fontext='afm')
911
912 def get_default_weight(self):
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/matplotlib/font_manager.py in createFontDict(fontfiles,
fontext)
507 try:
508 try:
--> 509 font = afm.AFM(fh)
510 finally:
511 fh.close()
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/matplotlib/afm.py in __init__(self, fh)
292 """
293 (dhead, dcmetrics_ascii, dcmetrics_name, dkernpairs,
dcomposite) = \
--> 294 parse_afm(fh)
295 self._header = dhead
296 self._kern = dkernpairs
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/matplotlib/afm.py in parse_afm(fh)
280 _sanity_check(fh)
281 dhead = _parse_header(fh)
--> 282 dcmetrics_ascii, dcmetrics_name = _parse_char_metrics(fh)
283 doptional = _parse_optional(fh)
284 return dhead, dcmetrics_ascii, dcmetrics_name,
doptional[0], doptional[1]
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/matplotlib/afm.py in _parse_char_metrics(fh)
165 wx = _to_float(vals[1].split()[1])
166 name = vals[2].split()[1]
--> 167 bbox = _to_list_of_ints(vals[3][2:])
168 # Workaround: If the character name is 'Euro', give it
the corresponding
169 # character code, according to WinAnsiEncoding (see
PDF Reference).
/usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/
site-packages/matplotlib/afm.py in _to_list_of_ints(s)
45 def _to_list_of_ints(s):
46 s = s.replace(',', ' ')
---> 47 return [_to_int(val) for val in s.split()]
48
49 def _to_list_of_floats(s):
ValueError: invalid literal for int() with base 10: '-75.673'
--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---