Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Django requirements on readme #51

Open
dtr5 opened this issue Jul 8, 2015 · 6 comments
Open

Incorrect Django requirements on readme #51

dtr5 opened this issue Jul 8, 2015 · 6 comments

Comments

@dtr5
Copy link

dtr5 commented Jul 8, 2015

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
Copy link

housamz commented Aug 31, 2015

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

@laeubli
Copy link

laeubli commented Mar 15, 2016

Confirming @dtr5 and @housamz's comments.

@cfedermann
Copy link
Owner

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
Copy link

jmcoursi commented Feb 12, 2018

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
Copy link

mbiesialska commented Jun 5, 2020

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
Copy link

SamuelLarkin commented Oct 19, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants