I checked the version of both the software. it's correct. I tried to reinstall everything on a virtual machine (VirtualBox) with Ubuntu 10.10 but the problem remains. Any other ideas?
On 20 Gen, 15:10, Chris Moffitt <[email protected]> wrote: > Which version of Django registration and Sorl thumbnails did you install? I > suspect that's the issue. > > For django-registration, use 0.7 and for sorl thumbnail use 3.2.5 > > -Chris > > > > > > > > On Thu, Jan 20, 2011 at 7:08 AM, Marco Lerco <[email protected]> wrote: > > Sorry for my bad English. I'm Italian :-) > > > I'm starting to study Satchmo. > > I followed all the installation process (http://www.satchmoproject.com/ > > docs/dev/new_installation.html<http://www.satchmoproject.com/%0Adocs/dev/new_installation.html>), > > after which > > I followed the command: > > > python manage.py satchmo_check > > > Result? This: > > > Checking your satchmo configuration. > > Your configuration has no errors. > > > No problem it seems ... But no! Because after that I > > have created a test project with "clonesatchmo.py"and I tried to > > test with the command: > > > python manage.py test > > > And here's the problem: > > > ........................................................................... > > ..EF....................................................................... > > ........................................................................... > > ......................F..F.F....... > > ====================================================================== > > ERROR: test_activation_view > > (registration.tests.RegistrationViewTests) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/usr/local/lib/python2.6/dist-packages/ > > django_registration-0.7- > > py2.6.egg/registration/tests.py", line 301, in test_activation_view > > kwargs={ 'activation_key': > > RegistrationProfile.objects.get(user=self.sample_user).activation_key })) > > File "/usr/local/lib/python2.6/dist-packages/django/test/ > > client.py", > > line 298, in get > > response = self.request(**r) > > File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/ > > base.py", line 100, in get_response > > response = callback(request, *callback_args, **callback_kwargs) > > File "/usr/local/lib/python2.6/dist-packages/Satchmo-0.9.2- > > py2.6.egg/ > > satchmo_store/accounts/views.py", line 237, in activate > > contact = Contact.objects.get(user=account) > > File "/usr/local/lib/python2.6/dist-packages/django/db/models/ > > manager.py", line 132, in get > > return self.get_query_set().get(*args, **kwargs) > > File "/usr/local/lib/python2.6/dist-packages/django/db/models/ > > query.py", line 341, in get > > % self.model._meta.object_name) > > DoesNotExist: Contact matching query does not exist. > > ====================================================================== > > FAIL: test_registration_view > > (registration.tests.RegistrationViewTests) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/usr/local/lib/python2.6/dist-packages/ > > django_registration-0.7- > > py2.6.egg/registration/tests.py", line 289, in test_registration_view > > self.assertEqual(response.status_code, 302) > > AssertionError: 200 != 302 > > ====================================================================== > > FAIL: test_extension (sorl.thumbnail.tests.fields.FieldTest) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/usr/local/lib/python2.6/dist-packages/sorl/thumbnail/tests/ > > fields.py", line 66, in test_extension > > self.verify_thumbnail((50, 37), thumb, expected_filename) > > File "/usr/local/lib/python2.6/dist-packages/sorl/thumbnail/tests/ > > base.py", line 92, in verify_thumbnail > > self.assertEqual(image.size, expected_size) > > AssertionError: (50, 38) != (50, 37) > > ====================================================================== > > FAIL: test_thumbnail > > (sorl.thumbnail.tests.fields.ImageWithThumbnailsFieldTest) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/usr/local/lib/python2.6/dist-packages/sorl/thumbnail/tests/ > > fields.py", line 111, in test_thumbnail > > self.verify_thumbnail((50, 37), thumb, expected_filename) > > File "/usr/local/lib/python2.6/dist-packages/sorl/thumbnail/tests/ > > base.py", line 92, in verify_thumbnail > > self.assertEqual(image.size, expected_size) > > AssertionError: (50, 38) != (50, 37) > > ====================================================================== > > FAIL: testTag (sorl.thumbnail.tests.templatetags.ThumbnailTagTest) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/usr/local/lib/python2.6/dist-packages/sorl/thumbnail/tests/ > > templatetags.py", line 118, in testTag > > self.verify_thumbnail((90, 67), expected_filename=expected_fn) > > File "/usr/local/lib/python2.6/dist-packages/sorl/thumbnail/tests/ > > base.py", line 92, in verify_thumbnail > > self.assertEqual(image.size, expected_size) > > AssertionError: (90, 68) != (90, 67) > > ---------------------------------------------------------------------- > > Ran 260 tests in 194.127s > > FAILED (failures=4, errors=1) > > Destroying test database 'default'... > > > In your opinion, what is the problem? Could you help me? > > > -- > > 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%2Bunsubscribe@goog > > legroups.com> > > . > > 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.
