Hi Karen, I am sorry if my messages seem confusing to you , it is to me too... I changes Django to 1.0 and i get the following errors related to core like you said should not happen
r...@portable:/usr/local/rapidsmsdev/rapidsms/rapidsms# python manage.py runserver 127.0.0.1:8000 Validating models... Unhandled exception in thread started by <function inner_run at 0x8480534> Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/django/core/management/ commands/runserver.py", line 48, in inner_run self.validate(display_num_errors=True) File "/usr/lib/python2.5/site-packages/django/core/management/ base.py", line 122, in validate num_errors = get_validation_errors(s, app) File "/usr/lib/python2.5/site-packages/django/core/management/ validation.py", line 28, in get_validation_errors for (app_name, error) in get_app_errors().items(): File "/usr/lib/python2.5/site-packages/django/db/models/loading.py", line 128, in get_app_errors self._populate() File "/usr/lib/python2.5/site-packages/django/db/models/loading.py", line 57, in _populate self.load_app(app_name, True) File "/usr/lib/python2.5/site-packages/django/db/models/loading.py", line 72, in load_app mod = __import__(app_name, {}, {}, ['models']) File "/usr/lib/python2.5/site-packages/rapidsms/balert/models.py", line 9, in <module> class Recipient(models.Model): File "/usr/lib/python2.5/site-packages/rapidsms/balert/models.py", line 11, in Recipient phone_number = models.CharField('phone number', maxlength=15, core=True) TypeError: __init__() got an unexpected keyword argument 'core' Does this mean that the svn version of the app is not compatible with Django-1.0 ....? and maybe i should try older versions of the app....? Regards Deepak On Mar 22, 10:32 pm, Karen Tracey <kmtra...@gmail.com> wrote: > 2009/3/22 dbbarua <dbba...@gmail.com> > > > > > Hi Karen, > > I am using the svn code for rapidsms and i have tried the > > official recommended version Django 1.0 and rapidsms from svn... > > If you were using the svn code for rapidsms then I do not understand how you > hit the previous error you reported. The svn code for rapidsms does not > have core=True anywhere in its models.py file. (For reference I am looking > here:http://svn.mepemepe.com/rapidsms/trunk/balert/models.py) So, did you > change the level of rapidsms you are using since your first problem? If not > then I'm very confused by what you have reported. > > > > > Yes i downgraded to 0.96.3 from 1.0 ...now it compiles fine but when > > i try to access the server gives me this output.. > > > Switch to copy-and-paste view > > Next time you post a traceback please do use this link to switch to the > copy-and-paste view and post that version. The non-copy-and-paste version > is nearly impossible to follow when pasted into an email. > > Do i have to upgrade to Django 1.0 again...? > > You need to be using compatible versions of the app and Django. If you are > using the svn version of rapidsms then I'd guess you need Django 1.0 to go > with it, since it looks to me like the app has been changed in svn at least > to run on Django 1.0, but the doc for that app should really be what > specifies what level of Django you need for it. > > Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---