[Zope] Newbie Question: How to import comma separated files into YiHaw

Amr Malik aeamalik@yahoo.com
Mon, 23 Apr 2001 19:44:01 -0700 (PDT)


Hello,
   Does anyone know of a quick way to import links files into YiHaw? I have
tried Soren's method (from releaseinfo doc), and can add it if I add the long
url in IE5, but when I try it with lynx, I get the error. This is what works
with IE5 (after giving userid/passwd once), but not thru lynx:

http://127.0.0.1:8080/Pakistan/Seraiki/SocAndCult/YihawURL_factory/YihawURL_add?locator=http://www.geocities.com/aeamalik3&title=AmrHomePage3&description=AmrHomePage3viaLynx

same thing thru lynx (I'm trying one first, then I'll put it in a script): 

lynx  -auth=user:password -source
"http://127.0.0.1:8080/Pakistan/Seraiki/SocAndCult/YihawURL_factory/YihawURL_add?locator=http://www.geocities.com/aeamalik3&title=AmrHomePage3&description=AmrHomePage3viaLynx"

Gives the folloiwing trace:

Traceback (innermost last):
  File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 223, in
publish_module
  File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 187, in
publish
  File C:\PROGRA~1\WebSite\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
    (Object: RoleManager)
  File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 171, in
publish
  File C:\PROGRA~1\WebSite\lib\python\ZPublisher\mapply.py, line 160, in mapply
    (Object: YihawURL_add)
  File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 112, in
call_object
    (Object: YihawURL_add)
  File C:\PROGRA~1\WebSite\lib\python\OFS\DTMLMethod.py, line 189, in __call__
    (Object: YihawURL_add)
  File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DT_String.py, line 538,
in __call__
    (Object: YihawURL_add)
  File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DT_With.py, line 133, in
render
    (Object: YihawURL.createInObjectManager(REQUEST['id'], REQUEST))
  File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DT_Util.py, line 336, in
eval
    (Object: YihawURL.createInObjectManager(REQUEST['id'], REQUEST))
    (Info: REQUEST)
  File <string>, line 0, in ?
NameError: YihawURL

What gives? I'm a newbie :(, can someone please help? what's the best way to
deal with this? DTML/Python/Batch? can someone give me a skeleton to work with?
or is it asking too much too soon? :)

system: Win2000/Zope 2.3.0/IE5/lynx 2.8.3 for win


Thanks,

Amr


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/