Hi Don,
I only had a quick look at the new code... guess what I found ;-)
But first: I like the idea of having centralized folders containing all files. A first impression on my slow computer at home makes me think this is running faster now. Probably because extenting multiple files is faster than extenting the one single database file.
Now back to the bugs.
1) The window title contains the cryptic name of the database folder. That should be the nice name I entered in the database manager.
2) If you keep pressing the [New] button in the database manager multiple entries of the same name "Unnamed Database" are created. They should probably be numbered.
3) Create a new database and connect to that. Now open the database manager again. It is possible to delete the currently opened database!
Strange... after having the database deleted I can for example still add a new person. Well, when closing first the backup complains about the missing database folder, then a Traceback.
Traceback (most recent call last):
File "/home/martin/devel/gramps2_23/src/ViewManager.py", line 517, in quit
self.state.db.close()
File "/home/martin/devel/gramps2_23/src/GrampsDb/_GrampsDBDir.py", line 1124, in cl ose
self.env.close()
DBNoSuchFileError: (2, 'No such file or directory -- /home/martin/grampsdb/46095ba6/m eta_data.db: unable to flush: No such file or directory')
But that is to be expected when working on deleted files.
ok, next I created a new database again for more testing.
4) The Rebuild reference maps tool gives:
Traceback (most recent call last):
File "/home/martin/devel/gramps2_23/src/PluginUtils/_Tool.py", line 254, in gui_tool
tool_class(dbstate, uistate, options_class, name, callback)
File "/home/martin/devel/gramps2_23/src/plugins/RebuildRefMap.py", line 89, in __init__
self.db.reindex_reference_map(self.update)
File "/home/martin/devel/gramps2_23/src/GrampsDb/_GrampsDBDir.py", line 915, in reindex_referenc e_map
self.reference_map = self.open_table(
File "/home/martin/devel/gramps2_23/src/GrampsDb/_GrampsDBDir.py", line 196, in open_table
dbmap.open(fname, table_name, dbtype, self.open_flags(), 0666)
DBError: (20, 'Not a directory')
5) The rebuild secondary indices gives:
Traceback (most recent call last):
File "/home/martin/devel/gramps2_23/src/PluginUtils/_Tool.py", line 254, in gui_tool
tool_class(dbstate, uistate, options_class, name, callback)
File "/home/martin/devel/gramps2_23/src/plugins/Rebuild.py", line 88, in __init__
self.db.rebuild_secondary(self.update)
File "/home/martin/devel/gramps2_23/src/GrampsDb/_GrampsDBDir.py", line 678, in rebuild_secondar y
env = db.DB(self.env)
AttributeError: DB
Cheers,
Martin.
-------- Original-Nachricht --------
Datum: Mon, 26 Mar 2007 22:18:27 -0600
Von: Don Allingham <donaldallingham@...>
An: GRAMPS Development mailing list <gramps-devel@...>
Betreff: [Gramps-devel] First pass of the Database Manager checked in
> I've checked in the first pass of the Database Manager in 2.3. The New
> and Open buttons are now gone, replaced by the new "Databases" button.
>
> The database manager allows you to create databases, delete old ones,
> and rename existing databases. You no longer "Open" a database - instead
> you "Connect" to a database. This terminology will be more appropriate
> if we ever go to a shared database scheme or to a database located on
> another machine. (Don't get too excited - this is not planned anytime in
> the foreseeable future)
>
> You can see a screenshot at
> http://gramps-project.org/download/dbmanager.png
>
> Don
>
>
--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/mailfooter/topmail-out
|