Jump to content

Topic on Talk:Content translation

Error converting HTML to wikitext: docserver-http: HTTP 400

54
Summary by Elitre (WMF)
Sthelen.aqua (talkcontribs)

Hi!

When trying to publish translation to Ukrainian of English wiki article I keep getting this error: "Error converting HTML to wikitext: docserver-http: HTTP 400"

Please help!

Amire80 (talkcontribs)

In which article did this happen?

Sthelen.aqua (talkcontribs)

It happened to En:Jodrell Bank Observatory Jodrell Bank Observatory ( ). I'm sure I put the link to the article in my message and shocked to see it is not there. But just now after saving I saw that again the link is autodeleted here from my post.

Amire80 (talkcontribs)
Halibutt (talkcontribs)

Sorry to grave-dig, but the very same error happens when I try to publish my translation of Battle of Radzymin to my Polish draft space. No idea what to do about it. Confirmed it on both Firefox and Edge. Some 12 GB of RAM left, so it's not that problem either.

Sthelen.aqua (talkcontribs)

This error is a frequent visitor on this space lately. But almost everyone creates his own post for it. And it still has not being resolved.

I think the root of the problem might be in the autotranslation of template/infobox at the top of the article. Other articles (where I did not try to autotranslate infobox and did not touch it) were published just fine.

Andrei Stroe (talkcontribs)

See also my topic below "Cannot publish" for a similar error (.onion from enwp to rowp), with a javascript stacktrace attached.

Vitosmo (talkcontribs)

See my translation of User:SmozBleda/HistologijaEn to Uporabnik:SmozBleda/Histologija on sl wikipedia.

I get this error at 95% finished and the target side is grayed and I am mighty p*d.

I have created my own copy of the english article on Histology, because I got stuck the first time around by (very probably) the autotranslation of template/infobox (see posting above).

I must have hit on another case of autotranslation biting the grass later down the article (table handling?)

pls advise. Like, can I get at the wiki page with the unfinished translation? Cut and paste the target paragraph-by-paragraph? Get me out of the tar pit, pls.

~~~~

Royal Society Biologist (talkcontribs)

I am getting this notice: " Error converting HTML to wikitext: docserver-http: HTTP 400" when trying to publish a finished translation from Spanish to English about Osteoid. @Amire80

Millars (talkcontribs)

have the same problem since several days / weeks translating from English, French or Catalan to Spanish, in different articles, and also from Spanish to Catalan.

Хомелка (talkcontribs)

Шелковица белая from ru to be - same problem @Amire80

Royal Society Biologist (talkcontribs)

We should contact a higher rank Wiki member to solve this problem

Elitre (WMF) (talkcontribs)
JOAN (talkcontribs)

The same thing happens to me when translating the article "Self-efficacy" from English to Spanish, I get the following error: Error: Error converting HTML to wikitext: docserver-http: HTTP 400. What can we do?

Хомелка (talkcontribs)

Partial solution of the problem is that in those paragraphs where there is a complicated formatting with templates (usually the first paragraph with tl:lang-XX) and the paragraphs of references and literature IS re-translate using Yandex.translate, but not Apertum. It helps me almost always. @Amire80

Millars (talkcontribs)

I had the problem using Apertium, and almost always not using ti:lang-XX

JOAN (talkcontribs)

I found a partial solution, which solved my problem. Do not use Apertium, just use the Yandex translation. So I managed to publish the article: Autoeficacia.

Royal Society Biologist (talkcontribs)

Thanks, I used Yandex translation in every paragraph to then translate myself, it worked.

Xurugetu (talkcontribs)

Nothing works. Stuck.

Halibutt (talkcontribs)

@Joanmrl:, sadly, the problem is the same in articles where Apertium is not even available (translations from/to Polish, for instance), so "not using it" is not really a solution, but I'm glad it worked for some of you.

JOAN (talkcontribs)

@Halibutt I understand, but apparently @Royal Society Biologist did work, and I guess some other users will also work. I believe that any partial solution for a few should be welcomed, while you totally solve the technical fault. :)

Elitre (WMF) (talkcontribs)

I know the team is looking into this. Of course, any kind of new "intel" that is not "I'm having this issue too" ;) may be helpful!

Pallares (talkcontribs)

@Joanmrl:, el problema sucede tambien en la traducción frances-catalan usando Apertium. Espero se resuelva, y que la solucion no sea "not using it" Apertium.

Millars (talkcontribs)

I want to say that It works sometime, but sometimes not. And I did not found why and in which cases work or not. So, when I start an article I don't know whether my work will be published or not. Very dissapointing.

JOAN (talkcontribs)

@Pallares no dije que eso fuera una solución, sólo comenté lo que a mí me funciona, a demás no soy ingeniero de Wikipedia, soy sólo un usuario, es lógico que no podría darte una solución contundente. Saludos.

Elitre (WMF) (talkcontribs)

The task is now marked as high priority and assigned to a developer. Thanks all.

Pallares (talkcontribs)
Elitre (WMF) (talkcontribs)

I am not a developer, and maybe you meant "I hope it will be resolved quickly".

Pallares (talkcontribs)

Yes, I hope

Elitre (WMF) (talkcontribs)

I think nobody has been able so far to reproduce the issue, which is the first step in making sure it can be resolved. I'd be super grateful if everyone here could list the following info: browser, operating system, articles titles, and any other info you think may help (like, "it never occurs if I do X but it always occurs if I do Z". Thank you very much.

Halibutt (talkcontribs)
Elitre (WMF) (talkcontribs)

Looks like there's progress on this, according to Phabricator.

Elitre (WMF) (talkcontribs)

The bug has been fixed, so if your issues were /entirely/ due to it, they should be gone now. Please retry and let us know.

Halibutt (talkcontribs)
Elitre (WMF) (talkcontribs)

You provided fantastic information so far. Thanks a lot for it. I think the console logs will help devs a lot.

Tetsou TheIronman (talkcontribs)

Hi, i try do a traslation of the artcle Dennis Mahon, and at the moment of publish the message of" Error converting HTML to wikitext:"

Gonzalez1996 (talkcontribs)

@Elitre (WMF) Unfortunately, I'm having trouble translating "Free & Equal Elections Foundation" from English to Spanish. I get the following message: "Error converting HTML to wikitext: docserver-http: HTTP 400" Could you please help? I'd really appreciate it.

Kasra092 (talkcontribs)

I got this:

Unknown unrecoverable error has occurred. Error details: Error converting HTML to wikitext: docserver-http: HTTP 400: {"type":"https://mediawiki.org/wiki/HyperSwitch/errors/unknown_error","method":"post","uri":"/fa.wikipedia.org/v1/transform/html/to/wikitext/%D8%A7%D8%AA%D9%88%D9%85%D8%A8%DB%8C%D9%84%E2%80%8C%D8%AF%D8%B2%D8%AF%DB%8C_%D8%A8%D8%B2%D8%B1%DA%AF_%D8%A2%D9%86%D9%84%D8%A7%DB%8C%D9%86"}

what should I do? I got this error yesterday for translating another page

Elitre (WMF) (talkcontribs)
Elitre (WMF) (talkcontribs)

According to the team, "It seems like a momentary problem with parsoid. We will keep watch for any repeats. Usually, in such scenarios, people can try again and publish soon after." Please keep reporting any future occurrences in the Phab task. Thank you very much.

Alvaro Vidal-Abarca (talkcontribs)

Same here: Error converting HTML to wikitext: docserver-http: HTTP 400: {"type":"https://mediawiki.org/wiki/HyperSwitch/errors/unknown_error","method":"post","uri":"/ca.wikipedia.org/v1/transform/html/to/wikitext/Fidel_Valdez_Ramos"} Tried with Chrome on desktop, Chrome on mobile and Safari on iPad.

ZlatkoPyotr (talkcontribs)

It is in no way a „momentary“ problem, as days have passed, and all the pages (2 personally mine, and 3 from my girlfriend's profile) were not fixed, and everything had to be manually added. I no longer see it as a reliable tool, and will simply go for the source edit. Also, it is probably Google translate that is broken, but Yandex might be bug free, so heads up everyone else with this problem.

Edit: Yandex can fail too, it is a much bigger problem than the translator itself.

Euro know (talkcontribs)

same here; It happens in all the pairs I worked with (mk-he, en-he, sq-he, fr-he and ru-he).

КатеринаКајевска (talkcontribs)

I don't know how, but the problem seems occur when I click the references, see also, sources, further reading and external links. I stayed clear from those, and finally, I got a nice clean page and just added those stuff later in source. I also frequently published the page, maybe after every two or three columns, just to make sure the tool won't fuck me up again.

L2212 (talkcontribs)

I've seen that you've been talking about trying not to use Apertium as a solution, but that is a problem for some languages where it's the only available engine. For example, in Sardinian's case. As I already wrote here, I got an error after spending days translating an article:


Source page: John_R.R._Tolkien (Catalan)

Translation language: Sardinian (sc)

Browser: Firefox (83.0)

I was trying to publish a translated article (from Catalan to Sardinian) in a sandbox, that already existed and where I already published a part of it before, but I got this error:

Unknown unrecoverable error has occurred. Error details: Error converting HTML to wikitext: docserver-http: HTTP 400: {"type":"https://mediawiki.org/wiki/HyperSwitch/errors/unknown_error","method":"post","uri":"/sc.wikipedia.org/v1/transform/html/to/wikitext/Usu%C3%A0riu%3AL2212%2FJ._R._R._Tolkien"}


I've never had this problem before, and I used the Translation tool and Apertium quite a lot.

Amire80 (talkcontribs)

Were any of you eventually able to publish it (in the last week)? There were a lot of reports like this and we are trying to investigate them.

ZlatkoPyotr (talkcontribs)

I haven't tried, it was simpler for me to to copy the whole text in notepad, and then manually add everything in source. Though, I had no problems since 6 days ago, I still stay away from automatically translating references and overall template and/or table objects. I am not at all qualified to speak about what is the problem, but it seems that staying away from these has an effect, maybe. Bottom line is, this is what worked for me and КатеринаКајевска in our last translations.

L2212 (talkcontribs)

Unfortunately not, I still get the same error.

Saintfevrier (talkcontribs)

Same exact here, with the article Keio Plaza Hotel to Greek. Apart from that - common, it seems - error, I am getting another one. I will post in a new thread.

الأفعى (talkcontribs)

I had the same problem with article [ One America News Network ] while trying to translate it to Arabic. I had tried the same solutions but It didn't work.

Juan José Martínez Solano (talkcontribs)

I've had this same issue with two articles already. The first time I managed to publish the article after a while, but this time it seems like it won't fix itself. I've tried publishing the article without any template, but that doesn't fix the problem.

Changing the destination from a new article page to a user page doesn't work either.

No matter what I do, it always ends in one of the two following outcomes: the page gets stuck in the "publishing" state (but it never finishes), or I get the usual error log.

Antoloji (talkcontribs)

I am having the same problem. I used the translation tool for the first time and this happened to me. It is sad to see that my hard work for days has gone to waste. I cannot copy the article as a source. Hope it will be fix soon. Until then, I do not intend to use this tool to avoid any surprises.

Quetz72 (talkcontribs)

Same issue here for the translation EN-CA: https://en.wikipedia.org/wiki/E._Jerome_McCarthy

Browsers: Chrome and Firefox (though translated with Firefox, tried to publish with both)

Operating system: WIN 10 64 bits

Translator: Google

First time it occurs to me. In relation with previous translations, the only different object found is the "Infobox academic" template, which I never saw before and cannot be actually translated to Catalan. Despite this, error occurs the same way if I try not to translate it.

A.sav (talkcontribs)

Same issue here for the translation UK-RU: https://uk.wikipedia.org/wiki/%D0%86%D0%BD%D0%B4%D1%83%D1%81%D1%82%D1%80%D1%96%D0%B0%D0%BB%D1%8C%D0%BD%D0%B5_%D0%97%D0%B0%D0%BF%D0%BE%D1%80%D1%96%D0%B6%D0%B6%D1%8F

Operation Systems: Win7 32bit/Android5

Translator: Google


Unknown unrecoverable error has occurred. Error details: Error converting HTML to wikitext: docserver-http: HTTP 400: {"type":"https://mediawiki.org/wiki/HyperSwitch/errors/unknown_error","method":"post","uri":"/ru.wikipedia.org/v1/transform/html/to/wikitext/%D0%98%D0%BD%D0%B4%D1%83%D1%81%D1%82%D1%80%D0%B8%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE%D0%B5_%D0%97%D0%B0%D0%BF%D0%BE%D1%80%D0%BE%D0%B6%D1%8C%D0%B5"}

Reply to "Error converting HTML to wikitext: docserver-http: HTTP 400"