|
|
Thread Tools | Search this Thread |
07-15-2008, 09:12 PM | #1 |
Member
Posts: 17
Karma: 100
Join Date: Jul 2008
Location: Norway
Device: iPhone. Opus. Kindle 3 incoming...
|
Either a userbug or a problem with the generic Linux binary installer.
I'm not sure where I'm supposed to report problems with Calibre, but I'm giving this forum a try.
I was trying to install Calibre on my PC earlier today and got this fancy message: Code:
sudo python -c "import urllib2; exec urllib2.urlopen('http://calibre.kovidgoyal.net/download_linux_binary_installer').read(); main()" Passord: Enter the installation directory for calibre [/opt/calibre]: Traceback (most recent call last): File "<string>", line 1, in <module> File "<string>", line 272, in <module> File "<string>", line 262, in main File "<string>", line 243, in download_tarball File "<string>", line 179, in __init__ ValueError: Terminal isn't capable enough -- you should use a simpler progress dispaly. Code:
# python download_linux_binary_installer Enter the installation directory for calibre [/opt/calibre]: Traceback (most recent call last): File "download_linux_binary_installer", line 272, in <module> sys.exit(main()) File "download_linux_binary_installer", line 262, in main f = download_tarball() File "download_linux_binary_installer", line 243, in download_tarball pb = ProgressBar(TerminalController(sys.stdout), 'Downloading calibre...') File "download_linux_binary_installer", line 179, in __init__ raise ValueError("Terminal isn't capable enough -- you " ValueError: Terminal isn't capable enough -- you should use a simpler progress dispaly. Anyway, in regards to the binary installer I have no idea what the message I got meant. Which means I don't know how to fix it. Am I being stupid or is there's something wrong with the generic linux installer? -Ingrid |
07-15-2008, 09:27 PM | #2 |
creator of calibre
Posts: 44,334
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
What terminal emulator are you using? In any case I foxed this bug, try it again.
|
Advert | |
|
07-15-2008, 10:31 PM | #3 |
Member
Posts: 17
Karma: 100
Join Date: Jul 2008
Location: Norway
Device: iPhone. Opus. Kindle 3 incoming...
|
Strange. I still get the same error. I tried running it in Yakuake, Konsole, Xterm and urxvt. I guess I could try logging out of X.org and give it a try in safe mode if you think it's the terminal emulator that's causing the problem.
|
07-15-2008, 10:35 PM | #4 |
creator of calibre
Posts: 44,334
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
oops forgot to restart apache, should be good now.
|
07-15-2008, 10:50 PM | #5 |
Member
Posts: 17
Karma: 100
Join Date: Jul 2008
Location: Norway
Device: iPhone. Opus. Kindle 3 incoming...
|
Now we're going somewhere. This is the output I got this time:
Code:
sudo python -c "import urllib2; exec urllib2.urlopen('http://calibre.kovidgoyal.net/download_linux_binary_installer').read(); main()" Passord: Enter the installation directory for calibre [/opt/calibre]: Downloading calibre... Traceback (most recent call last): File "<string>", line 1, in <module> File "<string>", line 280, in <module> File "<string>", line 270, in main File "<string>", line 257, in download_tarball TypeError: not enough arguments for format string |
Advert | |
|
07-16-2008, 12:43 AM | #6 |
creator of calibre
Posts: 44,334
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
sigh not my day, try it again
|
07-16-2008, 01:13 AM | #7 |
Member
Posts: 17
Karma: 100
Join Date: Jul 2008
Location: Norway
Device: iPhone. Opus. Kindle 3 incoming...
|
I still get the same error as last time. Maybe it's about time to go get some sleep right about now. It's rather late in Pasadena now, isn't it?
|
07-16-2008, 01:50 AM | #8 |
creator of calibre
Posts: 44,334
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'm in the middle of struggling with a particulary obdurate string theory, so no sleep in my immediate future. Try it again, this time you'll get a different error, I promise
|
07-16-2008, 02:03 AM | #9 |
Member
Posts: 17
Karma: 100
Join Date: Jul 2008
Location: Norway
Device: iPhone. Opus. Kindle 3 incoming...
|
Hey! You're still futzing around!
I wasn't able to copy the entire contents of the terminal output since tracking the progress of the download filled up the buffer, but here's the final output it gave me. Code:
99%, 99%, 99%, 99%, 99%, 99%, 99%, 99%, 99%, 99%, 99%, 99%, 100%, Extracting... Traceback (most recent call last): File "<string>", line 1, in <module> File "<string>", line 280, in <module> File "<string>", line 273, in main File "<string>", line 219, in extract_tarball File "/usr/lib/python2.5/tarfile.py", line 1139, in open return func(name, "r", fileobj) File "/usr/lib/python2.5/tarfile.py", line 1204, in gzopen gzip.GzipFile(name, mode, compresslevel, fileobj)) File "/usr/lib/python2.5/tarfile.py", line 1183, in taropen return cls(name, mode, fileobj) File "/usr/lib/python2.5/tarfile.py", line 1047, in __init__ self.name = os.path.abspath(name) File "/usr/lib/python2.5/posixpath.py", line 402, in abspath if not isabs(path): File "/usr/lib/python2.5/posixpath.py", line 49, in isabs return s.startswith('/') AttributeError: 'NoneType' object has no attribute 'startswith' |
07-16-2008, 02:15 AM | #10 |
Member
Posts: 17
Karma: 100
Join Date: Jul 2008
Location: Norway
Device: iPhone. Opus. Kindle 3 incoming...
|
I've got something more that might interest you. I manually downloaded the tarball from dev.mobileread.com and tried to unpack it (with XArchiver.) It gave me some errors and I thought the other errors might be related to them.
Code:
lots o'stuff... ... itertools.so readline.so lit-meta operator.so calibre-parallel mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/Extensions/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/kernel/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/kernel/config/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/kernel/scripts/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/kernel/tests/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/kernel/core/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/util.py» with «IPython/kernel/core/util.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/ultraTB.py» with «IPython/kernel/core/ultraTB.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/kernel/core/config/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/magic.py» with «IPython/kernel/core/magic.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/error.py» with «IPython/kernel/core/error.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/kernel/core/tests/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/history.py» with «IPython/history.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/config/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/testing/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/util.py» with «IPython/testing/util.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/testing/tests/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/macro.py» with «IPython/macro.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/tools/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/tools/tests/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/external/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/Itpl.py» with «IPython/external/Itpl.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/gui/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «IPython/gui/wx/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/__init__.py» with «PIL/__init__.py» mv: will not overwrite just-created «/home/ingrid/progs/calibre/_imagingft.so» with «PIL/_imagingft.so» Last edited by Ingrid; 07-16-2008 at 02:16 AM. Reason: Fixed the [CODE] tag. |
07-16-2008, 02:52 AM | #11 |
creator of calibre
Posts: 44,334
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
wow there's something really weird about your environment. what distro are you on? the XArchive errors are caused by it trying to extract everything into one directory. Use the command
Code:
tar xvjf tarfile.tar.bz2 Fixing these errors takes me like 5 mins and too much string theory makes Jack a dull boy |
07-16-2008, 03:26 AM | #12 |
Member
Posts: 17
Karma: 100
Join Date: Jul 2008
Location: Norway
Device: iPhone. Opus. Kindle 3 incoming...
|
We wouldn't want you to go all "The Shining" on us from all that string theory. You better keep on playing with your Python scripts I think.
I'm running openSUSE 10.3 with KDE 3.5 at the moment. KDE has gone a bit schizo on me lately, but the CLI underpinnings are still running stable. The tar command fixed the unwrapping errors. So now I have a folder filled with python scripts I have no idea how to use. Yay. I think I'm going to call it a night and come back fresh after a few hours sleep. I'll keep you updated on any progress or lack thereof. Enjoy your physics books Kovid. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pdf to generic - problem with "ll" | gollu | Calibre | 5 | 09-07-2010 02:44 AM |
Problem with Windows installer | AprilHare | Calibre | 6 | 12-29-2009 07:47 PM |
ubuntu hardy problem with binary install `Illegal instruction` | lampadena | Calibre | 2 | 02-10-2009 02:57 AM |
Problem with binary install | ferridder | Calibre | 1 | 11-18-2008 01:27 PM |
Error in latest binary installer | erayd | Calibre | 17 | 11-17-2008 03:43 AM |