Added Python 3, I am getting WRONG_LANG_ID

12 views
Skip to first unread message

Jerry

unread,
Jul 5, 2010, 7:38:10 AM7/5/10
to Sunner Moodle Plugins
Hi,

I tried to include ideone Python 3 language, code 116. I added 2
lines of code, one in a map in the main file, the other in the strings
files. The interface works ok, however I get "WRONG_LANG_ID" Internal
Error when running.

Any hint?

Jerry

Zhigang Sun

unread,
Jul 5, 2010, 8:38:55 AM7/5/10
to sunner-moo...@googlegroups.com
Have you restarted the judged after patching? If no, try it. Judged can't renew the code by itself.

I did try a moment ago, and it works. :-) 


--
You received this message because you are subscribed to the Google Groups "Sunner Moodle Plugins" group.
To post to this group, send email to sunner-moo...@googlegroups.com.
To unsubscribe from this group, send email to sunner-moodle-pl...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sunner-moodle-plugins?hl=en.




--
哈尔滨工业大学(Harbin Institute of Technology)
孙志岗(Sun Zhigang)
http://sunner.cn

Geraldo Xexeo

unread,
Jul 5, 2010, 4:48:03 PM7/5/10
to sunner-moo...@googlegroups.com
Hi,

Thanks for your help.
I manage to make it work, but I had to restart apache2 and kill php
cron (I think the second one was the solution).
Both could only be done by my sysadmin.

There is any other way to kill/restart the judge?

Anyway, many thanks for this great plug-in.

Jerry

2010/7/5 Zhigang Sun <sun...@gmail.com>:

--
Geraldo Xexéo, D.Sc.
Coordenador do Programa de Engenharia de Sistemas e Computação - COPPE/UFRJ
Coordenador do Fórum de Coordenadores de Pós-Graduação da Sociedade
Brasileira de Computação
Professor Adjunto - DCC/IM/UFRJ
Professor do MBA em Engenharia de Software da Escola Politécnica da UFRJ

Zhigang Sun

unread,
Jul 5, 2010, 8:57:47 PM7/5/10
to sunner-moo...@googlegroups.com
On Tue, Jul 6, 2010 at 04:48, Geraldo Xexeo <xe...@cos.ufrj.br> wrote:

 There is any other way to kill/restart  the judge?
No.
Maybe I could make the upgrade script have the ability to auto kill php cron/judged in future version.

Jerry

unread,
Jul 16, 2010, 3:55:02 PM7/16/10
to Sunner Moodle Plugins
It is ok by now.
But I have another question:

Any way to judge just one answer? I could not find and command for
that.

Thanks

Jerry
> > >> sunner-moodle-pl...@googlegroups.com<sunner-moodle-plugins%2Bunsu...@googlegroups.com>
> > .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/sunner-moodle-plugins?hl=en.
>
> > > --
> > > 哈尔滨工业大学(Harbin Institute of Technology)
> > > 孙志岗(Sun Zhigang)
> > >http://sunner.cn
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Sunner Moodle Plugins" group.
> > > To post to this group, send email to
> > sunner-moo...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > sunner-moodle-pl...@googlegroups.com<sunner-moodle-plugins%2Bunsu...@googlegroups.com>
> > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/sunner-moodle-plugins?hl=en.
>
> > --
> > Geraldo Xexéo, D.Sc.
> > Coordenador do Programa de Engenharia de Sistemas e Computação - COPPE/UFRJ
> > Coordenador do Fórum de Coordenadores de Pós-Graduação da Sociedade
> > Brasileira de Computação
> > Professor Adjunto - DCC/IM/UFRJ
> > Professor do MBA em Engenharia de Software da Escola Politécnica da UFRJ
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Sunner Moodle Plugins" group.
> > To post to this group, send email to
> > sunner-moo...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > sunner-moodle-pl...@googlegroups.com<sunner-moodle-plugins%2Bunsu...@googlegroups.com>
> > .

Zhigang Sun

unread,
Jul 16, 2010, 8:51:36 PM7/16/10
to sunner-moodle-plugins
No. If this feature is required by more users, I can add a switch to every testcase to enable/disable it.

To unsubscribe from this group, send email to sunner-moodle-pl...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/sunner-moodle-plugins?hl=en.

Reply all
Reply to author
Forward
0 new messages