hit-moodle / moodle-local_onlinejudge

Online Judge plugin for Moodle 2.7-4.2.
http://cms.hit.edu.cn
GNU General Public License v3.0
121 stars 59 forks source link

Sometime, student cannot submit his assignment #8

Closed boychunli closed 13 years ago

boychunli commented 13 years ago

Sometime, student cannot submit his assignment.

There are no upload buttons.

The error message is " Cannot find teacher"

sunner commented 13 years ago

Hi,

Thank you for report. I just pushed a patch and it seems that it can solve this problem. Can you try the latest code and tell me the result? Thank you.

BTW, since you can not upload, just simply try the "rejudge all" link.

boychunli commented 13 years ago

是的> BTW, since you can not upload, just simply try the "rejudge all" link.

但用了的安装后,似乎问题没有解决,而且 "rejudge all" 也出错了

On Thu, Jul 14, 2011 at 9:30 PM, sunner reply@reply.github.com wrote:

Hi,

Thank you for report. I just pushed a patch and it seems that it can solve this problem. Can you try the latest code and tell me the result? Thank you.

BTW, since you can not upload, just simply try the "rejudge all" link.

Reply to this email directly or view it on GitHub: https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1571464

sunner commented 13 years ago

什么错误? 在 2011-7-14 下午10:32,"boychunli" < reply@reply.github.com

写道: 是的> BTW, since you can not upload, just simply try the "rejudge all" link.

但用了的安装后,似乎问题没有解决,而且 "rejudge all" 也出错了

On Thu, Jul 14, 2011 at 9:30 PM, sunner reply@reply.github.com wrote:

Hi,

Thank you for report. I just pushed a patch and it seems that it can solve this problem. Can you try the latest code and tell me the result? Thank you.

BTW, since you can not upload, just simply try the "rejudge all" link.

Reply to this email directly or view it on GitHub:

https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1571464

Reply to this email directly or view it on GitHub:

https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1571918

boychunli commented 13 years ago

վڼ http://10.2.205.165:83/mod/assignment/type/onlinejudge/rejudge.php?id=2 ʱ

boychunli commented 13 years ago

图发错了

2011/7/14 lv chunli lvchunli@gmail.com:

服务器错误 网站在检索 http://10.2.205.165:83/mod/assignment/type/onlinejudge/rejudge.php?id=2 时遇到错误。 该网站可能关闭进行维护或配置不正确。 以下是一些建议: Reload this web page later. HTTP 错误 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况。

On Thu, Jul 14, 2011 at 10:37 PM, sunner reply@reply.github.com wrote:

什么错误? 在 2011-7-14 下午10:32,"boychunli" < reply@reply.github.com

写道: 是的> BTW, since you can not upload, just simply try the "rejudge all" link.

但用了的安装后,似乎问题没有解决,而且 "rejudge all" 也出错了

On Thu, Jul 14, 2011 at 9:30 PM, sunner reply@reply.github.com wrote:

Hi,

Thank you for report. I just pushed a patch and it seems that it can solve this problem. Can you try the latest code and tell me the result? Thank you.

BTW, since you can not upload, just simply try the "rejudge all" link.

Reply to this email directly or view it on GitHub:

https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1571464

Reply to this email directly or view it on GitHub:

https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1571918

Reply to this email directly or view it on GitHub: https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1571966

sunner commented 13 years ago

我这里测试没有问题。web server或php的log里应该会有更详细的错误信息,麻烦提供一下可以吗?

boychunli commented 13 years ago

我明天再测试,现在要睡觉了

你也休息吧:)

谢谢你!

On Thu, Jul 14, 2011 at 10:53 PM, sunner reply@reply.github.com wrote:

我这里测试没有问题。web server或php里应该会有更详细的错误信息,麻烦提供一下

Reply to this email directly or view it on GitHub: https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1572115

boychunli commented 13 years ago

这是cannot find teacher 错误

Available from: Wednesday, 6 July 2011, 02:40 AM Cannot find teacher

More information about this error

Stack trace: line 429 of /lib/setuplib.php: moodle_exception thrown line 138 of /mod/assignment/type/upload/assignment.class.php: call to print_error() line 71 of /mod/assignment/type/upload/assignment.class.php: call to assignment_upload->view_feedback() line 51 of /mod/assignment/view.php: call to assignment_upload->view()

2011/7/14 lv chunli lvchunli@gmail.com:

我明天再测试,现在要睡觉了

你也休息吧:)

谢谢你!

On Thu, Jul 14, 2011 at 10:53 PM, sunner reply@reply.github.com wrote:

我这里测试没有问题。web server或php里应该会有更详细的错误信息,麻烦提供一下

Reply to this email directly or view it on GitHub: https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1572115

boychunli commented 13 years ago

rejudge all的错误依然是

服务器错误 网站在检索 http://10.2.205.165:83/mod/assignment/type/onlinejudge/rejudge.php?id=2 时遇到错误。 该网站可能关闭进行维护或配置不正确。 以下是一些建议: Reload this web page later. HTTP 错误 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况。

2011/7/15 lv chunli lvchunli@gmail.com:

这是cannot find teacher 错误

Available from: Wednesday, 6 July 2011, 02:40 AM Cannot find teacher

More information about this error

Stack trace: line 429 of /lib/setuplib.php: moodle_exception thrown line 138 of /mod/assignment/type/upload/assignment.class.php: call to print_error() line 71 of /mod/assignment/type/upload/assignment.class.php: call to assignment_upload->view_feedback() line 51 of /mod/assignment/view.php: call to assignment_upload->view()

2011/7/14 lv chunli lvchunli@gmail.com:

我明天再测试,现在要睡觉了

你也休息吧:)

谢谢你!

On Thu, Jul 14, 2011 at 10:53 PM, sunner reply@reply.github.com wrote:

我这里测试没有问题。web server或php里应该会有更详细的错误信息,麻烦提供一下

Reply to this email directly or view it on GitHub: https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1572115

boychunli commented 13 years ago

我是admin用户

2011/7/15 lv chunli lvchunli@gmail.com:

这是cannot find teacher 错误

Available from: Wednesday, 6 July 2011, 02:40 AM Cannot find teacher

More information about this error

Stack trace: line 429 of /lib/setuplib.php: moodle_exception thrown line 138 of /mod/assignment/type/upload/assignment.class.php: call to print_error() line 71 of /mod/assignment/type/upload/assignment.class.php: call to assignment_upload->view_feedback() line 51 of /mod/assignment/view.php: call to assignment_upload->view()

2011/7/14 lv chunli lvchunli@gmail.com:

我明天再测试,现在要睡觉了

你也休息吧:)

谢谢你!

On Thu, Jul 14, 2011 at 10:53 PM, sunner reply@reply.github.com wrote:

我这里测试没有问题。web server或php里应该会有更详细的错误信息,麻烦提供一下

Reply to this email directly or view it on GitHub: https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1572115

boychunli commented 13 years ago

rejudge all 的错误现在没有了,

主要是我没有重新运行install_assignment_type 这个

2011/7/15 lv chunli lvchunli@gmail.com:

rejudge all的错误依然是

服务器错误 网站在检索 http://10.2.205.165:83/mod/assignment/type/onlinejudge/rejudge.php?id=2 时遇到错误。 该网站可能关闭进行维护或配置不正确。 以下是一些建议: Reload this web page later. HTTP 错误 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况。

2011/7/15 lv chunli lvchunli@gmail.com:

这是cannot find teacher 错误

Available from: Wednesday, 6 July 2011, 02:40 AM Cannot find teacher

More information about this error

Stack trace: line 429 of /lib/setuplib.php: moodle_exception thrown line 138 of /mod/assignment/type/upload/assignment.class.php: call to print_error() line 71 of /mod/assignment/type/upload/assignment.class.php: call to assignment_upload->view_feedback() line 51 of /mod/assignment/view.php: call to assignment_upload->view()

2011/7/14 lv chunli lvchunli@gmail.com:

我明天再测试,现在要睡觉了

你也休息吧:)

谢谢你!

On Thu, Jul 14, 2011 at 10:53 PM, sunner reply@reply.github.com wrote:

我这里测试没有问题。web server或php里应该会有更详细的错误信息,麻烦提供一下

Reply to this email directly or view it on GitHub: https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1572115

boychunli commented 13 years ago

有重新运行install_assignment_type

cann't find teacher的问题也解决了

但还有一个疑问:当学生重新上传作业后,系统似乎没有重新评判,需要老师rejudge all 才可以

这个正常么?

还是我什么地方没有设置对

2011/7/15 lv chunli lvchunli@gmail.com:

rejudge all 的错误现在没有了,

主要是我没有重新运行install_assignment_type 这个

2011/7/15 lv chunli lvchunli@gmail.com:

rejudge all的错误依然是

服务器错误 网站在检索 http://10.2.205.165:83/mod/assignment/type/onlinejudge/rejudge.php?id=2 时遇到错误。 该网站可能关闭进行维护或配置不正确。 以下是一些建议: Reload this web page later. HTTP 错误 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况。

2011/7/15 lv chunli lvchunli@gmail.com:

这是cannot find teacher 错误

Available from: Wednesday, 6 July 2011, 02:40 AM Cannot find teacher

More information about this error

Stack trace: line 429 of /lib/setuplib.php: moodle_exception thrown line 138 of /mod/assignment/type/upload/assignment.class.php: call to print_error() line 71 of /mod/assignment/type/upload/assignment.class.php: call to assignment_upload->view_feedback() line 51 of /mod/assignment/view.php: call to assignment_upload->view()

2011/7/14 lv chunli lvchunli@gmail.com:

我明天再测试,现在要睡觉了

你也休息吧:)

谢谢你!

On Thu, Jul 14, 2011 at 10:53 PM, sunner reply@reply.github.com wrote:

我这里测试没有问题。web server或php里应该会有更详细的错误信息,麻烦提供一下

Reply to this email directly or view it on GitHub: https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1572115

sunner commented 13 years ago

我这里没有问题。 请详细、全面描述你的操作步骤,这会有助于我们排查问题,也节约你我来回频繁回复的时间

boychunli commented 13 years ago

我的系统缺少这两个pcntl and posix extension in php-cli (optional but recommended)

学生提交作业后仍然不能评判作业,还需要老师rejudgeall才能评判

安装过程已经按READme操作了

不知问题在哪?

2011/7/16 sunner reply@reply.github.com:

我这里没有问题。 请详细、全面描述你的操作步骤,这会有助于我们排查问题,也节约你我来回频繁回复的时间

Reply to this email directly or view it on GitHub: https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1584003

sunner commented 13 years ago

只要rejudge all好用,就肯定不缺这两个东西。没有你操作的全面、详细的步骤,详细的程序提示信息甚至抓图,谁都不可能知道问题在哪。

另外,每个issue都是针对一个问题,有新问题最好能开新issue

sunner commented 13 years ago

也有其它人报告学生不能请求评测的bug。经过分析,已经在最新代码里解决,请试试看。要注意的是,已经建好的作业还是不能请求评测的,只有新建的作业或者从1.9版升级上来的可以。

boychunli commented 13 years ago

这回可以,但需要学生主动去点判作业按钮

总统感觉这个有点没有1.9版本的好用,学生为了一个作业可能提交好多次

每次这回要多点好几次,比如先修改,删除,上载,保存,请求判作业

也许这是2.0带来的问题。

以后还有完善空间:)

2011/7/21 sunner reply@reply.github.com:

也有其它人报告学生不能请求评测的bug。经过分析,已经在最新代码里解决,请试试看。要注意的是,已经建好的作业还是不能请求评测的,只有新建的作业或者从1.9版升级上来的可以。

Reply to this email directly or view it on GitHub: https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1623769

sunner commented 13 years ago

是故意设计成这样的。我还以为会比以前更方便控制呢 在 2011-7-21 下午11:35,"boychunli" < reply@reply.github.com

写道: 这回可以,但需要学生主动去点判作业按钮

总统感觉这个有点没有1.9版本的好用,学生为了一个作业可能提交好多次

每次这回要多点好几次,比如先修改,删除,上载,保存,请求判作业

也许这是2.0带来的问题。

以后还有完善空间:)

2011/7/21 sunner reply@reply.github.com:

也有其它人报告学生不能请求评测的bug。经过分析,已经在最新代码里解决,请试试看。要注意的是,已经建好的作业还是不能请求评测的,只有新建的作业或者从1.9版升级上来的可以。

Reply to this email directly or view it on GitHub:

https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1623769

Reply to this email directly or view it on GitHub:

https://github.com/hit-moodle/moodle-local_onlinejudge/issues/8#issuecomment-1624342