Re: Unicode-branch: testers wanted

2007-06-13 Thread ZebZiggle
Super ... thanks Malcolm! I'll start later today. -Sandy PS> Congratulations ... looks like a great addition. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send emai

Re: Unicode-branch: testers wanted

2007-06-13 Thread Malcolm Tredinnick
On Wed, 2007-06-13 at 23:05 +1000, Malcolm Tredinnick wrote: > On Wed, 2007-06-13 at 05:50 -0700, ZebZiggle wrote: [...] > > > > 3. I've read http://code.djangoproject.com/wiki/UnicodeBranch but are > > there any more docs/examples of the conversion process available. > > Read the UnicodeBranch

Re: Unicode-branch: testers wanted

2007-06-13 Thread Malcolm Tredinnick
On Wed, 2007-06-13 at 05:50 -0700, ZebZiggle wrote: > Hi, I'm really stuck on a bug (decode exceptions on attempting to save > utf-8 to postgres text fields) and suspect I'm going to need the > unicode branch to solve it. But I have some questions: > > 1. When is it likely that this branch will b

Re: Unicode-branch: testers wanted

2007-06-13 Thread ZebZiggle
Hi, I'm really stuck on a bug (decode exceptions on attempting to save utf-8 to postgres text fields) and suspect I'm going to need the unicode branch to solve it. But I have some questions: 1. When is it likely that this branch will be merged with trunk? 2. How would you rank the stability of t

Re: Unicode-branch: testers wanted

2007-06-02 Thread Malcolm Tredinnick
On Sun, 2007-06-03 at 13:39 +1000, Malcolm Tredinnick wrote: > Hi Eugene, > > On Sat, 2007-06-02 at 21:46 +, Eugene Morozov wrote: [...] > > I've checked out unicode branch today and immediately found two bugs. > > This code doesn't work: > > def __unicode__(self): > > langs = dic

Re: Unicode-branch: testers wanted

2007-06-02 Thread Malcolm Tredinnick
Hi Eugene, On Sat, 2007-06-02 at 21:46 +, Eugene Morozov wrote: > > > On 24, 17:06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > Hi folks, > > > > The unicode branch, [1], is now at a point where it is essentially > > feature-complete and could do with a bit of heavy testing from t

Re: Unicode-branch: testers wanted

2007-06-02 Thread Eugene Morozov
On 24, 17:06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Hi folks, > > The unicode branch, [1], is now at a point where it is essentially > feature-complete and could do with a bit of heavy testing from the wider > community. > > So if you have some applications that work against Django

Re: Unicode-branch: testers wanted

2007-05-30 Thread Michael Radziej
Hi Malcolm! On Sat, May 26, Malcolm Tredinnick wrote: > On Fri, 2007-05-25 at 17:17 +0200, Michael Radziej wrote: > > First, I found that I have a problem with commit 5255 together with the test > > client. It breaks loading the modules, probably due to recursive imports. > > > > - management ac

Re: Unicode-branch: testers wanted

2007-05-30 Thread Jason Davies
On May 24, 2:06 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > The unicode branch, [1], is now at a point where it is essentially > feature-complete and could do with a bit of heavy testing from the wider > community. > > So if you have some applications that work against Django's current >

Re: Unicode-branch: testers wanted

2007-05-30 Thread Almad
On May 30, 3:09 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Everything is ready (you can see all the pieces that were ported over in > the "TODO" list on the UnicdeBranch wiki page). Syndication has > definitely been tested with non-ASCII content, so it should also work. > Any failures a

Re: Unicode-branch: testers wanted

2007-05-29 Thread Malcolm Tredinnick
On Tue, 2007-05-29 at 08:38 -0700, Almad wrote: > Hi, > > I'm trying to migrate to unicode branch, but Syndication framework > won't work for me (usual UnicodeDecodeError). I made sure that all > strings are u'' ones. > > Is this middleware ready for unicode? Everything is ready (you can see al

Re: Unicode-branch: testers wanted

2007-05-29 Thread Almad
Hi, I'm trying to migrate to unicode branch, but Syndication framework won't work for me (usual UnicodeDecodeError). I made sure that all strings are u'' ones. Is this middleware ready for unicode? Thank You, Almad --~--~-~--~~~---~--~~ You received this messa

Re: Unicode-branch: testers wanted

2007-05-29 Thread Malcolm Tredinnick
On Mon, 2007-05-28 at 22:02 +1000, Malcolm Tredinnick wrote: > On Mon, 2007-05-28 at 13:55 +0200, Michal wrote: > [...] > > > > You are right, the problem is in the database. > > > > It seems like the test database is created in SQL_ASCII encoding. I > > looked into psql terminal and found: > >

Re: Unicode-branch: testers wanted

2007-05-29 Thread Michal
Malcolm Tredinnick wrote: > There are now TEST_DATABASE_CHARSET and TEST_DATABASE_COLLATION (the > latter for MySQL only) settings. These are [5380] for trunk and [5381] > in the unicode branch. > > I've tested it in as far as seeing that the test databases are created > with the right encodings

Re: Unicode-branch: testers wanted

2007-05-29 Thread itsnotvalid
Oh man... look like we are not going to file any tickets to code.djangoproject.com... I should feel sorry for that because I was one of them ;-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Unicode-branch: testers wanted

2007-05-29 Thread Marc Fargas
El mar, 29-05-2007 a las 20:22 +1000, Malcolm Tredinnick escribió: > Fixed in [5378]. Thanks, it works perfectly now! ;) > It's actually a good bug to find; we were violating the WSGI spec, so it > actually was an error in our wsgi handler. Fortunately, the dev server > is very aggressive about

Re: Unicode-branch: testers wanted

2007-05-29 Thread Malcolm Tredinnick
On Tue, 2007-05-29 at 20:03 +1000, Malcolm Tredinnick wrote: [...] > > If anybody doesn't believe software development is hard, this is a > beautiful example. I fixed a very similar problem for modpython last > night. At the same time I looked for analogous problems in the other > handlers and di

Re: Unicode-branch: testers wanted

2007-05-29 Thread Marc Fargas
El mar, 29-05-2007 a las 20:03 +1000, Malcolm Tredinnick escribió: > There are no bugs on the unicode branch; so it's clearly your fault. :-) Ahh! I knew I knew... :) > However, just this once, we can adjust the code so that this doesn't > happen. Oh, thanks!!! :) > If anybody doesn't believe so

Re: Unicode-branch: testers wanted

2007-05-29 Thread Malcolm Tredinnick
On Tue, 2007-05-29 at 11:58 +0200, Marc Fargas wrote: > Hi there, > When using i18n I'm getting a nice stacktrace for every request, this > only happens once you set the language for a client and the exception > raises due to Content-Language being a Unicode string for some reason. > > Backtrace:

Re: Unicode-branch: testers wanted

2007-05-29 Thread Marc Fargas
Hi there, When using i18n I'm getting a nice stacktrace for every request, this only happens once you set the language for a client and the exception raises due to Content-Language being a Unicode string for some reason. Backtrace: Traceback (most recent call last): File

Re: Unicode-branch: testers wanted

2007-05-29 Thread Malcolm Tredinnick
On Tue, 2007-05-29 at 09:27 +0200, Sandro Dentella wrote: > > > Do we need such a settings or we really need to *copy* database encoding > > > so > > > that tests are done exactly as the application database. (if it's possible > > > to use other than utf8...). > > > > That assumes there is an ap

Re: Unicode-branch: testers wanted

2007-05-29 Thread Sandro Dentella
> > Do we need such a settings or we really need to *copy* database encoding so > > that tests are done exactly as the application database. (if it's possible > > to use other than utf8...). > > That assumes there is an application database to copy and/or that is > configured sensibly. It's a bit

Re: Unicode-branch: testers wanted

2007-05-28 Thread Malcolm Tredinnick
On Tue, 2007-05-29 at 00:30 +0200, Sandro Dentella wrote: > On Mon, May 28, 2007 at 04:26:17PM -0500, Jeremy Dunck wrote: > > > > On 5/28/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > Okay... time to fix that problem then. Probably need to introduce a > > > settings for tests only for d

Re: Unicode-branch: testers wanted

2007-05-28 Thread Malcolm Tredinnick
On Mon, 2007-05-28 at 16:26 -0500, Jeremy Dunck wrote: > On 5/28/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > Okay... time to fix that problem then. Probably need to introduce a > > settings for tests only for database encoding. I should have done that > > when I first saw the problem ins

Re: Unicode-branch: testers wanted

2007-05-28 Thread Sandro Dentella
On Mon, May 28, 2007 at 04:26:17PM -0500, Jeremy Dunck wrote: > > On 5/28/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > Okay... time to fix that problem then. Probably need to introduce a > > settings for tests only for database encoding. I should have done that > > when I first saw the p

Re: Unicode-branch: testers wanted

2007-05-28 Thread Jeremy Dunck
On 5/28/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Okay... time to fix that problem then. Probably need to introduce a > settings for tests only for database encoding. I should have done that > when I first saw the problem instead of trying to dodge around it. FWIW, as a workaround, in M

Re: Unicode-branch: testers wanted

2007-05-28 Thread Michal
>> Aaah! :-( >> >> I've been fighting this problem a bit when testing with MySQL, too, >> because my system creates the databases in LATIN1 if I don't tell it >> anything special and so the test database can't hold the full unicode >> range of characters. It creates PostgreSQL database in UTF-8 on

Re: Unicode-branch: testers wanted

2007-05-28 Thread itsnotvalid
Thanks for fixing that. I also find using the smart_str() really handy, for cases where stuff getting out of python. Regards, itsnotvalid --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To p

Re: Unicode-branch: testers wanted

2007-05-28 Thread Andreas Ahlenstorf
Am 28.05.2007 um 15:51 schrieb Malcolm Tredinnick: > I can't replicate this problem, but I can take a guess at what is > going > on. In [5377] I've checked in what is probably a fix for the problem. > Could you try it and see if it changes things for you? Looks good so far. I'll report if the

Re: Unicode-branch: testers wanted

2007-05-28 Thread Malcolm Tredinnick
On Mon, 2007-05-28 at 11:27 +0200, Andreas Ahlenstorf wrote: > Hi, > > I'm having issues with the Unicode Branch and mod_python (the > development server ist working fine). That's what's comming from > mod_python: > > Phase: 'PythonHandler' > Handler:'django.core.handlers.mo

Re: Unicode-branch: testers wanted

2007-05-28 Thread Michal
Malcolm Tredinnick wrote: > On Mon, 2007-05-28 at 13:55 +0200, Michal wrote: > [...] >> You are right, the problem is in the database. >> >> It seems like the test database is created in SQL_ASCII encoding. I >> looked into psql terminal and found: >> >> List of databases >>N

Re: Unicode-branch: testers wanted

2007-05-28 Thread Malcolm Tredinnick
On Mon, 2007-05-28 at 13:55 +0200, Michal wrote: [...] > > You are right, the problem is in the database. > > It seems like the test database is created in SQL_ASCII encoding. I > looked into psql terminal and found: > > List of databases >Name | Owner| Encodin

Re: Unicode-branch: testers wanted

2007-05-28 Thread Malcolm Tredinnick
On Sun, 2007-05-27 at 13:34 -0700, itsnotvalid wrote: > I got an error when I am using admin interface to submit some forms as > following the Django book (CH6). > > When the form in admin interface saving. [... snip...] > > UnicodeDecodeError at /admin/books/author/add/ > 'ascii' codec can'

Re: Unicode-branch: testers wanted

2007-05-28 Thread Michal
Malcolm Tredinnick wrote: > On Mon, 2007-05-28 at 13:16 +0200, Michal wrote: >> Malcolm Tredinnick wrote: >>> On Mon, 2007-05-28 at 12:59 +0200, Michal wrote: >>> [...] My note was in relation with latest error (ie. I have problem with execution of tests due to verbose_name error).

Re: Unicode-branch: testers wanted

2007-05-28 Thread Malcolm Tredinnick
On Mon, 2007-05-28 at 13:16 +0200, Michal wrote: > Malcolm Tredinnick wrote: > > On Mon, 2007-05-28 at 12:59 +0200, Michal wrote: > > [...] > >> My note was in relation with latest error (ie. I have problem with > >> execution of tests due to verbose_name error). > >> > >> I am just after dinner

Re: Unicode-branch: testers wanted

2007-05-28 Thread Michal
Malcolm Tredinnick wrote: > On Mon, 2007-05-28 at 12:59 +0200, Michal wrote: > [...] >> My note was in relation with latest error (ie. I have problem with >> execution of tests due to verbose_name error). >> >> I am just after dinner too, so I will try to find what is wrong in my >> application.

Re: Unicode-branch: testers wanted

2007-05-28 Thread Malcolm Tredinnick
On Mon, 2007-05-28 at 12:59 +0200, Michal wrote: [...] > > My note was in relation with latest error (ie. I have problem with > execution of tests due to verbose_name error). > > I am just after dinner too, so I will try to find what is wrong in my > application... :) > > > Once again, sorry

Re: Unicode-branch: testers wanted

2007-05-28 Thread Michal
Malcolm Tredinnick wrote: > On Mon, 2007-05-28 at 11:27 +0200, Michal wrote: >> Malcolm Tredinnick wrote: >>> On Mon, 2007-05-28 at 02:09 -0700, itsnotvalid wrote: Michal, your error looks nearly identical to the one I encounter with admin interface. Except the byte offending is not the

Re: Unicode-branch: testers wanted

2007-05-28 Thread Malcolm Tredinnick
On Mon, 2007-05-28 at 11:27 +0200, Andreas Ahlenstorf wrote: > Hi, > > I'm having issues with the Unicode Branch and mod_python (the > development server ist working fine). That's what's comming from > mod_python: > > Phase: 'PythonHandler' > Handler:'django.core.handlers.mo

Re: Unicode-branch: testers wanted

2007-05-28 Thread Malcolm Tredinnick
On Mon, 2007-05-28 at 11:27 +0200, Michal wrote: > Malcolm Tredinnick wrote: > > On Mon, 2007-05-28 at 02:09 -0700, itsnotvalid wrote: > >> Michal, your error looks nearly identical to the one I encounter with > >> admin interface. Except the byte offending is not the same. > >> > >> I guess there

Re: Unicode-branch: testers wanted

2007-05-28 Thread Michal
Malcolm Tredinnick wrote: > On Mon, 2007-05-28 at 02:09 -0700, itsnotvalid wrote: >> Michal, your error looks nearly identical to the one I encounter with >> admin interface. Except the byte offending is not the same. >> >> I guess there is something between the model class and database >> adapter

Re: Unicode-branch: testers wanted

2007-05-28 Thread Andreas Ahlenstorf
Hi, I'm having issues with the Unicode Branch and mod_python (the development server ist working fine). That's what's comming from mod_python: Phase: 'PythonHandler' Handler:'django.core.handlers.modpython' Traceback (most recent call last): File "/usr/lib/python2.4/sit

Re: Unicode-branch: testers wanted

2007-05-28 Thread Malcolm Tredinnick
On Mon, 2007-05-28 at 02:09 -0700, itsnotvalid wrote: > Michal, your error looks nearly identical to the one I encounter with > admin interface. Except the byte offending is not the same. > > I guess there is something between the model class and database > adapters which adds those strange bytes

Re: Unicode-branch: testers wanted

2007-05-28 Thread itsnotvalid
Michal, your error looks nearly identical to the one I encounter with admin interface. Except the byte offending is not the same. I guess there is something between the model class and database adapters which adds those strange bytes. --~--~-~--~~~---~--~~ You re

Re: Unicode-branch: testers wanted

2007-05-28 Thread Michal
Hello Malcolm, I try to make tests on my application, but after update of unicode branch (now I am synced to revision 5371), I am unable to do it due to some errors: [EMAIL PROTECTED] app $./manage.py test staticpages Creating test database... Creating table auth_message Creating table auth_gro

Re: Unicode-branch: testers wanted

2007-05-27 Thread Malcolm Tredinnick
On Sun, 2007-05-27 at 13:34 -0700, itsnotvalid wrote: > I got an error when I am using admin interface to submit some forms as > following the Django book (CH6). > > When the form in admin interface saving. > Traceback (most recent call last): > File "F:\python25\Lib\site-packages\django-svn\unic

Re: Unicode-branch: testers wanted

2007-05-27 Thread itsnotvalid
I got an error when I am using admin interface to submit some forms as following the Django book (CH6). When the form in admin interface saving. Traceback (most recent call last): File "F:\python25\Lib\site-packages\django-svn\unicode\django\core \handlers\base.py" in get_response 77. response

Re: Unicode-branch: testers wanted

2007-05-26 Thread Malcolm Tredinnick
On Fri, 2007-05-25 at 17:17 +0200, Michael Radziej wrote: > Hi Malcolm, > > A short disclaimer: I'm currently trying the unicode branch with the > autoescape patch and a > couple of other patches, so my problems might really be my own problems, > but I don't expect it. > > > First, I found tha

Re: Unicode-branch: testers wanted

2007-05-25 Thread Malcolm Tredinnick
On Fri, 2007-05-25 at 17:17 +0200, Michael Radziej wrote: > Hi Malcolm, > > A short disclaimer: I'm currently trying the unicode branch with the > autoescape patch and a > couple of other patches, so my problems might really be my own problems, > but I don't expect it. > > > First, I found tha

Re: Unicode-branch: testers wanted

2007-05-25 Thread Michael Radziej
Hi Malcolm, A short disclaimer: I'm currently trying the unicode branch with the autoescape patch and a couple of other patches, so my problems might really be my own problems, but I don't expect it. First, I found that I have a problem with commit 5255 together with the test client. It breaks

Re: Unicode-branch: testers wanted

2007-05-25 Thread Malcolm Tredinnick
On Fri, 2007-05-25 at 09:20 +, Sam wrote: > Most of the table mapping is taken from a GPL project. > > I've just emailed the authors to see if they would relicense the file > to include it inside django. > > I'll update as soon as i have their replies. Thanks. We only need the mapping table

Re: Unicode-branch: testers wanted

2007-05-25 Thread Sam
Most of the table mapping is taken from a GPL project. I've just emailed the authors to see if they would relicense the file to include it inside django. I'll update as soon as i have their replies. On 25 mai, 10:44, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2007-05-25 at 10:31 +0

Re: Unicode-branch: testers wanted

2007-05-25 Thread Malcolm Tredinnick
On Fri, 2007-05-25 at 10:31 +0200, David Larlet wrote: > 2007/5/24, Malcolm Tredinnick <[EMAIL PROTECTED]>: > > > > Hi folks, > > > > The unicode branch, [1], is now at a point where it is essentially > > feature-complete and could do with a bit of heavy testing from the wider > > community. > >

Re: Unicode-branch: testers wanted

2007-05-25 Thread Sandro Dentella
> > File "/usr/lib/python2.4/urllib.py", line 1162, in urlencode > > v = quote_plus(str(v)) > > UnicodeEncodeError: 'ascii' codec can't encode character u'\xf2' in > > position 1: ordinal not in range(128) > > This should be fixed in [5338]. well... you already know it works like a charm!

Re: Unicode-branch: testers wanted

2007-05-25 Thread David Larlet
2007/5/24, Malcolm Tredinnick <[EMAIL PROTECTED]>: > > Hi folks, > > The unicode branch, [1], is now at a point where it is essentially > feature-complete and could do with a bit of heavy testing from the wider > community. Thank you so much for this branch! > Similarly, the slugify filter still

Re: Unicode-branch: testers wanted

2007-05-25 Thread Malcolm Tredinnick
On Thu, 2007-05-24 at 09:13 -0700, sandro dentella wrote: > Hi Malcom, > > I really welcome this branch and thank you all for the effort. > > Before I consider a bug what follows I'd ask if this should entitle > me to use > non ASCII letters in tests with test.client. > >I tried somet

Re: Unicode-branch: testers wanted

2007-05-24 Thread Malcolm Tredinnick
On Thu, 2007-05-24 at 09:13 -0700, sandro dentella wrote: > Hi Malcom, > > I really welcome this branch and thank you all for the effort. > > Before I consider a bug what follows I'd ask if this should entitle > me to use > non ASCII letters in tests with test.client. > >I tried somet

Re: Unicode-branch: testers wanted

2007-05-24 Thread Ivan Sagalaev
Malcolm Tredinnick wrote: > The unicode branch, [1], is now at a point where it is essentially > feature-complete and could do with a bit of heavy testing from the wider > community. Switched my site today to the branch. Works like a charm (translations, admin, multilingual content). --~--~

Re: Unicode-branch: testers wanted

2007-05-24 Thread [EMAIL PROTECTED]
Thanks for your work! Definitely will test new branch soon & will tell the results. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroup

Re: Unicode-branch: testers wanted

2007-05-24 Thread sandro dentella
Hi Malcom, I really welcome this branch and thank you all for the effort. Before I consider a bug what follows I'd ask if this should entitle me to use non ASCII letters in tests with test.client. I tried something like self.client.get(url, dict(name=u'F\xf2')) to get back an error f

Unicode-branch: testers wanted

2007-05-24 Thread Malcolm Tredinnick
Hi folks, The unicode branch, [1], is now at a point where it is essentially feature-complete and could do with a bit of heavy testing from the wider community. So if you have some applications that work against Django's current trunk and would like to try them out on the unicode branch, I'd app