librelist archives

« back to archive

WARNING: Storm ORM Screwed Our Configs

WARNING: Storm ORM Screwed Our Configs

From:
Zed A. Shaw
Date:
2010-08-15 @ 17:26
Hi Everyone,

Just a quick notice that I've had to commit changes to make m2sh work
with the latest Storm ORM, and one of the changes they made screws with
how you use it.  In the bigger example configuration for mongrel2.org
there's the line:

main.hosts = [mongrel2]

However, Storm decided that assigning lists of objects to a ReferenceSet
was illegal (because we all know that "sets" are really nothing like
"lists" so why make THAT convenient).  That means you can't do the
above, and must do this instead:

main.hosts.add(mongrel2)

Please make the changes to your configs when you run into this error,
and also I'm having m2sh do stack dumps when it hits errors like this so
tha I can have people give me them for debugging.

Next, this means we need to get off Storm.  I'm going to hunt around for
a liberally licensed simple simple ORM that I can just include in the
m2sh source outright so we don't have this problem in the future.

-- 
Zed A. Shaw
http://zedshaw.com/