google-code-export / fanficdownloader

Automatically exported from code.google.com/p/fanficdownloader
0 stars 0 forks source link

not enough arguments for format string #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Are you using the CLI, web service or calibre plugin?
Calibre plugin

What is the story URL?
All URLs (fanfiction.net and AO3)
But to give an example:
https://www.fanfiction.net/s/9269286/1/
or
http://archiveofourown.org/works/615056

What is the output format you used?
epub

If calibre plugin, did you use Add New, Update EPUB if New Chapters, Update
EPUB Always, Overwrite if Newer, Overwrite Always or Update Calibre
Metadata Only?
I used Update the existing fanfiction books, Overwrite if newer

What steps will reproduce the problem?
1. Find in-progress work
2. Search for update via ffdl plugin in calibre
3.

What is the expected output? What do you see instead?
An error message

What version of the product are you using? On what operating system?
Kobo Glo

Please provide any additional information below.
Below the complete error message. Please note I had latest calibre version 
(1.20) but had the problem, so I downgraded to 1.18 but the same error message 
popped up.

calibre, version 1.18.0
ERREUR : Exception non gérée: <b>TypeError</b>:not enough arguments for 
format string

calibre 1.18  isfrozen: True is64bit: False
Windows-XP-5.1.2600-SP2 Windows ('32bit', 'WindowsPE')
('Windows', 'XP', '5.1.2600')
Python 2.7.5
Windows: ('XP', '5.1.2600', 'SP2', 'Multiprocessor Free')
Traceback (most recent call last):
  File "site-packages\calibre\gui2\__init__.py", line 393, in dispatch
  File "calibre_plugins.fanfictiondownloader_plugin.ffdl_plugin", line 1298, in download_list_completed
TypeError: not enough arguments for format string

Original issue reported on code.google.com by annechri...@gmail.com on 22 Jan 2014 at 3:37

GoogleCodeExporter commented 9 years ago
Which language are you using?  I believe that's a problem in the translation 
file.

Original comment by retiefj...@gmail.com on 22 Jan 2014 at 4:23

GoogleCodeExporter commented 9 years ago
It's in French. I believe it was automatically set to French after an upgrade 
(i don't remember which one, sorry)

Original comment by annechri...@gmail.com on 22 Jan 2014 at 4:47

GoogleCodeExporter commented 9 years ago
It's a typo in the French translation file.  

Please try the version posted here:

http://www.mobileread.com/forums/showthread.php?p=2745336#post2745336

Original comment by retiefj...@gmail.com on 22 Jan 2014 at 4:55

GoogleCodeExporter commented 9 years ago
I tried to install (not sure it worked though) and got the same error.
Maybe I'm installing it wrong. Is there a method I could use?

Original comment by annechri...@gmail.com on 22 Jan 2014 at 5:20

GoogleCodeExporter commented 9 years ago
There are instructions on installing plugins manually here:

http://www.mobileread.com/forums/showthread.php?t=118680

Scroll down to "To install a plugin using the Calibre gui".  Be sure that 
you've restarted calibre after installing the plugin.

Original comment by retiefj...@gmail.com on 22 Jan 2014 at 5:32

GoogleCodeExporter commented 9 years ago
Alright! So indeed, i installed the plugin wrongly.

It's correctly installed now.
I ran some tests on both fanfiction.net and AO3, it's working perfectly!

Thanks a lot!!

Original comment by annechri...@gmail.com on 22 Jan 2014 at 6:07

GoogleCodeExporter commented 9 years ago
Great!  Thanks for finding this problem.  The fix will be included in the next 
release.

Original comment by retiefj...@gmail.com on 22 Jan 2014 at 6:09