[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Fedora EPEL Package Build Report 2008-09-04



On Thu, 4 Sep 2008 10:29:19 -0500, Dennis Gilmore wrote:

> On Thursday 04 September 2008 10:04:38 am Michael Schwendt wrote:
> > On Thu, 4 Sep 2008 09:56:47 -0500, Dennis Gilmore wrote:
> > > I tested on rawhide and it worked fine.
> > >
> > > [root files ~]# plague-user-manager testdb  add dennis localhost
> > > User dennis localhost added.
> >
> > The test-case is wrong and incomplete. Use "userdb", add a user who
> > can build, then submit a build-job. Also show that plague-user-manager's
> > find command works.
> 
> userdb is obsolete   users and jobs are in the one database file. 

$ grep userdb /usr/share/plague/server/User.py
def get_userdb_dbcx():
        dbcx = sqlite.connect(CONFIG_LOCATION + "userdb", timeout=4)
        (dbcx, curs) = get_userdb_dbcx()
        (dbcx, curs) = get_userdb_dbcx()

> I think that your issue is that you have an old setup with the two seperate 
> dbs.

My issue is that between 0.4.5 and 0.4.5.1 you applied my sqlite3 patch,
which doesn't work with sqlite2, but you made Plague use sqlite2. There
are incompatibilites in what is returned by fetchall/fetchone in the
different APIs.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]