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 01-14-2010, 05:24 AM   #1
No Sade
Junior Member
No Sade began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2009
Device: None
Install problem

The installation appears to go as it should but after I can't start the program, get the following error

"Python function terminated unexpectedly
unsopported format character '('(0x28) at index 136(Error Code:1)"




I't may be because when i tried to uninstall the previous version it failed, stupid me forgot to shut it down. I forced the uninstall to quit, after wich almost everything was gone. I tried to clean the registry with CCleaner, and deleted the folder. Tried several times to unistall and reinstall the new version, but that does not work.

What to do???
No Sade is offline   Reply With Quote
Old 01-14-2010, 11:20 AM   #2
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: 25,427
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You have to make sure the old version is fully uninstalled. See http://calibre-ebook.com/user_manual...ing-on-windows
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 01-16-2010, 03:26 PM   #3
Plastic
Junior Member
Plastic began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2010
Location: Stockholm, Sweden
Device: Sony Reader Touch PRS-600
I have the exact same problem on both my XP machine and my Windows 7 64 bit machine. I have never before installed Calibre on either computer. Also, I have tried uninstall/reinstall to no avail. On first install, I was able to apply a few initial settings, when reinstalling I was not. Where are those settings stored?

Debug info:
Code:
link  hasn't been detected!
link  hasn't been detected!
Python function terminated unexpectedly
  unsupported format character '(' (0x28) at index 136 (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 103, in main
  File "site.py", line 85, in run_entry_point
  File "site-packages\calibre\debug.py", line 103, in main
  File "site-packages\calibre\gui2\main.py", line 136, in main
  File "site-packages\calibre\gui2\main.py", line 54, in run_gui
  File "site-packages\calibre\gui2\ui.py", line 227, in __init__
ValueError: unsupported format character '(' (0x28) at index 136
Exception in thread Thread-5 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "threading.py", line 525, in __bootstrap_inner
  File "site-packages\calibre\gui2\device.py", line 176, in run
  File "site-packages\wmi.py", line 169, in <module>
  File "site-packages\win32com\client\__init__.py", line 73, in GetObject
  File "site-packages\win32com\client\__init__.py", line 90, in Moniker
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
Exception in thread Thread-3 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "threading.py", line 525, in __bootstrap_inner
  File "site-packages\calibre\utils\ipc\server.py", line 167, in run
  File "Queue.py", line 177, in get
  File "threading.py", line 252, in wait
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
Plastic is offline   Reply With Quote
Old 01-16-2010, 03:40 PM   #4
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: 25,427
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Are you using a localized version of windows and if so, in what language?
kovidgoyal is offline   Reply With Quote
Old 01-16-2010, 03:54 PM   #5
Plastic
Junior Member
Plastic began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2010
Location: Stockholm, Sweden
Device: Sony Reader Touch PRS-600
Hi,

no they are both English versions, XP Professional and Windows 7 Professional (Dell OEM).

I found the settings btw, C:\Users\<Username>\AppData\Roaming\calibre in Windows 7; they are not deleted when uninstalling. Also, I found quite a few registry entries after uninstall in
Code:
HKEY_USERS\...\Software\Trolltech

HKEY_CURRENT_USER\Software\Trolltech
Thanks.

edit:

After deleting the settings and reinstalling, I noticed that the initial settings dialogue is in Swedish (despite me having an English language OS). I switched language to English in the "Region and Language" settings on the Control Panel and that did the trick =).

Last edited by Plastic; 01-16-2010 at 04:03 PM. Reason: additional info
Plastic is offline   Reply With Quote
Old 01-16-2010, 04:01 PM   #6
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: 25,427
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Settings are not supposed to be deleted. That error message is caused bya bug in Swedish translation. You can workaround it by editing the file global.py in the config directory and adding the line

language = 'en' at the bottom of the file
kovidgoyal is offline   Reply With Quote
Old 01-16-2010, 04:14 PM   #7
Plastic
Junior Member
Plastic began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2010
Location: Stockholm, Sweden
Device: Sony Reader Touch PRS-600
Thanks, that works. I did however choose "English" in the initial settings dialogue (I prefer using English language Software), so I guess that is ignored.

Thanks for your help!
Plastic 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
Problem with 0.7.4 install Jzz Calibre 1 06-21-2010 12:14 PM
Install problem on ubuntu frdimond Calibre 14 02-19-2010 01:26 AM
another install problem Derry Calibre 8 04-11-2009 04:01 PM
Post-install problem wmaurer Calibre 17 02-04-2009 01:01 PM
Problem with binary install ferridder Calibre 1 11-18-2008 01:27 PM


All times are GMT -4. The time now is 03:47 PM.


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