Outdated code

6 views
Skip to first unread message

antonio roa

unread,
Aug 31, 2014, 8:11:21 AM8/31/14
to djubb...@googlegroups.com
Hi,

I just installed djubby using pip install djubby. I found out that there are some inconsistencies that need to be fixed in order to make it work:

1. resource.tpl is missing. In order to fix this, download it from [1]. Find the folder where pip installed djubby and create a new folder called "tpl". Then copy the resource.tpl file within the tpl folder. Go to the resource.py file and modify the line 159 to look like this one (I just modified the path): path = "%s/tpl/%s.tpl" % (os.path.dirname(__file__), name)

2. Problems with the line from rdflib.Graph import ConjunctiveGraph. In order to fix that you need to edit file configuration.py. Replace the previous line by this one: from rdflib import ConjunctiveGraph

With these little changes djubby will be working again. I just tested it with django 2.7.

Cheers,
Antonio

antonio roa

unread,
Aug 31, 2014, 8:12:50 AM8/31/14
to djubb...@googlegroups.com
BTW, it would be great if the author could upload those changes and make them work with pip install by default ;)

Cheers,
Antonio

Sergio Fernández

unread,
Sep 1, 2014, 7:09:10 AM9/1/14
to djubb...@googlegroups.com
Please, send a pull request to https://github.com/wikier/djubby
Reply all
Reply to author
Forward
0 new messages