Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-30-2012, 06:25 AM   #16
cc_humbry
Junior Member
cc_humbry began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2010
Device: BeBook Neo
Error installing in Linux

Hi, tried installing this in Arch Linux but this happens...

Code:
sudo python -c "import sys; py3 = sys.version_info[0] > 2; u = __import__('urllib.request' if py3 else 'urllib', fromlist=1); exec(u.urlopen('http://status.calibre-ebook.com/linux_installer').read()); main()"
Enter the installation directory for calibre [/opt]: 
Will download and install calibre-0.9.0-x86_64.tar.bz2 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 285, in main
  File "<string>", line 243, in download_and_extract
  File "<string>", line 223, in download_tarball
  File "<string>", line 201, in __init__
  File "<string>", line 92, in __init__
TypeError: 'str' does not support the buffer interface
Any suggestions?
Thanks
cc_humbry is offline   Reply With Quote
Old 09-30-2012, 06:39 AM   #17
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: 26,436
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use sudo python2.7 instead of sudo python
kovidgoyal is offline   Reply With Quote
Old 09-30-2012, 07:25 AM   #18
cc_humbry
Junior Member
cc_humbry began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2010
Device: BeBook Neo
good call, thanks. All working now.
cc_humbry is offline   Reply With Quote
Old 09-30-2012, 07:33 AM   #19
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: 26,436
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by cc_humbry View Post
good call, thanks. All working now.
Why on earth would Arch set the default python to 3.3, a version that was released a few days ago! Or have you changed it on your machine locally?
kovidgoyal is offline   Reply With Quote
Old 09-30-2012, 07:43 AM   #20
cc_humbry
Junior Member
cc_humbry began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2010
Device: BeBook Neo
dunno. I update frequently and therefore I assume Arch maintainers think this is a good idea. The version I have though is 3.2.3.
I couldn't think of a reason to do anything different with python wrt versions. Whilst I have had a dabble with it, I am a Java developer.
cc_humbry is offline   Reply With Quote
Old 09-30-2012, 04:35 PM   #21
Morf
Junior Member
Morf began at the beginning.
 
Morf's Avatar
 
Posts: 6
Karma: 10
Join Date: May 2011
Location: Preston, UK
Device: Kindle Paperwhite
"Alternate Download Location" points to the wrong version!...

Currently, if I go to the download link for the standard Windows version (http://calibre-ebook.com/download_windows) then pick "alternate download location", the default version offered on sourceforge.net is the portable version (http://sourceforge.net/projects/calibre/).

Rather confusing, to say the least!
Morf is offline   Reply With Quote
Old 10-01-2012, 12:12 AM   #22
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: 26,436
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@Morf: Thanks, fixed.
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle not recognised by Calibre suddenly after updating to Calibre 8.67 specialvintage Devices 2 09-01-2012 11:33 AM
How do I make all .pdf's in my calibre library open in calibre instead of preview morbo3000 Library Management 9 07-30-2011 11:39 AM
Patch: Calibre adds tags to identify ebook formats created by calibre. siebert Calibre 1 07-18-2011 03:07 PM
How install Calibre & Calibre Library where I choose? akmatov Calibre 3 01-17-2011 09:36 PM
Kindle and Calibre user with problem importing large library into Calibre pleabargain Calibre 1 12-07-2010 11:19 AM


All times are GMT -4. The time now is 11:33 AM.


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