Richard Jones' Log

Sun, 29 Feb 2004
Argh, MySQL paaain

MySQL really, really shits me sometimes. My latest:

[root@richardpc root]# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3 to server version: 4.0.16-Max

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> drop database rounduptest;
Query OK, 0 rows affected (0.00 sec)

mysql> commit;
Query OK, 0 rows affected (0.00 sec)

mysql> Bye
[root@richardpc root]# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 4 to server version: 4.0.16-Max

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> create database rounduptest;
ERROR 1007: Can't create database 'rounduptest'. Database exists
mysql> Bye

So until I can figure how to get rid of that database, my unit tests use "rounduptest2" for testing. Grr.

PyPI updated

I've updated PyPI:

  • add meaningful titles to pages (uses page heading)
  • properly unquote version numbers for release editing page (bug #855883)
  • allow removal of more than one release at a time
  • make "delete whole package" a form button
  • made wording of role admin link more helpful
  • hide all current releases when a new release is added

So now the single-visible-release use-case is the one coded in. If you want to make more than one release visible, you need to go to the package's edit page (linked from the sidebar when you're logged in).

Oh, and PyPI has its own PyPI entry now too :)

Wed, 25 Feb 2004
PyPI comes in handy, again

A friend just asked me "is there any transparent CORBAlike product for python?" Now, I know there is, but I couldn't recall details. So I poked at the PyPI browse interface... "Software Development" ... "Object Brokering" and there's the list of tools.


I still need to think of a way to address the issue of people not hiding releases... Maybe I should alter the code so it auto-hides un-hidden releases when you add a new one. The single-visible-release use-case is probably the more common one...

Sat, 14 Feb 2004
Roundup API intro (and updated online reference)

A gentle introduction to the roundup API.Cool :)

I've recently run the roundup package through epydoc (having cleaned up the docstrings and defined __docformat__='restructuredtext') and it's pretty good. I've updated the API docs on the website with the results...

Wed, 11 Feb 2004
What's new in Zope 2.7.0

Zope 2.7.0 is finally out! Here's what's new:

The new configuration system, modelled on the apache config file, replaces the old mess of environment variables, command-line switches and editing of the command-line script with a config file. A lot of additional configuration housecleaning was performed.
Installation is now easier
The software is now installed using standard mechanisms (no more obscure "python"!), and doesn't run in the downloaded directory. Installing individual Zope instances is done using mkzopeinstance. Installing ZEO is also now easy, with mkzeoinstance.
The old Zope combined runtime/manager has been replaced by a more clean separated daemon and manager (using zopectl). The Windows installer contains NT/2K/XP service support on a per-instance-home basis.
Other stuff
Added (my ;) reStructuredText document content type. Ordered folder support is now built in. Control Panel improvements (manage mounted databases and see all medusa servers).
General maintenance
There's been a lot of bug fixes. More importantly, there was a security audit which closed a number of potential holes

All in all, a fine release.

category: Python | permanent link
Mon, 09 Feb 2004
Zope3 Sprint

A bunch of us OzZopers (and some ring-ins) just finished another Sprint for Zope3. Anthony, Brad and I spent our time trying to a) figure out what the site management interface was trying to do, and then b) making it more obvious to a new user what the site management interface was trying to do. This was a good topic for me, as I'm feeling a little burned out by our recent heavy development period at work, and I got to just tweak some stuff in Zope3 that really, desperately needed tweaking.

In the end, Zope3 is still a big, confusing system, but I think we made it suck less :)

category: Python | permanent link
Thu, 05 Feb 2004
Ah Melbourne

Melbourne has retained its position as the best city in the world to call home. But we who live here know that :)