Error during installation: AttributeError: 'module' object has no attribute 'upsell'

25 views
Skip to first unread message

Ben

unread,
Aug 3, 2008, 8:09:49 AM8/3/08
to Satchmo users
I'd be grateful for any help with a problem I've encountered during
installing the latest trunk version of SVN.

When running step 8 of the instructions (python manage.py
satchmo_copy_urls) I see:

Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/home/focus/webapps/django/lib/python2.5/django/core/
management/__init__.py", line 301, in execute_manager
utility.execute()
File "/home/focus/webapps/django/lib/python2.5/django/core/
management/__init__.py", line 248, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/focus/webapps/django/lib/python2.5/django/core/
management/base.py", line 77, in run_from_argv
self.execute(*args, **options.__dict__)
File "/home/focus/webapps/django/lib/python2.5/django/core/
management/base.py", line 86, in execute
translation.activate('en-us')
File "/home/focus/webapps/django/lib/python2.5/django/utils/
translation/__init__.py", line 73, in activate
return real_activate(language)
File "/home/focus/webapps/django/lib/python2.5/django/utils/
translation/__init__.py", line 43, in delayed_loader
return g['real_%s' % caller](*args, **kwargs)
File "/home/focus/webapps/django/lib/python2.5/django/utils/
translation/trans_real.py", line 209, in activate
_active[currentThread()] = translation(language)
File "/home/focus/webapps/django/lib/python2.5/django/utils/
translation/trans_real.py", line 198, in translation
default_translation = _fetch(settings.LANGUAGE_CODE)
File "/home/focus/webapps/django/lib/python2.5/django/utils/
translation/trans_real.py", line 181, in _fetch
app = getattr(__import__(appname[:p], {}, {}, [appname[p+1:]]),
appname[p+1:])
AttributeError: 'module' object has no attribute 'upsell'

This same error occurs if I run python manage.py satchmo_check.
Everything else has run smoothly, including being able to import
satchmo and import django from within python.

Thanks in advance,

Ben

Chris Moffitt

unread,
Aug 3, 2008, 10:50:37 AM8/3/08
to satchm...@googlegroups.com
Do you have upsell added to your list of installed apps?

Ben

unread,
Aug 3, 2008, 11:18:08 AM8/3/08
to Satchmo users
Yup - satchmo.upsell appears in the INSTALLED_APPS section of my
settings.py. I tried commenting it out but produces the error
"TypeError: __init__() got an unexpected keyword argument
'filter_interface'"

Thanks for your assistance!


On Aug 3, 4:50 pm, "Chris Moffitt" <ch...@moffitts.net> wrote:
> Do you have upsell added to your list of installed apps?
>

Bruce Kroeze

unread,
Aug 3, 2008, 12:01:08 PM8/3/08
to satchm...@googlegroups.com
If you are getting that message, then you are using an svn version of Django with an older version of Satchmo.  Try upgrading to head on Satchmo.
--
Bruce Kroeze
http://solidsitesolutions.com
Dynamic Designs, Optimized

Ben

unread,
Aug 3, 2008, 2:23:04 PM8/3/08
to Satchmo users
Ta for the suggestion, but I'm afraid I'm already using the most
recent version of satchmo, checked out yesterday!

[focus@web47 satchmo-trunk]$ svn info
Path: .
URL: svn://satchmoproject.com/satchmo/trunk
Repository Root: svn://satchmoproject.com
Repository UUID: a38d40e9-c014-0410-b785-c606c0c8e7de
Revision: 1372
Node Kind: directory
Schedule: normal
Last Changed Author: chris
Last Changed Rev: 1372
Last Changed Date: 2008-08-02 18:53:19 -0500 (Sat, 02 Aug 2008)

Frank

unread,
Aug 4, 2008, 5:23:14 AM8/4/08
to Satchmo users
Same problem here, same satchmo, same django, same problem:

Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/django/core/management/
commands/runserver.py", line 47, in inner_run
self.validate(display_num_errors=True)
File "/usr/lib/python2.5/site-packages/django/core/management/
base.py", line 117, 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 "/home/bod/projects/project/apps/shop/models.py", line 14, in
<module>
from apps.contact.models import Contact, Order
File "/home/bod/projects/project/apps/contact/models.py", line 14,
in <module>
from apps.discount.models import Discount
File "/home/bod/projects/project/apps/discount/models.py", line 16,
in <module>
from apps.product.models import Product
File "/home/bod/projects/project/apps/product/models.py", line 317,
in <module>
class Product(models.Model):
File "/home/bod/projects/project/apps/product/models.py", line 331,
in Product
category = models.ManyToManyField(Category, filter_interface=True,
blank=True, verbose_name=_("Category"))
File "/usr/lib/python2.5/site-packages/django/db/models/fields/
related.py", line 751, in __init__
Field.__init__(self, **kwargs)

truth

unread,
Aug 28, 2008, 4:27:44 PM8/28/08
to Satchmo users
Has anyone figured this out? Im getting the same thing when using the
latest django with surftrackr. I have been told that surtfrackr wont
work with the latest django but I dont know if that is true.

Bruce Kroeze

unread,
Aug 29, 2008, 1:05:41 PM8/29/08
to satchm...@googlegroups.com
On Thu, Aug 28, 2008 at 1:27 PM, truth <rewt...@gmail.com> wrote:

Has anyone figured this out? Im getting the same thing when using the
latest django with surftrackr. I have been told that surtfrackr wont
work with the latest django but I dont know if that is true.

At the moment, I am using django rev 8556.

siddus74

unread,
Oct 2, 2008, 6:33:52 AM10/2/08
to Satchmo users
Truth, Did you have any joy on this issue? I too am up agianst this
now as well . . . I was considering installing the previous version of
Django? Have you tried doing this?


Rgd,

Siddus74 Nottingham UK
Reply all
Reply to author
Forward
0 new messages