Garth's test of PyDS


Another Big Set of Changes to PyDS

Georg has committed another big patch of mine. If you run into any problems, yell at me. :)
posted at 07:45:36    #    comment []    trackback []

IronPython is out!


posted at 19:27:28    #    comment []    trackback []


Ian Bicking's wee rant about continuations prompted a comment by Nathan Gray pointing to a paper (PostScript) he'd written about them. Y'know, I almost think I get it now.

posted at 00:21:52    #    comment []    trackback []

About *$$%& Time!

Okay, got this PyDS instance back up and running, with all my latest patches in CVS thanks to Georg.
posted at 23:49:52    #    comment []    trackback []


With respect to P120, it looks like Georg has incorporated my changes into CVS. If you do an update, you won't need no steenking diff.
posted at 20:46:24    #    comment []    trackback []

New To Dos:

  • P124: Where'd my ambiguous links resolve to?
  • P123: What's this item's internal link?
  • P122: Show only category items
  • P121: Show first, not edit
  • P125: This text points to nothing at all
posted at 00:06:56    #    comment []    trackback []


Georg! Grab gtk-2004-05-31.diff for the changes:

  • MeshTool:
  • P110: use edit/view links where possible
  • P119: redirect explicit pyds:/ links
  • handle cached link target no longer existing
  • ShutdownTool:
  • Added startShutdown API call
  • StructuredText:
  • Add Psyco testing (if installed)
  • Fix testing (previously broken with _flet)
  • WeblogTool:
  • Fix renderItemByUniqueId
  • WikiTool:
  • P117: fill in empty Wiki titles
  • P118: prevent backslashes in Wiki node names
  • Remove Delete button when editing
posted at 18:59:44    #    comment []    trackback []


As DirectPydsUriTest points out, I should capture outbound pyds:/ links and redirect them appropriately. [Fixed.]

posted at 21:24:48    #    comment []    trackback []

Backslashes in Wiki node titles

When I first made EmptyParentNodeTest, I accidentally used backslashes to separate the ID. That caused problems because the code I was using to separate the names worked (_fullSplit), but the subsequent name lookups I was performing after recomposing with '/' didn't. I need to automatically translate them, or at least issue an appropriate warning. [Fixed.]

posted at 14:33:04    #    comment []    trackback []

Empty Title Test

I should automatically fill in the titles of new Wiki nodes. I've added EmptyTitleTest to track it. [Done.]

posted at 13:26:56    #    comment []    trackback []

New bug!

I was trying to post a new Wiki node (EmptyParentNodeTest), and...

Exception exceptions.NameError: 
global name 'getPost' is not defined

PyDS\ 967 process_request 
u = getattr(tool,meth)(req) 

PyDS\ 569 edit_redir 
id = self.addNode(id, title, text, template=int(template)) 

PyDS\ 699 addNode 

PyDS\ 986 renderItemsWithUnresolvedLinks 
return [handles, self.renderItems(handles)] 

PyDS\ 1015 renderItems 

PyDS\ 325 renderItemByUniqueId 
post = getPost(uniqueId) 


# Render an item by its unique ID
def renderItemByUniqueId(self, uniqueId):
        """Render all pages associated with the post identified by `uniqueId`."""
        post  = self.getPost(uniqueId)
        # ... and so on

I've got no idea why renderItemsWithUnresolvedLinks was triggering weblog renders. I should also look into that.

posted at 13:22:40    #    comment []    trackback []

Psyco vs PyDS

Anyone tried using Psyco with PyDS? I'm thinking it might be especially handy for rendering reStructuredText...

[later] I've tried it out, and it speeds up reST on the example in by a good 40%. Just for fun, I've changed pyds-start to load Psyco. I'm posting from it now. :)

posted at 00:00:32    #    comment []    trackback []

Still trying to nut out this local rendering problem in WeblogTool...

I thought I was on to something, but WeblogTemplate.tmpl does indeed refer to the local rendering.

AHA! Fixed. New code at the bottom of ReferToWeblogPost.

That'll do me for the night, I reckon. :)

posted at 23:13:36    #    comment []    trackback []


My problem with Wiki uploads (see P111) turned out just to be a problem with the templates. Georg, you need to catch that Cheetah.NameMapper.NotFound exception and throw up something nicer...

Now, why can't I force a refresh? Or, assuming I can: why is my call to PyDS.Tool.debugOutput not working? [Cough. look in error.log, silly!]

posted at 23:13:36    #    comment []    trackback []

I don't get the render problem

Following on from P111; if I hit the Status page I get a report on the size of the StoryTool render queue. Maybe it's there now?

posted at 21:01:20    #    comment []    trackback []
August 2004
2 3 4 5 6 7 8

Garth is testing PyDS rather more extensively than at first he thought he would.

Deadly Bloody Serious (Radio Edition)

XML-Image Letterimage

© 2004, Garth T Kidd