Hi raj,
Your locale settings missed "UTF-8" at the end, my settings:
LANG=ru_UA.UTF-8
LC_ALL=ru_UA.UTF-8
But it is not a root of a problem...
Right now I tried to install and run Calibre using clean SliTaz Rolling Core ISO.
Previously I only installed Python, and then run the installation command above mentioned.
/==============================================================================\
root@slitaz:/home/tux# wget -O - https://download.calibre-ebook.com/linux-instal
ler.py | \
> python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec
(sys.stdin.read()); main()"
Connecting to download.calibre-ebook.com (88.202.231.80:443)
- 100% |*******************************| 26007 0:00:00 ETA
Installing to /opt/calibre
Downloading tarball signature securely...
Will download and install calibre-2.74.0-i686.txz
Downloading calibre-2.74.0-i686.txz
100% [======================================================================]
Downloaded 61520696 bytes
Checking downloaded file integrity...
Extracting files to /opt/calibre ...
Extracting application files...
Creating symlinks...
Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
Symlinking /opt/calibre/ebook-edit to /usr/bin/ebook-edit
Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
Symlinking /opt/calibre/calibre to /usr/bin/calibre
Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
Symlinking /opt/calibre/ebook-polish to /usr/bin/ebook-polish
Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
Setting up command-line completion...
Failed to find directory to install bash completions, using default.
____________________ WARNING ____________________
Setting up completion failed with error:
__________________________________________________
Traceback (most recent call last):
File "site-packages/calibre/linux.py", line 755, in setup_completion
File "site-packages/calibre/linux.py", line 510, in write_completion
File "site-packages/calibre/gui2/__init__.py", line 8, in <module>
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
Setting up desktop integration...
____________________ WARNING ____________________
Setting up desktop integration failed with error:
__________________________________________________
Traceback (most recent call last):
File "site-packages/calibre/linux.py", line 815, in setup_desktop_integration
File "site-packages/calibre/linux.py", line 800, in install_icons
File "site-packages/calibre/linux.py", line 790, in install_single_icon
File "site-packages/calibre/linux.py", line 1127, in render_img
ImportError: cannot import name QImage
Creating un-installer: /usr/bin/calibre-uninstall
There were 2 warnings
* Setting up completion failed with error:
* Setting up desktop integration failed with error:
Run "calibre" to start calibre
\==============================================================================/
Here errors and warnings. But I started calibre anyway:
/==============================================================================\
root@slitaz:/home/tux# calibre
Traceback (most recent call last):
File "site.py", line 66, in main
File "site-packages/calibre/gui_launch.py", line 69, in calibre
File "site-packages/calibre/gui2/__init__.py", line 8, in <module>
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
\==============================================================================/
Need to install this library. I searched it using http://pkgs.slitaz.org/ and found I need package "mesa".
/==============================================================================\
root@slitaz:/home/tux# tazpkg -gi mesa
mesa-9.1.3.tazpkg 100% |*******************************| 833k 0:00:00 ETA
Tracking dependencies for package "mesa"
================================================================================
Missing package "libpthread-stubs"
================================================================================
1 missing package to install.
libpthread-stubs-0.2 100% |*******************************| 2976 0:00:00 ETA
Installation of package "libpthread-stubs"
================================================================================
Weak aliases for pthread functions.
--------------------------------------------------------------------------------
Copying package... [ Done ]
Extracting package... [ Done ]
Remember modified packages... [ Done ]
Installing package... [ Done ]
Removing all tmp files... [ Done ]
================================================================================
Package "libpthread-stubs" (0.2) is installed.
Installation of package "mesa"
================================================================================
3D Graphics Library that is an open-source implementaton of OpenGL.
--------------------------------------------------------------------------------
Copying package... [ Done ]
Extracting package... [ Done ]
Remember modified packages... [ Done ]
Installing package... [ Done ]
Removing all tmp files... [ Done ]
================================================================================
Package "mesa" (9.1.3) is installed.
\==============================================================================/
Start the Calibre again:
/==============================================================================\
root@slitaz:/home/tux# calibre
DBusExport: Failed to connect to DBUS session bus, with error: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
\==============================================================================/
OK, Calibre interface show.
Try using locale settings without "UTF-8" and try Calibre again:
/==============================================================================\
root@slitaz:/home/tux# export LC_ALL=en_US LANG=en_US
root@slitaz:/home/tux# calibre
WARNING: Failed to set default libc locale, using en_US.UTF-8
DBusExport: Failed to connect to DBUS session bus, with error: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
WARNING: Failed to set default libc locale, using en_US.UTF-8
root@slitaz:/home/tux#
\==============================================================================/
Warning, but Calibre works, and I can open its default book...