cfedermann / Appraise

Appraise evaluation system for manual evaluation of machine translation output
http://www.appraise.cf/
BSD 3-Clause "New" or "Revised" License
73 stars 37 forks source link

Incorrect Django requirements on readme #51

Open dtr5 opened 9 years ago

dtr5 commented 9 years ago

Readme states Appraise should work with Django >1.3, but it does not work with any 1.3 version, because certain symbols imported on urls.py were on django.conf.urls.default on 1.3, but on django.conf.urls on >1.4.

Also, it does not work with >1.5, because the patterns api changed. There is also an open issue with 1.6.

To my best knowledge, it only works with 1.4.20, that will be supported until October 2015.

Can you update the readme to reflect this?

housamz commented 9 years ago

I agree, after many testings, Appraise only works perfectly on Django 1.4.2

laeubli commented 8 years ago

Confirming @dtr5 and @housamz's comments.

cfedermann commented 8 years ago

Appraise is definitely running on a Django 1.4.20 version.

I'm currently finishing the Django 1.9.6 version which will should be ready in the coming weeks. That will be the best way forward :)

jmcoursi commented 6 years ago

Hello, Any news on the next version ? I installed on Django 1.4.20 but still cannot access the page to add new evaluation tasks. http://127.0.0.1:8000/appraise/admin/evaluation/evaluationtask/add/ The error message is as follows:

Request Method: GET

http://127.0.0.1:8000/appraise/admin/evaluation/evaluationtask/add/

Using the URLconf defined in appraise.urls, Django tried these URL patterns, in this order:

^appraise/$
^appraise/login/$
^appraise/logout/$
^appraise/password/$
^appraise/admin/ ^$ [name='index']
^appraise/admin/ ^logout/$ [name='logout']
^appraise/admin/ ^password_change/$ [name='password_change']
^appraise/admin/ ^password_change/done/$ [name='password_change_done']
^appraise/admin/ ^jsi18n/$ [name='jsi18n']
^appraise/admin/ ^r/(?P<content_type_id>\d+)/(?P<object_id>.+)/$
^appraise/admin/ ^(?P<app_label>\w+)/$ [name='app_list']
^appraise/admin/ ^wmt16/userhitmapping/
^appraise/admin/ ^wmt16/timedkeyvaluedata/
^appraise/admin/ ^auth/user/
^appraise/admin/ ^wmt16/project/
^appraise/admin/ ^wmt16/rankingtask/
^appraise/admin/ ^wmt16/rankingresult/
^appraise/admin/ ^sites/site/
^appraise/admin/ ^wmt16/userinvitetoken/
^appraise/admin/ ^wmt16/hit/
^appraise/admin/ ^auth/group/
^appraise/wmt16/$
^appraise/wmt16/(?P<hit_id>[a-f0-9]{8})/
^appraise/wmt16/status/$
^appraise/wmt16/update-status/(?P<key>(global_stats|language_pair_stats|group_stats|user_stats|clusters))?/?$
^appraise/wmt16/update-ranking/$
^appraise/wmt16/signup/$
^appraise/wmt16/profile/$
^appraise/wmt16/export-to-pairwise-csv/(?P<token>[^/]+)/(?P<project>[^/]+)/$
^appraise/wmt16/export-to-ranking-csv/(?P<token>[^/]+)/(?P<project>[^/]+)/$
^appraise/wmt16/export-to-ranking-xml/(?P<token>[^/]+)/(?P<project>[^/]+)/$
^appraise\/files\/(?P<path>.*)$

The current URL, appraise/admin/evaluation/evaluationtask/add/, didn't match any of these.

mbiesialska commented 4 years ago

I've downloaded the current version, and the problem reported above by @jmcoursi persists. According to the readme file

Add users Users can be added here.

Causes the following error: image

UPDATE: to fix it, install django using the following command pip install --no-cache-dir --no-binary Django django==1.4.20

Add evaluation tasks Evaluation tasks can be created here.

Causes the following error: image

Does anyone know how to solve this issue?

Related to: #52 #61

SamuelLarkin commented 3 years ago

Hi all, For future users that stumble on this issue. Reading from stackoverflow, I found this Django 1.3.7 TemplateDoesNotExist error admin/index.html. After doing pip install --no-cache-dir --no-binary Django django==1.4.22, I'm now able to see the add/user & add/task pages.

Here's more details

conda create --name Appraise python=2
source activate Appraise
pip install patterns
pip install --no-cache-dir --no-binary Django django==1.4.22

git clone git://github.com/cfedermann/Appraise.git Appraise-Software
cd Appraise-Software/appraise
python manage.py syncdb
python manage.py collectstatic
python manage.py runserver  8888