Many many debugs later...

I've update my sac without problem (rename in makefile mysac_static.a
to my sac_static.a) and every compile like a charm.

The problem is in the implementation of my sac in libeape-
spidermonkey !!!
Look at mysac/example/client which works on my system => The mysac lib
works but not libeape-spidermonkey.

After applying some fix to the libeape-spidermonkey i finally succeed
to connect to my mysql server but i couldn't get ride of the type
error query is not a function !

Even the onConnect does not seem to be called even if JS_CallFunc(...
onConnect...) is called !!!
I think it's a little too buggy for me to use it on our servers in
production !

I'm gonna write my own plugin.

On Sep 9, 3:38 pm, Nicolas Guibert <ioa.guib...@googlemail.com> wrote:
> Does that mean the problem is with mysac and independent of APE?
>
> That could be a bad sign as I have never seen mysac page as very active.
>
> What do you think?
>
> 2011/9/9 Yoann L <yo...@idbrothers.com>
>
>
>
>
>
>
>
> > Hi again,
>
> > I've added some debug in libape-spidermonkey and the error returned by
> > mysac (from mysql server) is 1045 : Access Denied with all my accounts
> > even if the password is blank !
> > I'm using the same accounts in my php scripts.
>
> > My version of mysqlclient-dev is 1.6
>
> > On 9 sep, 00:35, Nicolas Guibert <ioa.guib...@googlemail.com> wrote:
> > > Anyone has a guess as to why it does not work anymore?
>
> > > I don't think they changed anything to Mysql lately, did they?
>
> > > 2011/9/8 Yoann L <yo...@idbrothers.com>
>
> > > > Hi,
>
> > > > Last build, same problem :(
> > > > The sample displayed on the first page of the web page was really
> > > > attracting BUT not working...
>
> > > > Hope they'll fix it soon !
>
> > > > On Aug 23, 11:05 am, Nicolas Guibert <ioa.guib...@googlemail.com>
> > > > wrote:
> > > > > Yes, you are right. It is a bit frustrating. I believe, now that
> > there
> > > > are
> > > > > several people complaining about it, that the APE team will quickly
> > have
> > > > a
> > > > > look at it. I also need Mysql for my project, and I have to leave my
> > APE
> > > > > server on an old and slow dev environment for the moment (Mysql used
> > to
> > > > work
> > > > > on this version) because of this, while I'd like to put it on my
> > > > dedicated
> > > > > server.
>
> > > > > Hopefully, this will be resolved soon now.
>
> > > > > Regards.
>
> > > > > Nicolas.
>
> > > > > 2011/8/23 Louis Charette <charette.lo...@gmail.com>
>
> > > > > > Hi, me again,
>
> > > > > > I spent some time searching again tonight, just in case. I have a
> > > > > > project I need to start working on next week that need MySQL
> > support.
> > > > > > Otherwise I'll have no choice but to got back to Java Socket or
> > > > > > something like that… But I would really like to use APE, it's seems
> > so
> > > > > > much nice!
>
> > > > > > Anyway, I double checked my builds and MySQL setting again just to
> > > > > > make sure. But I have a question:
>
> > > > > > Let's say I put this in the server side code:
>
> > > > > >   var sql = new Ape.MySQL("ip:port", "user", "password",
> > "database");
> > > > > >   Ape.log(sql);
>
> > > > > > What should happen?
> > > > > > Right now I have this in the logs:
>
> > > > > >   2011-08-22 23:34:57 - libape-spidermonkey.c:2475 - JavaScript :
> > > > > > function MySQL() {
> > > > > >       [native code]
> > > > > >   }
>
> > > > > > Don't know if it's a good sign or not… It's really annoying not
> > having
> > > > > > any error of callback on this thing. At least I would know where to
> > > > > > start. For now this is all I have since MySQL.onError and
> > > > > > MySQL.onConnect never fire...
>
> > > > > > --
> > > > > > You received this message because you are subscribed to the Google
> > > > > > Groups "APE Project" group.
> > > > > > To post to this group, send email to ape-project@googlegroups.com
> > > > > > To unsubscribe from this group, send email to
> > > > > > ape-project+unsubscr...@googlegroups.com
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/ape-project?hl=en
> > > > > > ---
> > > > > > APE Project (Ajax Push Engine)
> > > > > > Official website :http://www.ape-project.org/
> > > > > > Git Hub :http://github.com/APE-Project/
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > > > Groups "APE Project" group.
> > > > To post to this group, send email to ape-project@googlegroups.com
> > > > To unsubscribe from this group, send email to
> > > > ape-project+unsubscr...@googlegroups.com
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/ape-project?hl=en
> > > > ---
> > > > APE Project (Ajax Push Engine)
> > > > Official website :http://www.ape-project.org/
> > > > Git Hub :http://github.com/APE-Project/
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "APE Project" group.
> > To post to this group, send email to ape-project@googlegroups.com
> > To unsubscribe from this group, send email to
> > ape-project+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/ape-project?hl=en
> > ---
> > APE Project (Ajax Push Engine)
> > Official website :http://www.ape-project.org/
> > Git Hub :http://github.com/APE-Project/

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-project@googlegroups.com
To unsubscribe from this group, send email to
ape-project+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to