[Nitro] Facets version for repo.nitroproject.com ?

Jonas Pfenniger zimba.tm at gmail.com
Wed Jun 14 05:59:28 EDT 2006


I also have a backtrace for that error. While debugging, I've also
added more checks to the mysql adapter and made exceptions catching
more accurate. Everything's in the bundle.

The backtrace :

(eval):5:in `query', (eval):5:in `og_insert',
/home/zimbatm/Code/NitroHQ/local2/og/lib/og/store.rb:76:in `save',
/home/zimbatm/Code/NitroHQ/local2/og/lib/og/entity.rb:31:in `save',
/home/zimbatm/Code/ProVision/rstreamer/lib/rstreamer/host.rb:67:in
`init', /home/zimbatm/Code/ProVision/rstreamer/lib/rstreamer/host.rb:63:in
`init', /home/zimbatm/Code/NitroHQ/local2/og/lib/og/store.rb:178:in
`transaction', /home/zimbatm/Code/NitroHQ/local2/og/lib/og/entity.rb:366:in
`transaction', /home/zimbatm/Code/ProVision/rstreamer/lib/rstreamer/host.rb:56:in
`init', (eval):3:in `og_update',
/home/zimbatm/Code/NitroHQ/local2/og/lib/og/store.rb:74:in `save',
/home/zimbatm/Code/NitroHQ/local2/og/lib/og/entity.rb:31:in `save',
/home/zimbatm/Code/ProVision/rstreamer/lib/rstreamer/camping.rb:115:in
`post', (eval):23:in `service', (eval):43:in `run',
/home/zimbatm/bin/pro_vision:126:in `run',
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel/camping.rb:36:in
`process', /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:425:in
`process_client',
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:424:in
`process_client',
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:495:in
`run', /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:494:in
`run', /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:483:in
`run', /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:774:in
`run', /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:772:in
`run', /home/zimbatm/bin/pro_vision:158:in `cloaker_',
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:658:in
`listener', /home/zimbatm/bin/pro_vision:148:in `cloaker_',
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:616:in
`initialize', /home/zimbatm/bin/pro_vision:147

On 13/06/06, Jonas Pfenniger <zimba.tm at gmail.com> wrote:
> I have another weird error here.
>
> By looking at the code, all sql exceptions should be handled by
> Og::SqlStore#handle_sql_exception right ?
>
> Altrough, I have a Mysql::Error in my frontend that was not filtered
> with the meaningless message : "You have an error in your SQL syntax;
> check the manual that corresponds to your MySQL server version for the
> right syntax to use near ')' at line 1"
>
> I have set $DBG = true to have more output in the console but the
> offending query don't appear here.
>
> Do you know where I could look next ? I'm sure you know better than me :-p
>
> --
> Cheers,
>   zimbatm
>
> http://zimbatm.oree.ch
>


-- 
Cheers,
  zimbatm

http://zimbatm.oree.ch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bundle.tgz
Type: application/x-gzip
Size: 2577 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20060614/359e754a/attachment.tgz 


More information about the Nitro-general mailing list