On Sat, Sep 05, 2009 at 04:27:54PM +0000, ash wrote:
> I tried initializing agar window form python, and so far came up with 2 
> strange 
> things:
> 
> 1) When I try to call AG_InitCore("name",0), as in documentation, the 
> response 
> I get is 
> 
> ValueError: Procedure probably called with too many arguments (8 bytes in 
> excess)

That's coming from python, I don't know the meaning of it.

> When called as AG_InitCore(), funciton return zero (success?)

Yes, unless documented otherwise, all Agar functions which return an int
return zero on success and -1 on failure. On failure, AG_GetError()
returns the error message.

> 2) If I call AG_GetError() immediately after that, it returns 
> 
> config.AG_Config: Unable to open .\x02//config.AG_Config
> 
> What is this file, why does it need it and where can I get it?

This error message is bogus because AG_InitCore() actually succeeded.

_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to