Comments (11)
JJ, the actual error message in the last line (after "Fault:") got eaten by the
browser because you don't do HTML escaping in line 49 of
src/livejournal2blogger/livejournal2blogger.py:
http://code.google.com/p/google-blog-converters-appengine/source/browse/trunk/sr
c/livejournal2blogger/livejournal2blogger.py?r=57#49
You're setting Content-Type to text/plain there but it is actually displayed as
text/html in my Firefox 3 and I guess in Alexey's browser as well. I'm not sure
why.
According to my Firebug network trace, it's a server-side problem — the
response
headers contain this:
Content-Type: text/html; charset=utf-8
But even if you get the server send real text/plain, browsers may force it back
to
text/html because they're doing content sniffing. (When a browser sees some
HTML tags
near the beginning of the response body, it will render it as HTML no matter
what
MIME type the server actually declared.)
What do you think about changing the Content-Type to text/html and outputting
the
Python error trace fully HTML-escaped into a <pre> element?
Original comment by alexkon
on 14 Jan 2009 at 7:10
from google-blog-converters-appengine.
To make the first paragraph more clear, here is an example error message when
the
password entered is wrong:
Fault: <Fault 101: 'Invalid password'>
Original comment by alexkon
on 14 Jan 2009 at 7:26
from google-blog-converters-appengine.
Thanks for the comment, alexkon. You're definitely correct in your analysis.
I'll patch this up today with your <pre> element idea.
Original comment by [email protected]
on 14 Jan 2009 at 3:18
- Changed state: Accepted
from google-blog-converters-appengine.
I checked in a change which traps explicitly for Faults from the XML-RPC calls
and
displays just the fault. Also, I'm not escaping all error output for better
display
in the browser.
The hosted application has been updated with this change.
Original comment by [email protected]
on 14 Jan 2009 at 5:04
- Changed state: Fixed
from google-blog-converters-appengine.
JJ, thanks for the quick fix!
Alexey, could you please try again now and tell me if it worked for you?
Если Вам проще говорить по-русски, напишите
мне на [email protected].
(Translation: If you find speaking Russian easier, please write to me at
[email protected].)
Original comment by alexkon
on 14 Jan 2009 at 5:50
from google-blog-converters-appengine.
thanks for comments and fix this problem!
but now i have:
"A server error occurred. Please contact the administrator."
maybe it becouse i have very big history in my Livejournal account?
Original comment by [email protected]
on 19 Feb 2009 at 5:59
from google-blog-converters-appengine.
i was see how many posts in my livejournal.. it's about 820 messages in my diary
Original comment by [email protected]
on 20 Feb 2009 at 10:55
from google-blog-converters-appengine.
Alexey,
That is a rather large journal, but Blogger should be able to handle it. Can
you
make sure that the output of the livejournal2blogger file is valid XML? I
assume
that this problem is due to something in the converted file that Blogger does
not
recognize, invalid XML being just one possibility.
If you like, I can take a look at the converted file to see if I see anything
that
looks suspicious.
Original comment by [email protected]
on 20 Feb 2009 at 4:47
- Changed state: Accepted
from google-blog-converters-appengine.
i havn't any file
i was put livejoirnal login and passord to form
(https://livejournal2blogger.appspot.com) and get error after post:
"A server error occurred. Please contact the administrator."
that's all i have ;)
my livejournal: alucky.livejournal.com
Original comment by [email protected]
on 21 Feb 2009 at 5:24
from google-blog-converters-appengine.
new error! :)
"Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error
message
and the query that caused it."
Original comment by [email protected]
on 24 Feb 2009 at 6:47
from google-blog-converters-appengine.
i cant start python script on my notebook, becouse i cant get access to
livejournal
(we think goverment close it).
so i can only use this service or proxy
if you will add http proxy support to this project, i will try to use it with
that
Original comment by [email protected]
on 24 Feb 2009 at 6:50
from google-blog-converters-appengine.
Related Issues (20)
- " Input WordPress document is not valid XML!! Error appears around line 1504, column 8"
- blogger2wordpress case when convert
- Server error HOT 1
- Please make my file overextension XML WP to XML Blogger
- Unable to import Comments from WordPress blog HOT 1
- WordPress2Blogger: Comments missing and permalinks fail
- Blogger2Wordpress Not importing Categories HOT 1
- command line script fails where hosted script succeeds HOT 1
- w2b 500 server error HOT 1
- Wordpress Captions are not translated properly
- I can't convert xml to blogger.
- Urgent: Wordpress to Blogger Migration - Large File Size
- Replaces < contents in blockquote tag to <
- 500 Server Error
- Python errors while trying to run local converter
- wp:post_date_gmt error
- Problems Converting WordPress XML File
- output file not coming saying. error
- TypeError: cannot serialize
- katraj call girls 9766179977 / 7038899366 all over pune call 24X7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-blog-converters-appengine.