error with firebird and wxActiveRecordGenerator Topic is solved

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
albert_col
Earned a small fee
Earned a small fee
Posts: 22
Joined: Fri Nov 17, 2006 2:24 pm
Location: Bogota, Colombia

error with firebird and wxActiveRecordGenerator

Post by albert_col » Thu May 10, 2007 5:24 am

when I try to generate the files of a firebird's database happend this error:

-104 : Invalid token

I am using Firebird 2.0.1 , wxWidgers 2.8.0, and wxActiveRecordGenerator 1.2.0- rc3
OS: Win XP Pro
wx: 2.8.8
Compiler: CodeBlock & mingw32-gcc-3.4.5, VC 7.1.

Ugly!
Earned some good credits
Earned some good credits
Posts: 113
Joined: Mon May 09, 2005 5:11 am
Location: Argentina - BS AS

Post by Ugly! » Thu May 10, 2007 4:44 pm

This happens when you press the Generate button?
If it does, can you post the wxarg file and an example of a database where it fails?

Does it fails with any kind of database/table? Are you using relations?


Here to help you.
Regards, Matias
Just a newbie - Too many interests, not too many time.

Windows XP SP2
Kubuntu GNU/Linux - Feisty
wxActiveRecordGenerator (aka wxARG) maintainer
Find it at wxCode

albert_col
Earned a small fee
Earned a small fee
Posts: 22
Joined: Fri Nov 17, 2006 2:24 pm
Location: Bogota, Colombia

error conditions

Post by albert_col » Thu May 10, 2007 11:36 pm

The error happend when I press Generate button. I am using the example database employee.fbd and not use relations (I select table COUNTRY), and I don't find the file wxarg.
OS: Win XP Pro
wx: 2.8.8
Compiler: CodeBlock & mingw32-gcc-3.4.5, VC 7.1.

Ugly!
Earned some good credits
Earned some good credits
Posts: 113
Joined: Mon May 09, 2005 5:11 am
Location: Argentina - BS AS

Re: error conditions

Post by Ugly! » Wed May 16, 2007 6:11 pm

albert_col wrote:The error happend when I press Generate button. I am using the example database employee.fbd and not use relations (I select table COUNTRY), and I don't find the file wxarg.
It's being worked on. The problem comes from the fact that Firebird doesn't have a LIMIT clause. Instead it uses FIRST and SKIP.

I've already got around this and it should be in th CVS repo. But I didn't released a new release candidate setup package.

Regards and thanks for the bug report,

Matias
Just a newbie - Too many interests, not too many time.

Windows XP SP2
Kubuntu GNU/Linux - Feisty
wxActiveRecordGenerator (aka wxARG) maintainer
Find it at wxCode

Post Reply