Please, does someone  have at least some workaround?

I played around south, added it in Django's settings.py and also old and
newer Pootle's settings.py.
I tried syncdb, migrate and updatedb with old Pootle and new Pootle, but
nothing's helped. syncdb with Pootle 2.1.2 seemed to work but I've got error
1054 on Pootle page.

Is there some way how to migrate my Pootle DB to newer layout or do I have
to flush the DB and recreate it?

Thanks & regards


On 8 November 2010 16:43, Ľuboš Katrinec <[email protected]> wrote:

> On 8 November 2010 15:53, Alaa Abd El Fattah <[email protected]>wrote:
>
>> On Mon, 8 Nov 2010 14:06:11 +0100
>> Ľuboš Katrinec <[email protected]> wrote:
>>
>> > Hello,
>>> >
>>> > I'm failing with Pootle upgrade from version 2.0.4 to 2.1.2. After I
>>> > merged localsettings.py and changed old Pootle dir with the new one I
>>> > tried to update DB with command:
>>> > ./manage.py updatedb
>>>
>>> yes I observed this problem recently and not sure yet when it does and
>> doesn't happen but I'm almost sure it is related to a difference in
>> version for some library. looking franticly for a workaround.
>>
>> what exact version of Django and of South are you using?
>>
>>
> Hi Alaa,
>
> thanks for your answer, I'm using Django-1.1.1 (python 2.5).
> South...actually I didn't have South installed at all. Now I've downloaded
> and installed 0.7.2 and re-ran updatedb.
> The output now has slightly changed:
>
> 2010-11-08 14:50:06,970 INFO Upgrading database from schema version 20030
> to 21010
> 2010-11-08 14:50:06,985 INFO Updating existing database tables
> 2010-11-08 14:50:07,199 DEBUG south execute "ALTER TABLE
> `pootle_store_store` ADD COLUMN `state` integer NOT NULL DEFAULT 0;" with
> params "[]"
> 2010-11-08 14:50:07,510 DEBUG south execute "CREATE INDEX
> `pootle_store_store_state` ON `pootle_store_store` (`state`);" with params
> "[]"
> 2010-11-08 14:50:07,539 DEBUG south execute "ALTER TABLE
> `pootle_store_store` ADD COLUMN `translation_project_id` integer NULL;" with
> params "[]"
> 2010-11-08 14:50:07,583 DEBUG south execute "CREATE INDEX
> `pootle_store_store_translation_project_id` ON `pootle_store_store`
> (`translation_project_id`);" with params "[]"
> 2010-11-08 14:50:07,626 DEBUG south execute "ALTER TABLE
> `pootle_app_project` ADD COLUMN `directory_id` integer NULL UNIQUE;" with
> params "[]"
> 2010-11-08 14:50:07,882 WARNING something broke while upgrading database
> tables:
>
> (1054, "Unknown column 'pootle_app_project.source_language_id' in 'field
> list'")
> ...
> (python traceback)
>
> L.
>
>
>
>> cheers,
>>
> Alaa
>>
>
>
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to