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
>
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to