Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#43801 - [sage-mathematics] internal help broken

Attached to Project: Community Packages
Opened by Gaetan Bisson (vesath) - Thursday, 12 February 2015, 19:48 GMT
Last edited by Gaetan Bisson (vesath) - Thursday, 12 February 2015, 21:32 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Antonio Rojas (arojas)
Evgeniy Alexeev (arcan1s)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Running sage-mathematics-6.4.1-9 on an up-to-date Arch Linux system, I've just noticed that the internal help is broken.

To reproduce, start sage and type any command name, followed by "?", then enter. Example:

$ sage
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 6.4.1, Release Date: 2014-11-23 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
sage: random()
0.870127687106363
sage: random?
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-2-e32c1fbdc9fe> in <module>()
----> 1 get_ipython().magic(u'pinfo random')

/usr/lib/python2.7/site-packages/IPython/core/interactiveshell.py in magic(self, arg_s)
2203 magic_name, _, magic_arg_s = arg_s.partition(' ')
2204 magic_name = magic_name.lstrip(prefilter.ESC_MAGIC)
-> 2205 return self.run_line_magic(magic_name, magic_arg_s)
2206
2207 #-------------------------------------------------------------------------

/usr/lib/python2.7/site-packages/IPython/core/interactiveshell.py in run_line_magic(self, magic_name, line)
2124 kwargs['local_ns'] = sys._getframe(stack_depth).f_locals
2125 with self.builtin_trap:
-> 2126 result = fn(*args,**kwargs)
2127 return result
2128

...

ImportError: No module named sagenb.misc.misc
This task depends upon

Closed by  Gaetan Bisson (vesath)
Thursday, 12 February 2015, 21:32 GMT
Reason for closing:  Not a bug
Comment by Antonio Rojas (arojas) - Thursday, 12 February 2015, 19:51 GMT
Do you have sage-mathematics-doc installed?

> LANG=C pacman -Qi sage-mathematics
[...]
Optional Deps : [...]
sage-mathematics-doc: Documentation and inline help [installed]
Comment by Gaetan Bisson (vesath) - Thursday, 12 February 2015, 21:31 GMT
My mistake. I thought it'd be bundled with the main package.

Loading...