Garth's test of PyDS

2004-08-06

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 []
 
2004-07-29

IronPython is out!

Yeeeeeeehaaaarrrrrr!!!

posted at 19:27:28    #    comment []    trackback []
 
2004-07-17

Continuations

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 []
 
2004-07-16

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 []
 
2004-06-01

Diffed!

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 []
 
2004-05-31

Diff!

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 []
 
2004-05-30

DirectPydsUriTest

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\Tool.py 967 process_request 
u = getattr(tool,meth)(req) 

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

PyDS\WikiTool.py 699 addNode 
meshTool.renderItemsWithUnresolvedLinks() 

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

PyDS\MeshTool.py 1015 renderItems 
method(item.uniqueId) 

PyDS\WeblogTool.py 325 renderItemByUniqueId 
post = getPost(uniqueId) 

Fix:

# 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 []
 
2004-05-29

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 StructuredText.py 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 []
 
2004-05-28

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 []
 
2004-05-24

Aha!

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
MoTuWeThFrSaSu
       1
2 3 4 5 6 7 8
9101112131415
16171819202122
23242526272829
3031     
Jun
2004
 Sep
2004

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