Full test pass on Ubuntu Hardy Heron, with python 2.5, and sqlite3.  I
also did some general testing of uploading files, which were
succesful, and I was able to observe large uploads going to my /tmp
dir.

On Jun 27, 4:41 am, David Reynolds <[EMAIL PROTECTED]>
wrote:
> Jacob,
>
> Hopefully this will be of some use..
>
> On 26 Jun 2008, at 8:14 pm, Jacob Kaplan-Moss wrote:
>
> > * Running the test suite -- coverage is quite good now, but I've only
> > been able to test on a limited set of OSes/DBs. Looks elsewhere just
> > in case, very good.
>
> I've just checked the branch and ran the test suite on the following  
> setup:
>
> - Debian Lenny
> - Python 2.5.2
> - MySQLdb 1.2.2 final
> - python-sqlite 2.3.2
> - sqlite 3.5.9
> - MySQL 5.0.51a
>
> Running with sqlite backend all tests went through fine.
>
> Running with mysql backend created a few errors (I'm not sure if  
> they're related so I've attached them in full, hope that's ok):
>
> /var/www/django/git/django/tests/regressiontests/templates/loaders.py:
> 14: UserWarning: Module _mysql was already imported from /var/lib/
> python-support/python2.5/_mysql.so, but /var/lib/python-support/
> python2.5 is being added to sys.path
>    import pkg_resources
> /var/www/django/git/django/django/db/models/sql/query.py:1502:  
> Warning: Incorrect string value: '\xE6\x9E\x97\xE5\x8E\x9F...' for  
> column 'headline' at row 1
>    cursor.execute(sql, params)
> ======================================================================
> FAIL: Doctest: modeltests.basic.models.__test__.API_TESTS
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>    File "/var/www/django/git/django/django/test/_doctest.py", line  
> 2180, in runTest
>      raise self.failureException(self.format_failure(new.getvalue()))
> AssertionError: Failed doctest test for  
> modeltests.basic.models.__test__.API_TESTS
>    File "/var/www/django/git/django/tests/modeltests/basic/
> models.py", line unknown line number, in API_TESTS
>
> ----------------------------------------------------------------------
> File "/var/www/django/git/django/tests/modeltests/basic/models.py",  
> line ?, in modeltests.basic.models.__test__.API_TESTS
> Failed example:
>      Article.objects.get(pk=a.id).headline
> Expected:
>      u'\u6797\u539f \u3081\u3050\u307f'
> Got:
>      u'?? ???'
>
> ======================================================================
> FAIL: Doctest: modeltests.custom_pk.models.__test__.API_TESTS
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>    File "/var/www/django/git/django/django/test/_doctest.py", line  
> 2180, in runTest
>      raise self.failureException(self.format_failure(new.getvalue()))
> AssertionError: Failed doctest test for  
> modeltests.custom_pk.models.__test__.API_TESTS
>    File "/var/www/django/git/django/tests/modeltests/custom_pk/
> models.py", line unknown line number, in API_TESTS
>
> ----------------------------------------------------------------------
> File "/var/www/django/git/django/tests/modeltests/custom_pk/
> models.py", line ?, in modeltests.custom_pk.models.__test__.API_TESTS
> Failed example:
>      emp.save()
> Exception raised:
>      Traceback (most recent call last):
>        File "/var/www/django/git/django/django/test/_doctest.py",  
> line 1267, in __run
>          compileflags, 1) in test.globs
>        File "<doctest modeltests.custom_pk.models.__test__.API_TESTS
> [34]>", line 1, in <module>
>          emp.save()
>        File "/var/www/django/git/django/django/db/models/base.py",  
> line 274, in save
>          self.save_base()
>        File "/var/www/django/git/django/django/db/models/base.py",  
> line 315, in save_base
>          if manager.filter(pk=pk_val).extra(select={'a': 1}).values
> ('a').order_by():
>        File "/var/www/django/git/django/django/db/models/query.py",  
> line 170, in __nonzero__
>          iter(self).next()
>        File "/var/www/django/git/django/django/db/models/query.py",  
> line 164, in _result_iter
>          self._fill_cache()
>        File "/var/www/django/git/django/django/db/models/query.py",  
> line 586, in _fill_cache
>          self._result_cache.append(self._iter.next())
>        File "/var/www/django/git/django/django/db/models/query.py",  
> line 612, in iterator
>          for row in self.query.results_iter():
>        File "/var/www/django/git/django/django/db/models/sql/
> query.py", line 200, in results_iter
>          for rows in self.execute_sql(MULTI):
>        File "/var/www/django/git/django/django/db/models/sql/
> query.py", line 1502, in execute_sql
>          cursor.execute(sql, params)
>        File "/var/lib/python-support/python2.5/MySQLdb/cursors.py",  
> line 166, in execute
>          self.errorhandler(self, exc, value)
>        File "/var/lib/python-support/python2.5/MySQLdb/
> connections.py", line 35, in defaulterrorhandler
>          raise errorclass, errorvalue
>      OperationalError: (1267, "Illegal mix of collations  
> (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for  
> operation '='")
>
> ======================================================================
> FAIL: Doctest: modeltests.serializers.models.__test__.API_TESTS
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>    File "/var/www/django/git/django/django/test/_doctest.py", line  
> 2180, in runTest
>      raise self.failureException(self.format_failure(new.getvalue()))
> AssertionError: Failed doctest test for  
> modeltests.serializers.models.__test__.API_TESTS
>    File "/var/www/django/git/django/tests/modeltests/serializers/
> models.py", line unknown line number, in API_TESTS
>
> ----------------------------------------------------------------------
> File "/var/www/django/git/django/tests/modeltests/serializers/
> models.py", line ?, in modeltests.serializers.models.__test__.API_TESTS
> Failed example:
>      ac.save(); mv.save()
> Exception raised:
>      Traceback (most recent call last):
>        File "/var/www/django/git/django/django/test/_doctest.py",  
> line 1267, in __run
>          compileflags, 1) in test.globs
>        File "<doctest modeltests.serializers.models.__test__.API_TESTS
> [52]>", line 1, in <module>
>          ac.save(); mv.save()
>        File "/var/www/django/git/django/django/db/models/base.py",  
> line 274, in save
>          self.save_base()
>        File "/var/www/django/git/django/django/db/models/base.py",  
> line 315, in save_base
>          if manager.filter(pk=pk_val).extra(select={'a': 1}).values
> ('a').order_by():
>        File "/var/www/django/git/django/django/db/models/query.py",  
> line 170, in __nonzero__
>          iter(self).next()
>        File "/var/www/django/git/django/django/db/models/query.py",  
> line 164, in _result_iter
>          self._fill_cache()
>        File "/var/www/django/git/django/django/db/models/query.py",  
> line 586, in _fill_cache
>          self._result_cache.append(self._iter.next())
>        File "/var/www/django/git/django/django/db/models/query.py",  
> line 612, in iterator
>          for row in self.query.results_iter():
>        File "/var/www/django/git/django/django/db/models/sql/
> query.py", line 200, in results_iter
>          for rows in self.execute_sql(MULTI):
>        File "/var/www/django/git/django/django/db/models/sql/
> query.py", line 1502, in execute_sql
>          cursor.execute(sql, params)
>        File "/var/lib/python-support/python2.5/MySQLdb/cursors.py",  
> line 166, in execute
>          self.errorhandler(self, exc, value)
>        File "/var/lib/python-support/python2.5/MySQLdb/
> connections.py", line 35, in defaulterrorhandler
>          raise errorclass, errorvalue
>      OperationalError: (1267, "Illegal mix of collations  
> (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for  
> operation '='")
> ----------------------------------------------------------------------
> File "/var/www/django/git/django/tests/modeltests/serializers/
> models.py", line ?, in modeltests.serializers.models.__test__.API_TESTS
> Failed example:
>      print serializers.serialize("json", [mv])
> Exception raised:
>      Traceback (most recent call last):
>        File "/var/www/django/git/django/django/test/_doctest.py",  
> line 1267, in __run
>          compileflags, 1) in test.globs
>        File "<doctest modeltests.serializers.models.__test__.API_TESTS
> [53]>", line 1, in <module>
>          print serializers.serialize("json", [mv])
>        File "/var/www/django/git/django/django/core/serializers/
> __init__.py", line 72, in serialize
>          s.serialize(queryset, **options)
>        File "/var/www/django/git/django/django/core/serializers/
> base.py", line 48, in serialize
>          self.handle_fk_field(obj, field)
>        File "/var/www/django/git/django/django/core/serializers/
> python.py", line 41, in handle_fk_field
>          related = getattr(obj, field.name)
>        File "/var/www/django/git/django/django/db/models/fields/
> related.py", line 239, in __get__
>          rel_obj = self.field.rel.to._default_manager.get(**params)
>        File "/var/www/django/git/django/django/db/models/manager.py",  
> line 82, in get
>          return self.get_query_set().get(*args, **kwargs)
>        File "/var/www/django/git/django/django/db/models/query.py",  
> line 282, in get
>          num = len(clone)
>        File "/var/www/django/git/django/django/db/models/query.py",  
> line 139, in __len__
>          self._result_cache = list(self.iterator())
>        File "/var/www/django/git/django/django/db/models/query.py",  
> line 252, in iterator
>          for row in self.query.results_iter():
>        File "/var/www/django/git/django/django/db/models/sql/
> query.py", line 200, in results_iter
>          for rows in self.execute_sql(MULTI):
>        File "/var/www/django/git/django/django/db/models/sql/
> query.py", line 1502, in execute_sql
>          cursor.execute(sql, params)
>        File "/var/lib/python-support/python2.5/MySQLdb/cursors.py",  
> line 166, in execute
>          self.errorhandler(self, exc, value)
>        File "/var/lib/python-support/python2.5/MySQLdb/
> connections.py", line 35, in defaulterrorhandler
>          raise errorclass, errorvalue
>      OperationalError: (1267, "Illegal mix of collations  
> (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for  
> operation '='")
> ----------------------------------------------------------------------
> File "/var/www/django/git/django/tests/modeltests/serializers/
> models.py", line ?,...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to