recent update broke recipe

Bug #742840 reported by t mack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

This was working fine before, post upgrade to 0.7.51 I get this when trying to grab some news feeds (not limited to consumerist):

calibre, version 0.7.51
ERROR: Unhandled exception: <b>IOError</b>:[Errno 2] No such file or directory: u'C:\\Program Files\\Calibre2\\resources\\recipes\\consumerist.recipe'

Traceback (most recent call last):
  File "site-packages\calibre\gui2\dialogs\scheduler.py", line 548, in check
  File "site-packages\calibre\web\feeds\recipes\model.py", line 372, in get_to_be_downloaded_recipes
  File "site-packages\calibre\web\feeds\recipes\model.py", line 164, in get_recipe
  File "site-packages\calibre\web\feeds\recipes\model.py", line 156, in get_builtin_recipe
  File "site-packages\calibre\utils\resources.py", line 68, in get_path
IOError: [Errno 2] No such file or directory: u'C:\\Program Files\\Calibre2\\resources\\recipes\\consumerist.recipe'

Revision history for this message
t mack (tmack0) wrote :

more info: this is on a Windows7 Pro 32bit machine, 3GB ram, Intel core2 quad Q6600
plenty of space on the drives (269Gb free on c:)

the error comes up for several news feeds (lifehacker, engadget, consumerist, howtogeek), others seem to work ok still.

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 742840

Are you running from source? Because otherwise that error message makes no
sense. If you are, either update the source checkout or unset the
CALIBRE_DEVELOP_FROM environment variable.

 status fixreleased

Revision history for this message
ivmaillist (ivmaillistgoo) wrote :

same here .. receipes folder not unziped from builtin_recipes.zip so i did so and named the folder receipes..

calibre, version 0.7.51
ERROR: Unhandled exception: <b>IOError</b>:[Errno 2] No such file or directory: u'C:\\Program Files (x86)\\Calibre2\\resources\\recipes\\accountancyage.recipe'

Traceback (most recent call last):
  File "site-packages\calibre\gui2\dialogs\scheduler.py", line 548, in check
  File "site-packages\calibre\web\feeds\recipes\model.py", line 372, in get_to_be_downloaded_recipes
  File "site-packages\calibre\web\feeds\recipes\model.py", line 164, in get_recipe
  File "site-packages\calibre\web\feeds\recipes\model.py", line 156, in get_builtin_recipe
  File "site-packages\calibre\utils\resources.py", line 68, in get_path
IOError: [Errno 2] No such file or directory: u'C:\\Program Files (x86)\\Calibre2\\resources\\recipes\\accountancyage.recipe'

and once unzipped it started the job queue on the 42 jobs i had...i hope the custom written ones are somewhere... cause i don't see them off hand... i never liked writing them anyway .. this is a msi install on existing x7.50....all the way back to 5x stuff so lots of garbage in my directories..

ivan

Revision history for this message
Kovid Goyal (kovid) wrote :

Then I suggest you do a clean install. That is uninstall, delete c:\Program Files\Calibre2 and re-install.

Changed in calibre:
status: New → Fix Released
Revision history for this message
Kovid Goyal (kovid) wrote :

Never mind, it was caused by a silly bug in the automatic calibre build
script. I'll release 0.7.52 in about an hour with the fix.

 status fixreleased

Revision history for this message
HN (h-nieuwenhuijzen) wrote :

I just (2012-10-29) installed the newly downloaded Calibre version 0.9.4 on my new Windows 7 64-bits laptop, and re-imported all my books that I had exported to disk from Calibre on my old 32-bits Windows XP laptop.
Now I'm trying to import them all to my new Bebook e-reader, and I'm getting the same sort of message on a few of them.

This is the exact text of the error-message:
----------------
ERROR : Error: Error communicating with device (this sentence was in Dutch, the rest in English)

[Errno 2] No such file or directory

Traceback (most recent call last):
  File "site-packages\calibre\gui2\device.py", line 85, in run
  File "site-packages\calibre\gui2\device.py", line 500, in _sync_booklists
  File "site-packages\calibre\devices\usbms\driver.py", line 391, in sync_booklists
  File "site-packages\calibre\devices\usbms\driver.py", line 390, in write_prefix
  File "site-packages\calibre\ebooks\metadata\book\json_codec.py", line 122, in encode_to_file
IOError: [Errno 2] No such file or directory
-------------------------
It doesn't say anything about recipes, but it does have the same IOError [Errno 2] No such file or directory.
The ebooks in question do exist, and I can read them on my computer.
The device has plenty of memory space left for thousands more books; the first 500 or so exported without any trouble.

Do I need to uninstall and re-install Calibre, and re-import all 1564 books?
Or can I fix something in the file of the books where the export gives this error-message? Of so, how do I fix it?
Or is this something that needs to be fixed in the program itself?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.