Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-23-2017, 03:49 AM   #1
trekker9
Junior Member
trekker9 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2017
Device: kindle
cant run calibre after 3.1.0 64bit install

Hi
i had a previous version and upgraded to 3.1.0 and now i keep getting this

Traceback (most recent call last):
File "site-packages\calibre\gui2\main.py", line 292, in initialize_db_stage2
File "site-packages\calibre\gui2\main.py", line 232, in start_gui
File "site-packages\calibre\gui2\ui.py", line 250, in initialize
File "site-packages\calibre\gui2\layout.py", line 330, in init_main_window_mixin
File "site-packages\calibre\gui2\actions\fetch_news.py", line 32, in init_scheduler
File "site-packages\calibre\gui2\dialogs\scheduler.py", line 587, in __init__
File "site-packages\calibre\web\feeds\recipes\model.py", line 148, in __init__
File "site-packages\calibre\web\feeds\recipes\collection.py", line 103, in get_builtin_recipe_collection
File "src/lxml/lxml.etree.pyx", line 3442, in lxml.etree.parse (src\lxml\lxml.etree.c:81716)
File "src/lxml/parser.pxi", line 1811, in lxml.etree._parseDocument (src\lxml\lxml.etree.c:118635)
File "src/lxml/parser.pxi", line 1837, in lxml.etree._parseDocumentFromURL (src\lxml\lxml.etree.c:118982)
File "src/lxml/parser.pxi", line 1741, in lxml.etree._parseDocFromFile (src\lxml\lxml.etree.c:117894)
File "src/lxml/parser.pxi", line 1138, in lxml.etree._BaseParser._parseDocFromFile (src\lxml\lxml.etree.c:112440)
File "src/lxml/parser.pxi", line 595, in lxml.etree._ParserContext._handleParseResultDoc (src\lxml\lxml.etree.c:105896)
File "src/lxml/parser.pxi", line 706, in lxml.etree._handleParseResult (src\lxml\lxml.etree.c:107604)
File "src/lxml/parser.pxi", line 646, in lxml.etree._raiseParseError (src\lxml\lxml.etree.c:106750)
XMLSyntaxError: None (builtin_recipes.xml, line 0)
please help
trekker9 is offline   Reply With Quote
Old 06-23-2017, 03:51 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: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That looks like a corrupted install.
Uninstall, delete C:\Program Files\Calibre2
(or wherever you chose to install calibre). Then re-install. And
dont worry, uninstalling will not affect your books/settings.
kovidgoyal is offline   Reply With Quote
Advert
Old 06-23-2017, 03:55 AM   #3
trekker9
Junior Member
trekker9 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2017
Device: kindle
i have tried this several times with reboots but does not work. i have never had issues with calibre before
trekker9 is offline   Reply With Quote
Old 06-23-2017, 04:39 AM   #4
aCIDsLAM
Enthusiast
aCIDsLAM began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Oct 2016
Device: Xiaomi MI Pad 1, LineageOS14.1
3.1 fails to start

Windows 2016 Core Server.
After Upgrading, i am getting this errormessage, when i am trying to run the server. Going back to 3.0.

Python function terminated unexpectedly
Values instance has no attribute 'daemonize' (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\srv\standalone.py", line 349, in main
AttributeError: Values instance has no attribute 'daemonize'
aCIDsLAM is offline   Reply With Quote
Old 06-23-2017, 05:24 AM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by aCIDsLAM View Post
Windows 2016 Core Server.
After Upgrading, i am getting this errormessage, when i am trying to run the server. Going back to 3.0.

Python function terminated unexpectedly
Values instance has no attribute 'daemonize' (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\srv\standalone.py", line 349, in main
AttributeError: Values instance has no attribute 'daemonize'
"daemonize" is usable only on linux. Simply remove it.
chaley is offline   Reply With Quote
Advert
Old 06-23-2017, 05:33 AM   #6
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by aCIDsLAM View Post
Windows 2016 Core Server.
After Upgrading, i am getting this errormessage, when i am trying to run the server. Going back to 3.0.

Python function terminated unexpectedly
Values instance has no attribute 'daemonize' (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\srv\standalone.py", line 349, in main
AttributeError: Values instance has no attribute 'daemonize'
Quote:
Originally Posted by chaley View Post
"daemonize" is usable only on linux. Simply remove it.
I spoke too soon. Kovid released a fix. The option is still ignored, but it won't crash.

https://github.com/kovidgoyal/calibr...8bf5cd624e7335
chaley is offline   Reply With Quote
Old 06-23-2017, 05:55 AM   #7
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: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah, I made a rather embarassing error with --demonize, now fixed in 3.1.1
kovidgoyal is offline   Reply With Quote
Old 06-23-2017, 07:15 AM   #8
trekker9
Junior Member
trekker9 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2017
Device: kindle
still wont work

Traceback (most recent call last):
File "site-packages\calibre\gui2\main.py", line 292, in initialize_db_stage2
File "site-packages\calibre\gui2\main.py", line 232, in start_gui
File "site-packages\calibre\gui2\ui.py", line 250, in initialize
File "site-packages\calibre\gui2\layout.py", line 330, in init_main_window_mixin
File "site-packages\calibre\gui2\actions\fetch_news.py", line 32, in init_scheduler
File "site-packages\calibre\gui2\dialogs\scheduler.py", line 587, in __init__
File "site-packages\calibre\web\feeds\recipes\model.py", line 148, in __init__
File "site-packages\calibre\web\feeds\recipes\collection.py", line 103, in get_builtin_recipe_collection
File "src/lxml/lxml.etree.pyx", line 3442, in lxml.etree.parse (src\lxml\lxml.etree.c:81716)
File "src/lxml/parser.pxi", line 1811, in lxml.etree._parseDocument (src\lxml\lxml.etree.c:118635)
File "src/lxml/parser.pxi", line 1837, in lxml.etree._parseDocumentFromURL (src\lxml\lxml.etree.c:118982)
File "src/lxml/parser.pxi", line 1741, in lxml.etree._parseDocFromFile (src\lxml\lxml.etree.c:117894)
File "src/lxml/parser.pxi", line 1138, in lxml.etree._BaseParser._parseDocFromFile (src\lxml\lxml.etree.c:112440)
File "src/lxml/parser.pxi", line 595, in lxml.etree._ParserContext._handleParseResultDoc (src\lxml\lxml.etree.c:105896)
File "src/lxml/parser.pxi", line 706, in lxml.etree._handleParseResult (src\lxml\lxml.etree.c:107604)
File "src/lxml/parser.pxi", line 646, in lxml.etree._raiseParseError (src\lxml\lxml.etree.c:106750)
XMLSyntaxError: None (builtin_recipes.xml, line 0)
trekker9 is offline   Reply With Quote
Old 06-23-2017, 07:21 AM   #9
trekker9
Junior Member
trekker9 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2017
Device: kindle
3.0.0

ive just removed all 3.1 and gone back to 3.0.0 and it works straight away
trekker9 is offline   Reply With Quote
Old 06-23-2017, 08:16 AM   #10
aCIDsLAM
Enthusiast
aCIDsLAM began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Oct 2016
Device: Xiaomi MI Pad 1, LineageOS14.1
Quote:
Originally Posted by trekker9 View Post
ive just removed all 3.1 and gone back to 3.0.0 and it works straight away
3.1.1 works for me now under windows but you seem to have another problem than.
aCIDsLAM is offline   Reply With Quote
Old 06-23-2017, 08:38 AM   #11
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: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@trekker9: Your error indicates the builtin_recipes.xml file is corrupted in your calibre installation folder. Either it was corrupted during installation or something on your system, like a anti-virus program is quarantining it or otherwise corrupting it post installation.
kovidgoyal is offline   Reply With Quote
Old 06-23-2017, 08:55 AM   #12
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
I have exactly the same problem trying to install Calibre 3.1.1 portable on my Windows 10 Pro system. I deleted the 'calibre' folder from within the calibre portable folder and tried again but that did not help. The Calibre Portable folder (sand its contents) is excluded in my anti-virus so that should not be interfering!
itimpi is offline   Reply With Quote
Old 06-23-2017, 09:04 AM   #13
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: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
What does builtin_recipes.xml in the app.resources folder of your install look like?
kovidgoyal is offline   Reply With Quote
Old 06-23-2017, 09:05 AM   #14
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: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It should start with something like:

Code:
<?xml version='1.0' encoding='utf-8'?>
<recipe_collection xmlns="http://calibre-ebook.com/recipe_collection" count="1627">
  <recipe description="Macedonian news portal" title="+info" language="mk" id="builtin:plus_info" author="Darko Spasovski" needs_subscription="no"/>
  <recipe description="Politicko-spoločenský týždenník." title=".týždeň" language="sk" id="builtin:tyzden" author="Martin Račák, zemiak" needs_subscription="optional"/>
  <recipe description="Noticias de Salto - Uruguay" title="10minutos" language="es_UY" id="builtin:10minutos" author="Carlos Alves" needs_subscription="no"/>
  <recipe description="A 168 óra friss hírei" title="168 óra" language="hu" id="builtin:h1" author="István Papp" needs_subscription="no"/>
kovidgoyal is offline   Reply With Quote
Old 06-23-2017, 09:11 AM   #15
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by kovidgoyal View Post
It should start with something like:

Code:
<?xml version='1.0' encoding='utf-8'?>
<recipe_collection xmlns="http://calibre-ebook.com/recipe_collection" count="1627">
  <recipe description="Macedonian news portal" title="+info" language="mk" id="builtin:plus_info" author="Darko Spasovski" needs_subscription="no"/>
  <recipe description="Politicko-spoločenský týždenník." title=".týždeň" language="sk" id="builtin:tyzden" author="Martin Račák, zemiak" needs_subscription="optional"/>
  <recipe description="Noticias de Salto - Uruguay" title="10minutos" language="es_UY" id="builtin:10minutos" author="Carlos Alves" needs_subscription="no"/>
  <recipe description="A 168 óra friss hírei" title="168 óra" language="hu" id="builtin:h1" author="István Papp" needs_subscription="no"/>
That is what the start of mine looks like. A quick scan does not show anything that looks like corruption.

P.S. I am going to be out shortly until tomorrow so will not be able to try out any suggestions before then

Last edited by itimpi; 06-23-2017 at 09:14 AM.
itimpi is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't install Version: 2.35.0 on Windows 10 64bit nqk Calibre 4 08-21-2015 03:12 AM
Calibre 2.3.1 64bit problems ozone123 Devices 12 07-20-2015 06:12 PM
install and run apps on a jail-broken kindle pw user743 Kindle Developer's Corner 5 04-01-2014 03:51 PM
Calibre under Win7 64bit noxx Calibre 4 12-29-2010 02:31 PM
Can't install sony ebook software Vista 64bit WinHac Sony Reader 16 12-12-2008 04:37 PM


All times are GMT -4. The time now is 10:58 AM.


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