icie icon indicating copy to clipboard operation
icie copied to clipboard

CodeChef 'website could not be analyzed', not found '#edit-language'

Open nadimakhtar97 opened this issue 4 years ago • 12 comments

issue

nadimakhtar97 avatar Mar 09 '20 10:03 nadimakhtar97

I am getting this problem while submitting on SPOJ too. Please solve this issue.

nadimakhtar97 avatar Mar 09 '20 14:03 nadimakhtar97

I managed to come up with an idea of what may be going wrong and reproduced the problem: are you trying to submit a Division 1 problem from a Division 2 account?

The bug works like this: on CodeChef some contests have two versions for each division, so my extension automatically detects your division and redirects you to the appropriate version. However, CodeChef includes tasks from the other division on the "non scorable" list, under the normal problem list. They need to be submitted to e.g. /submit/INVXOR URL instead of a /MARCH20B/submit/INVXOR URL. Hence, the extension sends a request to the wrong URL, gets an unexpected response and shows the original error.

I will try to fix the problem soon, detecting this case should not be too bad.

unneon avatar Mar 24 '20 11:03 unneon

Thanks for responding to this issue. As you said this issue arises when the division 1 problem is submitted from a division 2 account. But this was not the case in my situation, I did try to submit a division 1 problem from a division 1 account. Moreover, I agree with you that somewhere that the extension is sending a request to a wrong URL.

nadimakhtar97 avatar Mar 25 '20 04:03 nadimakhtar97

I have noticed that the problem also happens when submitting to contests that ended. Was that the case? I pushed 0.7.7 with an attempted fix for both situations, so feel free to check and tell whether it worked.

unneon avatar Mar 30 '20 23:03 unneon

I tried your update(0.7.7) on April Challenge 2020 Division 2 on question COVID Pandemic and Long Queue. But it seems like it is still unable to parse the language from list of available language. Screenshot from 2020-04-03 19-19-48

nadimakhtar97 avatar Apr 03 '20 13:04 nadimakhtar97

Submitting this problem from my account works, and the only difference I know of are our divisions. You said you're div1, and you're trying to submit to the div2 contest. Does the problem still exist if you submit to the same task on div1 contest? If you try manually submitting through this link, do you get a "You do not belong to this division" error?

unneon avatar Apr 03 '20 15:04 unneon

Sorry for the misinformation above, I actually belong to div2 and I am submitting div2 problem i.e April Challenge 2020 Division 2 on question COVID Pandemic and Long Queue.

nadimakhtar97 avatar Apr 03 '20 18:04 nadimakhtar97

Each time I submit a solution a warning appears on CodeChef (You have been logged out since we have a session limit of 1 per user). Screenshot from 2020-04-08 20-47-05 Screenshot from 2020-04-08 20-50-13

nadimakhtar97 avatar Apr 08 '20 15:04 nadimakhtar97

Yeah, that's unfortunately just how CodeChef works. It doesn't allow logins from two browsers at once (e.g. chrome and firefox, or chrome and icie). This isn't the cause of the error though, the extension detects this and logs in again correctly.

As for fixing this, in the next few days I will add more logging and some kind of manual extended error reports. This should hopefully let me see what's going wrong, I'll write here when it's ready.

unneon avatar Apr 08 '20 15:04 unneon

I'm facing the same issue with CodeChef March CookOff (as a practice contest). The test cases are not being shown and neither I'm I able to submit. I hope it gets fixed soon!

Imperial-lord avatar Apr 18 '20 12:04 Imperial-lord

I've released 0.7.13 with the manual error reports I mentioned. Could you try to reproduce the error again and collect the details (just press "Report this" and the extension will display more info)?

unneon avatar Apr 18 '20 23:04 unneon

I also got this same problem while trying to submit a problem . This problem was not part of any present contests. error: website could not be analyzed; not found '#edit-language'; report issue?

krsinghshubham avatar Aug 30 '20 00:08 krsinghshubham