Duncan,

please submit a bug at the bug tracker.
My guess is your absolute and relative path are the same and nothing has the change hence.

Add to the bug the paths you use to obtain this crash, as that is important (the code is based on the paths).

Benny

2008/4/21, Duncan Lithgow <dlithgow@gmail.com>:
User Information:
===================

An brand new database, imported my XML gramps file.
1. Used media manager to set all absolute paths to relative
2. Set media directory path in 'Edit > Preferences > General
3. Used media manager to set all absolute paths to relative again, still
not using the media directory as base.
4. " " ... all relative to absolute
5. " " ... all absolute to relative
6. Crash


Error Details:
===================

169451: ERROR: gramps.py: line 160: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/plugins/MediaManager.py", line 100, in
on_before_page_next
    success = self.run()
  File "/usr/share/gramps/plugins/MediaManager.py", line 270, in run
    success = self.batch_ops[ix].run_tool()
  File "/usr/share/gramps/plugins/MediaManager.py", line 350, in
run_tool
    success = self._run()
  File "/usr/share/gramps/plugins/MediaManager.py", line 555, in _run
    new_path = relative_path(obj.path, base_dir)
  File "/usr/share/gramps/Utils.py", line 984, in relative_path
    return os.path.join(*rel_list)
TypeError: join() takes at least 1 argument (0 given)


System Information:
===================

Python version: 2.5.2 (r252:60911, Apr  8 2008, 21:49:41) [GCC 4.2.3
(Ubuntu 4.2.3-2ubuntu7)]
BSDDB version: 4.4.5.3
Gramps version: 3.0.0-1
LANG: en_DK.UTF-8
OS: Linux
Distribution: 2.6.24-16-generic


--
Linux user: 372812 | GPG key ID: 21A8C63A | http://lithgow-schmidt.dk

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs