Run a syncdb then try satchmo_check.

satchmo_check includes a call to do a url lookup which will trigger
livesettings which requires and active db.


-Chris

On Sun, Apr 11, 2010 at 8:23 AM, Nick Terry <[email protected]> wrote:

> I meant by upgrade - a fresh install of satchmo.  I have an empty database
> and trying to install from scratch, so I'm running satchmo_check before ever
> running syncdb.
>
> -Nick
>
>
> Stuart Laughlin wrote:
>
>> That error is saying that your database is missing a relation.
>>
>> When an entire table is missing, a syncdb will create it. If a field
>> is missing or changed then you need to add it manually (or use
>> migrations via django south or similar). You can get the precise field
>> definition by dumping out the schema creation script for the app in
>> question via './manage.py sql livesettings'.
>>
>>
>> --Stuart
>>
>> On Sun, Apr 11, 2010 at 4:40 AM, Nick Terry <[email protected]> wrote:
>>
>>
>>> Hello All,
>>>
>>> I'm trying to upgrade to 0.9.1.  I downloaded the separate keyedcache and
>>> livesettings and installed them to my site-packages dir.  When I run
>>> python
>>> manage.py satchmo_check - I get the error that: relation
>>> livesettings_settings does not exist.  When I revert back to 0.9 I get no
>>> errors.  Any light on this would help greatly.  Thanks.
>>>
>>> -Nick
>>>
>>> Error below:
>>>
>>> Checking your satchmo configuration.
>>> Using Django version 1.2 pre-alpha
>>> Not trusting file /path/to/src/satchmo-trunk/.hg/hgrc from untrusted user
>>> root, group root
>>> Using Satchmo version 0.9.1-pre hg-unknown
>>> Traceback (most recent call last):
>>>  File "/path/to/python2.5/site-packages/livesettings/values.py", line
>>> 278,
>>> in _value
>>>  val = self.setting.value
>>>  File "/path/to/python2.5/site-packages/livesettings/values.py", line
>>> 260,
>>> in _setting
>>>  return find_setting(self.group.key, self.key)
>>>  File "/path/to/python2.5/site-packages/livesettings/models.py", line 49,
>>> in
>>> find_setting
>>>  setting = Setting.objects.get(site__id__exact=siteid, key__exact=key,
>>> group__exact=group)
>>>  File "/path/to/python2.5/site-packages/django/db/models/manager.py",
>>> line
>>> 120, in get
>>>  return self.get_query_set().get(*args, **kwargs)
>>>  File "/path/to/python2.5/site-packages/django/db/models/query.py", line
>>> 300, in get
>>>  num = len(clone)
>>>  File "/path/to/python2.5/site-packages/django/db/models/query.py", line
>>> 81,
>>> in __len__
>>>  self._result_cache = list(self.iterator())
>>>  File "/path/to/python2.5/site-packages/django/db/models/query.py", line
>>> 238, in iterator
>>>  for row in self.query.results_iter():
>>>  File "/path/to/python2.5/site-packages/django/db/models/sql/query.py",
>>> line
>>> 287, in results_iter
>>>  for rows in self.execute_sql(MULTI):
>>>  File "/path/to/python2.5/site-packages/django/db/models/sql/query.py",
>>> line
>>> 2369, in execute_sql
>>>  cursor.execute(sql, params)
>>>  File "/path/to/python2.5/site-packages/django/db/backends/util.py", line
>>> 19, in execute
>>>  return self.cursor.execute(sql, params)
>>> ProgrammingError: relation "livesettings_setting" does not exist
>>>
>>> The following errors were found:
>>> Unable to resolve url. Received error-
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Satchmo users" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<satchmo-users%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/satchmo-users?hl=en.
>>>
>>>
>>>
>>>
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Satchmo users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<satchmo-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/satchmo-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to