Bug in package creator?

View: New views
7 Messages — Rating Filter:   Alert me  

Bug in package creator?

by Leonardo Miliani :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

An user of my site notified me that he could have found a bug in the
Gambas package creator.
When he uses the gb.db.sqlite component and creates a .Deb package of
his application, that component is not considered as a dependency, so
when he installs his application on a different system, the package
manager doesn't require it, with the result that the application crashes
as soon as launched with a fatal error.

Does anybody know about this?

--
Web: www.leonardomiliani.com
E-mail: leonardo@...
Scegli software opensource - Choose opensource software

Co-fondatore di Gambas-it.org
Il sito di riferimento della comunità italiana degli utenti di Gambas
www.gambas-it.org

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Bug in package creator?

by Bugzilla from gambas@users.sourceforge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> An user of my site notified me that he could have found a bug in the
> Gambas package creator.
> When he uses the gb.db.sqlite component and creates a .Deb package of
> his application, that component is not considered as a dependency, so
> when he installs his application on a different system, the package
> manager doesn't require it, with the result that the application crashes
> as soon as launched with a fatal error.
>
> Does anybody know about this?

This bug has been fixed recently in the development version. Which version of
Gambas does it use? I may backport the fix to Gambas2.

--
Benoît

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Bug in package creator?

by Bugzilla from gambas@users.sourceforge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> > An user of my site notified me that he could have found a bug in the
> > Gambas package creator.
> > When he uses the gb.db.sqlite component and creates a .Deb package of
> > his application, that component is not considered as a dependency, so
> > when he installs his application on a different system, the package
> > manager doesn't require it, with the result that the application crashes
> > as soon as launched with a fatal error.
> >
> > Does anybody know about this?
>
> This bug has been fixed recently in the development version. Which version
> of Gambas does it use? I may backport the fix to Gambas2.

In revision #2044, you can now use any database driver as a component and
check it in the IDE project property dialog. This way, they can be an explicit
dependency when generating a package.

So you will get it in the upcoming 2.14 version.

Regards,

--
Benoît

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Bug in package creator?

by Leonardo Miliani :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Benoît Minisini ha scritto:
> In revision #2044, you can now use any database driver as a component and
> check it in the IDE project property dialog. This way, they can be an explicit
> dependency when generating a package.
>
> So you will get it in the upcoming 2.14 version.

Several users have confirmed me that the bug still persists...
If they specify Connection.Type="sqlite3" inside their programs and then
they compile them, on the destination computers the component
gb.db.sqlite isn't marked as a dependency and so the application doesn't
start/work.

--
Web: www.leonardomiliani.com
E-mail: leonardo@...
Scegli software opensource - Choose opensource software

Co-fondatore di Gambas-it.org
Il sito di riferimento della comunità italiana degli utenti di Gambas
www.gambas-it.org

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Bug in package creator?

by Laurent Carlier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le mardi 30 juin 2009 23:26:06 Leonardo Miliani, vous avez écrit :

> Benoît Minisini ha scritto:
> > In revision #2044, you can now use any database driver as a component and
> > check it in the IDE project property dialog. This way, they can be an
> > explicit dependency when generating a package.
> >
> > So you will get it in the upcoming 2.14 version.
>
> Several users have confirmed me that the bug still persists...
> If they specify Connection.Type="sqlite3" inside their programs and then
> they compile them, on the destination computers the component
> gb.db.sqlite isn't marked as a dependency and so the application doesn't
> start/work.

I guess you must add gb.db.sqlite3 in project property.

project -> properties -> components tab

++


------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Bug in package creator?

by Bugzilla from gambas@users.sourceforge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Le mardi 30 juin 2009 23:26:06 Leonardo Miliani, vous avez écrit :
> > Benoît Minisini ha scritto:
> > > In revision #2044, you can now use any database driver as a component
> > > and check it in the IDE project property dialog. This way, they can be
> > > an explicit dependency when generating a package.
> > >
> > > So you will get it in the upcoming 2.14 version.
> >
> > Several users have confirmed me that the bug still persists...
> > If they specify Connection.Type="sqlite3" inside their programs and then
> > they compile them, on the destination computers the component
> > gb.db.sqlite isn't marked as a dependency and so the application doesn't
> > start/work.
>
> I guess you must add gb.db.sqlite3 in project property.
>
> project -> properties -> components tab
>
> ++
>

Yes! There is no magic in dependencies. They are all explicit.

Regards,

--
Benoît

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Bug in package creator?

by Leonardo Miliani :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Benoît Minisini ha scritto:
>> Yes! There is no magic in dependencies. They are all explicit.
>
> Regards,
>

Maybe because you didn't try to make Gambas on a Debian based distro...
If you specify sqlite3 in the components of the project, then the Deb
package will search for gambas2-db-sqlite3 as dependency, but this
package doesn't exist in any of the repositories: the existing package
is named gambas2-db-sqlite...
It seems that someone has changed the name of a package so Gambas 2.14
is not compatible with the previous versions.

--
Web: www.leonardomiliani.com
E-mail: leonardo@...
Scegli software opensource - Choose opensource software

Co-fondatore di Gambas-it.org
Il sito di riferimento della comunità italiana degli utenti di Gambas
www.gambas-it.org

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user