it is OK now! thanks a lot. I run the command svn info --revision=BASE on my computer and got a rev vesion 9743.Then i add it to revision.py and run python setup.py i18n command successfully.This command generated the chinese message file. I created a dir named zh_CN and a subdir named LC_MESSAGES in freevo source tree for the chinese version freevo.po manaully.Is this operation correct? Next,i'll test the chinese message file on my local system.If anything is ok,i'll submit it to developement team ASAP.
Recoco ----- Original Message ----- From: "Duncan Webb" <[EMAIL PROTECTED]> To: "RINGJ.CN ???" <[EMAIL PROTECTED]>; <freevo-devel@lists.sourceforge.net> Sent: Monday, July 09, 2007 4:18 PM Subject: Re: [Freevo-devel] Next Release for Freevo-1 >> Sorry.i think i lost some information.In fact,i had ever run this command >> according to the error message above before.But after running it and >> "python setup.py i18n", i was be prompted "invalid syntax".Below is the >> detail: >> >> local# python setup.py i18n >> Traceback (most recent call last): >> File "setup.py", line 15, in ? >> from util.distribution import setup, Extension, check_libs, >> docbook_finder >> File "./src/util/distribution.py", line 94, in ? >> import revision >> File "./src/revision.py", line 1 >> __revision__ = >> ^ >> SyntaxError: invalid syntax >> local# more ./src/revision.py >> __revision__ = >> >> looks like the revision is missing. > > Does indeed, just add the revision number by typing: > svn info --revision=BASE > > In fact could you post the output from svn info --revision=BASE. I set the > program to check for the word Revision but I guess that this is coming out > in Chinese so it is not found. > > The line should be, like: > __revision__ = '9749' > > Thanks I know what I need to change for this to work in all cases. > > Duncan > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel