Bug 1381949 - Missing dependency: python-speaklater
Summary: Missing dependency: python-speaklater
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sagemath
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Paulo Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-05 12:11 UTC by Germano Massullo
Modified: 2017-01-02 19:51 UTC (History)
3 users (show)

Fixed In Version: sagemath-7.3-7.fc25
Clone Of:
Environment:
Last Closed: 2017-01-02 19:51:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.