Calibre version for 32 bit Porteus

Non release banter
grizzly8u
White ninja
White ninja
Posts: 13
Joined: 05 Apr 2017, 21:08
Distribution: Porteus 3.2.2
Location: USA

Calibre version for 32 bit Porteus

Post#1 by grizzly8u » 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?

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Mission, goals and mean: working toward a better porteus

Post#2 by fulalas » 30 Aug 2017, 21:45


User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Calibre version for 32 bit Porteus

Post#3 by francois » 31 Aug 2017, 01:06

These two posts were splitted and moved into its own thread. The intervention was not on topic.

Thanks.
Prendre son temps, profiter de celui qui passe.

Falcony
Full of knowledge
Full of knowledge
Posts: 237
Joined: 01 Jan 2011, 12:44
Location: Russia

Calibre version for 32 bit Porteus

Post#4 by Falcony » 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.
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.

User avatar
Ed_P
Contributor
Contributor
Posts: 8315
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Calibre version for 32 bit Porteus

Post#5 by Ed_P » 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.
Ed

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Calibre version for 32 bit Porteus

Post#6 by fulalas » 01 Sep 2017, 07:45

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

grizzly8u
White ninja
White ninja
Posts: 13
Joined: 05 Apr 2017, 21:08
Distribution: Porteus 3.2.2
Location: USA

Calibre version for 32 bit Porteus

Post#7 by grizzly8u » 01 Sep 2017, 18:50

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. . .

grizzly8u
White ninja
White ninja
Posts: 13
Joined: 05 Apr 2017, 21:08
Distribution: Porteus 3.2.2
Location: USA

Calibre version for 32 bit Porteus

Post#8 by grizzly8u » 02 Sep 2017, 03:50

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.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3918
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Calibre version for 32 bit Porteus

Post#9 by ncmprhnsbl » 02 Sep 2017, 07:30

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
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

grizzly8u
White ninja
White ninja
Posts: 13
Joined: 05 Apr 2017, 21:08
Distribution: Porteus 3.2.2
Location: USA

Calibre version for 32 bit Porteus

Post#10 by grizzly8u » 02 Sep 2017, 19:12

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!!!

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3918
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Calibre version for 32 bit Porteus

Post#11 by ncmprhnsbl » 02 Sep 2017, 21:59

excellent, good to know :)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply