Hi

It is loading for me on 6.8 at the moment. 64bit install, Ubuntu 14.04.3

Regards,
Jan

On 11 September 2015 at 15:04, Samuel Lelièvre <samuel.lelie...@gmail.com>
wrote:

> Hello,
>
> My university has a few teaching rooms equipped with computers
> where SageMath is installed. Some of these rooms depend on the
> University IT staff, some on the Math Dept IT staff.
>
> In either case they run Ubuntu, and I think SageMath is installed
> using the Ubuntu PPA, version 6.6 or in some cases 6.7.
>
> On these installs, trying to access the interactive documentation
> with "?" fails, complaining about an import error related to 'conf'.
> See full error traceback below.
>
> Is this a known problem of the Ubuntu PPA for SageMath 6.6 / 6.7?
> Is it fixed by ticket 18642 or 19166?
>
>     http://trac.sagemath.org/ticket/18642
>     http://trac.sagemath.org/ticket/19166
>
> (They seem to have something to do with conf.py.)
>
> Could anyone testing the dev version of the PPA confirm that
> the interactive help works in version 6.8 of the PPA?
>
> Thanks in advance for any information.
> Samuel
>
>
> sage: plot?
> ---------------------------------------------------------------------------
> ImportError                               Traceback (most recent call last)
> <ipython-input-2-2be74ec6036d> in <module>()
> ----> 1 get_ipython().magic(u'pinfo plot')
>
>
> /usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc
> in magic(self, arg_s)
>    2302         magic_name, _, magic_arg_s = arg_s.partition(' ')
>    2303         magic_name = magic_name.lstrip(prefilter.ESC_MAGIC)
> -> 2304         return self.run_line_magic(magic_name, magic_arg_s)
>    2305
>    2306
>  #-------------------------------------------------------------------------
>
>
> /usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc
> in run_line_magic(self, magic_name, line)
>    2223                 kwargs['local_ns'] =
> sys._getframe(stack_depth).f_locals
>    2224             with self.builtin_trap:
> -> 2225                 result = fn(*args,**kwargs)
>    2226             return result
>    2227
>
>
> /usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/core/magics/namespace.pyc
> in pinfo(self, parameter_s, namespaces)
>
> /usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/core/magic.pyc
> in <lambda>(f, *a, **k)
>     191     # but it's overkill for just that one bit of state.
>     192     def magic_deco(arg):
> --> 193         call = lambda f, *a, **k: f(*a, **k)
>     194
>     195         if callable(arg):
>
>
> /usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/core/magics/namespace.pyc
> in pinfo(self, parameter_s, namespaces)
>      59         else:
>      60             self.shell._inspect('pinfo', oname,
> detail_level=detail_level,
> ---> 61                                 namespaces=namespaces)
>      62
>      63     @line_magic
>
>
> /usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc
> in _inspect(self, meth, oname, namespaces, **kw)
>    1567                 pmethod(info.obj, oname, formatter)
>    1568             elif meth == 'pinfo':
> -> 1569                 pmethod(info.obj, oname, formatter, info, **kw)
>    1570             else:
>    1571                 pmethod(info.obj, oname)
>
>
> /usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/core/oinspect.pyc
> in pinfo(self, obj, oname, formatter, info, detail_level)
>     638         - detail_level: if set to 1, more information is given.
>     639         """
> --> 640         text = self._format_info(obj, oname, formatter, info,
> detail_level)
>     641         if text:
>     642             page.page(text)
>
>
> /usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/core/oinspect.pyc
> in _format_info(self, obj, oname, formatter, info, detail_level)
>     576         """Format an info dict as text"""
>     577         info = self.info(obj, oname=oname, formatter=formatter,
> --> 578                             info=info, detail_level=detail_level)
>     579         displayfields = []
>     580         def add_fields(fields):
>
>
> /usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/core/oinspect.pyc
> in info(self, obj, oname, formatter, info, detail_level)
>     680                     ds += "\nDocstring:\n" + obj.__doc__
>     681         else:
> --> 682             ds = getdoc(obj)
>     683             if ds is None:
>     684                 ds = '<no docstring>'
>
>
> /usr/lib/sagemath/local/lib/python2.7/site-packages/sage/misc/sageinspect.pyc
> in sage_getdoc(obj, obj_name, embedded_override)
>    1568         return ''
>    1569
> -> 1570     s = sage.misc.sagedoc.format(str(r),
> embedded=(embedded_override or EMBEDDED_MODE))
>    1571
>    1572     # If there is a Cython embedded position, it needs to be
> stripped
>
> /usr/lib/sagemath/local/lib/python2.7/site-packages/sage/misc/sagedoc.pyc
> in format(s, embedded)
>     586         if not embedded:
>     587             s = process_mathtt(s)
> --> 588         s = process_extlinks(s, embedded=embedded)
>     589         s = detex(s, embedded=embedded)
>     590     return embedding_info+s
>
> /usr/lib/sagemath/local/lib/python2.7/site-packages/sage/misc/sagedoc.pyc
> in process_extlinks(s, embedded)
>     354     oldpath = sys.path
>     355     sys.path = oldpath + [os.path.join(SAGE_DOC, 'common')]
> --> 356     from conf import pythonversion, extlinks
>     357     sys.path = oldpath
>     358     for key in extlinks:
>
> ImportError: No module named conf
>



-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.

Reply via email to