[Slackbuilds-users] building calibre-0.9.13-x86_64 fails - missing py module

Larry Hajali larryhaja at gmail.com
Thu Feb 7 02:41:06 UTC 2013


Hi Cary,

The problem that you are seeing is that python-dateutil has a new
dependency on another python module called six.  The python module six is
in SBo and is listed as a dependency of python-dateutil.  Just install six
and rebuild calibre.

--Larry

On Wed, Feb 6, 2013 at 5:17 PM, Cary <cary at sdf.org> wrote:

> Hello,
>
> It looks as though a module needs to be added to REQUIRES= in the
> calibre.info file.
> Using sbopkg, my attempt to upgrade from calibre-0.8.69 to version 0.9.13
> failed with the following error:
>
> *
> * Running gui
> *
>
> Traceback (most recent call last):
>   File "setup.py", line 99, in <module>
>     sys.exit(main())
>   File "setup.py", line 85, in main
>     command.run_all(opts)
>   File "/tmp/SBo/calibre/setup/__init__.py", line 163, in run_all
>     self.run_cmd(self, opts)
>   File "/tmp/SBo/calibre/setup/__init__.py", line 156, in run_cmd
>     self.run_cmd(scmd, opts)
>   File "/tmp/SBo/calibre/setup/__init__.py", line 159, in run_cmd
>     cmd.run(opts)
>   File "/tmp/SBo/calibre/setup/gui.py", line 37, in run
>     self.build_forms()
>   File "/tmp/SBo/calibre/setup/gui.py", line 60, in build_forms
>     from calibre.gui2 import build_forms
>   File "/tmp/SBo/calibre/src/calibre/gui2/__init__.py", line 21, in
> <module>
>     from calibre.utils.date import UNDEFINED_DATE
>   File "/tmp/SBo/calibre/src/calibre/utils/date.py", line 13, in <module>
>     from dateutil.tz import tzlocal, tzutc
>   File "/usr/lib64/python2.7/site-packages/dateutil/tz.py", line 9, in
> <module>
>     from six import string_types, PY3
> ImportError: No module named six
>
>
> -----
> ---------end of error msg.
> -----
>
> After building and installing module python/six the upgrade
> of calibre was successful.
>
> Cary
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20130206/cb9a2c16/attachment.html>


More information about the SlackBuilds-users mailing list