Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-26-2009, 12:47 PM   #16
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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()"
not the calibre-debug command
kovidgoyal is online now   Reply With Quote
Old 01-26-2009, 01:01 PM   #17
vakya
Connoisseur
vakya doesn't littervakya doesn't litter
 
vakya's Avatar
 
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:~$
vakya is offline   Reply With Quote
Advert
Old 01-26-2009, 01:07 PM   #18
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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()"
kovidgoyal is online now   Reply With Quote
Old 01-26-2009, 01:09 PM   #19
vakya
Connoisseur
vakya doesn't littervakya doesn't litter
 
vakya's Avatar
 
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
vakya is offline   Reply With Quote
Old 01-26-2009, 01:28 PM   #20
vakya
Connoisseur
vakya doesn't littervakya doesn't litter
 
vakya's Avatar
 
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.
vakya is offline   Reply With Quote
Advert
Old 01-26-2009, 01:30 PM   #21
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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()"
kovidgoyal is online now   Reply With Quote
Old 01-26-2009, 01:32 PM   #22
vakya
Connoisseur
vakya doesn't littervakya doesn't litter
 
vakya's Avatar
 
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?
vakya is offline   Reply With Quote
Old 01-26-2009, 01:34 PM   #23
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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
kovidgoyal is online now   Reply With Quote
Old 01-26-2009, 01:37 PM   #24
vakya
Connoisseur
vakya doesn't littervakya doesn't litter
 
vakya's Avatar
 
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.
vakya is offline   Reply With Quote
Old 01-26-2009, 02:09 PM   #25
vakya
Connoisseur
vakya doesn't littervakya doesn't litter
 
vakya's Avatar
 
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.
vakya is offline   Reply With Quote
Old 01-26-2009, 03:04 PM   #26
vakya
Connoisseur
vakya doesn't littervakya doesn't litter
 
vakya's Avatar
 
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
vakya is offline   Reply With Quote
Old 01-26-2009, 03:43 PM   #27
vakya
Connoisseur
vakya doesn't littervakya doesn't litter
 
vakya's Avatar
 
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
vakya is offline   Reply With Quote
Old 01-26-2009, 04:15 PM   #28
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 09:20 AM.


MobileRead.com is a privately owned, operated and funded community.