[sage-support] Notebook upload/download problems
Since version 3.4 or so I haven't been able to either upload worksheets to my Sage notebook nor download from the notebook to a file on my computer. This problem is independent of default web browser, and exists equally on both my Mac G4 Powerbook and intel Macbook. * (1) When trying to download a worksheet from notebook: I get a new browser page titled Internal Server Error with this message: Internal Server Error An error occurred rendering the requested page. More information is available in the server log. The server log looks like this: 2009-06-15 11:16:14-0700 [HTTPChannel,8,127.0.0.1] cd sage_notebook/ worksheets/admin/ tar -jcf /Users/shapiro/.sage/temp/ PowerBook_2.local/1373/tmp_0.sws 0 sh: line 1: /sw/bin/tar: cannot execute binary file 2009-06-15 11:16:14-0700 [HTTPChannel,8,127.0.0.1] Failed to execute command to export worksheet: ... exceptions.IOError: [Errno 2] No such file or directory: '/Users/ shapiro/.sage//temp/PowerBook_2.local/1373//tmp_0.sws' * (2) When attempting to upload a file (in this case: beezer- linear.sws) to notebook from my computer, I get a new browser page that is blank, with title Error| Sage Notebook, and the following server log message: 2009-06-15 11:22:00-0700 [-] cd /Users/shapiro/.sage/temp/ PowerBook_2.local/1611/dir_1; tar -jxf /Users/shapiro/.sage/temp/ PowerBook_2.local/1611/dir_0/beezer-linear.sws sh: line 1: /sw/bin/tar: cannot execute binary file Any help on this matter would be greatly appreciated --- JoelS --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Notebook upload/download problems
Thanks William. That did the trick! ... JoelS On Jun 15, 3:58 pm, William Stein wst...@gmail.com wrote: On Mon, Jun 15, 2009 at 8:35 PM, JoelSjoels...@gmail.com wrote: Since version 3.4 or so I haven't been able to either upload worksheets to my Sage notebook nor download from the notebook to a file on my computer. This problem is independent of default web browser, and exists equally on both my Mac G4 Powerbook and intel Macbook. * (1) When trying to download a worksheet from notebook: I get a new browser page titled Internal Server Error with this message: Internal Server Error An error occurred rendering the requested page. More information is available in the server log. The server log looks like this: 2009-06-15 11:16:14-0700 [HTTPChannel,8,127.0.0.1] cd sage_notebook/ worksheets/admin/ tar -jcf /Users/shapiro/.sage/temp/ PowerBook_2.local/1373/tmp_0.sws 0 sh: line 1: /sw/bin/tar: cannot execute binary file It looks like you have some broken version if fink installed on your computer. Try moving /sw out of the way temporarily. 2009-06-15 11:16:14-0700 [HTTPChannel,8,127.0.0.1] Failed to execute command to export worksheet: ... exceptions.IOError: [Errno 2] No such file or directory: '/Users/ shapiro/.sage//temp/PowerBook_2.local/1373//tmp_0.sws' * (2) When attempting to upload a file (in this case: beezer- linear.sws) to notebook from my computer, I get a new browser page that is blank, with title Error| Sage Notebook, and the following server log message: 2009-06-15 11:22:00-0700 [-] cd /Users/shapiro/.sage/temp/ PowerBook_2.local/1611/dir_1; tar -jxf /Users/shapiro/.sage/temp/ PowerBook_2.local/1611/dir_0/beezer-linear.sws sh: line 1: /sw/bin/tar: cannot execute binary file Any help on this matter would be greatly appreciated --- JoelS -- William Stein Associate Professor of Mathematics University of Washingtonhttp://wstein.org --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Worsening of @interact auto-evaluate problems in 3.2.2?
I've been having the same problem with both 3.2.2 and 3.2.3 on my Intel MacBook running OS X.4.11. -JoelS kcrisman wrote: Dear Support, I built 3.2.2 and seem to have a worsening of the auto-evaluation of @interact worksheets. Up to 3.2.1 the worksheets only autoevaluate interacts if I actually open them (the worksheets) up. In 3.2.2 today they auto-evaluated for ALL my worksheets with @interact in them without opening (that is, the list of worksheets had all such sheets saying running for some reason). That would be a lot of things to open just to interrupt them... This was a little unfortunate, because it meant rlmiller had to do his presentation for the MAA Panel session in reverse order while we switched computers. I don't know if this is reproducible - it may have been a once-off problem, something I somehow inadvertently broke (though I'm not sure what), or just my old OSX.4 PPC. But I thought I would report it. The wifi here is spotty, so I don't have time to try it on sagenb or something, but if someone could check this out in 3.2.2 and/or 3.2.3 on a few platforms I would appreciate it; if it's reproducible there I suggest this be logged as a blocker; it is a huge memory waste and time drain. Thanks, - kcrisman --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Cannot plot in SAGE 3.0 for MAC OS 10.4
I found the same problem using SAGE 3.0 on a MacBook running OS X. 4.11. Same behavior in both command line and notebook. Here's the error report that resulted from trying to plot from command line: * sage: plot(sin(x),0,10) --- type 'exceptions.ImportError' Traceback (most recent call last) /Users/shapiro/ipython console in module() /Applications/sage-3.0/local/lib/python2.5/site-packages/IPython/ Prompts.py in __call__(self, arg) 521 522 # and now call a possibly user-defined print mechanism -- 523 manipulated_val = self.display(arg) 524 525 # user display hooks can change the variable to be stored in /Applications/sage-3.0/local/lib/python2.5/site-packages/IPython/ Prompts.py in _display(self, arg) 545 546 -- 547 return self.shell.hooks.result_display(arg) 548 549 # Assign the default display method: /Applications/sage-3.0/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: /Applications/sage-3.0/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 /Applications/sage-3.0/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 /Applications/sage-3.0/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) /Applications/sage-3.0/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 /Applications/sage-3.0/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 /Applications/sage-3.0/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 /Users/shapiro/sage_object.pyx in sage.structure.sage_object.SageObject.__repr__ (sage/structure/ sage_object.c:620)() /Applications/sage-3.0/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: /Applications/sage-3.0/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 /Applications/sage-3.0/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() /Applications/sage-3.0/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 /Applications/sage-3.0/local/lib/python2.5/site-packages/matplotlib/ axes.py in module() 18 from matplotlib import dates as mdates 19 from matplotlib import font_manager --- 20 from matplotlib import image as mimage 21 from matplotlib import legend as mlegend 22