|

|
| 2003-03-04 |
|
|
This version has a big bunch of bug fixes. There are smaller bug fixes not worth mentioning, there are some bugfixes with regard to run under Windows (not fully there, yet, but approaching!) and several important bugfixes with regard to handling of comments and referrer tracking. Because of the latter problem (it was actually a bug in the webserver used in the Python Community Server that masked a bug in the Python Desktop Server - now we have fixed the problem in the community server, the desktop servers rendered output breaks!) everyone should upgrade! There have been small changes to the templates, so if you want to activate those distributed by the Python Desktop Server (for example the former version did track only pages from the weblog, the newer version tracks hits to stories and other pages, too), just remove your local copies in ~/.PyDS/templates/ - if you did some changes to the layout, please upgrade that layout to the new version. After upgrading to this version, go to the upstream tool (on the right of your desktop pages) and rerender all tools contents! The old version created broken content that only worked because the server was broken in another, compensating, way. Now the server is fixed, the content is broken and so comments don't work. Just rerender with 0.4.15 and everything is fine, again. |
|
posted at 18:34:56
#
|
| |
Same problem with webbug is with comments, too! |
If you wonder why your comments stopped working after the admin patched the PyCS to get around the medusa bug, that's due to the fact that I - consequently - made the same bug as in the webbug handling in the comment handling, too. I told you this is beta software, didn't I?  It's quite easy to fix, just hunt down all %%26 occurences and replace them by & - that's all. And they are all in PyDS/MacrosTool.py. Oh, and remove the self.quoteURL(...) call from the return of weblogCommentsUrl in MacrosTool.py. Dang. If I screw something up, I do it right  Ok, I will put up a 0.4.15 very soon. |
|
posted at 18:16:48
#
|
| |
Fix for PyDS to work with patched PyCS |
Actually the medusa bug (it broke queries where a parameter itself contained an uri with parameters) in PyCS wiped out a bug in PyDS. Now that PyCS works right, PyDS stumbles  This is quite weird, two bugs working together to create an actual working experience. I happened to hear about that before, but never seen it life myself. Wew. Ok, so you need to do a small patch to PyDS/MacrosTool.py in order to get PyDS working again nicely with the count.py counter - without the patch, you will not have any more referers in your referers list. So it's not that big a problem, but annoying it is. Just edit the PyDS/MacrosTool.py and change the lines with the %%26 in them (two assignements to html) to use & instead of the %%26. This will be fixed in the 0.4.15 I am currently working on and am releasing hopefully today. |
|
posted at 13:43:44
#
|
| |
|
Just a very short description how to access methods in the Python Desktop Server with XML-RPC or SOAP. This might inspire some people to hack up external tools for Python Desktop Server |
|
posted at 11:29:20
#
|
| |
And another one for Windows: broken binary files |
Again something from Hal: under Windows binary files will become broken, as files are not opened in binary mode as default, but in text mode. Change UploadTool.py in the saveMultipleFiles as follows:
def saveMultipleFiles(self, files):
contents = []
for fn in files:
try:
f = open(os.path.join(_PyDS.ROOTDIR, fn), 'rb')
content = f.read()
There are supposed to be some more problems of this kind, for example in the PicturesTool and in the ThemesTool (both read and write binary output). So if you find any problems there, please look out for binary/text conversion problems and tell me here. |
|
posted at 08:51:28
#
|
|
|
This is the Python Desktop Server weblog.
 (Donations will be used by the author to buy stuff, fullfill selfish wishes or do other silly recreational things. You have been warned.).
The PyDS is
|