id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 1603 default_dir() should catch AttributeError Manuzhai Jonas Borgström I have an old siteconfig.py from 0.8, which has no __default_macros_dir__. Now, trac-admin upgrade will not run because import succeeds (siteconfig.py just exists, from the old version), but the module doesn't contain the attribute it needs. I think this could just be fixed by having the except clause in config.default_dir() also take an AttributeError, but I'm not sure. (Of course it's a bit sloppy to have a stale siteconfig.py lying around, but it's still nice to be robust in these cases.) defect closed low general devel normal wontfix setup siteconfig manuzhai@…