Bug 1381949

Summary: Missing dependency: python-speaklater
Product: [Fedora] Fedora Reporter: Germano Massullo <germano.massullo>
Component: sagemathAssignee: Paulo Andrade <paulo.cesar.pereira.de.andrade>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 25CC: koisell.dev, lennart.jern, paulo.cesar.pereira.de.andrade
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sagemath-7.3-7.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-02 19:51:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Germano Massullo 2016-10-05 12:11:34 UTC
Description of problem:

sagemath's spec file is missing dependency
python-speaklater
indeed hereunder a few sagemath outputs that you get when you try to start it after a clean installation.
The only way to fix the problem is to install package python-speaklater

================================================

$ sage

sage: notebook(interface='',secure=True,port=8082)
/usr/lib/python2.7/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.babel is deprecated, use flask_babel instead.
  .format(x=modname), ExtDeprecationWarning
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-a71a864ddbb8> in <module>()
----> 1 notebook(interface='',secure=True,port=Integer(8082))

/usr/lib64/python2.7/site-packages/sage/misc/lazy_import.pyx in sage.misc.lazy_import.LazyImport.__call__ (/builddir/build/BUILD/sage-7.3/src/build/cythonized/sage/misc/lazy_import.c:3641)()
    384             True
    385         """
--> 386         return self._get_object()(*args, **kwds)
    387 
    388     def __repr__(self):

/usr/lib64/python2.7/site-packages/sage/misc/lazy_import.pyx in sage.misc.lazy_import.LazyImport._get_object (/builddir/build/BUILD/sage-7.3/src/build/cythonized/sage/misc/lazy_import.c:2248)()
    244         elif self._at_startup and not startup_guard:
    245             print('Option ``at_startup=True`` for lazy import {0} not needed anymore'.format(self._name))
--> 246         self._object = getattr(__import__(self._module, {}, {}, [self._name]), self._name)
    247         alias = self._as_name or self._name
    248         if self._deprecation is not None:

/usr/lib64/python2.7/site-packages/sagenb/notebook/notebook_object.py in <module>()
     15 import time, os, shutil, signal, tempfile
     16 
---> 17 import notebook as _notebook
     18 
     19 import run_notebook

/usr/lib64/python2.7/site-packages/sagenb/notebook/notebook.py in <module>()
     39 from . import css          # style
     40 from . import js           # javascript
---> 41 from . import worksheet    # individual worksheets (which make up a notebook)
     42 from . import config       # internal configuration stuff (currently, just keycodes)
     43 from . import keyboards    # keyboard layouts

/usr/lib64/python2.7/site-packages/sagenb/notebook/worksheet.py in <module>()
   4414 
   4415 # For pybabel
-> 4416 lazy_gettext('January')
   4417 lazy_gettext('February')
   4418 lazy_gettext('March')

/usr/lib/python2.7/site-packages/flask_babel/__init__.pyc in lazy_gettext(string, **variables)
    517             return unicode(hello)
    518     """
--> 519     from speaklater import make_lazy_string
    520     return make_lazy_string(gettext, string, **variables)
    521 

ImportError: No module named speaklater
================================================ 


Version-Release number of selected component (if applicable):
7.3-3

Comment 1 Fedora Update System 2016-12-23 11:16:10 UTC
sagemath-7.3-7.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f67bf04062

Comment 2 Fedora Update System 2016-12-25 04:21:50 UTC
sagemath-7.3-7.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f67bf04062

Comment 3 Fedora Update System 2017-01-02 19:51:17 UTC
sagemath-7.3-7.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.