Re: [Imdbpy-devel] Patch to dbschema.py for data conversion with imdbpy2sql.py

2008-04-07 Thread Davide Alberani
On Apr 06, Davide Alberani <[EMAIL PROTECTED]> wrote: > 3. cut the strings somewhere. Until valid reasons to do otherwise, I chose the above and cut the length of 'mini biography' to 2**16-1 chars in the imdb.parser.local.personParser module. The fix is already in the CVS. I think it's about tim

Re: [Imdbpy-devel] Patch to dbschema.py for data conversion with imdbpy2sql.py

2008-04-06 Thread Davide Alberani
On Apr 04, Mark Armendariz <[EMAIL PROTECTED]> wrote: > I was trying to figure out the best way to make a minimal change to > the code. All I really wanted to do was use a MEDIUMTEXT instead > of a plain TEXT field so it could fit the data properly. Your solution makes sense: any value between 2

Re: [Imdbpy-devel] Patch to dbschema.py for data conversion with imdbpy2sql.py

2008-04-04 Thread Mark Armendariz
(i forgot to add the list address to this reply - Jesper, thanks for inspiring me to make all these queries - i hope you don't think I was trying to shut your comment down by any means as you hold a solid point about the enormity of the field) - Mark Jesper Noehr wrote: Hi Mark, It makes se

Re: [Imdbpy-devel] Patch to dbschema.py for data conversion with imdbpy2sql.py

2008-04-04 Thread Mark Armendariz
Hi David, Davide Alberani wrote: On Apr 03, Mark Armendariz <[EMAIL PROTECTED]> wrote: I've just joined this list. I found this app this morning and downloaded the imdb database last night. While converting the data, I was getting an error stating that some data was too long for the per

Re: [Imdbpy-devel] Patch to dbschema.py for data conversion with imdbpy2sql.py

2008-04-04 Thread Davide Alberani
On Apr 03, Mark Armendariz <[EMAIL PROTECTED]> wrote: > I've just joined this list. I found this app this morning and > downloaded the imdb database last night. While converting the data, I > was getting an error stating that some data was too long for the > person_info.info field in the biog