Page 1 of 1

Calibre version for 32 bit Porteus

Posted: 30 Aug 2017, 15:23
by grizzly8u
Where could I find a Calibre version that would work in 32 bit Porteus environment. I see calibre 1.48 by Falcony. Where could I find it?

Mission, goals and mean: working toward a better porteus

Posted: 30 Aug 2017, 21:45
by fulalas

Calibre version for 32 bit Porteus

Posted: 31 Aug 2017, 01:06
by francois
These two posts were splitted and moved into its own thread. The intervention was not on topic.

Thanks.

Calibre version for 32 bit Porteus

Posted: 31 Aug 2017, 06:13
by Falcony
Grizzi also bumped messages to my PM. Strange, but PM isn't working for me. Reply stuck in Outbox and still not sent.
grizzly8u wrote:
30 Aug 2017, 15:23
Where could I find a Calibre version that would work in 32 bit Porteus environment. I see calibre 1.48 by Falcony. Where could I find
it?
Answer here :) Yes, have working Calibre and its depends - for Porteus 32 v.3.1/
All modules are in FIDOSlax stable branch - if you download iso (the last is http://mirror.tochlab.net/pub/fidoslax/ ... le-x86.iso) - u got it in porteus/program dir.

Menu in Fluxbox is Right button of mous on desktop, then submenu (Standard)>(E-Book Management Calibre )

If you click in it - all modules will be automatically loaded and then Calibre started.

To see what modules u need check:
cat /usr/bin/calibre.sh
fulalas wrote:
30 Aug 2017, 21:45
Try here: https://pkgs.org/download/calibre
Conversion wont't work - no chance, not wast your time.
Calibre is complex program set which have many depends most of which have to be build on target porteus only - and for qt and python version you currently have.

Calibre version for 32 bit Porteus

Posted: 31 Aug 2017, 15:06
by Ed_P
Falcony wrote:
31 Aug 2017, 06:13
Grizzi also bumped messages to my PM. Strange, but PM isn't working for me. Reply stuck in Outbox and still not sent.
That's normal. Reply stays in Outbox until receiver reads it.

Calibre version for 32 bit Porteus

Posted: 01 Sep 2017, 07:45
by fulalas
Falcony wrote:
31 Aug 2017, 06:13
Conversion wont't work - no chance, not wast your time.
Calibre is complex program set which have many depends most of which have to be build on target porteus only - and for qt and python version you currently have.
The problem, as always, is Python. This is not a serious language... :fool:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/calibre", line 19, in <module>
    from calibre.gui_launch import calibre
  File "/usr/lib64/calibre/calibre/__init__.py", line 22, in <module>
    from calibre.startup import winutil, winutilerror
  File "/usr/lib64/calibre/calibre/startup.py", line 151, in <module>
    from calibre.utils.icu import title_case, lower as icu_lower, upper as icu_upper
  File "/usr/lib64/calibre/calibre/utils/icu.py", line 28, in <module>
    raise RuntimeError('Failed to load icu with error: %s' % err)
RuntimeError: Failed to load icu with error: /usr/lib64/calibre/calibre/plugins/icu.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8
/usr/lib64/calibre/calibre/ptempfile.py:29: RuntimeWarning: Parent module 'calibre' not found while handling absolute import
  import shutil

Calibre version for 32 bit Porteus

Posted: 01 Sep 2017, 18:50
by grizzly8u
Ed_P wrote:
31 Aug 2017, 15:06
Falcony wrote:
31 Aug 2017, 06:13
Grizzi also bumped messages to my PM. Strange, but PM isn't working for me. Reply stuck in Outbox and still not sent.
That's normal. Reply stays in Outbox until receiver reads it.
Yeah I PM'd it as I saw the Outbox thing. Sorry for the doubles. . .

Calibre version for 32 bit Porteus

Posted: 02 Sep 2017, 03:50
by grizzly8u
I'm a Noob when it comes to Porteus/Slax. I'm a little confused about the install process. I successfully got 1.4.8 from the iso. I converted it to an xzm and it shows up in the directory but no joy when trying to execute. A little padlock appears on the file in the file manager. I'm relatively familiar with the terminal and have been using Lubuntu for a long time but this is a little different. Any directions are greatly appreciated.

Calibre version for 32 bit Porteus

Posted: 02 Sep 2017, 07:30
by ncmprhnsbl
have you tried

Code: Select all

usm -g calibre
this should find some the deps at least if not the python ones..
the arch package certainly has lots of deps(37):
https://www.archlinux.org/packages/comm ... 6/calibre/ :0

oop here's probly a better indicator (beyond python and qt5)
http://slackbuilds.org/repository/14.2/ ... ch=calibre
This requires: optipng, podofo, apsw, cssselect, cssutils, dnspython, lxml, mechanize, msgpack-python, netifaces, psutil, regex, PyQt5, python-dateutil, Pygments, html5-parser

Calibre version for 32 bit Porteus

Posted: 02 Sep 2017, 19:12
by grizzly8u
I appreciate everyone's input but I discovered this while trying to get through all the dependencies, etc. This link gives the exact code to install a version that works with 32 bit or 64 bit machines: https://calibre-ebook.com/download_linux. The following code works perfectly per their instruction: sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"

Thanks to everyone! I'm up and running!!!

Calibre version for 32 bit Porteus

Posted: 02 Sep 2017, 21:59
by ncmprhnsbl
excellent, good to know :)