Fanfiction download error

94 views
Skip to first unread message

justfacts11

unread,
Nov 27, 2010, 3:47:09 PM11/27/10
to Fanfiction Downloader
I just found your cool downloader, and would like to use it to
download stories to read on my iphone to read in Stanza. However, I
keep getting this error message when I try to download it to ePub.

[Note: I am not a tekkie -- I'm not capable of very much modification
on my own!]

Thanks!

Error happened: Traceback (most recent call last): File "/base/data/
home/apps/fanfictionloader/2-6-beta.346492954846423634/main.py", line
228, in post data = loader.download() File "/base/data/home/apps/
fanfictionloader/2-6-beta.346492954846423634/fanficdownloader/
downloader.py", line 108, in download self.writer.finalise() File "/
base/data/home/apps/fanfictionloader/2-6-beta.346492954846423634/
fanficdownloader/output.py", line 346, in finalise description =
unicode(description) UnicodeDecodeError: 'ascii' codec can't decode
byte 0xe2 in position 96: ordinal not in range(128)

Roman Kirillov

unread,
Nov 27, 2010, 4:16:15 PM11/27/10
to fanfic-d...@googlegroups.com

Hi,

Could you please specify the story you're trying to download and exact URL you've used?

Cheers,
R

Sent with typos from my N1

justfacts11

unread,
Nov 27, 2010, 6:00:24 PM11/27/10
to Fanfiction Downloader
"A Good Year"

http://www.fanfiction.net/s/5223465/1/A_Good_Year

On Nov 27, 1:16 pm, Roman Kirillov <sigizm...@gmail.com> wrote:
> Hi,
>
> Could you please specify the story you're trying to download and exact URL
> you've used?
>
> Cheers,
> R
>
> Sent with typos from my N1

Jim Miller

unread,
Nov 27, 2010, 6:33:23 PM11/27/10
to fanfic-d...@googlegroups.com
On 11/27/2010 5:00 PM, justfacts11 wrote:
> "A Good Year"
>
> http://www.fanfiction.net/s/5223465/1/A_Good_Year

Hmmm. This works find for me on the standalone version, but errors on
both http://2-6-beta.latest.fanfictionloader.appspot.com and my local
appengine sdk.

It's caused by the higher unicode in the description. It's weird that
it would work standalone, but not in appengine. It kind of looks like
it's trying to make unicode into unicode again.

I've made a somewhat kludgey work around for it--the same try/exception
kludge we have other places and pushed it into the code base. Roman?

Jim

>>> Error happened: Traceback (most recent call last): File "/base/data/
>>> home/apps/fanfictionloader/2-6-beta.346492954846423634/main.py", line
>>> 228, in post data = loader.download() File "/base/data/home/apps/
>>> fanfictionloader/2-6-beta.346492954846423634/fanficdownloader/
>>> downloader.py", line 108, in download self.writer.finalise() File "/
>>> base/data/home/apps/fanfictionloader/2-6-beta.346492954846423634/
>>> fanficdownloader/output.py", line 346, in finalise description =
>>> unicode(description) UnicodeDecodeError: 'ascii' codec can't decode
>>> byte 0xe2 in position 96: ordinal not in range(128)


--
Jim Miller
Retie...@gmail.com

Roman Kirillov

unread,
Nov 27, 2010, 6:45:36 PM11/27/10
to fanfic-d...@googlegroups.com

Nice. Would you create an issue please and assign to me at code.google.com - I'll look into it tomorrow.

Just to be sure: what are exact python version in your sdk and the one you run console apply with?

R

Sent with typos from my N1

justfacts11

unread,
Nov 27, 2010, 6:46:14 PM11/27/10
to Fanfiction Downloader
What's the standalone version?

On Nov 27, 3:45 pm, Roman Kirillov <sigizm...@gmail.com> wrote:
> Nice. Would you create an issue please and assign to me at code.google.com -
> I'll look into it tomorrow.
>
> Just to be sure: what are exact python version in your sdk and the one you
> run console apply with?
>
> R
>
> Sent with typos from my N1
> On Nov 27, 2010 11:33 PM, "Jim Miller" <retiefj...@gmail.com> wrote:
>
> > On 11/27/2010 5:00 PM, justfacts11 wrote:
> >> "A Good Year"
>
> >>http://www.fanfiction.net/s/5223465/1/A_Good_Year
>
> > Hmmm. This works find for me on the standalone version, but errors on
> > bothhttp://2-6-beta.latest.fanfictionloader.appspot.comand my local
> > appengine sdk.
>
> > It's caused by the higher unicode in the description. It's weird that
> > it would work standalone, but not in appengine. It kind of looks like
> > it's trying to make unicode into unicode again.
>
> > I've made a somewhat kludgey work around for it--the same try/exception
> > kludge we have other places and pushed it into the code base. Roman?
>
> > Jim
>
> >>>> Error happened: Traceback (most recent call last): File "/base/data/
> >>>> home/apps/fanfictionloader/2-6-beta.346492954846423634/main.py", line
> >>>> 228, in post data = loader.download() File "/base/data/home/apps/
> >>>> fanfictionloader/2-6-beta.346492954846423634/fanficdownloader/
> >>>> downloader.py", line 108, in download self.writer.finalise() File "/
> >>>> base/data/home/apps/fanfictionloader/2-6-beta.346492954846423634/
> >>>> fanficdownloader/output.py", line 346, in finalise description =
> >>>> unicode(description) UnicodeDecodeError: 'ascii' codec can't decode
> >>>> byte 0xe2 in position 96: ordinal not in range(128)
>
> > --
> > Jim Miller
> > RetiefJ...@gmail.com

William Suetholz

unread,
Nov 27, 2010, 11:57:07 PM11/27/10
to fanfic-d...@googlegroups.com
Hello and welcome,
The "standalone version" is the version that you can run on your local
PC. Presently it will work on longer stories, since the appEngine
version has a 30 second timeout. For most people, the appEngine version
that you tried already is enough. If you would look back at the prior
messages in the group you will find Roman Kirillov outlining what is
needed in order to run the standalone version on your PC. You really
don't need to be very "techie" to be able to use it. But, read some of
the prior messages, it's not like this is a high volume list.

Also pay attention to the beta announcement that was made recently, it
has some nice new features, and has some fixes to handle weird
characters(letters I mean) in some stories.

Jim the change you made would only be available on the beta page at
this time, right? Or, did I miss the beta being promoted to prod?

Bill

Jim Miller

unread,
Nov 28, 2010, 12:07:13 AM11/28/10
to fanfic-d...@googlegroups.com
On 11/27/2010 10:57 PM, William Suetholz wrote:

> Jim the change you made would only be available on the beta page at
> this time, right? Or, did I miss the beta being promoted to prod?

That latest fix will not be available in the beta web app until Roman
updates it. He said he'd look into it tomorrow.

Jim

--
Jim Miller
Retie...@gmail.com

Roman Kirillov

unread,
Nov 28, 2010, 2:58:32 AM11/28/10
to fanfic-d...@googlegroups.com

Chaps,

I pushed beta to prod. So main url now works with the very latest version of the code.

R

Sent with typos from my N1

Reply all
Reply to author
Forward
0 new messages