Open GoogleCodeExporter opened 9 years ago
Ps : i m using SCT 0.6
Original comment by awa...@gmail.com
on 19 Aug 2010 at 10:08
well .. i've just tried to reinstall a mysql instance from scratch and i have
the same pb.. so i m gonna clean it up and reinstall sct completely
Original comment by awa...@gmail.com
on 20 Aug 2010 at 1:05
i don't get it. Because the pb did not occur at the beginning, i now
uninstalled every component i've installed in the meantime : every package
needed for geodjango, plus postgresql. Nothing changed.
Original comment by awa...@gmail.com
on 20 Aug 2010 at 5:44
weird, the 'example' group is created during the initial 'syncdb' .. it
shouldn't put it twice into the table.. but i have seen that problem before,
although i'm not sure how it was fixed.. the easiest way to solve this is to
delete one of the 'example' groups in the community_group table by hand..
it would also be nice if you could try out SCT from the subversion trunk, if
you encounter the same problem there
thanks!
Original comment by herbert....@gmail.com
on 20 Aug 2010 at 6:32
Hi and thanks a lot for the reply! it seems it helped in a way
Well. I had already tried to delete one of the record by hand before, did not
helped.
But i modifyed the code like this to avoid writing 2 times the line and it
works now ! Now i can start the server properly
in the file sphene/community/management/__init__.py line 7
def init_data(app, created_models, verbosity, **kwargs):
6 from sphene.community.models import Group, Navigation, CommunityUserProfileField
7 if (Group in created_models) and not (Group.objects.filter( name = 'example' ) ):
Original comment by awa...@gmail.com
on 20 Aug 2010 at 7:18
Original issue reported on code.google.com by
awa...@gmail.com
on 19 Aug 2010 at 10:06