![]() |
#16 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,402
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The command I need is this
Code:
python -c "import urllib2; urllib2.urlopen('http://www.google.com').read()" |
![]() |
![]() |
![]() |
#17 |
Connoisseur
![]() ![]() Posts: 59
Karma: 164
Join Date: Jan 2009
Location: Spain
Device: Sony PRS-500, PRS-505, IREX DR800, Kindle 3 y Kindle 4 NT
|
Pardon:
vakya@vakya-laptop:~$ python -c "import urllib2; urllib2.urlopen('http://www.google.com').read()" vakya@vakya-laptop:~$ |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,402
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
OK, so as a first step we now know that internet access via python is working on your machine. Now try the following
Code:
calibre-debug -c "import urllib2; urllib2.urlopen('http://www.google.com').read()" |
![]() |
![]() |
![]() |
#19 |
Connoisseur
![]() ![]() Posts: 59
Karma: 164
Join Date: Jan 2009
Location: Spain
Device: Sony PRS-500, PRS-505, IREX DR800, Kindle 3 y Kindle 4 NT
|
vakya@vakya-laptop:~$ calibre-debug -c "import urllib2; urllib2.urlopen('http://www.google.com').read()"
Traceback (most recent call last): File "/tmp/init.py", line 45, in <module> File "/home/kovid/work/calibre/src/calibre/debug.py", line 89, in main File "<string>", line 1, in <module> File "/usr/lib/python2.6/urllib2.py", line 124, in urlopen File "/usr/lib/python2.6/urllib2.py", line 383, in open File "/usr/lib/python2.6/urllib2.py", line 401, in _open File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain File "/usr/lib/python2.6/urllib2.py", line 1130, in http_open File "/usr/lib/python2.6/urllib2.py", line 1105, in do_open urllib2.URLError: <urlopen error [Errno -2] Nombre ó servicio desconocido> Segmentation fault |
![]() |
![]() |
![]() |
#20 |
Connoisseur
![]() ![]() Posts: 59
Karma: 164
Join Date: Jan 2009
Location: Spain
Device: Sony PRS-500, PRS-505, IREX DR800, Kindle 3 y Kindle 4 NT
|
I try to reinstall ubuntu. Or want to try something else?
Thank you. |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,402
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Next test
Code:
calibre-debug -c "import socket; print socket.gethostname()" |
![]() |
![]() |
![]() |
#22 |
Connoisseur
![]() ![]() Posts: 59
Karma: 164
Join Date: Jan 2009
Location: Spain
Device: Sony PRS-500, PRS-505, IREX DR800, Kindle 3 y Kindle 4 NT
|
vakya@vakya-laptop:~$ calibre-debug -c "import socket; print socket.gethostname()"
vakya-laptop Segmentation fault Whenever I get: Segmentation fault. why? |
![]() |
![]() |
![]() |
#23 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,402
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The segmentation fault can be ignored (it happens during interpreter shutdown)
I'm afraid I'm out of ideas. For some reason name resolution is not working for you install of calibre |
![]() |
![]() |
![]() |
#24 |
Connoisseur
![]() ![]() Posts: 59
Karma: 164
Join Date: Jan 2009
Location: Spain
Device: Sony PRS-500, PRS-505, IREX DR800, Kindle 3 y Kindle 4 NT
|
Voy a instalar todo de nuevo. Si me salgo en algún momento de la línea, te comento aquí. De todas muchas gracias, la verdad es que das un soporte magnífico.
I will install everything again (ubuntu included). If I leave at some point in the line, you said here. Anyway thank you very much, the truth is you give a great support. |
![]() |
![]() |
![]() |
#25 |
Connoisseur
![]() ![]() Posts: 59
Karma: 164
Join Date: Jan 2009
Location: Spain
Device: Sony PRS-500, PRS-505, IREX DR800, Kindle 3 y Kindle 4 NT
|
steps:
1. Install ubuntu hardy amd64 (except /home) 2. code: vakya@vakya-laptop:~$ sudo python -c "import urllib2; exec urllib2.urlopen('http://calibre.kovidgoyal.net/download_linux_binary_installer').read(); main()" [sudo] password for vakya: Enter the installation directory for calibre (Its contents will be deleted!)[/opt/calibre]: Downloading calibre... 100% [================================================== ====================] Extracting files to /opt/calibre ... Extracting application files... /opt/calibre/calibre_postinstall: 7: /opt/calibre/loader: not found vakya@vakya-laptop:~$ sudo python -c "import urllib2; exec urllib2.urlopen('http://calibre.kovidgoyal.net/download_linux_binary_installer').read(); main()" I will update ubuntu and try again. |
![]() |
![]() |
![]() |
#26 |
Connoisseur
![]() ![]() Posts: 59
Karma: 164
Join Date: Jan 2009
Location: Spain
Device: Sony PRS-500, PRS-505, IREX DR800, Kindle 3 y Kindle 4 NT
|
3. Update ubuntu.
4. Install ia32libs Result: vakya@vakya-laptop:~$ sudo python -c "import urllib2; exec urllib2.urlopen('http://calibre.kovidgoyal.net/download_linux_binary_installer').read(); main()" [sudo] password for vakya: Enter the installation directory for calibre (Its contents will be deleted!)[/opt/calibre]: Downloading calibre... 100% [================================================== ====================] Extracting files to /opt/calibre ... Extracting application files... Creating symlinks... Trying to setup udev rules... * Restarting Hardware abstraction layer hald [ OK ] Setting up bash completion... done Setting up desktop integration... Installing MAN pages... Installing MAN page for lrf-meta Failed to install MAN pages as help2man is missing from your system vakya@vakya-laptop:~$ calibre link hasn't been detected! link hasn't been detected! Traceback (most recent call last): File "/home/kovid/work/calibre/src/calibre/gui2/update.py", line 15, in run File "/usr/lib/python2.6/urllib.py", line 87, in urlopen File "/usr/lib/python2.6/urllib.py", line 203, in open File "/usr/lib/python2.6/urllib.py", line 338, in open_http File "/usr/lib/python2.6/httplib.py", line 868, in endheaders File "/usr/lib/python2.6/httplib.py", line 740, in _send_output File "/usr/lib/python2.6/httplib.py", line 699, in send File "/usr/lib/python2.6/httplib.py", line 683, in connect File "/usr/lib/python2.6/socket.py", line 498, in create_connection IOError: [Errno socket error] [Errno -2] Nombre ó servicio desconocido -------------- Calibre seems to work, but not feeds2lrf. I will try toinstall the source code |
![]() |
![]() |
![]() |
#27 |
Connoisseur
![]() ![]() Posts: 59
Karma: 164
Join Date: Jan 2009
Location: Spain
Device: Sony PRS-500, PRS-505, IREX DR800, Kindle 3 y Kindle 4 NT
|
I get the following error:
.... File "/usr/lib/python2.5/site-packages/PyQt4/uic/uiparser.py", line 153, in createWidget self.stack.push(self.setupObject(widgetClass(elem) , parent, elem)) File "/usr/lib/python2.5/site-packages/PyQt4/uic/uiparser.py", line 128, in setupObject obj = self.factory.createQObject(clsname, name, args, is_attribute) File "/usr/lib/python2.5/site-packages/PyQt4/uic/objcreator.py", line 62, in createQObject raise NoSuchWidgetError, classname PyQt4.uic.exceptions.NoSuchWidgetError: Unknown Qt widget: QPlainTextEdit |
![]() |
![]() |
![]() |
#28 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,402
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
ubuntu hardy has too old a version of PyQt to run calibre from source
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with Calibre and Ubuntu | azurita | Calibre | 2 | 05-03-2009 08:22 PM |
ubuntu hardy problem with binary install `Illegal instruction` | lampadena | Calibre | 2 | 02-10-2009 02:57 AM |
downloading calibre in ubuntu hardy | ElizabethN | Calibre | 1 | 12-29-2008 12:56 AM |
calibre install fails on Ubuntu hardy | Xpi6 | Calibre | 16 | 11-16-2008 01:29 PM |
New versions of calibre in Ubuntu Hardy 64 Bit | deedward9 | Calibre | 19 | 10-17-2008 11:21 PM |