[Chandler-dev] Re: DB error
Philippe Bossut
pbossut at osafoundation.org
Fri Sep 22 15:04:19 PDT 2006
Hi Claes,
Claes Larsson wrote:
> I have just spent some time building chandler on
> a suse box.
Thanks a lot for your interest in Chandler. We do not use Suse here
internally at OSAF but it's great to see someone bitting the bullet and
giving it a try.
> When I start it first time i get the error below.
> This looks like the same problem as 6073 except that there is
> no old repository. Looking at similar problems at the web suggests
> that it could be a permission problem or so. Anyway, it would be nice
> if the globals and app parameters could be printed and if there was a
> simple way to change them in the script or a start file. As it is now
> it is very difficult to diagnose the real problem.
>
>
The traceback does look a lot like the one in bug 6073 but it's likely
that the root cause is different since, as you mentioned, you do not
have a repository to start with. I'm cc-ing the dev list so that someone
with some understanding of the modules in that trace can chime in. I
also logged this as a bug in Bugzilla (bug 6795) so we can appropriately
track it.
Also, there are a number of options available when launching Chandler
from the command line. I'm not sure which one would be relevant in your
case so I'll leave this open for others as well.
Cheers,
- Philippe
>
>
> Seconds since last error: 1
> Chandler Version: 0.7alpha4.dev-r
> OS: posix
> Platform: linux2
> Python Version: 2.4.3 (#1, Sep 20 2006, 11:17:51)
> [GCC 3.3.3 (SuSE Linux)]
> Traceback (most recent call last):
> File "Chandler.py", line 86, in main
> realMain()
> File "Chandler.py", line 71, in realMain
> app = wxApplication(redirect=redirect, useBestVisual=True)
> File
> "/var/tmp/sw/chandler_src/chandler/release/lib/python2.4/site-packages/wx/_core.py",
> line 7249, in __init__
> self._BootstrapApp()
> File
> "/var/tmp/sw/chandler_src/chandler/release/lib/python2.4/site-packages/wx/_core.py",
> line 6860, in _BootstrapApp
> return _core_.PyApp__BootstrapApp(*args, **kwargs)
> File "/var/tmp/sw/chandler_src/chandler/application/Application.py",
> line 401, in OnInit
> view = Utility.initRepository(repoDir, Globals.options)
> File "/var/tmp/sw/chandler_src/chandler/application/Utility.py",
> line 394, in initRepository
> repository.open(**kwds)
> File
> "/var/tmp/sw/chandler_src/chandler/repository/persistence/DBRepository.py",
> line 572, in open
> self._env.open(self.dbHome, self.OPEN_FLAGS, 0)
> DBError: (-30974, 'DB_RUNRECOVERY: Fatal error, run database recovery')
>
More information about the chandler-dev
mailing list