Demo app not working?

2010-01-10 Thread Henrik Sarvell
I'm working on the Pico Admin interface again, this time with lower
aspirations, from the beginning the goal was to create a central interface
to manage an arbitrary number of er/datbases similar to what is doable in
PhpMyAdmin with MySQL databases.

However this time the goal is to simply drop it in a project and being able
to administer that project's database in a generalized fashion.

In order to get more familiar with the GUI functions I want to use I wanted
to test the demo application but I get segmentation fault right away.
Commenting out (rollback) in the (go) function takes care of the segfault
but then when I try to login with admin/admin I get:

: !? (get *DB (cdr Tree) (car Tree))
Bad DB file

I'm thinking that my 32bit executable is not 100% alright since it's
compiled and used on a 64bit system and all.

Any ideas on what the problem might be?

/Henrik


Re: Wikipedia

2010-01-10 Thread Alexander Burger
Hi Henrik,

 So in the spirit of promoting the language I made the reply into its own
 post on my blog:
 http://www.prodevtips.com/2010/01/09/on-picolisps-wikipedia-woes-and-the-process-of-promoting-a-language/

Thanks Henrik!


 When it comes to secondary sources and references and such I propose a new
 section in the Wikipedia article called something like Impact with a link
 ...

At the moment I don't want to any further changes. Last week I had added
two references to the German version (which started the trouble), one to
your prodevtips, and one to an article in the renowned German c't
magazine, but they were immediately removed (reverted).

But thank you very much for your input!

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe


Re: Demo app not working?

2010-01-10 Thread Alexander Burger
On Sun, Jan 10, 2010 at 11:51:37PM +0100, Henrik Sarvell wrote:
 but then when I try to login with admin/admin I get:
 
 : !? (get *DB (cdr Tree) (car Tree))
 Bad DB file

This looks like there is no database open. Did you start it as

   $ ./dbg app/main.l lib/too.l -main -go

This will create the db/app/ directory if not already there.


 I'm thinking that my 32bit executable is not 100% alright since it's
 compiled and used on a 64bit system and all.

This should be OK. I used 32-bit versions, compiled either under 32-bit
or 64-bits, on 64-bit systems without problem.

Perhaps prefixing 'strace' to the above command can help?

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe