|PyDS|

Dany Nativel <[email protected]> Mon, 14 Feb 2005 20:58:37 +0100
Newsgroups gmane.comp.python.pyds.user
Message-ID <[email protected]>
Hello,

Sorry for asking such stupid questions. I tried to paste the source of 
the example found at http://pyds.muensterland.org/stories/16.html  (What 
is supported in Structured Text).

Everything works except "PyDS" and |PyDS|.    Where do I define PyDS ?  
"PyDS" doesn't generate any error message.
|PyDS| gives me :

Exception exceptions.ValueError: invalid literal for int(): PyDS
File    Line    Function    Source
c:\dn_apps\python23\Lib\site-packages\PyDS\Tool.py    986    
process_request    u = getattr(tool,meth)(req)
c:\dn_apps\python23\Lib\site-packages\PyDS\StoryTool.py    352    
edit_redir    id = self.addStory(id, title, text, desc, structured, 
draft, quiet, renderhook)
c:\dn_apps\python23\Lib\site-packages\PyDS\StoryTool.py    510    
addStory    uniqueId=str(id)
c:\dn_apps\python23\Lib\site-packages\PyDS\Tool.py    754    
renderText    homeTool=kw.get('homeTool')
c:\dn_apps\python23\Lib\site-packages\PyDS\StructuredText.py    204    
renderText    settings_overrides=settings
c:\dn_apps\python23\Lib\site-packages\docutils\core.py    371    
publish_string    enable_exit_status=enable_exit_status)
c:\dn_apps\python23\Lib\site-packages\docutils\core.py    513    
publish_programmatically    output = 
pub.publish(enable_exit_status=enable_exit_status)
c:\dn_apps\python23\Lib\site-packages\docutils\core.py    195    
publish    self.apply_transforms(document)
c:\dn_apps\python23\Lib\site-packages\docutils\core.py    175    
apply_transforms    document.transformer.apply_transforms()
c:\dn_apps\python23\Lib\site-packages\docutils\transforms\__init__.py    
180    apply_transforms    transform.apply()
c:\dn_apps\python23\Lib\site-packages\PyDS\ShortcutTool.py    243    
apply    subtext = resolver(refname)
c:\dn_apps\python23\Lib\site-packages\PyDS\ShortcutTool.py    205    
queryShortcut    post = tool.getRSSItem(shorty)
c:\dn_apps\python23\Lib\site-packages\PyDS\PictureTool.py    1256    
getRSSItem    pic = self.getPicture(id)
c:\dn_apps\python23\Lib\site-packages\PyDS\PictureTool.py    810    
getPicture    (idx, found) = self.pictures.locate({'id':int(id)})


Is  .. |PyDS| replace::   the solution to the problem ?