[csw-maintainers] Buildfarm setup - documentation

Peter FELECAN pfelecan at opencsw.org
Sat Oct 5 12:24:40 CEST 2013


Maciej Bliziński <maciej at opencsw.org> writes:

> On Sat, Oct 05, 2013 at 11:04:03AM +0200, Peter FELECAN wrote:
>> "Maciej (Matchek) Bliziński" <maciej at opencsw.org> writes:
>>  $ opencsw/.buildsys/v2/bin/pkgdb initdb 2>&1 | tee -a /tmp/pkgdb.log
>> ERROR:root:Could not create table <class 'models.CatalogGenData'>: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs
>> Traceback (most recent call last):
>>   File "opencsw/.buildsys/v2/bin/pkgdb", line 709, in <module>
>>     main()
>>   File "opencsw/.buildsys/v2/bin/pkgdb", line 457, in main
>>     dbc.CreateTables()
>>   File "/export/home/peter/opencsw/.buildsys/v2/lib/python/database.py", line 164, in CreateTables
>>     table.createTable(ifNotExists=True)
>>   File "/opt/csw/lib/python/site-packages/sqlobject/main.py", line 1414, in createTable
>>     constraints = conn.createTable(cls)
>>   File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 510, in createTable
>>     self.query(createSql)
>>   File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 414, in query
>>     return self._runWithConnection(self._query, s)
>>   File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 327, in _runWithConnection
>>     val = meth(conn, *args)
>>   File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 411, in _query
>>     self._executeRetry(conn, conn.cursor(), s)
>>   File "/opt/csw/lib/python/site-packages/sqlobject/mysql/mysqlconnection.py", line 121, in _executeRetry
>>     raise OperationalError(ErrorMessage(e))
>> sqlobject.dberrors.OperationalError: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs
>  
> Hm. This happens when you try to initialize the database and create the
> tables, not when you try to insert any data.
>
> Is this the old code or the new code?
>
> If it's the new code, then it's a bug. But I haven't been able to
> reproduce it.
>
> If it's the old code, then it's what I mentioned earlier: It's not the
> instructions we don't have, it's the code we don't have.

revision 22118. consequently what I imagine you call "new code".

-- 
Peter


More information about the maintainers mailing list