[Zope] about load_files.py
Chen Fu
novalet@yahoo.com.cn
Mon, 17 Mar 2003 11:04:37 +0800 (CST)
Hi!
I try load_files.py to upload htmls on my hard disk.
Try to explain easily, i upload to root
http://localhost:8080/.
But i get :
==============================================
D:\zope\lib\python>python \zope\utilities\load_site.py
-u admin:123 -D http://
localhost:8080 d:\temp\
Traceback (most recent call last):
File "\zope\utilities\load_site.py", line 302, in ?
if __name__=='__main__': main()
File "\zope\utilities\load_site.py", line 102, in
main
for f in files: upload_file(object, f)
File "\zope\utilities\load_site.py", line 112, in
upload_file
if os.path.isdir(f): return upload_dir(object, f)
File "\zope\utilities\load_site.py", line 129, in
upload_dir
call(object.manage_addFolder, id=name)
File "\zope\utilities\load_site.py", line 106, in
call
try: apply(f,args, kw)
File "D:\zope\lib\python\ZPublisher\Client.py", line
155, in __call__
self.handleError(query, ec, em, headers, response)
File "D:\zope\lib\python\ZPublisher\Client.py", line
170, in handleError
raise t,
RemoteException(t,v,f,l,self.url,query,ec,em,response)
bci.NotFound: bobo exception (File:
d:\zope\lib\python\OFS\ObjectManager.py Line
: 58)
400 Bad Request for
http://localhost:8080/manage_addFolder
==============================================
Did i miss something?
=====
Remote Scensing Satellite Ground Station
Chinese Academy of Science
_________________________________________________________
Do You Yahoo!?
ÃÀÅ®ÃǵÄÃØÃÜÎäÆ÷£¡
http://yahoo.eachnet.com/fu/co/rd.php?http://pages.eachnet.com/st/page/women/women.htm