Re: shelve.open generates (22, 'Invalid argument') Os X 10.5 with Python 2.5

2010-02-16 Thread seth
On Feb 14, 1:21 pm, a...@pythoncraft.com (Aahz) wrote: > Nope -- any reason you can't change the filename? > -- Os X 10.5 did not recognized the dbm extension. But, I have been able to fix the problem (hope it helps somebody): At http://docs.python.org/library/shelve.html it says: "shelve.open(

Re: shelve.open generates (22, 'Invalid argument') Os X 10.5 with Python 2.5

2010-02-16 Thread Ned Deily
In article <7a9d26a8-0a9f-4bf3-bf50-0ac5e337f...@r24g2000yqd.googlegroups.com>, seth wrote: > We have a code that creates a simple Python shelve database. We are > able to serialize objects and store them in the dbm file. This seem to > work the same on Windows XP Python 2.5, Ubuntu 9.1 with Pyt

Re: shelve.open generates (22, 'Invalid argument') Os X 10.5 with Python 2.5

2010-02-14 Thread Aahz
In article <7a9d26a8-0a9f-4bf3-bf50-0ac5e337f...@r24g2000yqd.googlegroups.com>, seth wrote: > >We have a code that creates a simple Python shelve database. We are >able to serialize objects and store them in the dbm file. This seem to >work the same on Windows XP Python 2.5, Ubuntu 9.1 with Pytho