load_site.py error

Oleg Broytmann phd at phd.pp.ru
Wed Mar 13 06:05:57 EST 2002


On Wed, Mar 13, 2002 at 02:31:19AM -0800, Manish Sharma wrote:
> I want to upload some files in zope using load_site.py
> While running the command in python i m getting the error Syntex error : invalid token
> 
> the command statement is
> 
> >>> python .\load_site.py -u manish:manishkumar -D http:localhost:8080/test/  /tests/
> 
> here test is a folder created in zope manager and tests is come with Load_site kit having three .htm files.

   The last /test/ is a folder on a disk, from where you are going to
upload files. Are you sure it exists? Give correct path.

> i tried wxLoadSite.py through python 
> >>> python .\wxLoadSite.py
> it also giving the same error of invalid token
> 
> if i will use >>> python ./wxLoadSite.py it will give error Syntex Error : invalid syntax

   Do not give the command inside python - give it in your command line.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.




More information about the Python-list mailing list