Comments (5)
Ah, it is terriable.
You must not use MySQL, do you? If no, please tell me which db engine are you using. (postgres? I guess)
In recent updates, I change the fields related with users' program output and testcase data from text type to binary type. This leads to two benefits:
- Ability to process more charsets
- Ability to judge programs input/output binary data
It seems that your db engine does not support this kind of alerting. Tell me what it is and perhaps we can find the solution.
from moodle-local_onlinejudge.
Yes, you are right: I'm using PostgreSQL 8.4.9. Hopes this helps.
from moodle-local_onlinejudge.
I am sure that this is a problem under postgresql. There is also other people met the same problem, like http://bytes.com/topic/postgresql/answers/174532-cast-text-bytea . PostgreSQL does not support cast a column from text to bytea
I have no idea on how to solve this. Perhaps a totally new installation will work. If you want to reserve current data, you can try edit db/upgrade.php, remove two code blocks begin with "if ($oldversion < 2011092200) {" and "if ($oldversion < 2011102401) {", then upgrade as usual. This will keep the fields in text type.
from moodle-local_onlinejudge.
If I want to make fresh install of onlinejudge, which tables I should remove?
from moodle-local_onlinejudge.
You can uninstall it in moodle by accessing http://yoursite.domain/admin/localplugins.php.
If the reinstallation works, please let me know. Thank you.
from moodle-local_onlinejudge.
Related Issues (20)
- 提交的代码判断报错受限函数
- 判断提交的代码时提示函数受限 HOT 7
- Problem with sandbox HOT 1
- Incorrect Return Code for the Answer HOT 1
- moodle2.9版本可以使用这个插件吗 HOT 2
- Fail to recognize ideone.com user HOT 1
- 如果moodle3.0版本使用这个插件,应该如何修改? HOT 1
- sandbox compiler error! HOT 4
- Guide for Sphere Engine integration HOT 2
- sandbox does not compile HOT 6
- $onlinejudge is no-object in mod/assign/feedback/onlinejudge/locallib.php HOT 3
- 安装问题 HOT 13
- Error when compling C files through sandbox HOT 7
- 安装问题 HOT 2
- Sandbox Compilation Error
- [!] frontend: assignfeedback plugin settings is glitched (cpu and memory range loading) HOT 1
- [!] deprecated usage of implode
- review issues HOT 1
- Core Dumped During Sandbox Compilation[!] HOT 2
- A Question About Its Usage HOT 5
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 moodle-local_onlinejudge.