Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Jason Tackaberry
On Wed, 2006-08-02 at 20:48 +0200, Christian Nilsson wrote: > SQL: ('INSERT OR REPLACE INTO types VALUES(?, ?, ?, ?)', (None, 'dir', > , > )) > SELECT * FROM types : SQL: ('SELECT * from types', ()) > [(1, u'dir', , > )] So far so good ... > SQL: ('INSERT OR REPLACE INTO types VALUES(?, ?,

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-08-02 at 21:05 +0200, Dirk Meyer wrote: >> removing the parts where it is used. This means I can't do selects, >> but I crash before that. This not working. Go from pysqlite 2.3.1 to >> 2.2.2: crash. Go back to 2.0.5: works again (but crashes because I >> have

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Jason Tackaberry
On Wed, 2006-08-02 at 21:05 +0200, Dirk Meyer wrote: > removing the parts where it is used. This means I can't do selects, > but I crash before that. This not working. Go from pysqlite 2.3.1 to > 2.2.2: crash. Go back to 2.0.5: works again (but crashes because I > have no ObjectRow. So does it wor

Re: [Freevo-devel] Update to website

2006-08-02 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-08-02 at 16:48 +0100, John Molohan wrote: >> the wiki about paying for some work on freevo. If you (Jason, Dischi, >> Rob etc) could take a look over it and make sure you're happy with it >> before it goes live that would be great. Additions to the wiki page

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Dirk Meyer
Dirk Meyer wrote: > Jason Tackaberry wrote: >> On Wed, 2006-08-02 at 20:16 +0200, Dirk Meyer wrote: >>> > Can you add some code after this query in register_object_type_attrs() >>> > that does a SELECT * FROM types and outputs all the values? >>> >>> When I do _load_object_types just after the qu

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-08-02 at 20:16 +0200, Dirk Meyer wrote: >> > Can you add some code after this query in register_object_type_attrs() >> > that does a SELECT * FROM types and outputs all the values? >> >> When I do _load_object_types just after the query it is already >> brok

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Christian Nilsson
Jason Tackaberry wrote: > On Wed, 2006-08-02 at 20:16 +0200, Dirk Meyer wrote: > >> >>When I do _load_object_types just after the query it is already >>broken. One other thing besides your new code changed here: I had to >>switch from pysqlite 2.0.x to 2.3.1. > > > Do 'SELECT * FROM types' afte

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Jason Tackaberry
On Wed, 2006-08-02 at 20:16 +0200, Dirk Meyer wrote: > > Can you add some code after this query in register_object_type_attrs() > > that does a SELECT * FROM types and outputs all the values? > > When I do _load_object_types just after the query it is already > broken. One other thing besides you

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-08-02 at 17:12 +0200, Dirk Meyer wrote: >> QUERY (0): INSERT OR REPLACE INTO types VALUES(?, ?, ?, ?) (None, 'file', >> , >> ) > > This is correct. > > Can you add some code after this query in register_object_type_attrs() > that does a SELECT * FROM types

Re: [Freevo-devel] Update to website

2006-08-02 Thread John Molohan
Jason Tackaberry wrote: > On Wed, 2006-08-02 at 16:48 +0100, John Molohan wrote: > >> the wiki about paying for some work on freevo. If you (Jason, Dischi, >> Rob etc) could take a look over it and make sure you're happy with it >> before it goes live that would be great. Additions to the wiki

Re: [Freevo-devel] Update to website

2006-08-02 Thread Jason Tackaberry
On Wed, 2006-08-02 at 16:48 +0100, John Molohan wrote: > the wiki about paying for some work on freevo. If you (Jason, Dischi, > Rob etc) could take a look over it and make sure you're happy with it > before it goes live that would be great. Additions to the wiki pages are Looks good to me. An

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Jason Tackaberry
On Wed, 2006-08-02 at 17:12 +0200, Dirk Meyer wrote: > QUERY (0): INSERT OR REPLACE INTO types VALUES(?, ?, ?, ?) (None, 'file', > , > ) This is correct. Can you add some code after this query in register_object_type_attrs() that does a SELECT * FROM types and outputs all the values? Jason.

[Freevo-devel] Update to website

2006-08-02 Thread John Molohan
Hi all, I've updated the website. Have a look at http://freevo.sourceforge.net/tentative/index.html. There's only a few changes to the news and about pages but there's also some additions to the wiki about paying for some work on freevo. If you (Jason, Dischi, Rob etc) could take a look over i

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-08-02 at 16:58 +0200, Dirk Meyer wrote: >> | QUERY (0): SELECT * from types > [...] > > Ok, now can you edit the print statement _db_query() to also show the > 'args' variable and redo this test? :) QUERY (0): INSERT OR REPLACE INTO types VALUES(?, ?, ?, ?) (

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Jason Tackaberry
On Wed, 2006-08-02 at 16:58 +0200, Dirk Meyer wrote: > | QUERY (0): SELECT * from types [...] Ok, now can you edit the print statement _db_query() to also show the 'args' variable and redo this test? :) > I can't do that, I have no idea where to look. I'll help of course. Jason. -

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-08-02 at 16:40 +0200, Dirk Meyer wrote: >> Yes. I add 'file' and get None. Checking the db using sqlite on the >> command line gives the same result. The first entry is 'dir', all >> other added later are empty. > > Ok weird. Can you output the sql query used

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Jason Tackaberry
On Wed, 2006-08-02 at 16:40 +0200, Dirk Meyer wrote: > Yes. I add 'file' and get None. Checking the db using sqlite on the > command line gives the same result. The first entry is 'dir', all > other added later are empty. Ok weird. Can you output the sql query used? (In _db_query() there is a pr

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-08-02 at 16:18 +0200, Dirk Meyer wrote: >> Looks like >> >> self._db_query("INSERT OR REPLACE INTO types VALUES(?, ?, ?, ?)", >>(cur_type_id, type_name, buffer(cPickle.dumps(attrs, >> 2)), >> buffer(cP

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Jason Tackaberry
On Wed, 2006-08-02 at 16:18 +0200, Dirk Meyer wrote: > Looks like > > self._db_query("INSERT OR REPLACE INTO types VALUES(?, ?, ?, ?)", >(cur_type_id, type_name, buffer(cPickle.dumps(attrs, > 2)), > buffer(cPickle.dumps(indexes, 2 > >

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-08-02 at 14:36 +0200, Dirk Meyer wrote: >> Right, None is nothing you can unpickle. > > The next question is how are those empty rows getting there. Looks like self._db_query("INSERT OR REPLACE INTO types VALUES(?, ?, ?, ?)",

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Jason Tackaberry
On Wed, 2006-08-02 at 14:36 +0200, Dirk Meyer wrote: > Right, None is nothing you can unpickle. The next question is how are those empty rows getting there. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceFo

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-08-02 at 11:13 +0200, Dirk Meyer wrote: >> I only have this problem when creating a new database (deleting the >> .beacon dir and start again). The database I have from before still >> works without a crash. > > Yes, I've tried wiping ~/.beacon, but when I the

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Jason Tackaberry
On Wed, 2006-08-02 at 11:13 +0200, Dirk Meyer wrote: > I only have this problem when creating a new database (deleting the > .beacon dir and start again). The database I have from before still > works without a crash. Yes, I've tried wiping ~/.beacon, but when I then start beacon it creates the da

Re: [Freevo-devel] Problem with beacon (?)

2006-08-02 Thread Dirk Meyer
Jason Tackaberry wrote: > On Tue, 2006-08-01 at 20:15 -0400, Jason Tackaberry wrote: >> On Wed, 2006-08-02 at 01:43 +0200, Christian Nilsson wrote: >> >File "/usr/lib/python2.4/site-packages/kaa/db.py", line 349, in >> > _load_object_types >> > self._object_types[name] = id, cPickle.loads(

[Freevo-devel] Shuttle VFD plugin

2006-08-02 Thread Duncan Webb
Hi all, Does anybody have a Shuttle barebones system with a Versatile Front-panel Display? If they have I have written a plugin for freevo-1.5.x that controls the VFD. (Couldn't find the VFD patch for lcdproc on the net). If you have then the plugin is here: http://www.linuxowl.com/software/vfd-