11.07.2008
gambol
I spent less than half an hour downloaded and tested diamanda application tools. I mainly only tested myghtyboard forum. Here is the list of issues I met in the first quick round:
1. 'diamandas/' folder doesn't have a default '__init__.py' which causes module import problem. Maybe the author forget to included it to svn?
2. I met path problem other people mentioned too. So I have to edit a couple of files i.e. statsMiddleware.py to change path to specify 'diamandas' clearly.
from diamandas.stats.models import *
I think if the author likes to keep 'from stats...', then settings.py
"path.append('diamandas/')" is not very appropriate, since you use append() and other applications might use the same module names. I suggest to add 'diamandas' to all module import statements.
3. another design issue: I like the idea to have site_id attached to each table name. I suggest the author to consider the case that multiple sites can share a set of categories. I just have the idea, not think about it carefully.
4. One bug I met: I created a category and a forum, posted a topic, then created more categories/forums, re-order the forums. I found on the forum index page, it shows 1 topic, 1 post, but 'No topics in this forum' for the first forum. I am not sure what went wrong.
5. When I click "Browse news", it reports error as:
AssertionError at /w/n/
Cannot add count col with multiple cols in 'select': [('rk_content1', 'slug'), ('rk_content1', 'title'), ('rk_content1', 'date')]
Svn code: At revision 109.
My settings: Django dev server + sqlite3 DB on Python2.4
1. 'diamandas/' folder doesn't have a default '__init__.py' which causes module import problem. Maybe the author forget to included it to svn?
2. I met path problem other people mentioned too. So I have to edit a couple of files i.e. statsMiddleware.py to change path to specify 'diamandas' clearly.
from diamandas.stats.models import *
I think if the author likes to keep 'from stats...', then settings.py
"path.append('diamandas/')" is not very appropriate, since you use append() and other applications might use the same module names. I suggest to add 'diamandas' to all module import statements.
3. another design issue: I like the idea to have site_id attached to each table name. I suggest the author to consider the case that multiple sites can share a set of categories. I just have the idea, not think about it carefully.
4. One bug I met: I created a category and a forum, posted a topic, then created more categories/forums, re-order the forums. I found on the forum index page, it shows 1 topic, 1 post, but 'No topics in this forum' for the first forum. I am not sure what went wrong.
5. When I click "Browse news", it reports error as:
AssertionError at /w/n/
Cannot add count col with multiple cols in 'select': [('rk_content1', 'slug'), ('rk_content1', 'title'), ('rk_content1', 'date')]
Svn code: At revision 109.
My settings: Django dev server + sqlite3 DB on Python2.4
