Paddy,

Yes it was that obvious!

Now just getting

The-Black-Book:mystore phoebebr$ python manage.py satchmo_check
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/satchmo
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/satchmo
Checking your satchmo configuration.
Using Django version 1.0-final-SVN-unknown
Using Satchmo version 0.9-pre-SVN-unknown
The following errors were found:
You must have satchmo_store.shop.context_processors.settings in your
TEMPLATE_CONTEXT_PROCESSORS.
The-Black-Book:mystore phoebebr$

and mystore settings.py has

TEMPLATE_DIRS = (os.path.join(DIRNAME, "templates"))
TEMPLATE_CONTEXT_PROCESSORS =  (
 
'satchmo.shop.context_processors.settings',
 
'django.core.context_processors.auth',
 
'satchmo_ext.recentlist.context_processors.recent_products',
                                 )




However, decided to press on as the templates bit shouldn't bite me
yet.  Did syncdb successfully then got this error, although a
superficial look at the two l10n tables show them populated:

The-Black-Book:mystore phoebebr$ python manage.py satchmo_load_l10n
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/satchmo
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/satchmo
Installing xml fixture 'l10n_data' from '/Library/Frameworks/
Python.framework/Versions/2.5/lib/python2.5/site-packages/
Satchmo-0.9_pre-py2.5.egg/l10n/fixtures'.
Problem installing fixture '/Library/Frameworks/Python.framework/
Versions/2.5/lib/python2.5/site-packages/Satchmo-0.9_pre-py2.5.egg/
l10n/fixtures/l10n_data.xml': Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/core/management/commands/loaddata.py",
line 121, in handle
    obj.save()
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/core/serializers/base.py", line 163, in
save
    models.Model.save_base(self.object, raw=True)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/db/models/base.py", line 379, in
save_base
    result = manager._insert(values, return_id=update_pk)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/db/models/manager.py", line 138, in
_insert
    return insert_query(self.model, values, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/db/models/query.py", line 888, in
insert_query
    return query.execute_sql(return_id)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/db/models/sql/subqueries.py", line 308,
in execute_sql
    cursor = super(InsertQuery, self).execute_sql(None)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/db/models/sql/query.py", line 1700, in
execute_sql
    cursor.execute(sql, params)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/db/backends/util.py", line 19, in
execute
    return self.cursor.execute(sql, params)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/db/backends/mysql/base.py", line 83, in
execute
    return self.cursor.execute(query, args)
  File "build/bdist.macosx-10.3-i386/egg/MySQLdb/cursors.py", line
168, in execute
    if not self._defer_warnings: self._warning_check()
  File "build/bdist.macosx-10.3-i386/egg/MySQLdb/cursors.py", line 82,
in _warning_check
    warn(w[-1], self.Warning, 3)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/warnings.py", line 62, in warn
    globals)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/warnings.py", line 102, in warn_explicit
    raise message
Warning: Data truncated for column 'name' at row 1




Tried going to admin site and being hit by template error now:

Exception Value:

Error importing request processor module
satchmo.shop.context_processors: "No module named
satchmo.shop.context_processors"


On Jan 12, 10:58 am, Paddy Joy <[email protected]> wrote:
> Have you installed django-registration?
>
> easy_install django-registration
>
> If so check if you can import it:
>
> joytech:/var/django# python
> Python 2.5.2 (r252:60911, Nov 14 2008, 19:46:32)
> [GCC 4.3.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> import registration
>
> Paddy
>
> On Jan 12, 9:20 pm, phoebebright <[email protected]> wrote:
>
> > Thanks for pointing me in the right direction on that. All the clues
> > were there, just too tired to seem them!
>
> > Just falling at the last hurdle I think.  Running on OSX and
> > Have put this in settings.py as suggested in another post:
>
> > from distutils.sysconfig import get_python_lib
> > SATCHMO_DIRNAME = os.path.join(get_python_lib(),  'satchmo' )
> > print SATCHMO_DIRNAME
>
> > get
>
> > The-Black-Book:mystore phoebebr$ python manage.py satchmo_check
> > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
> > packages/satchmo
> > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
> > packages/satchmo
> > Error: No module named registration
> > The-Black-Book:mystore phoebebr$
>
> > I'm sure this is just a path problem, but not sure what to try next.
>
>

On Jan 12, 10:58 am, Paddy Joy <[email protected]> wrote:
> Have you installed django-registration?
>
> easy_install django-registration
>
> If so check if you can import it:
>
> joytech:/var/django# python
> Python 2.5.2 (r252:60911, Nov 14 2008, 19:46:32)
> [GCC 4.3.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> import registration
>
> Paddy
>
> On Jan 12, 9:20 pm, phoebebright <[email protected]> wrote:
>
> > Thanks for pointing me in the right direction on that. All the clues
> > were there, just too tired to seem them!
>
> > Just falling at the last hurdle I think.  Running on OSX and
> > Have put this in settings.py as suggested in another post:
>
> > from distutils.sysconfig import get_python_lib
> > SATCHMO_DIRNAME = os.path.join(get_python_lib(),  'satchmo' )
> > print SATCHMO_DIRNAME
>
> > get
>
> > The-Black-Book:mystore phoebebr$ python manage.py satchmo_check
> > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
> > packages/satchmo
> > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
> > packages/satchmo
> > Error: No module named registration
> > The-Black-Book:mystore phoebebr$
>
> > I'm sure this is just a path problem, but not sure what to try next.
>
>
--~--~---------~--~----~------------~-------~--~----~
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