From jj at ...1636... Sat Sep 1 09:07:54 2007 From: jj at ...1636... (jj at ...1636...) Date: Sat, 01 Sep 2007 09:07:54 +0200 Subject: [Gambas-user] make install: violation segment In-Reply-To: <200708301807.45846.gambas@...1...> References: <200708301801.04382.steven@...1652...> <200708301807.45846.gambas@...1...> Message-ID: <20070901090754.yoh5u94x4o40scss@...1637...> Hi! In gnu/Linex, last version svn, in the "#make install". what's wrong? thanks! Making install in gb.desktop make[1]: Entering directory `/home/jj/Desktop/trunk/gb.desktop' Making install in src make[2]: Entering directory `/home/jj/Desktop/trunk/gb.desktop/src' make[3]: Entering directory `/home/jj/Desktop/trunk/gb.desktop/src' make[3]: No se hace nada para `install-exec-am'. test -z "/usr/local/lib/gambas2" || mkdir -p -- "/usr/local/lib/gambas2" /usr/bin/install -c -m 644 'gb.desktop.component' '/usr/local/lib/gambas2/gb.desktop.component' test -z "/usr/local/lib/gambas2" || mkdir -p -- "/usr/local/lib/gambas2" /usr/bin/install -c -m 644 'gb.desktop.component' '/usr/local/lib/gambas2/gb.desktop.component' test -z "/usr/local/lib/gambas2" || mkdir -p -- "/usr/local/lib/gambas2" /bin/sh ../libtool --mode=install /usr/bin/install -c 'gb.desktop.la' '/usr/local/lib/gambas2/gb.desktop.la' /usr/bin/install -c .libs/gb.desktop.so.0.0.0 /usr/local/lib/gambas2/gb.desktop.so.0.0.0 (cd /usr/local/lib/gambas2 && rm -f gb.desktop.so.0 && ln -s gb.desktop.so.0.0.0 gb.desktop.so.0) (cd /usr/local/lib/gambas2 && rm -f gb.desktop.so && ln -s gb.desktop.so.0.0.0 gb.desktop.so) /usr/bin/install -c .libs/gb.desktop.lai /usr/local/lib/gambas2/gb.desktop.la PATH="$PATH:/sbin" ldconfig -n /usr/local/lib/gambas2 ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib/gambas2 If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make install-data-hook make[4]: Entering directory `/home/jj/Desktop/trunk/gb.desktop/src' Compiling the gb.desktop project... gb.desktop OK Creating the information files for gb.desktop component... gb.desktop make[4]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop/src' make[3]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop/src' make[2]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop/src' make[2]: Entering directory `/home/jj/Desktop/trunk/gb.desktop' make[3]: Entering directory `/home/jj/Desktop/trunk/gb.desktop' make[3]: No se hace nada para `install-exec-am'. make[3]: No se hace nada para `install-data-am'. make[3]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop' make[2]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop' make[1]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop' Making install in comp make[1]: Entering directory `/home/jj/Desktop/trunk/comp' make[2]: Entering directory `/home/jj/Desktop/trunk/comp' Running the informer again because of dependencies between information files gb.net gb.qt.kde gb.corba gb.vb gb.xml gb.xml.rpc gb.gui gb.ldap gb.sdl.sound gb.pcre gb.gtk gb.debug gb.qt.kde.html make[2]: *** [install-exec-local] Violaci?n de segmento make[2]: Leaving directory `/home/jj/Desktop/trunk/comp' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/jj/Desktop/trunk/comp' make: *** [install-recursive] Error 1 From gambas at ...1... Sat Sep 1 09:37:29 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 1 Sep 2007 09:37:29 +0200 Subject: [Gambas-user] make install: violation segment In-Reply-To: <20070901090754.yoh5u94x4o40scss@...1637...> References: <200708301801.04382.steven@...1652...> <200708301807.45846.gambas@...1...> <20070901090754.yoh5u94x4o40scss@...1637...> Message-ID: <200709010937.29701.gambas@...1...> On samedi 01 septembre 2007, jj at ...1636... wrote: > Hi! > In gnu/Linex, last version svn, in the "#make install". > what's wrong? > thanks! > > > Making install in gb.desktop > make[1]: Entering directory `/home/jj/Desktop/trunk/gb.desktop' > Making install in src > make[2]: Entering directory `/home/jj/Desktop/trunk/gb.desktop/src' > make[3]: Entering directory `/home/jj/Desktop/trunk/gb.desktop/src' > make[3]: No se hace nada para `install-exec-am'. > test -z "/usr/local/lib/gambas2" || mkdir -p -- "/usr/local/lib/gambas2" > /usr/bin/install -c -m 644 'gb.desktop.component' > '/usr/local/lib/gambas2/gb.desktop.component' > test -z "/usr/local/lib/gambas2" || mkdir -p -- "/usr/local/lib/gambas2" > /usr/bin/install -c -m 644 'gb.desktop.component' > '/usr/local/lib/gambas2/gb.desktop.component' > test -z "/usr/local/lib/gambas2" || mkdir -p -- "/usr/local/lib/gambas2" > /bin/sh ../libtool --mode=install /usr/bin/install -c 'gb.desktop.la' > '/usr/local/lib/gambas2/gb.desktop.la' > /usr/bin/install -c .libs/gb.desktop.so.0.0.0 > /usr/local/lib/gambas2/gb.desktop.so.0.0.0 > (cd /usr/local/lib/gambas2 && rm -f gb.desktop.so.0 && ln -s > gb.desktop.so.0.0.0 > gb.desktop.so.0) > (cd /usr/local/lib/gambas2 && rm -f gb.desktop.so && ln -s > gb.desktop.so.0.0.0 gb.desktop.so) > /usr/bin/install -c .libs/gb.desktop.lai > /usr/local/lib/gambas2/gb.desktop.la PATH="$PATH:/sbin" ldconfig -n > /usr/local/lib/gambas2 > ---------------------------------------------------------------------- > Libraries have been installed in: > /usr/local/lib/gambas2 > > If you ever happen to want to link against installed libraries > in a given directory, LIBDIR, you must either use libtool, and > specify the full pathname of the library, or use the `-LLIBDIR' > flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > > See any operating system documentation about shared libraries for > more information, such as the ld(1) and ld.so(8) manual pages. > ---------------------------------------------------------------------- > make install-data-hook > make[4]: Entering directory `/home/jj/Desktop/trunk/gb.desktop/src' > Compiling the gb.desktop project... > gb.desktop > OK > > Creating the information files for gb.desktop component... > gb.desktop > > make[4]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop/src' > make[3]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop/src' > make[2]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop/src' > make[2]: Entering directory `/home/jj/Desktop/trunk/gb.desktop' > make[3]: Entering directory `/home/jj/Desktop/trunk/gb.desktop' > make[3]: No se hace nada para `install-exec-am'. > make[3]: No se hace nada para `install-data-am'. > make[3]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop' > make[2]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop' > make[1]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop' > Making install in comp > make[1]: Entering directory `/home/jj/Desktop/trunk/comp' > make[2]: Entering directory `/home/jj/Desktop/trunk/comp' > Running the informer again because of dependencies between information > files gb.net > gb.qt.kde > gb.corba > gb.vb > gb.xml > gb.xml.rpc > gb.gui > gb.ldap > gb.sdl.sound > gb.pcre > gb.gtk > gb.debug > gb.qt.kde.html > make[2]: *** [install-exec-local] Violaci?n de segmento > make[2]: Leaving directory `/home/jj/Desktop/trunk/comp' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory `/home/jj/Desktop/trunk/comp' > make: *** [install-recursive] Error 1 > > Strange... How did you configure the source? What does it tell you if you do by hand 'gbi2 -v'? And 'gbi2 -v -p'? Regards, -- Benoit Minisini From jj at ...1636... Sat Sep 1 10:34:26 2007 From: jj at ...1636... (jj at ...1636...) Date: Sat, 01 Sep 2007 10:34:26 +0200 Subject: [Gambas-user] make install: violation segment In-Reply-To: <200709010937.29701.gambas@...1...> References: <200708301801.04382.steven@...1652...> <200708301807.45846.gambas@...1...> <20070901090754.yoh5u94x4o40scss@...1637...> <200709010937.29701.gambas@...1...> Message-ID: <20070901103426.1m9u0scyogco4kgw@...1637...> I did this: $mkdir ~/Desktop/trunk $svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/2.0/trunk/ $cd trunk $./reconf-all && ./configure -C && make && su -c "make install" ..... jj at ...1762...:~/Desktop/trunk$ gbi2 -v component path: /usr/lib/gambas2 info path: /usr/share/gambas2/info gb.net gbi: Cannot write file: /usr/share/gambas2/info/gb.net.info: Permission denied jj at ...1762...:~/Desktop/trunk$ gbi2 -v -p component path: /usr/lib/gambas2 info path: /usr/share/gambas2/info gb.net gbi: Cannot write file: /usr/share/gambas2/info/gb.net.info: Permission denied it's very strange... Quoting Benoit Minisini : > On samedi 01 septembre 2007, jj at ...1636... wrote: >> Hi! >> In gnu/Linex, last version svn, in the "#make install". >> what's wrong? >> thanks! >> >> >> Making install in gb.desktop >> make[1]: Entering directory `/home/jj/Desktop/trunk/gb.desktop' >> Making install in src >> make[2]: Entering directory `/home/jj/Desktop/trunk/gb.desktop/src' >> make[3]: Entering directory `/home/jj/Desktop/trunk/gb.desktop/src' >> make[3]: No se hace nada para `install-exec-am'. >> test -z "/usr/local/lib/gambas2" || mkdir -p -- "/usr/local/lib/gambas2" >> /usr/bin/install -c -m 644 'gb.desktop.component' >> '/usr/local/lib/gambas2/gb.desktop.component' >> test -z "/usr/local/lib/gambas2" || mkdir -p -- "/usr/local/lib/gambas2" >> /usr/bin/install -c -m 644 'gb.desktop.component' >> '/usr/local/lib/gambas2/gb.desktop.component' >> test -z "/usr/local/lib/gambas2" || mkdir -p -- "/usr/local/lib/gambas2" >> /bin/sh ../libtool --mode=install /usr/bin/install -c 'gb.desktop.la' >> '/usr/local/lib/gambas2/gb.desktop.la' >> /usr/bin/install -c .libs/gb.desktop.so.0.0.0 >> /usr/local/lib/gambas2/gb.desktop.so.0.0.0 >> (cd /usr/local/lib/gambas2 && rm -f gb.desktop.so.0 && ln -s >> gb.desktop.so.0.0.0 >> gb.desktop.so.0) >> (cd /usr/local/lib/gambas2 && rm -f gb.desktop.so && ln -s >> gb.desktop.so.0.0.0 gb.desktop.so) >> /usr/bin/install -c .libs/gb.desktop.lai >> /usr/local/lib/gambas2/gb.desktop.la PATH="$PATH:/sbin" ldconfig -n >> /usr/local/lib/gambas2 >> ---------------------------------------------------------------------- >> Libraries have been installed in: >> /usr/local/lib/gambas2 >> >> If you ever happen to want to link against installed libraries >> in a given directory, LIBDIR, you must either use libtool, and >> specify the full pathname of the library, or use the `-LLIBDIR' >> flag during linking and do at least one of the following: >> - add LIBDIR to the `LD_LIBRARY_PATH' environment variable >> during execution >> - add LIBDIR to the `LD_RUN_PATH' environment variable >> during linking >> - use the `-Wl,--rpath -Wl,LIBDIR' linker flag >> - have your system administrator add LIBDIR to `/etc/ld.so.conf' >> >> See any operating system documentation about shared libraries for >> more information, such as the ld(1) and ld.so(8) manual pages. >> ---------------------------------------------------------------------- >> make install-data-hook >> make[4]: Entering directory `/home/jj/Desktop/trunk/gb.desktop/src' >> Compiling the gb.desktop project... >> gb.desktop >> OK >> >> Creating the information files for gb.desktop component... >> gb.desktop >> >> make[4]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop/src' >> make[3]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop/src' >> make[2]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop/src' >> make[2]: Entering directory `/home/jj/Desktop/trunk/gb.desktop' >> make[3]: Entering directory `/home/jj/Desktop/trunk/gb.desktop' >> make[3]: No se hace nada para `install-exec-am'. >> make[3]: No se hace nada para `install-data-am'. >> make[3]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop' >> make[2]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop' >> make[1]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop' >> Making install in comp >> make[1]: Entering directory `/home/jj/Desktop/trunk/comp' >> make[2]: Entering directory `/home/jj/Desktop/trunk/comp' >> Running the informer again because of dependencies between information >> files gb.net >> gb.qt.kde >> gb.corba >> gb.vb >> gb.xml >> gb.xml.rpc >> gb.gui >> gb.ldap >> gb.sdl.sound >> gb.pcre >> gb.gtk >> gb.debug >> gb.qt.kde.html >> make[2]: *** [install-exec-local] Violaci?n de segmento >> make[2]: Leaving directory `/home/jj/Desktop/trunk/comp' >> make[1]: *** [install-am] Error 2 >> make[1]: Leaving directory `/home/jj/Desktop/trunk/comp' >> make: *** [install-recursive] Error 1 >> >> > > Strange... How did you configure the source? What does it tell you if you do > by hand 'gbi2 -v'? And 'gbi2 -v -p'? > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Sep 1 10:48:11 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 1 Sep 2007 10:48:11 +0200 Subject: [Gambas-user] make install: violation segment In-Reply-To: <20070901103426.1m9u0scyogco4kgw@...1637...> References: <200708301801.04382.steven@...1652...> <200709010937.29701.gambas@...1...> <20070901103426.1m9u0scyogco4kgw@...1637...> Message-ID: <200709011048.11490.gambas@...1...> On samedi 01 septembre 2007, jj at ...1636... wrote: > I did this: > > $mkdir ~/Desktop/trunk > $svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/2.0/trunk/ > $cd trunk > $./reconf-all && ./configure -C && make && su -c "make install" > > ..... > > jj at ...1762...:~/Desktop/trunk$ gbi2 -v > component path: /usr/lib/gambas2 > info path: /usr/share/gambas2/info > gb.net > gbi: Cannot write file: /usr/share/gambas2/info/gb.net.info: Permission > denied > > jj at ...1762...:~/Desktop/trunk$ gbi2 -v -p > component path: /usr/lib/gambas2 > info path: /usr/share/gambas2/info > gb.net > gbi: Cannot write file: /usr/share/gambas2/info/gb.net.info: Permission > denied > Do the last commands as root, as "make install" does. -- Benoit Minisini From jj at ...1636... Sat Sep 1 11:15:48 2007 From: jj at ...1636... (jj at ...1636...) Date: Sat, 01 Sep 2007 11:15:48 +0200 Subject: [Gambas-user] make install: violation segment In-Reply-To: <200709011048.11490.gambas@...1...> References: <200708301801.04382.steven@...1652...> <200709010937.29701.gambas@...1...> <20070901103426.1m9u0scyogco4kgw@...1637...> <200709011048.11490.gambas@...1...> Message-ID: <20070901111548.harxa8se84k8k8s8@...1637...> Ok #make install ... Making install in comp make[1]: Entering directory `/home/jj/Desktop/trunk/comp' make[2]: Entering directory `/home/jj/Desktop/trunk/comp' Running the informer again because of dependencies between information files gb.net gb.qt.kde gb.corba gb.vb gb.xml gb.xml.rpc gb.gui gb.ldap gb.sdl.sound gb.pcre gb.gtk gb.debug gb.qt.kde.html make[2]: *** [install-exec-local] Violaci?n de segmento make[2]: Leaving directory `/home/jj/Desktop/trunk/comp' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/jj/Desktop/trunk/comp' make: *** [install-recursive] Error 1 ...but it fail again :( Quoting Benoit Minisini : > On samedi 01 septembre 2007, jj at ...1636... wrote: >> I did this: >> >> $mkdir ~/Desktop/trunk >> $svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/2.0/trunk/ >> $cd trunk >> $./reconf-all && ./configure -C && make && su -c "make install" >> >> ..... >> >> jj at ...1762...:~/Desktop/trunk$ gbi2 -v >> component path: /usr/lib/gambas2 >> info path: /usr/share/gambas2/info >> gb.net >> gbi: Cannot write file: /usr/share/gambas2/info/gb.net.info: Permission >> denied >> >> jj at ...1762...:~/Desktop/trunk$ gbi2 -v -p >> component path: /usr/lib/gambas2 >> info path: /usr/share/gambas2/info >> gb.net >> gbi: Cannot write file: /usr/share/gambas2/info/gb.net.info: Permission >> denied >> > > Do the last commands as root, as "make install" does. > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Sep 1 11:22:05 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 1 Sep 2007 11:22:05 +0200 Subject: [Gambas-user] make install: violation segment In-Reply-To: <20070901111548.harxa8se84k8k8s8@...1637...> References: <200708301801.04382.steven@...1652...> <200709011048.11490.gambas@...1...> <20070901111548.harxa8se84k8k8s8@...1637...> Message-ID: <200709011122.05150.gambas@...1...> On samedi 01 septembre 2007, jj at ...1636... wrote: > Ok > > #make install > ... > Making install in comp > make[1]: Entering directory `/home/jj/Desktop/trunk/comp' > make[2]: Entering directory `/home/jj/Desktop/trunk/comp' > Running the informer again because of dependencies between information > files gb.net > gb.qt.kde > gb.corba > gb.vb > gb.xml > gb.xml.rpc > gb.gui > gb.ldap > gb.sdl.sound > gb.pcre > gb.gtk > gb.debug > gb.qt.kde.html > make[2]: *** [install-exec-local] Violaci?n de segmento > make[2]: Leaving directory `/home/jj/Desktop/trunk/comp' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory `/home/jj/Desktop/trunk/comp' > make: *** [install-recursive] Error 1 > > ...but it fail again :( > No, I said doing 'gbi2 -v' and 'gbi2 -v -p' as root. -- Benoit Minisini From jj at ...1636... Sat Sep 1 11:30:56 2007 From: jj at ...1636... (jj at ...1636...) Date: Sat, 01 Sep 2007 11:30:56 +0200 Subject: [Gambas-user] make install: violation segment In-Reply-To: <200709011122.05150.gambas@...1...> References: <200708301801.04382.steven@...1652...> <200709011048.11490.gambas@...1...> <20070901111548.harxa8se84k8k8s8@...1637...> <200709011122.05150.gambas@...1...> Message-ID: <20070901113056.q6b2plpva8o8oksk@...1637...> bash-2.05b# gbi2 -v component path: /usr/lib/gambas2 info path: /usr/share/gambas2/info gb.net Loading native component: /usr/lib/gambas2/gb.net.so gb.qt.kde Loading native component: /usr/lib/gambas2/gb.qt.kde.so gb.vb Loading native component: /usr/lib/gambas2/gb.vb.so gb.xml Loading native component: /usr/lib/gambas2/gb.xml.so gb.xml.rpc Loading gambas component: /usr/lib/gambas2/gb.xml.rpc.gambas gb.ldap Loading native component: /usr/lib/gambas2/gb.ldap.so gb.sdl.sound Loading native component: /usr/lib/gambas2/gb.sdl.sound.so gb.settings Loading gambas component: /usr/lib/gambas2/gb.settings.gambas gb.form Loading gambas component: /usr/lib/gambas2/gb.form.gambas gb.info Loading gambas component: /usr/lib/gambas2/gb.info.gambas gb.pcre Loading native component: /usr/lib/gambas2/gb.pcre.so gb.gtk Loading native component: /usr/lib/gambas2/gb.gtk.so Loading gambas component: /usr/lib/gambas2/gb.gtk.gambas gb.web Loading gambas component: /usr/lib/gambas2/gb.web.gambas gb.report Loading gambas component: /usr/lib/gambas2/gb.report.gambas gb.debug Loading native component: /usr/lib/gambas2/gb.debug.so gb.qt.opengl Loading native component: /usr/lib/gambas2/gb.qt.opengl.so gb.qt.kde.html Loading native component: /usr/lib/gambas2/gb.qt.kde.html.so Violaci?n de segmento bash-2.05b# gbi2 -v -p component path: /usr/lib/gambas2 info path: /usr/share/gambas2/info gb.net Loading native component: /usr/lib/gambas2/gb.net.so gb.qt.kde Loading native component: /usr/lib/gambas2/gb.qt.kde.so gb.vb Loading native component: /usr/lib/gambas2/gb.vb.so gb.xml Loading native component: /usr/lib/gambas2/gb.xml.so gb.xml.rpc Loading gambas component: /usr/lib/gambas2/gb.xml.rpc.gambas gb.ldap Loading native component: /usr/lib/gambas2/gb.ldap.so gb.sdl.sound Loading native component: /usr/lib/gambas2/gb.sdl.sound.so gb.settings Loading gambas component: /usr/lib/gambas2/gb.settings.gambas gb.form Loading gambas component: /usr/lib/gambas2/gb.form.gambas gb.info Loading gambas component: /usr/lib/gambas2/gb.info.gambas gb.pcre Loading native component: /usr/lib/gambas2/gb.pcre.so gb.gtk Loading native component: /usr/lib/gambas2/gb.gtk.so Loading gambas component: /usr/lib/gambas2/gb.gtk.gambas gb.web Loading gambas component: /usr/lib/gambas2/gb.web.gambas gb.report Loading gambas component: /usr/lib/gambas2/gb.report.gambas gb.debug Loading native component: /usr/lib/gambas2/gb.debug.so gb.qt.opengl Loading native component: /usr/lib/gambas2/gb.qt.opengl.so gb.qt.kde.html Loading native component: /usr/lib/gambas2/gb.qt.kde.html.so Violaci?n de segmento Quoting Benoit Minisini : > On samedi 01 septembre 2007, jj at ...1636... wrote: >> Ok >> >> #make install >> ... >> Making install in comp >> make[1]: Entering directory `/home/jj/Desktop/trunk/comp' >> make[2]: Entering directory `/home/jj/Desktop/trunk/comp' >> Running the informer again because of dependencies between information >> files gb.net >> gb.qt.kde >> gb.corba >> gb.vb >> gb.xml >> gb.xml.rpc >> gb.gui >> gb.ldap >> gb.sdl.sound >> gb.pcre >> gb.gtk >> gb.debug >> gb.qt.kde.html >> make[2]: *** [install-exec-local] Violaci?n de segmento >> make[2]: Leaving directory `/home/jj/Desktop/trunk/comp' >> make[1]: *** [install-am] Error 2 >> make[1]: Leaving directory `/home/jj/Desktop/trunk/comp' >> make: *** [install-recursive] Error 1 >> >> ...but it fail again :( >> > > No, I said doing 'gbi2 -v' and 'gbi2 -v -p' as root. > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Sep 1 11:39:35 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 1 Sep 2007 11:39:35 +0200 Subject: [Gambas-user] make install: violation segment In-Reply-To: <20070901113056.q6b2plpva8o8oksk@...1637...> References: <200708301801.04382.steven@...1652...> <200709011122.05150.gambas@...1...> <20070901113056.q6b2plpva8o8oksk@...1637...> Message-ID: <200709011139.35541.gambas@...1...> On samedi 01 septembre 2007, jj at ...1636... wrote: > bash-2.05b# gbi2 -v > > component path: /usr/lib/gambas2 > info path: /usr/share/gambas2/info > gb.net > Loading native component: /usr/lib/gambas2/gb.net.so > gb.qt.kde > Loading native component: /usr/lib/gambas2/gb.qt.kde.so > gb.vb > Loading native component: /usr/lib/gambas2/gb.vb.so > gb.xml > Loading native component: /usr/lib/gambas2/gb.xml.so > gb.xml.rpc > Loading gambas component: /usr/lib/gambas2/gb.xml.rpc.gambas > gb.ldap > Loading native component: /usr/lib/gambas2/gb.ldap.so > gb.sdl.sound > Loading native component: /usr/lib/gambas2/gb.sdl.sound.so > gb.settings > Loading gambas component: /usr/lib/gambas2/gb.settings.gambas > gb.form > Loading gambas component: /usr/lib/gambas2/gb.form.gambas > gb.info > Loading gambas component: /usr/lib/gambas2/gb.info.gambas > gb.pcre > Loading native component: /usr/lib/gambas2/gb.pcre.so > gb.gtk > Loading native component: /usr/lib/gambas2/gb.gtk.so > Loading gambas component: /usr/lib/gambas2/gb.gtk.gambas > gb.web > Loading gambas component: /usr/lib/gambas2/gb.web.gambas > gb.report > Loading gambas component: /usr/lib/gambas2/gb.report.gambas > gb.debug > Loading native component: /usr/lib/gambas2/gb.debug.so > gb.qt.opengl > Loading native component: /usr/lib/gambas2/gb.qt.opengl.so > gb.qt.kde.html > Loading native component: /usr/lib/gambas2/gb.qt.kde.html.so > Violaci?n de segmento > > bash-2.05b# gbi2 -v -p > > component path: /usr/lib/gambas2 > info path: /usr/share/gambas2/info > gb.net > Loading native component: /usr/lib/gambas2/gb.net.so > gb.qt.kde > Loading native component: /usr/lib/gambas2/gb.qt.kde.so > gb.vb > Loading native component: /usr/lib/gambas2/gb.vb.so > gb.xml > Loading native component: /usr/lib/gambas2/gb.xml.so > gb.xml.rpc > Loading gambas component: /usr/lib/gambas2/gb.xml.rpc.gambas > gb.ldap > Loading native component: /usr/lib/gambas2/gb.ldap.so > gb.sdl.sound > Loading native component: /usr/lib/gambas2/gb.sdl.sound.so > gb.settings > Loading gambas component: /usr/lib/gambas2/gb.settings.gambas > gb.form > Loading gambas component: /usr/lib/gambas2/gb.form.gambas > gb.info > Loading gambas component: /usr/lib/gambas2/gb.info.gambas > gb.pcre > Loading native component: /usr/lib/gambas2/gb.pcre.so > gb.gtk > Loading native component: /usr/lib/gambas2/gb.gtk.so > Loading gambas component: /usr/lib/gambas2/gb.gtk.gambas > gb.web > Loading gambas component: /usr/lib/gambas2/gb.web.gambas > gb.report > Loading gambas component: /usr/lib/gambas2/gb.report.gambas > gb.debug > Loading native component: /usr/lib/gambas2/gb.debug.so > gb.qt.opengl > Loading native component: /usr/lib/gambas2/gb.qt.opengl.so > gb.qt.kde.html > Loading native component: /usr/lib/gambas2/gb.qt.kde.html.so > Violaci?n de segmento > Can you do that now (as root)? # gdb gbi2 ... (gdb) run ... *crash* (gdb) bt And send the result of the 'bt' command. Regards, -- Benoit Minisini From jj at ...1636... Sat Sep 1 11:47:36 2007 From: jj at ...1636... (jj at ...1636...) Date: Sat, 01 Sep 2007 11:47:36 +0200 Subject: [Gambas-user] make install: violation segment In-Reply-To: <200709011139.35541.gambas@...1...> References: <200708301801.04382.steven@...1652...> <200709011122.05150.gambas@...1...> <20070901113056.q6b2plpva8o8oksk@...1637...> <200709011139.35541.gambas@...1...> Message-ID: <20070901114736.0xtqhpmqqs440gs0@...1637...> #0 0xb7f5adad in ?? () from /lib/ld-linux.so.2 #1 0x00000000 in ?? () #2 0xb7397000 in ?? () #3 0xbfa5ad1c in ?? () #4 0xb7f4f088 in ?? () #5 0xbfa5ac60 in ?? () #6 0x00000000 in ?? () #7 0x00030003 in ?? () #8 0xbfa5ad68 in ?? () #9 0xbfa5ad34 in ?? () #10 0x0805a1d8 in ?? () ---Type to continue, or q to quit--- #11 0x00000000 in ?? () #12 0x80000000 in ?? () #13 0x00000000 in ?? () #14 0x80000000 in ?? () #15 0x00000806 in ?? () #16 0x00000000 in ?? () #17 0xb73e4270 in ?? () #18 0x0012b8c9 in ?? () #19 0xb7f4f004 in ?? () #20 0xb7046862 in ?? () #21 0x08059d48 in ?? () ---Type to continue, or q to quit--- #22 0x00000000 in ?? () #23 0x00000000 in ?? () #24 0x00000000 in ?? () #25 0x00000000 in ?? () #26 0xbfa5ac60 in ?? () #27 0x00000000 in ?? () #28 0x00000000 in ?? () #29 0xffffffff in ?? () #30 0xb73e45f0 in ?? () #31 0x46d9344d in ?? () #32 0x00000000 in ?? () ---Type to continue, or q to quit--- #33 0x00f17fb8 in ?? () #34 0xb7845498 in ?? () #35 0xbfa5af30 in ?? () #36 0xb7f4f3b4 in ?? () #37 0xb70c7d7b in ?? () #38 0xb78454a4 in ?? () #39 0xb7f5fca0 in _dl_dst_substitute () from /lib/ld-linux.so.2 #40 0x00000020 in ?? () #41 0xb7f5bd41 in ?? () from /lib/ld-linux.so.2 #42 0xbfa5af4c in ?? () #43 0xb7f4f5a6 in ?? () ---Type to continue, or q to quit--- #44 0xb70c7a7e in ?? () #45 0xffffffff in ?? () #46 0xbfa5ad30 in ?? () #47 0x0805f100 in ?? () #48 0x080579c8 in ?? () #49 0x00000002 in ?? () #50 0xb7845270 in ?? () #51 0xb70c7a6f in ?? () #52 0x00000000 in ?? () #53 0xb70c7d7b in ?? () #54 0xb7f57a8e in ?? () ---Type to continue, or q to quit--- #55 0xb7f5fca0 in _dl_dst_substitute () from /lib/ld-linux.so.2 #56 0x080576a8 in ?? () #57 0xb7f5bd41 in ?? () from /lib/ld-linux.so.2 #58 0xbfa5af8c in ?? () #59 0xb7f4fab2 in ?? () #60 0xb71b8aaf in ?? () #61 0x0000000f in ?? () #62 0x00000000 in ?? () #63 0x080576a8 in ?? () #64 0xbfa5ad6c in ?? () #65 0xbfa5ad70 in ?? () ---Type to continue, or q to quit--- #66 0xb7f4f3b4 in ?? () #67 0xb795d2f1 in ?? () #68 0xb75a9ebc in ?? () #69 0xb7f5724e in ?? () #70 0x00000450 in ?? () #71 0xb75a99b0 in ?? () #72 0x0000000f in ?? () #73 0x08057528 in ?? () #74 0xffffffff in ?? () #75 0x00000000 in ?? () #76 0xb71b8aaf in ?? () ---Type to continue, or q to quit--- #77 0x08057780 in ?? () #78 0xb75a9730 in ?? () #79 0xbfa5afe0 in ?? () #80 0xb75a9c88 in ?? () #81 0xb795d2bf in ?? () #82 0x00000000 in ?? () #83 0xb795d2f1 in ?? () #84 0xb7f48958 in ?? () #85 0xb7652ea8 in ?? () #86 0xbfa5affc in ?? () #87 0xb75a9788 in ?? () ---Type to continue, or q to quit--- #88 0xb795d295 in ?? () #89 0x00000000 in ?? () #90 0xb795d2ca in ?? () #91 0xb7f48958 in ?? () #92 0xb7652c30 in ?? () #93 0xbfa5b018 in ?? () #94 0xb75a9508 in ?? () #95 0xb795d289 in ?? () #96 0x00000000 in ?? () #97 0xb795d2bf in ?? () #98 0xb7f48958 in ?? () ---Type to continue, or q to quit--- #99 0xb76529b0 in ?? () #100 0xbfa5b034 in ?? () .... From gambas at ...1... Sat Sep 1 11:53:49 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 1 Sep 2007 11:53:49 +0200 Subject: [Gambas-user] make install: violation segment In-Reply-To: <20070901114736.0xtqhpmqqs440gs0@...1637...> References: <200708301801.04382.steven@...1652...> <200709011139.35541.gambas@...1...> <20070901114736.0xtqhpmqqs440gs0@...1637...> Message-ID: <200709011153.49604.gambas@...1...> On samedi 01 septembre 2007, jj at ...1636... wrote: > #0 0xb7f5adad in ?? () from /lib/ld-linux.so.2 > #1 0x00000000 in ?? () > #2 0xb7397000 in ?? () > #3 0xbfa5ad1c in ?? () > #4 0xb7f4f088 in ?? () > #5 0xbfa5ac60 in ?? () > #6 0x00000000 in ?? () > #7 0x00030003 in ?? () > #8 0xbfa5ad68 in ?? () > #9 0xbfa5ad34 in ?? () > #10 0x0805a1d8 in ?? () > ---Type to continue, or q to quit--- > #11 0x00000000 in ?? () > #12 0x80000000 in ?? () > #13 0x00000000 in ?? () > #14 0x80000000 in ?? () > #15 0x00000806 in ?? () > #16 0x00000000 in ?? () > #17 0xb73e4270 in ?? () > #18 0x0012b8c9 in ?? () > #19 0xb7f4f004 in ?? () > #20 0xb7046862 in ?? () > #21 0x08059d48 in ?? () > ---Type to continue, or q to quit--- > #22 0x00000000 in ?? () > #23 0x00000000 in ?? () > #24 0x00000000 in ?? () > #25 0x00000000 in ?? () > #26 0xbfa5ac60 in ?? () > #27 0x00000000 in ?? () > #28 0x00000000 in ?? () > #29 0xffffffff in ?? () > #30 0xb73e45f0 in ?? () > #31 0x46d9344d in ?? () > #32 0x00000000 in ?? () > ---Type to continue, or q to quit--- > #33 0x00f17fb8 in ?? () > #34 0xb7845498 in ?? () > #35 0xbfa5af30 in ?? () > #36 0xb7f4f3b4 in ?? () > #37 0xb70c7d7b in ?? () > #38 0xb78454a4 in ?? () > #39 0xb7f5fca0 in _dl_dst_substitute () from /lib/ld-linux.so.2 > #40 0x00000020 in ?? () > #41 0xb7f5bd41 in ?? () from /lib/ld-linux.so.2 > #42 0xbfa5af4c in ?? () > #43 0xb7f4f5a6 in ?? () > ---Type to continue, or q to quit--- > #44 0xb70c7a7e in ?? () > #45 0xffffffff in ?? () > #46 0xbfa5ad30 in ?? () > #47 0x0805f100 in ?? () > #48 0x080579c8 in ?? () > #49 0x00000002 in ?? () > #50 0xb7845270 in ?? () > #51 0xb70c7a6f in ?? () > #52 0x00000000 in ?? () > #53 0xb70c7d7b in ?? () > #54 0xb7f57a8e in ?? () > ---Type to continue, or q to quit--- > #55 0xb7f5fca0 in _dl_dst_substitute () from /lib/ld-linux.so.2 > #56 0x080576a8 in ?? () > #57 0xb7f5bd41 in ?? () from /lib/ld-linux.so.2 > #58 0xbfa5af8c in ?? () > #59 0xb7f4fab2 in ?? () > #60 0xb71b8aaf in ?? () > #61 0x0000000f in ?? () > #62 0x00000000 in ?? () > #63 0x080576a8 in ?? () > #64 0xbfa5ad6c in ?? () > #65 0xbfa5ad70 in ?? () > ---Type to continue, or q to quit--- > #66 0xb7f4f3b4 in ?? () > #67 0xb795d2f1 in ?? () > #68 0xb75a9ebc in ?? () > #69 0xb7f5724e in ?? () > #70 0x00000450 in ?? () > #71 0xb75a99b0 in ?? () > #72 0x0000000f in ?? () > #73 0x08057528 in ?? () > #74 0xffffffff in ?? () > #75 0x00000000 in ?? () > #76 0xb71b8aaf in ?? () > ---Type to continue, or q to quit--- > #77 0x08057780 in ?? () > #78 0xb75a9730 in ?? () > #79 0xbfa5afe0 in ?? () > #80 0xb75a9c88 in ?? () > #81 0xb795d2bf in ?? () > #82 0x00000000 in ?? () > #83 0xb795d2f1 in ?? () > #84 0xb7f48958 in ?? () > #85 0xb7652ea8 in ?? () > #86 0xbfa5affc in ?? () > #87 0xb75a9788 in ?? () > ---Type to continue, or q to quit--- > #88 0xb795d295 in ?? () > #89 0x00000000 in ?? () > #90 0xb795d2ca in ?? () > #91 0xb7f48958 in ?? () > #92 0xb7652c30 in ?? () > #93 0xbfa5b018 in ?? () > #94 0xb75a9508 in ?? () > #95 0xb795d289 in ?? () > #96 0x00000000 in ?? () > #97 0xb795d2bf in ?? () > #98 0xb7f48958 in ?? () > ---Type to continue, or q to quit--- > #99 0xb76529b0 in ?? () > #100 0xbfa5b034 in ?? () > > .... > It seems there is something weird on your system. Is there any other LinEx user there that has the same problem than you? Maybe you could get more info with valgrind. Do, as root: # valgrind gbi2 --num-callers=80 And maybe it will give more info on what happens exactly. Regards, -- Benoit Minisini From jj at ...1636... Sat Sep 1 12:14:50 2007 From: jj at ...1636... (jj at ...1636...) Date: Sat, 01 Sep 2007 12:14:50 +0200 Subject: [Gambas-user] make install: violation segment In-Reply-To: <200709011153.49604.gambas@...1...> References: <200708301801.04382.steven@...1652...> <200709011139.35541.gambas@...1...> <20070901114736.0xtqhpmqqs440gs0@...1637...> <200709011153.49604.gambas@...1...> Message-ID: <20070901121450.k5v0hhbsg04040wc@...1637...> > It seems there is something weird on your system. yes. This computer is only for my development and it's very dirty and modified. No problem, I will use the version 1.9.50 again thank! regards From vdiago at ...626... Sat Sep 1 12:53:29 2007 From: vdiago at ...626... (Victor Diago) Date: Sat, 1 Sep 2007 07:53:29 -0300 Subject: [Gambas-user] Gambas Brazilian Book In-Reply-To: <7768a81f0709010351l662c1a1fqa444d646ac613dc1@...627...> References: <7768a81f0709010351l662c1a1fqa444d646ac613dc1@...627...> Message-ID: <7768a81f0709010353y25a5d946o5daeaf77806c50d3@...627...> Hi Benoit and List at all. My name is Victor Diago, im a Brazilian Linux Consultant, and i am really interested in write a gambas book in Brazilian Portuguese. I have seen that wonderful work made by Daniel Campos and Jos? Luis Redrejo in spanish, its really a masterpiece. So i was wondering about write a new book that contains most used tools and common applications written in Gambas, as there is absolutely no one really good document about this great IDE/language. I know that i have never (or almost never) wrote to this list, but im actively using gambas daily. Also, i am the IT person of a highschool here in Brazil, named Singular, and im starting to teach gambas to our students under slackware linux. I would like to get permission of Benoit to write this, and, if possible, i would like as well a dedication wrote by Benoit to the Brazilian readers. I am thinking about use the latest development version of gambas to work the book, and maintain a website with information about changes in the development version to the Brazilian people. So it will not be a problem for readers that want to use a newer version than the used in book. Even for what the development version have a lot of nice features that coud be wrote about. So, Thanks for the time you all spent reading this, and my best regards to all those people that are making gambas better and better. -- Victor Diago. Technet Consultoria em T.I From gambas at ...1... Sat Sep 1 13:39:28 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 1 Sep 2007 13:39:28 +0200 Subject: [Gambas-user] Gambas Brazilian Book In-Reply-To: <7768a81f0709010353y25a5d946o5daeaf77806c50d3@...627...> References: <7768a81f0709010351l662c1a1fqa444d646ac613dc1@...627...> <7768a81f0709010353y25a5d946o5daeaf77806c50d3@...627...> Message-ID: <200709011339.28644.gambas@...1...> On samedi 01 septembre 2007, Victor Diago wrote: > Hi Benoit and List at all. > > > My name is Victor Diago, im a Brazilian Linux Consultant, and i am > really interested > in write a gambas book in Brazilian Portuguese. > > I have seen that wonderful work made by Daniel Campos and Jos? Luis > Redrejo in spanish, > its really a masterpiece. > > So i was wondering about write a new book that contains most used > tools and common applications written in Gambas, as there is > absolutely no one really good document about this great IDE/language. > > I know that i have never (or almost never) wrote to this list, but im > actively using gambas daily. > > Also, i am the IT person of a highschool here in Brazil, named > Singular, and im starting to teach gambas to our students under > slackware linux. > > I would like to get permission of Benoit to write this, and, if > possible, i would like as well a dedication wrote by Benoit to the > Brazilian readers. > > I am thinking about use the latest development version of gambas to > work the book, and maintain a website with information about changes > in the development version to the Brazilian people. So it will not be > a problem for readers that want to use a newer version than the used > in book. Even for what the development version have a lot of nice > features that coud be wrote about. > > So, Thanks for the time you all spent reading this, and my best > regards to all those people that are making gambas better and better. > > > -- > Victor Diago. > > Technet Consultoria em T.I > You have my permission, no problem. Just try to not make too many mistakes, because I won't fix them :-) But do not worry, there are many in the other books... The only problem is that you will use the development version. Hopefully there won't be too many changes until the final release, but I can't read the future. So I just ask you to warn your readers about that. I plan to make a book myself, but I prefer doing the development. But I will do that for sure, maybe it will make me earn some money :-) As for a dedication to the Brazilian reader, no problem. But what could I say? Do not make fuel from food? Regards, -- Benoit Minisini From vdiago at ...626... Sat Sep 1 14:13:40 2007 From: vdiago at ...626... (Victor Diago) Date: Sat, 1 Sep 2007 09:13:40 -0300 Subject: [Gambas-user] Gambas-user Digest, Vol 16, Issue 2 In-Reply-To: References: Message-ID: <7768a81f0709010513u4cff08dbp620799360cf00c5f@...627...> Hi Benoit, Thanks for your answer. Only for knowledge : We make fuel from sugar kane... sugar cane is either to make alcoohol, that is very bad for any family structure, or sugar, that is the most refinated carb form.... and it causes cancer. So, i think that fuel from sugar kane is not so bad. Anyway, i think everybody would be very interested in read a book made by you. Can count on me to buy your book in the future !. Thanks > Message: 7 > Date: Sat, 1 Sep 2007 13:39:28 +0200 > From: Benoit Minisini > Subject: Re: [Gambas-user] Gambas Brazilian Book > To: mailing list for gambas users > Message-ID: <200709011339.28644.gambas at ...1...> > Content-Type: text/plain; charset="iso-8859-1" > > On samedi 01 septembre 2007, Victor Diago wrote: > > Hi Benoit and List at all. > > > > > > My name is Victor Diago, im a Brazilian Linux Consultant, and i am > > really interested > > in write a gambas book in Brazilian Portuguese. > > > > I have seen that wonderful work made by Daniel Campos and Jos? Luis > > Redrejo in spanish, > > its really a masterpiece. > > > > So i was wondering about write a new book that contains most used > > tools and common applications written in Gambas, as there is > > absolutely no one really good document about this great IDE/language. > > > > I know that i have never (or almost never) wrote to this list, but im > > actively using gambas daily. > > > > Also, i am the IT person of a highschool here in Brazil, named > > Singular, and im starting to teach gambas to our students under > > slackware linux. > > > > I would like to get permission of Benoit to write this, and, if > > possible, i would like as well a dedication wrote by Benoit to the > > Brazilian readers. > > > > I am thinking about use the latest development version of gambas to > > work the book, and maintain a website with information about changes > > in the development version to the Brazilian people. So it will not be > > a problem for readers that want to use a newer version than the used > > in book. Even for what the development version have a lot of nice > > features that coud be wrote about. > > > > So, Thanks for the time you all spent reading this, and my best > > regards to all those people that are making gambas better and better. > > > > > > -- > > Victor Diago. > > > > Technet Consultoria em T.I > > > > You have my permission, no problem. > > Just try to not make too many mistakes, because I won't fix them :-) But do > not worry, there are many in the other books... > > The only problem is that you will use the development version. Hopefully there > won't be too many changes until the final release, but I can't read the > future. So I just ask you to warn your readers about that. > > I plan to make a book myself, but I prefer doing the development. But I will > do that for sure, maybe it will make me earn some money :-) > > As for a dedication to the Brazilian reader, no problem. But what could I say? > Do not make fuel from food? > > Regards, > > -- > Benoit Minisini > > > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > ------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > End of Gambas-user Digest, Vol 16, Issue 2 > ****************************************** > -- Victor Diago. Technet Consultoria em T.I From steven at ...1652... Sat Sep 1 16:46:21 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Sat, 1 Sep 2007 16:46:21 +0200 Subject: [Gambas-user] Datechooser Message-ID: <200709011646.21438.steven@...1652...> Hi, Why one cannot see the day-numbers in the date-chooser anymore ? Suse 10.2 Gambas 1.9.50 Steven From gambas at ...1... Sat Sep 1 17:16:08 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 1 Sep 2007 17:16:08 +0200 Subject: [Gambas-user] Datechooser In-Reply-To: <200709011646.21438.steven@...1652...> References: <200709011646.21438.steven@...1652...> Message-ID: <200709011716.08177.gambas@...1...> On samedi 01 septembre 2007, Steven Lobbezoo wrote: > Hi, > > Why one cannot see the day-numbers in the date-chooser anymore ? > Suse 10.2 > Gambas 1.9.50 > > > Steven > It seems to be a bug introduced by the new Draw class implementation. Regards, -- Benoit Minisini From gareth at ...1689... Sat Sep 1 19:08:08 2007 From: gareth at ...1689... (Gareth Bult) Date: Sat, 1 Sep 2007 18:08:08 +0100 (BST) Subject: [Gambas-user] httpclient in SVN causing SEGV Message-ID: <30692107.2941188666488807.JavaMail.root@...1708...> This is on the tracker but before anyone else upgrades, there's been a change to the curl/http client. At the moment (for me) http.Get() is causing applications to SEGV. -- Managing Director, Encryptec Limited Tel: 0845 25 77033, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gambas at ...1... Sat Sep 1 19:14:21 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 1 Sep 2007 19:14:21 +0200 Subject: [Gambas-user] httpclient in SVN causing SEGV In-Reply-To: <30692107.2941188666488807.JavaMail.root@...1708...> References: <30692107.2941188666488807.JavaMail.root@...1708...> Message-ID: <200709011914.21158.gambas@...1...> On samedi 01 septembre 2007, Gareth Bult wrote: > This is on the tracker but before anyone else upgrades, there's been a > change to the curl/http client. At the moment (for me) http.Get() is > causing applications to SEGV. Can you get the gdb backtrace? -- Benoit Minisini From gambas at ...1... Sat Sep 1 19:55:35 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 1 Sep 2007 19:55:35 +0200 Subject: [Gambas-user] Datechooser In-Reply-To: <200709011716.08177.gambas@...1...> References: <200709011646.21438.steven@...1652...> <200709011716.08177.gambas@...1...> Message-ID: <200709011955.35906.gambas@...1...> On samedi 01 septembre 2007, Benoit Minisini wrote: > On samedi 01 septembre 2007, Steven Lobbezoo wrote: > > Hi, > > > > Why one cannot see the day-numbers in the date-chooser anymore ? > > Suse 10.2 > > Gambas 1.9.50 > > > > > > Steven > > It seems to be a bug introduced by the new Draw class implementation. > > Regards, Fixed in the last revision! -- Benoit Minisini From gambas at ...1... Sat Sep 1 20:47:53 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 1 Sep 2007 20:47:53 +0200 Subject: [Gambas-user] Gridview In-Reply-To: <200708221714.07144.steven@...1652...> References: <200708221714.07144.steven@...1652...> Message-ID: <200709012047.53843.gambas@...1...> On mercredi 22 ao?t 2007, Steven Lobbezoo wrote: > Hi, > > Sorry to bother you inmidst all this exitement on the new web-site > with a simple question on gambas, ;-) but : > > If I do : > GridView2.Current.ForeColor = Color.DarkRed > > or any other property of the current cell in the color range (BackColor, > ....) the contents of the cell is eraised. > > Is this normal behaveour ? > > Thanks, > Steven > Hi, I cannot reproduce the bug you describe. Can you send some code? Regards, -- Benoit Minisini From gambas at ...1... Sat Sep 1 20:49:11 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 1 Sep 2007 20:49:11 +0200 Subject: [Gambas-user] Text Over an Image on Button In-Reply-To: References: Message-ID: <200709012049.11695.gambas@...1...> On mardi 05 juin 2007, Vince Scott wrote: > Hello All, > > > > Does anyone know how to overlay a label on an image on a button or > toolbutton? > > > > Thanks, > > Vince Scott > Labels now can be transparent, but it is not true transparency. Images will never be I think... Regards, -- Benoit Minisini From gareth at ...1689... Sun Sep 2 01:55:18 2007 From: gareth at ...1689... (Gareth Bult) Date: Sun, 2 Sep 2007 00:55:18 +0100 (BST) Subject: [Gambas-user] httpclient in SVN causing SEGV In-Reply-To: <200709011914.21158.gambas@...1...> Message-ID: <2910212.3201188690918197.JavaMail.root@...1708...> Urm, no .. The program dies immediately .. (I have no pid to connect the debugger to) How to I start the gdb / gbx2 / program with arguments .. I've tried; gdb gbx2 set args program cam1 but I get; ERROR: #45: File or directory does not exist and it quits ... ?? -- Managing Director, Encryptec Limited Tel: 0845 25 77033, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. ----- Original Message ----- From: "Benoit Minisini" To: "mailing list for gambas users" Sent: Saturday, September 1, 2007 6:14:21 PM (GMT) Europe/London Subject: Re: [Gambas-user] httpclient in SVN causing SEGV On samedi 01 septembre 2007, Gareth Bult wrote: > This is on the tracker but before anyone else upgrades, there's been a > change to the curl/http client. At the moment (for me) http.Get() is > causing applications to SEGV. Can you get the gdb backtrace? -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Sun Sep 2 06:32:46 2007 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 2 Sep 2007 00:32:46 -0400 Subject: [Gambas-user] httpclient in SVN causing SEGV In-Reply-To: <2910212.3201188690918197.JavaMail.root@...1708...> References: <2910212.3201188690918197.JavaMail.root@...1708...> Message-ID: <200709020032.46133.sourceforge-raindog2@...94...> On Saturday 01 September 2007 19:55, Gareth Bult wrote: > gdb gbx2 > set args program cam1 What if you cd to the project directory first (having already compiled it) and then go gdb gbx2 run ? I just tried it with the notebook example and it worked fine, though of course it didn't throw a segv. Rob From timothy.marshal-nichols at ...247... Sun Sep 2 09:31:58 2007 From: timothy.marshal-nichols at ...247... (timothy) Date: Sun, 2 Sep 2007 08:31:58 +0100 Subject: [Gambas-user] Calling library functions in Gambas2 In-Reply-To: <200708310912.41696.rolf.frogs@...221...> Message-ID: <000c01c7ed33$59747d70$6401a8c0@...1587...> > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net] On Behalf > Of Rolf Schmidt > Sent: Friday, 31 August 2007 08:13 AM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Calling library functions in Gambas2 > > > Hello easuter: > > > Ron: unfortunately, fdisk returns the filesystem type (ID), not the > > filesystem name. It will identify both reiserfs and ext3 simply as > > "Linux", thats why its not very useful. > > Try "df -T" to see all mounted partitions an the filesystem they use. > > Greetings > Rolf > Rolf is right. You can also use the 'a' option to show all partitions. This includes things like the virtual proc file system. And the 'h' option to show the results in human readable form. So we have: "df -aTh" It should be fast enough! Thanks 8-{)} Timothy Marshal-Nichols From gareth at ...1689... Sun Sep 2 11:46:41 2007 From: gareth at ...1689... (Gareth Bult) Date: Sun, 2 Sep 2007 10:46:41 +0100 (BST) Subject: [Gambas-user] httpclient in SVN causing SEGV In-Reply-To: <200709020032.46133.sourceforge-raindog2@...94...> Message-ID: <30527700.3231188726401765.JavaMail.root@...1708...> Urm, no, I was doing it from the project directory on compiled code .. The program is non-GUI code that expects a command line argument ... if this makes a difference. (It's been a 'long' time since I used gdb) -- Managing Director, Encryptec Limited Tel: 0845 25 77033, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. ----- Original Message ----- From: "Rob" To: gambas-user at lists.sourceforge.net Sent: Sunday, September 2, 2007 5:32:46 AM (GMT) Europe/London Subject: Re: [Gambas-user] httpclient in SVN causing SEGV On Saturday 01 September 2007 19:55, Gareth Bult wrote: > gdb gbx2 > set args program cam1 What if you cd to the project directory first (having already compiled it) and then go gdb gbx2 run ? I just tried it with the notebook example and it worked fine, though of course it didn't throw a segv. Rob ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gareth at ...1689... Sun Sep 2 11:47:54 2007 From: gareth at ...1689... (Gareth Bult) Date: Sun, 2 Sep 2007 10:47:54 +0100 (BST) Subject: [Gambas-user] httpclient in SVN causing SEGV In-Reply-To: <200709020032.46133.sourceforge-raindog2@...94...> Message-ID: <15331558.3261188726474392.JavaMail.root@...1708...> Note; this is fixed in SVN 549 Thanks Beno?t :) -- Managing Director, Encryptec Limited Tel: 0845 25 77033, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. ----- Original Message ----- From: "Rob" To: gambas-user at lists.sourceforge.net Sent: Sunday, September 2, 2007 5:32:46 AM (GMT) Europe/London Subject: Re: [Gambas-user] httpclient in SVN causing SEGV On Saturday 01 September 2007 19:55, Gareth Bult wrote: > gdb gbx2 > set args program cam1 What if you cd to the project directory first (having already compiled it) and then go gdb gbx2 run ? I just tried it with the notebook example and it worked fine, though of course it didn't throw a segv. Rob ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Sun Sep 2 13:48:44 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 2 Sep 2007 13:48:44 +0200 Subject: [Gambas-user] Gambas Brazilian Book In-Reply-To: <200709011339.28644.gambas@...1...> References: <7768a81f0709010351l662c1a1fqa444d646ac613dc1@...627...> <7768a81f0709010353y25a5d946o5daeaf77806c50d3@...627...> <200709011339.28644.gambas@...1...> Message-ID: <6324a42a0709020448l75a80532uf149d2b261ad9c44@...627...> 2007/9/1, Benoit Minisini : > On samedi 01 septembre 2007, Victor Diago wrote: > > Hi Benoit and List at all. > > > > > > My name is Victor Diago, im a Brazilian Linux Consultant, and i am > > really interested > > in write a gambas book in Brazilian Portuguese. > > > > I have seen that wonderful work made by Daniel Campos and Jos? Luis > > Redrejo in spanish, > > its really a masterpiece. > > > > So i was wondering about write a new book that contains most used > > tools and common applications written in Gambas, as there is > > absolutely no one really good document about this great IDE/language. > > > > I know that i have never (or almost never) wrote to this list, but im > > actively using gambas daily. > > > > Also, i am the IT person of a highschool here in Brazil, named > > Singular, and im starting to teach gambas to our students under > > slackware linux. > > > > I would like to get permission of Benoit to write this, and, if > > possible, i would like as well a dedication wrote by Benoit to the > > Brazilian readers. > > > > I am thinking about use the latest development version of gambas to > > work the book, and maintain a website with information about changes > > in the development version to the Brazilian people. So it will not be > > a problem for readers that want to use a newer version than the used > > in book. Even for what the development version have a lot of nice > > features that coud be wrote about. > > > > So, Thanks for the time you all spent reading this, and my best > > regards to all those people that are making gambas better and better. > > > > > > -- > > Victor Diago. > > > > Technet Consultoria em T.I > > > > You have my permission, no problem. > > Just try to not make too many mistakes, because I won't fix them :-) But do > not worry, there are many in the other books... > > The only problem is that you will use the development version. Hopefully there > won't be too many changes until the final release, but I can't read the > future. So I just ask you to warn your readers about that. > > I plan to make a book myself, but I prefer doing the development. But I will > do that for sure, maybe it will make me earn some money :-) > For sure you are the gambas master... with a french version ? > As for a dedication to the Brazilian reader, no problem. But what could I say? > Do not make fuel from food? > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ronstk at ...239... Sun Sep 2 16:56:54 2007 From: ronstk at ...239... (ron) Date: Sun, 2 Sep 2007 16:56:54 +0200 Subject: [Gambas-user] Calling library functions in Gambas2 In-Reply-To: <12430247.post@...1379...> References: <6bb01940708191619l2e9d79eja1e3e0986788604f@...627...> <200708310912.41696.rolf.frogs@...221...> <12430247.post@...1379...> Message-ID: <200709021656.54298.ronstk@...239...> On Friday 31 August 2007 18:57, easuter wrote: > > Rolf Schmidt wrote: > > > > Hello easuter: > > > >> Ron: unfortunately, fdisk returns the filesystem type (ID), not the > >> filesystem name. It will identify both reiserfs and ext3 simply as > >> "Linux", > >> thats why its not very useful. > > > > Try "df -T" to see all mounted partitions an the filesystem they use. > > > > Greetings > > Rolf > > > > Hi Rolf, > > I am considering df as a last resort, because of the fact that all the > partitions need to be mounted. I'm busy (and so several other VectorLinux > developers) working on what will become the graphical installer for > VectorLinux. So I'd rather not have to mount all the partitions to get data > from them (could also be slow if there are lots of partitions to be > mounted). > > Right now I'm still trying to get Gambas 1.9.50 to build properly, so I'll > report back on any progress later on. > > Thanks again for the replies! I did check 'sfdisk -l -x' (lowercase L) and it reports the ID and Name of the filesystem. Using 'sfdisk -T' you get a list of all known filesystems for sfdisk. Some different ID do have the same Name so the only safe identification is _the_ ID. I do recommend this if you want additional information. Found ATM that one of my disk had a possible bad partition table, misleading CHS. Disk /dev/hdb: 158816 cylinders, 16 heads, 63 sectors/track Warning: The partition table looks like it was made for C/H/S=*/255/63 (instead of 158816/16/63). For this listing I'll assume that geometry. Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Greetings, Ron From easuter at ...626... Sun Sep 2 22:22:01 2007 From: easuter at ...626... (easuter) Date: Sun, 2 Sep 2007 13:22:01 -0700 (PDT) Subject: [Gambas-user] Calling library functions in Gambas2 In-Reply-To: <200708300202.33528.gambas@...1...> References: <6bb01940708191619l2e9d79eja1e3e0986788604f@...627...> <200708200122.55227.ronstk@...239...> <12398013.post@...1379...> <200708300202.33528.gambas@...1...> Message-ID: <12452966.post@...1379...> Benoit Minisini wrote: > > On jeudi 30 ao?t 2007, easuter wrote: > >> However, calling the simplest function in libparted >> (ped_get_version) did not return anything useful, but then again, I'm >> probably doing something wrong. >> >> PUBLIC EXTERN ped_get_version() AS String IN "libparted" >> >> PUBLIC SUB main() >> PRINT ped_get_version() >> END >> >> returns an empty string. >> If I make the extern declaration use an Integer as the return data-type >> for >> ped_get_version, then a very useless number is returned (-1212003088). >> Same happens when made to use Pointer and if I use >> StrPtr(ped_get_version()), then the same empty string is returned as when >> I >> use the String datatype. >> >> I'd really appreciate any help in pointing out mistakes here, and if >> possible some indicators as to what can be done about the >> ped_filesystem_type_get function. >> >> Cheers, >> >> Eug?ne > > Apparently this is a bug... Try the latest revision, it should work now! > > Regards, > > -- > Benoit Minisini > Well, I've got Gambas 1.9.50 up and running here, as well as the latest parted release installed. Still no joy though, ped_get_version() continues to return an empty string :-\ -- View this message in context: http://www.nabble.com/Calling-library-functions-in-Gambas2-tf4295859.html#a12452966 Sent from the gambas-user mailing list archive at Nabble.com. From drmad at ...1302... Mon Sep 3 08:42:10 2007 From: drmad at ...1302... (Oliver Etchebarne Bejarano) Date: Mon, 03 Sep 2007 01:42:10 -0500 Subject: [Gambas-user] Draw on another window Message-ID: <46DBACC2.4030702@...1302...> Is there a way to draw on another window instead to create a new one? Useful, as example, for doing new screensavers for xscreensaver, or (what I wish to do) draw on root window, and do a cool desktop manager :) Saludos, -- Oliver Etchebarne Bejarano drmad/paperclip http://www.paperclip.com.pe/ From steven at ...1652... Mon Sep 3 11:51:33 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 3 Sep 2007 11:51:33 +0200 Subject: [Gambas-user] Gridview In-Reply-To: <200709012047.53843.gambas@...1...> References: <200708221714.07144.steven@...1652...> <200709012047.53843.gambas@...1...> Message-ID: <200709031151.33353.steven@...1652...> Le samedi 1 septembre 2007 20:47, Benoit Minisini a ?crit?: > On mercredi 22 ao?t 2007, Steven Lobbezoo wrote: > > Hi, > > > > Sorry to bother you inmidst all this exitement on the new web-site > > with a simple question on gambas, ;-) but : > > > > If I do : > > GridView2.Current.ForeColor = Color.DarkRed > > > > or any other property of the current cell in the color range (BackColor, > > ....) the contents of the cell is eraised. > > > > Is this normal behaveour ? > > > > Thanks, > > Steven > > Hi, > > I cannot reproduce the bug you describe. Can you send some code? > > Regards, Hi, Sorry for the delay (I had some days of ;-) ) but here it is : ------------------------------------------------------------------------------------------- PUBLIC SUB GridView2_Click() DIM rfield AS ResultField DIM ctrl AS Control DIM Lbox AS ComboBox DIM tmp AS String ' if we where just selecting : IF Dren = 1 THEN IF GridView2.Row THEN Object.SetProperty(ME.Tag, "Tag", Gridview2[Gridview2.Row, 0].Text) Object.SetProperty(ME.Tag, "Text", Gridview2[Gridview2.Row, 2].Text & " - " & Gridview2[Gridview2.Row, 4].Text) END IF ME.Close RETURN END IF ' we check if we had one, and maybe want to update him IF rsD THEN Update_data END IF GridView2.Current.ForeColor = Color.DarkRed <----------------- there ' we act depening where we clicked (it's in row) rsD = db.Exec("Select * from Clients where No = &1", Gridview2 [Gridview2.row, 0].Text) ' try this : FOR EACH ctrl IN ME.Controls FOR EACH rfield IN rsD.fields IF rfield.Name <> "No" THEN IF Object.GetProperty(ctrl, "Name") = rfield.Name THEN IF rfield.Name = "TypeLiaison" THEN 'this is a list control Lbox = ctrl Lbox.Index = Lbox.Find(Str(rsD[rfield.Name])) Object.SetProperty(ctrl, "Tag", Str(rsD[rfield.Name])) ctrl = Lbox ELSE IF rField.Name = "Ne" THEN Ne.Value = rsD["Ne"] Ne.Tag = Ne.Value ELSE IF rField.Name = "Mariage" THEN Mariage.Value = rsD["Mariage"] Mariage.Tag = Mariage.Value ELSE Object.SetProperty(ctrl, "Text", Str(rsD[rfield.Name])) Object.SetProperty(ctrl, "Tag", Str(rsD[rfield.Name])) IF rfield.Name = "Spouse" THEN IF rsD["Spouse"] THEN rsE = db.Exec("select Nom, Prenom from Clients where No = " & Str(rsD["Spouse"])) tmp = rsE["Prenom"] & " " & rsE["Nom"] SpouseN.Text = tmp ELSE SpouseN.text = "" END IF END IF END IF BREAK END IF END IF NEXT NEXT Nom.SetFocus CATCH ' Message.Error(Error.Text) END Thanks, Steven From steven at ...1652... Mon Sep 3 13:42:54 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 3 Sep 2007 13:42:54 +0200 Subject: [Gambas-user] Stiil problems with EVAL Message-ID: <200709031342.54640.steven@...1652...> Hi, I still have a problem with eval : I have a module called Mglobal In it is defined (amongst a lot of things) PUBLIC U_No AS Integer PUBLIC U_Nom AS String PUBLIC U_Agency AS Integer PUBLIC U_AgenNom AS String PUBLIC U_AgenRep AS String Now in some other module i do : CASE "li" ' Literal program variable Rstr = Eval(Tag[1]) Where Tag[] is : Tag[0] = "li" Tag[1] = "Mglobal.U_nom" in Mglobal.U_nom is the string "Steven" After execution Rstr is empty ! Gambas 1.9.50 Steven From gambas at ...1... Mon Sep 3 16:59:27 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 3 Sep 2007 16:59:27 +0200 Subject: [Gambas-user] Calling library functions in Gambas2 In-Reply-To: <12452966.post@...1379...> References: <6bb01940708191619l2e9d79eja1e3e0986788604f@...627...> <200708300202.33528.gambas@...1...> <12452966.post@...1379...> Message-ID: <200709031659.27960.gambas@...1...> On dimanche 02 septembre 2007, easuter wrote: > Benoit Minisini wrote: > > On jeudi 30 ao?t 2007, easuter wrote: > >> However, calling the simplest function in libparted > >> (ped_get_version) did not return anything useful, but then again, I'm > >> probably doing something wrong. > >> > >> PUBLIC EXTERN ped_get_version() AS String IN "libparted" > >> > >> PUBLIC SUB main() > >> PRINT ped_get_version() > >> END > >> > >> returns an empty string. > >> If I make the extern declaration use an Integer as the return data-type > >> for > >> ped_get_version, then a very useless number is returned (-1212003088). > >> Same happens when made to use Pointer and if I use > >> StrPtr(ped_get_version()), then the same empty string is returned as > >> when I > >> use the String datatype. > >> > >> I'd really appreciate any help in pointing out mistakes here, and if > >> possible some indicators as to what can be done about the > >> ped_filesystem_type_get function. > >> > >> Cheers, > >> > >> Eug?ne > > > > Apparently this is a bug... Try the latest revision, it should work now! > > > > Regards, > > > > -- > > Benoit Minisini > > Well, I've got Gambas 1.9.50 up and running here, as well as the latest > parted release installed. > Still no joy though, ped_get_version() continues to return an empty string > > :-\ You must install the last subversion revision, not the last release. Regards, -- Benoit Minisini From steven at ...1652... Mon Sep 3 11:53:44 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 3 Sep 2007 11:53:44 +0200 Subject: [Gambas-user] Draw on another window In-Reply-To: <46DBACC2.4030702@...1302...> References: <46DBACC2.4030702@...1302...> Message-ID: <200709031153.44282.steven@...1652...> Le lundi 3 septembre 2007 08:42, Oliver Etchebarne Bejarano a ?crit?: > Is there a way to draw on another window instead to create a new one? > Useful, as example, for doing new screensavers for xscreensaver, or > (what I wish to do) draw on root window, and do a cool desktop manager :) > > Saludos, Hi, I did : FormTest.Show WAIT Object.SetProperty(FormTest.Controls["testlab"], "Text", " J'analyse les fichiers sur le serveur et vos fichiers locales.") WAIT but it does not work very well. The wait seems not to work allways ? Steven From stonerl at ...1763... Mon Sep 3 17:43:08 2007 From: stonerl at ...1763... (Toni Foerster) Date: Tue, 04 Sep 2007 00:43:08 +0900 Subject: [Gambas-user] Problems compiling gb.pdf Message-ID: <46DC2B8C.20105@...1763...> Hi today i tried to compile Gambas 1.9.50 (poppler_0.5.91 is installed) but every time i compiled gb.pdf it stopped with following message: > main.cpp:62: error: no matching function for call to 'GlobalParams::GlobalParams(const char [12])' > /usr/include/poppler/GlobalParams.h:133: note: candidates are: GlobalParams::GlobalParams() > /usr/include/poppler/GlobalParams.h:128: note: GlobalParams::GlobalParams(const GlobalParams&) so i took a look at main.cpp and found in line 62: > globalParams = new GlobalParams("/etc/xpdfrc") the file "/etc/xpdfrc" only exists if i install xpdf. But even if i install xpdf or create this file, the compiling stops with the same error. so i changened this line in main.cpp to > globalParams = new GlobalParams() And it compiles without problems. To tell the truth, i don't what i'm breaking by removing this but it seems to work. I hope someone could help me. Because i don't think that this is right. Toni From gambas at ...1... Mon Sep 3 18:08:35 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 3 Sep 2007 18:08:35 +0200 Subject: [Gambas-user] Problems compiling gb.pdf In-Reply-To: <46DC2B8C.20105@...1763...> References: <46DC2B8C.20105@...1763...> Message-ID: <200709031808.35754.gambas@...1...> On lundi 03 septembre 2007, Toni Foerster wrote: > Hi > > today i tried to compile Gambas 1.9.50 (poppler_0.5.91 is installed) but > > every time i compiled gb.pdf it stopped with following message: > > main.cpp:62: error: no matching function for call to > > 'GlobalParams::GlobalParams(const char [12])' > > > /usr/include/poppler/GlobalParams.h:133: note: candidates are: > > GlobalParams::GlobalParams() > > > /usr/include/poppler/GlobalParams.h:128: note: > > GlobalParams::GlobalParams(const GlobalParams&) > > so i took a look at main.cpp and found in line 62: > > globalParams = new GlobalParams("/etc/xpdfrc") > > the file "/etc/xpdfrc" only exists if i install xpdf. But even if i > install xpdf or create this file, the compiling stops with the same error. > > so i changened this line in main.cpp to > > > globalParams = new GlobalParams() > > And it compiles without problems. To tell the truth, i don't what i'm > breaking by removing this but it seems to work. I hope someone could > help me. Because i don't think that this is right. > > Toni > The problem is fixed in the svn trunk, exactly this way: if poppler version is 0.6 (or 0.5.9x) then the "/etc/xpdfrc" is removed. But I can't test it, as I have only poppler 0.5 on my machine (the stable version). So if you can compile the last revision, you will tell me if it works. Regards, -- Benoit Minisini From gambas at ...1... Mon Sep 3 18:09:16 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 3 Sep 2007 18:09:16 +0200 Subject: [Gambas-user] Stiil problems with EVAL In-Reply-To: <200709031342.54640.steven@...1652...> References: <200709031342.54640.steven@...1652...> Message-ID: <200709031809.16516.gambas@...1...> On lundi 03 septembre 2007, Steven Lobbezoo wrote: > Hi, > > I still have a problem with eval : > > I have a module called Mglobal > In it is defined (amongst a lot of things) > > PUBLIC U_No AS Integer > PUBLIC U_Nom AS String > PUBLIC U_Agency AS Integer > PUBLIC U_AgenNom AS String > PUBLIC U_AgenRep AS String > > Now in some other module i do : > > CASE "li" ' Literal program variable > Rstr = Eval(Tag[1]) > > Where Tag[] is : > > Tag[0] = "li" > Tag[1] = "Mglobal.U_nom" > > in Mglobal.U_nom is the string "Steven" > > After execution Rstr is empty ! > > Gambas 1.9.50 > > Steven > Can you send me your project? -- Benoit Minisini From gambas at ...1... Mon Sep 3 18:09:40 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 3 Sep 2007 18:09:40 +0200 Subject: [Gambas-user] httpclient in SVN causing SEGV In-Reply-To: <15331558.3261188726474392.JavaMail.root@...1708...> References: <15331558.3261188726474392.JavaMail.root@...1708...> Message-ID: <200709031809.40922.gambas@...1...> On dimanche 02 septembre 2007, Gareth Bult wrote: > Note; this is fixed in SVN 549 > > Thanks Beno?t :) > > -- > Managing Director, Encryptec Limited > Tel: 0845 25 77033, Mob: 07891 389657 > Email: gareth at ...1689... > Statements made are at all times subject to Encryptec's Terms and > Conditions of Business, which are available upon request. > Not at all :-) -- Benoit Minisini From akh-eng at ...103... Mon Sep 3 18:44:43 2007 From: akh-eng at ...103... (akhsani) Date: Mon, 03 Sep 2007 23:44:43 +0700 Subject: [Gambas-user] SerialPort In-Reply-To: References: Message-ID: to whom at may give me some help, I am an Indonesian , I just run Gambas in "Vector" Linux,...I have problem when using SerialPort..., I was running the sample one (SerialPort project , from Network ),.... During run in Gambas was OK..., but when I made it in executable file become problem.., The problem is: After I make it in executable file, then run it, then open the port,..... then program stop and give message "can not open port, the device is busy".... What should I do ?..... Best regards... Ali ======================================================================================== "Dapatkan Colocation 10 Mbps Rp 1.250.000,- hanya di http://telkomhosting.com." ======================================================================================== From ronstk at ...239... Mon Sep 3 19:13:42 2007 From: ronstk at ...239... (ron) Date: Mon, 3 Sep 2007 19:13:42 +0200 Subject: [Gambas-user] Gridview In-Reply-To: <200709031151.33353.steven@...1652...> References: <200708221714.07144.steven@...1652...> <200709012047.53843.gambas@...1...> <200709031151.33353.steven@...1652...> Message-ID: <200709031913.42620.ronstk@...239...> On Monday 03 September 2007 11:51, Steven Lobbezoo wrote: > ' we check if we had one, and maybe want to update him > ? IF rsD THEN > ? ? Update_data > ? END IF > ? GridView2.Current.ForeColor = Color.DarkRed ? ?<----------------- there > ' we act depening where we clicked (it's in row) > What does moving the GridView2.Current before the IF rsD THEN ? Just a guess of me, in case the Update_data changes the content of the cell. Ron From ronstk at ...239... Mon Sep 3 19:32:02 2007 From: ronstk at ...239... (ron) Date: Mon, 3 Sep 2007 19:32:02 +0200 Subject: [Gambas-user] Stiil problems with EVAL In-Reply-To: <200709031342.54640.steven@...1652...> References: <200709031342.54640.steven@...1652...> Message-ID: <200709031932.02803.ronstk@...239...> On Monday 03 September 2007 13:42, Steven Lobbezoo wrote: >? CASE "li" ????????????' ? ?Literal program variable >? ? Rstr = Eval(Tag[1]) > Where Tag[] is : > > Tag[0] = "li" > Tag[1] = "Mglobal.U_nom" > > in Mglobal.U_nom is the string "Steven" > uhmm Tag[0] = "li" <-- is string Tag[1] = "Mglobal.U_nom" <-- is probably string Assume you put in object.TAG a string array, then Tag[1] is a string too. From steven at ...1652... Mon Sep 3 20:04:52 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 3 Sep 2007 20:04:52 +0200 Subject: [Gambas-user] Stiil problems with EVAL In-Reply-To: <200709031809.16516.gambas@...1...> References: <200709031342.54640.steven@...1652...> <200709031809.16516.gambas@...1...> Message-ID: <200709032004.52445.steven@...1652...> Le lundi 3 septembre 2007 18:09, Benoit Minisini a ?crit?: > On lundi 03 septembre 2007, Steven Lobbezoo wrote: > > Hi, > > > > I still have a problem with eval : > > > > I have a module called Mglobal > > In it is defined (amongst a lot of things) > > > > PUBLIC U_No AS Integer > > PUBLIC U_Nom AS String > > PUBLIC U_Agency AS Integer > > PUBLIC U_AgenNom AS String > > PUBLIC U_AgenRep AS String > > > > Now in some other module i do : > > > > CASE "li" ' Literal program variable > > Rstr = Eval(Tag[1]) > > > > Where Tag[] is : > > > > Tag[0] = "li" > > Tag[1] = "Mglobal.U_nom" > > > > in Mglobal.U_nom is the string "Steven" > > > > After execution Rstr is empty ! > > > > Gambas 1.9.50 > > > > Steven > > Can you send me your project? Sure, i'll send it to you directly, since the mailing list does not accept large files. Also, i donnot want it to be available to all. Steven From steven at ...1652... Mon Sep 3 20:09:23 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 3 Sep 2007 20:09:23 +0200 Subject: [Gambas-user] Stiil problems with EVAL In-Reply-To: <200709031932.02803.ronstk@...239...> References: <200709031342.54640.steven@...1652...> <200709031932.02803.ronstk@...239...> Message-ID: <200709032009.23862.steven@...1652...> Le lundi 3 septembre 2007 19:32, ron a ?crit?: > On Monday 03 September 2007 13:42, Steven Lobbezoo wrote: > >? CASE "li" ????????????' ? ?Literal program variable > >? ? Rstr = Eval(Tag[1]) > > > > Where Tag[] is : > > > > Tag[0] = "li" > > Tag[1] = "Mglobal.U_nom" > > > > in Mglobal.U_nom is the string "Steven" > > uhmm > Tag[0] = "li" <-- is string > Tag[1] = "Mglobal.U_nom" <-- is probably string Yes, it's a string > > Assume you put in object.TAG a string array, then Tag[1] is a string too. > > >From help: > > DIM Context AS New Collection > Context["X"] = 2 > Context["Y"] = "Gambas" > PRINT Eval("X * Len(Y)", Context) > > Context here is the TAG (Context) and the value is in TAG[1] (Len(Y)) > Looks to me the Eval line must be then Rstr = Eval(tag[1],Tag) ????????????? > > I'm afraid you must put the value of Mglobal.U_nom into Tag[1] instead the > variable name. That's no option, since i donnot know the var selected by the user. > > Or with luck next can do the job. > DIM Context AS New Collection > Context["X"] = Tag[0] 'li > Context["Y"] = Tag[1] 'value of Mglobal.U_nom or "Mglobal.U_nom" > PRINT Eval("Len(Y)", Context) > > Just my 2 cents I'll try that Thanks ron. Steven > Ron > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From steven at ...1652... Mon Sep 3 20:14:15 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 3 Sep 2007 20:14:15 +0200 Subject: [Gambas-user] Stiil problems with EVAL In-Reply-To: <200709031809.16516.gambas@...1...> References: <200709031342.54640.steven@...1652...> <200709031809.16516.gambas@...1...> Message-ID: <200709032014.15398.steven@...1652...> Le lundi 3 septembre 2007 18:09, Benoit Minisini a ?crit?: > > Steven > > Can you send me your project? I tried : ? gambas at ...1... ? ? SMTP error from remote mailer after MAIL FROM: SIZE=1084656: ? ? host mail.sourceforge.net [66.35.250.206]: 552 Message size exceeds maximum permitted so, no dice. Steven From gambas at ...1... Mon Sep 3 20:20:47 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 3 Sep 2007 20:20:47 +0200 Subject: [Gambas-user] Stiil problems with EVAL In-Reply-To: <200709032014.15398.steven@...1652...> References: <200709031342.54640.steven@...1652...> <200709031809.16516.gambas@...1...> <200709032014.15398.steven@...1652...> Message-ID: <200709032020.47891.gambas@...1...> On lundi 03 septembre 2007, Steven Lobbezoo wrote: > Le lundi 3 septembre 2007 18:09, Benoit Minisini a ?crit?: > > > Steven > > > > Can you send me your project? > > I tried : > ? gambas at ...1... > ? ? SMTP error from remote mailer after MAIL FROM: > SIZE=1084656: > ? ? host mail.sourceforge.net [66.35.250.206]: 552 Message size exceeds > maximum permitted > > > so, no dice. > > Steven > Just remove what is useless. I just need a sample case to debug, because I cannot reproduce it. Regards, -- Benoit Minisini From ronstk at ...239... Mon Sep 3 20:33:38 2007 From: ronstk at ...239... (ron) Date: Mon, 3 Sep 2007 20:33:38 +0200 Subject: [Gambas-user] Stiil problems with EVAL In-Reply-To: <200709032009.23862.steven@...1652...> References: <200709031342.54640.steven@...1652...> <200709031932.02803.ronstk@...239...> <200709032009.23862.steven@...1652...> Message-ID: <200709032033.39006.ronstk@...239...> On Monday 03 September 2007 20:09, Steven Lobbezoo wrote: > > ? PRINT Eval("X * Len(Y)", Context) > > > > Context here is the TAG (Context) and the value is in TAG[1] (Len(Y)) > > Looks to me the Eval line must be then Rstr = Eval(tag[1],Tag) > ????????????? > PRINT Eval( "X * Len(Y)" , Context ) transforms with PRINT <-> Rstr = "X * Len(Y)" <-> tag[1] ' is the string "Mglobal.U_nom" Context <-> Tag to Rstr = Eval( Tag[1] , Tag ) ' is eq Eval("Mglobal.U_nom",Tag) Or just simple said, add ', Tag' into the Eval() :) Ron From steven at ...1652... Mon Sep 3 20:46:44 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 3 Sep 2007 20:46:44 +0200 Subject: [Gambas-user] Stiil problems with EVAL In-Reply-To: <200709032020.47891.gambas@...1...> References: <200709031342.54640.steven@...1652...> <200709032014.15398.steven@...1652...> <200709032020.47891.gambas@...1...> Message-ID: <200709032046.44583.steven@...1652...> Le lundi 3 septembre 2007 20:20, Benoit Minisini a ?crit?: > On lundi 03 septembre 2007, Steven Lobbezoo wrote: > > Le lundi 3 septembre 2007 18:09, Benoit Minisini a ?crit?: > > > > Steven > > > > > > Can you send me your project? > > > > I tried : > > ? gambas at ...1... > > ? ? SMTP error from remote mailer after MAIL FROM: > > SIZE=1084656: > > ? ? host mail.sourceforge.net [66.35.250.206]: 552 Message size exceeds > > maximum permitted > > > > > > so, no dice. > > > > Steven > > Just remove what is useless. I just need a sample case to debug, because I > cannot reproduce it. > > Regards, Ok, here they are (hope it's complete) Steven -------------- next part -------------- ' Gambas module file PUBLIC db AS NEW Connection PUBLIC rs AS Result PUBLIC rs1 AS Result PUBLIC btnok AS String PUBLIC btnno AS String PUBLIC Connected AS Integer ' the tree fields of the question form PUBLIC QFld1 AS String PUBLIC QFld2 AS String PUBLIC QFld3 AS String ' these fields define the current user ! PUBLIC U_No AS Integer PUBLIC U_Nom AS String PUBLIC U_Agency AS Integer PUBLIC U_AgenNom AS String PUBLIC U_AgenRep AS String PUBLIC U_AgenChef AS Integer ' the boss of the person logged in PUBLIC U_Level AS Integer ' the level code of the person logged in PUBLIC U_Mail AS String ' the e-mail of the user PUBLIC U_Cell AS String ' the portable phone number PUBLIC U_AgenStreet AS String ' the street adress of the agency PUBLIC U_AgenPlz AS String ' and the postcode PUBLIC U_AgenVille AS String ' and the town PUBLIC U_AgenFax AS String ' and the fax number PUBLIC U_AgenTel AS String ' and the agency's telephone number PUBLIC V_Code AS Integer ' the current ville, selected from villes PUBLIC M_Code AS String ' the current mandat code (new ?) PUBLIC M_Sel_X AS Integer PUBLIC M_Sel_Y AS Integer PUBLIC F_Ch AS NEW String[] PUBLIC FPath AS String = USER.Home ' the last path of the fileselector, remember this PUBLIC JobTbl AS NEW Collection ' all Jobs available PUBLIC Rev_Web AS String ' base path to the revimmo website PUBLIC ParmsGen AS result ' the resultset of the read general parms '''''''''''''''''''''''''''''''''' ''sub to connect to mysql server'' '''''''''''''''''''''''''''''''''' PUBLIC FUNCTION conn(host AS String, lgn AS String, pass AS String) AS Boolean db.close db.Type = "mysql" Connected = FALSE db.Host = Host db.Login = lgn db.Password = pass db.Open Connected = TRUE RETURN TRUE CATCH Message.error(error.text) RETURN FALSE END '''''''''''''''''''''''''''''''''''''''' ''sub to fill the tableview w/ records'' '''''''''''''''''''''''''''''''''''''''' PUBLIC SUB fill_view(tbv AS GridView, qry AS String) DIM i AS Float rs1 = db.exec(qry) WITH rs1 tbv.rows.count = 0 IF .count <> 0 THEN tbv.columns.count = .fields.count tbv.rows.count = .count END IF END WITH END PUBLIC SUB set_jobs() Mglobal.JobTbl.Add("1", "N??gociatrice") Mglobal.JobTbl.Add("2", "Chef d'agence") Mglobal.JobTbl.Add("3", "Chef secteur") Mglobal.JobTbl.Add("4", "Directeur") Mglobal.JobTbl.Add("5", "Suppliant") Mglobal.JobTbl.Add("6", "Carte seul") Mglobal.JobTbl.Add("7", "S??cretaire") Mglobal.JobTbl.Add("8", "Comptable") Mglobal.JobTbl.Add("9", "Diverse") END PUBLIC FUNCTION MyVal(S AS String) AS Float IF S THEN RETURN Val(Replace(Replace(Replace(Replace(Replace(S, " ", ""), "???", ""), ")", ""), "(", ""), ".", ",")) ELSE RETURN 0 END IF END PUBLIC FUNCTION Authorize(Level AS Integer) AS Integer ' we say if someone is authorised (we take the person level from U_..... ' There are 3 levels to be asked : ' 0: N??gociatrices ' 1: respnsables agences et s??cretaires ' 2: direction et compta IF Level = 2 THEN IF U_Level = 4 OR U_Level = 8 THEN RETURN TRUE ELSE RETURN FALSE ENDIF ELSE IF Level = 1 THEN IF (U_Level > 1) AND (U_Level <> 6) AND (U_Level <> 9) THEN RETURN TRUE ELSE RETURN FALSE ENDIF ELSE IF Level = 0 THEN IF U_Level <> 6 AND U_Level <> 9 THEN RETURN TRUE ELSE RETURN FALSE ENDIF END IF RETURN FALSE END PUBLIC FUNCTION GetComm(VenteNo AS Integer, Type AS String) AS String[] ' we fix the nego, son agence and the comm on a vente ' Type can be 'Vente', 'Mandat', 'Chef' DIM hSql AS String DIM rSet AS Result DIM Rstr AS String[3] IF Type = "Vente" THEN hSql = "SELECT ((Jobs.comven * (Ventes.Comm_Vendue) / 1.196 - (Ifnull(Ded_1, 0) + Ifnull(Ded_2, 0) + Ifnull(Ded_3, 0))) / 100) " & "* Mandats.ComFacteur AS commision, agents.agent as negolala, agences.repertoire as filia FROM Ventes, agents, agences, Jobs, Mandats " & "where Ventes.No = " & Str(VenteNo) & " AND Ventes.Commercial = agents.id AND Jobs.Nego = Ventes.Commercial AND " & "Jobs.Start < Ventes.Date AND " & "(Jobs.End > Ventes.Date OR Ifnull(Jobs.End, 0) = 0) AND agences.no = Jobs.Filiale AND Mandats.Code = Ventes.Code_Mandat" ELSE IF Type = "Mandat" THEN ELSE IF Type = "Chef" THEN END IF rSet = db.Exec(hSql) IF rSet.Available THEN Rstr[0] = Format(rSet!Commision, "($,#.##)") Rstr[1] = rSet!negolala Rstr[2] = rSet!filia END IF RETURN Rstr END PUBLIC FUNCTION getmois(No AS Integer) AS String DIM tmp AS String SELECT CASE No CASE 1 tmp = "Janvier" CASE 2 tmp = "F??vrier" CASE 3 tmp = "Mars" CASE 4 tmp = "Avril" CASE 5 tmp = "Mai" CASE 6 tmp = "June" CASE 7 tmp = "Juillet" CASE 8 tmp = "A??ut" CASE 9 tmp = "Septembre" CASE 10 tmp = "Octobre" CASE 11 tmp = "Novembre" CASE 12 tmp = "D??cembre" END SELECT RETURN tmp END -------------- next part -------------- ' Gambas module file ' Here we handle all xfers to and from open office files ' we have to do unzip, replace and zip into a new file ' we have to replace text items and images ' we have to insert images (replace really) ' the structure of an Oofile (unzipped) is analysed and data is transferred ' the tags are of the form {{TagType:String}} ' where Tagtype = 'db:' use DbFieldType ' 'cu:' Currency ' 'im:' Image ' 'tb:' Use translate table ' 'fo:' Formule (use + - / etc. for numeric database fields, all Mysql expressions are ok) ' 'ft:' Formatted text (nl etc !) ' 'li:' Litteral (program variable) ' ' The Mtranslate table is as followes : ' FieldName (VarChar) = Name of the query field ' FieldVal (VarChar) = Value of the field to translate ' Replacement (VarChar) = What to print (can be one of the above enumerated types, or just a value) ' ' ' We call this as OOInsert( Input file name, Output filename, SQl query string, Images string array) -> returns TRUE or FALSE ' if OFile is empty, the IFile will be written over (if I can !) ' ' Attention on the string Images : its format is as follows : ' [0]: ftp command for connection or file name like in ' "ftp ftp://root:pliplaplo at ...1696..." ' or "localfile" & ' [1]: The location of the files as in ' "/home/steven/photos" ' or "/home/steven/{fieldname1}/test/{fieldname2}" where the vars {filednamex} are database field names ' from the query ' If a field in the databse, targeted for an image is a blob, we consider thats a transfert direct, ' otherwise, we will try to read the images from the location specified above, extenxded with the field contents ' as a file name ' ' All the other parms are in the document. ' In case of an image it's in the image-name field, followed by 2 numbers ' ie file_name01 - because OO can't have the same imagename twice (so, you have to put in a 'dummy' image) ' ' Attention : we presume someone opened a database db publicly ' ' now we do it RsA AS Result ' the result of the databse quiry (if there are more records, you'll have more forms filles) MYes AS String = "Oui" MNo AS String = "Non" sData AS String ' The input string of the XML file (the whole file) FNam AS String ' The name of the temporary (work) file MyDir AS String ' The working directory name OSql AS String ' The original Quiry asked for LImages AS String[] ' The command line for image transferts PUBLIC PhotoNum AS Integer = -1 ' last photo number used, in case of multi photos PUBLIC FUNCTION OOInsert(IFile AS String, OPTIONAL OFile AS String, Sql AS String, OPTIONAL Images AS String[]) AS Integer DIM ZipCmd AS String DIM Ctr AS Integer ' Main function, called from the outside ' IFile is the input openoffice text file name, OFile is the output target filename wanted ' here we do the main tasks, we will devide afterwards ' we presume that someone opened a database db RsA = db.Exec(Sql) IF NOT RsA.available THEN message.Error(" There must be something wrong in your SQL statement:\n" & Sql & "\nor your database is not open\nOr there is data missing (photos ?)", "ok") RETURN FALSE END IF IF NOT Access(IFile, gb.READ) THEN message.Error(" There must be something wrong in your Filename:\n" & IFile & "\nI cannot read it", "ok") RETURN FALSE END IF OSql = Sql ' save me, you never know ! ' first we will save the images command (if there is any) IF Images THEN LImages = Images END IF IF NOT OFile THEN OFile = IFile END IF FOR EACH RsA ' so we have our tools, lets try it ' we use unzip, since it knows how to handle directory structures RANDOMIZE FNam = Str(CInt(Rnd(100000000, 2000000000))) MyDir = USER.Home & "/" & FNam MKDIR MyDir ZipCmd = "unzip -d " & MyDir & " " & IFile ' lets do the unzip SHELL ZipCmd WAIT ' we have the structure unpacked now ' we have the following files to consider : ' content.xml = main content (text) with the tags ' ./Pictures directory with the images ' We start to read the content into a string sData = File.Load(MyDir & "/content.xml") sData = DoLine(sData) ' this is where the work is done File.Save(MyDir & "/content.xml", sData) ' that main file is updated, we presume allso that all interesting photos are replaced in the Pictures directory ' and now we re-compress all into an odt (zip) file SHELL "cd " & MyDir & ";zip -r " & FNam & ".odt *" WAIT ' ok, he's there now, lets move um and delete the working directory IF Ctr = 0 THEN SHELL "cp " & MYDir & "/" & FNam & ".odt " & OFile WAIT ELSE SHELL "cp " & MYDir & "/" & FNam & "_" & Str(Ctr) & ".odt " & OFile WAIT END IF SHELL "rm -rf " & MyDir ' we don't wait for this to end Ctr = Ctr + 1 NEXT RETURN TRUE 'CATCH ' Message.Error(Error.Text) ' SHELL "rm -rf " & MyDir ' try to clean up at least ' RETURN FALSE END PRIVATE FUNCTION DoLine(sData AS String) AS String DIM s, e AS Integer DIM Tmp AS String DIM Tag AS String[] ' we do the replace/find data Tmp = sData s = InStr(Tmp, "{{") WHILE s > 0 e = InStr(Tmp, "}}", s) Tag = Split(Mid(Tmp, s + 2, e - s - 2), ":") Tmp = Mid(Tmp, 1, s - 1) & DoField(Tag) & Mid(Tmp, e + 2) s = InStr(Tmp, "{{") WEND RETURN Tmp END PRIVATE FUNCTION DoField(Tag AS String[]) AS String DIM Rstr AS String ' the return string DIM tmp AS String DIM RsX AS Result DIM TTag AS String[] ' we have the field to translate in tag, lets analyse it ' 0 is the command, 1 the value Rstr = "--" ' just vin case, to avaoid null's comming out SELECT Tag[0] CASE "db" ' we take the field from the database, and try to print it as nice as possible SELECT RsA.Fields[Tag[1]].Type CASE db.Boolean IF RsA[Tag[1]] THEN Rstr = MYes ELSE Rstr = MNo END IF CASE db.integer TRY Rstr = Format$(RsA[Tag[1]], "(#.#)") CASE db.float TRY Rstr = Format$(RsA[Tag[1]], "($,#)") CASE db.date TRY Rstr = Format$(RsA[Tag[1]], "d mmm yyyy") CASE db.string Rstr = XMLCor(RsA[Tag[1]]) CASE db.serial Rstr = Str(RsA[Tag[1]]) CASE ELSE ' suppose this can be a blob or a string, w'll handle it as strings Rstr = XMLCor(RsA[Tag[1]]) END SELECT CASE "cu" ' currency "($,#.###)" TRY Rstr = Format$(Str(RsA[Tag[1]]), "($,#.###)") CASE "ft" ' formatted text Rstr = XMLCor(RsA[Tag[1]]) CASE "im" ' image DoPhotos(Tag) ' this is for the sequence number (2 pos) Rstr = Tag[1] CASE "li" ' Literal program variable Rstr = XMLCor(Eval(Tag[1])) ' message.Info(Mglobal.U_AgenNom) CASE "tb" ' translate table ' we read the table with Tag and value as the two keys RsX = db.Exec("Select * from MTranslate where FieldName = '" & Tag[1] & "' AND FieldVal = '" & Str(RsA[Tag[1]]) & "'") IF RsX.Available THEN RStr = XMLCor(Conv(RsX!Replacement, "ISO-8859-1", "UTF-8")) IF InStr(Rstr, ":") THEN RStr = DoField(Split(RStr, ":")) ' we go deeeeep here, lets take the risc ! END IF ELSE RStr = " " END IF CASE "fo" ' we have to calculate something ' we have a string with + - / * etc in it and field names ' we adapt the first query, to add this calculation (field names must be ok !) ' we presume that the first query is like 'Select blablabla' Tmp = "Select ( " & Replace$(Tag[1], "'", "'") & " ) as tmpnam2334, " & Mid(Osql, 7) TRY RsX = db.Exec(Tmp) IF RsX.available THEN Rstr = XMLCor(RsX!tmpnam2334) ELSE RStr = "" END IF CASE ELSE ' we just try to give back the field (like string) after translation for xml Rstr = XMLCor(RsA[Tag[1]]) END SELECT RETURN Rstr END PRIVATE SUB DoPhotos(Tage AS String[]) ' the problem is that there are more then one per document / record ' we will just do it as replacing existing images in their directory, without changing the xml ' the images in the xml files are as : href="Pictures/100000000000019D000001DC284D3F35.jpg" DIM s, e, b AS Integer DIM Tmp, Tmp2, FtpCom AS String DIM Tag2 AS String[] DIM hResultField AS ResultField DIM Tres AS Result DIM Tmp_fld AS String PhotoNum = PhotoNum + 1 Tmp = sData s = InStr(Tmp, "{{" & Tage[0] & ":" & Tage[1] & "}}") s = InStr(Tmp, "href=\"Pictures/", s) e = InStr(Tmp, " ", s) - 1 Tag2 = Split(Mid(Tmp, s + 15, e - s - 15), ".") ' we donnot change the text, we just move the picture in place ' the filename is in Tag[1] ' we read the photos table directly here Tres = db.Exec("Select * from Photos where prop_num = " & RsA!id & " AND sequence = " & PhotoNum) IF Tres.Available THEN ' ATTENTION ! we might have to change the file extension (png, gif, ...) Tmp_fld = Mid$(Tage[1], 1, Len(Tage[1]) - 2) IF Tres.Fields[Tmp_fld].Type = db.Blob THEN ' we have one direct ( a jpg, we will make) Tmp2 = Tres[Tmp_fld] ' write the photo to local file File.Save("'" & MyDir & "/Pictures/" & Tag2[0] & "." & Tag2[1] & "'", Tmp2) ELSE 'we have a filename ' we will have to call a public user module, that gives us the full filename and ' it has to indicate if it's local or via ftp (with user and keys and so on) IF LImages THEN ' we start with construction the file path IF LImages[1] THEN Tmp2 = LImages[1] ' the directory s = InStr(Tmp2, "{") IF s THEN ' we have some replace to do WHILE s > 0 e = InStr(Tmp2, "}") Tmp2 = Mid(Tmp2, 1, s - 1) & RsA[Mid(Tmp2, s + 1, e - s - 1)] & Mid(Tmp2, e + 1) s = InStr(Tmp2, "{") WEND END IF ' we might have to clean Tmp_fld, since it might contain paths ! Tmp = Tres[Tmp_fld] e = RInStr(Tmp, "/") IF e > 0 THEN ' I thought so ! Tmp = Mid(Tmp, e + 1) END IF Tmp2 = Tmp2 & "/" & Tmp ELSE Tmp2 = Tmp_fld END IF ' now we have the real file name in Tmp2 ' we go and do the move IF InStr(LImages[0], "ftp") > 0 THEN ' we have to construct a ftp command FtpCom = LImages[0] & Tmp2 & "' -o '" & MyDir & "/Pictures/" & Tag2[0] & "." & Tag2[1] & "'" SHELL FtpCom WAIT ' message.Info(FtpCom) ELSE ' it's a local file SHELL "cp -fp '" & Tmp2 & "' '" & MyDir & "/Pictures/" & Tag2[0] & "." & Tag2[1] & "'" END IF END IF END IF RETURN ELSE message.Info("C'est une fichier ancienne\nIl faut re-trier les photos !") END IF END PRIVATE FUNCTION XMLCor(Inp AS String) AS String DIM tmp AS String 'scan a string and prepare it for use with XML Tmp = Replace$(Inp, "'", "'") ' Apostrophes (') are NOT allowed Tmp = Replace$(Inp, "\"", """) ' Double quotes neither Tmp = Replace$(Tmp, Chr$(9), " ") ' Horizontal tabs Tmp = Replace$(Tmp, Chr$(10), " ") ' Line feeds Tmp = Replace$(Tmp, Chr$(13), "") ' No carriage returns RETURN Tmp END From nando_f at ...1382... Mon Sep 3 21:39:39 2007 From: nando_f at ...1382... (nando) Date: Mon, 3 Sep 2007 14:39:39 -0500 Subject: [Gambas-user] SerialPort In-Reply-To: References: Message-ID: <20070903193835.M77980@...1382...> Possible problems: The port is being used by some other program. Wrong permissions. The serial port needs proper permissions. -Fernando ---------- Original Message ----------- From: "akhsani" To: gambas-user at lists.sourceforge.net Sent: Mon, 03 Sep 2007 23:44:43 +0700 Subject: [Gambas-user] SerialPort > to whom at may give me some help, > > I am an Indonesian , > I just run Gambas in "Vector" Linux,...I have problem when > using SerialPort..., > I was running the sample one (SerialPort project , from > Network ),.... During run in Gambas was OK..., but when I > made it in executable file become problem.., > The problem is: > After I make it in executable file, then run it, then open > the port,..... then program stop and give message "can not > open port, the device is busy".... > > What should I do ?..... > > Best regards... > Ali > ======================================================================================== > "Dapatkan Colocation 10 Mbps Rp 1.250.000,- hanya di http://telkomhosting.com." > ======================================================================================== > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From rohnny at ...1248... Mon Sep 3 22:08:32 2007 From: rohnny at ...1248... (R. Stormo) Date: Mon, 3 Sep 2007 13:08:32 -0700 (PDT) Subject: [Gambas-user] svn 552 , can't install Message-ID: <12467261.post@...1379...> I can't install revision 552 from svn. I have reconf-all, configure and make everything went without any problem. But when I do make install it want go so smooth. I get this error --snip make install-data-hook make[5]: Entering directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' Creating the information files for gb.qt.kde.html component... gb.qt.kde.html make[5]: *** [install-data-hook] Segmentation fault (core dumped) make[5]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' make[4]: *** [install-data-am] Error 2 make[4]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde' make: *** [install-recursive] Error 1 Regards R. Stormo My Gambas Community http://gambasforum.tk -- View this message in context: http://www.nabble.com/svn-552-%2C-can%27t-install-tf4373859.html#a12467261 Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Mon Sep 3 22:35:41 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 3 Sep 2007 22:35:41 +0200 Subject: [Gambas-user] svn 552 , can't install In-Reply-To: <12467261.post@...1379...> References: <12467261.post@...1379...> Message-ID: <200709032235.41737.gambas@...1...> On lundi 03 septembre 2007, R. Stormo wrote: > I can't install revision 552 from svn. I have reconf-all, configure and > make everything went without any problem. > But when I do make install it want go so smooth. I get this error > > > --snip > make install-data-hook > make[5]: Entering directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > > Creating the information files for gb.qt.kde.html component... > gb.qt.kde.html > make[5]: *** [install-data-hook] Segmentation fault (core dumped) > make[5]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > make[4]: *** [install-data-am] Error 2 > make[4]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > make[3]: *** [install-am] Error 2 > make[3]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde' > make: *** [install-recursive] Error 1 > > > > > Regards R. Stormo > > My Gambas Community http://gambasforum.tk Can you use valgrind to try to get some information on the crash? Do, as root: $ valgrind --num-callers=80 gbi2 -p gb.qt.kde.html Thanks in advance. Regards, -- Benoit Minisini From sourceforge-raindog2 at ...94... Tue Sep 4 03:31:46 2007 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 3 Sep 2007 21:31:46 -0400 Subject: [Gambas-user] mailing lists to forum topics Message-ID: <200709032131.46587.sourceforge-raindog2@...94...> Hi, Gareth. I realize you want to make your forum appear vital so that it'll draw new users in. So far, though, by copying all the mailing lists posts to new forum topics, all you've done is make sure that those of us already on the mailing list who were keeping track of the forum via RSS will no longer do so. I think that there's a reason none of the 3 or 4 prior Gambas forums has ever gotten critical mass, though linuxbasic.net still gets fairly regular traffic. But creating this sort of gateway will only serve to alienate those of us who might have helped the kind of new users who are unwilling to use a mailing list for whatever reason. Let them remain separate and the forum will live or die on its own merit. Rob From gareth at ...1689... Tue Sep 4 03:58:00 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 4 Sep 2007 02:58:00 +0100 (BST) Subject: [Gambas-user] mailing lists to forum topics In-Reply-To: <200709032131.46587.sourceforge-raindog2@...94...> Message-ID: <25226416.4661188871080882.JavaMail.root@...1708...> Mmm, Depends on how you look at it, I can't manage without an RSS feed, hence my investment of 1 day in writing a mailing list -> RSS interface. Why not just subscribe to the forums you're interested in (i.e. not gambas-users or gambas-developers, as you get this via the mailing lists) and you'll get the posts via email ... ?? .. I see Gambas doing one of three things; a. Die - in which case all this is pointless b. Stay the same - in which case, all of this is pointless c. Expand - in which case mailing list traffic will eventually overwhelm the list. I would like to see (c) come to pass, in which case you will need an alternative, forums for example. If you don't want to monitor the Forums, that's not a problem. If I see something I can't handle I'll stick it on the bug tracker, or worst case - the mailing list (!) Gareth. -- Managing Director, Encryptec Limited Tel: 0845 25 77033, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. ----- Original Message ----- From: "Rob" To: gambas-user at lists.sourceforge.net Sent: Tuesday, September 4, 2007 2:31:46 AM (GMT) Europe/London Subject: [Gambas-user] mailing lists to forum topics Hi, Gareth. I realize you want to make your forum appear vital so that it'll draw new users in. So far, though, by copying all the mailing lists posts to new forum topics, all you've done is make sure that those of us already on the mailing list who were keeping track of the forum via RSS will no longer do so. I think that there's a reason none of the 3 or 4 prior Gambas forums has ever gotten critical mass, though linuxbasic.net still gets fairly regular traffic. But creating this sort of gateway will only serve to alienate those of us who might have helped the kind of new users who are unwilling to use a mailing list for whatever reason. Let them remain separate and the forum will live or die on its own merit. Rob ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From rohnny at ...1248... Tue Sep 4 06:11:16 2007 From: rohnny at ...1248... (R. Stormo) Date: Mon, 3 Sep 2007 21:11:16 -0700 (PDT) Subject: [Gambas-user] svn 552 , can't install In-Reply-To: <200709032235.41737.gambas@...1...> References: <12467261.post@...1379...> <200709032235.41737.gambas@...1...> Message-ID: <12471446.post@...1379...> Benoit Minisini wrote: > > On lundi 03 septembre 2007, R. Stormo wrote: >> I can't install revision 552 from svn. I have reconf-all, configure and >> make everything went without any problem. >> But when I do make install it want go so smooth. I get this error >> >> >> --snip >> make install-data-hook >> make[5]: Entering directory >> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >> >> Creating the information files for gb.qt.kde.html component... >> gb.qt.kde.html >> make[5]: *** [install-data-hook] Segmentation fault (core dumped) >> make[5]: Leaving directory >> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >> make[4]: *** [install-data-am] Error 2 >> make[4]: Leaving directory >> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >> make[3]: *** [install-am] Error 2 >> make[3]: Leaving directory >> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >> make[2]: *** [install-recursive] Error 1 >> make[2]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src' >> make[1]: *** [install-recursive] Error 1 >> make[1]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde' >> make: *** [install-recursive] Error 1 >> >> >> >> >> Regards R. Stormo >> >> My Gambas Community http://gambasforum.tk > > Can you use valgrind to try to get some information on the crash? > > Do, as root: > $ valgrind --num-callers=80 gbi2 -p gb.qt.kde.html > > Thanks in advance. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Here is what came when runned valgrind. --snip ==30635== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==30635== Using valgrind-3.2.1-Debian, a dynamic binary instrumentation framework. ==30635== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==30635== For more details, rerun with: -v ==30635== ==30635== Invalid read of size 4 ==30635== at 0x4014770: (within /lib/ld-2.5.so) ==30635== by 0x4005B69: (within /lib/ld-2.5.so) ==30635== by 0x4007995: (within /lib/ld-2.5.so) ==30635== by 0x4010D94: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40108ED: (within /lib/ld-2.5.so) ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) ==30635== by 0x804B205: analyze (gbi.c:511) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== Address 0x418B688 is 40 bytes inside a block of size 41 alloc'd ==30635== at 0x4020620: malloc (vg_replace_malloc.c:149) ==30635== by 0x4006EB4: (within /lib/ld-2.5.so) ==30635== by 0x40078D9: (within /lib/ld-2.5.so) ==30635== by 0x4010D94: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40108ED: (within /lib/ld-2.5.so) ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) ==30635== by 0x804B205: analyze (gbi.c:511) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== ==30635== Invalid read of size 4 ==30635== at 0x4014743: (within /lib/ld-2.5.so) ==30635== by 0x4005B69: (within /lib/ld-2.5.so) ==30635== by 0x4007995: (within /lib/ld-2.5.so) ==30635== by 0x400B836: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40108ED: (within /lib/ld-2.5.so) ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) ==30635== by 0x804B205: analyze (gbi.c:511) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== Address 0x418B9F8 is 32 bytes inside a block of size 35 alloc'd ==30635== at 0x4020620: malloc (vg_replace_malloc.c:149) ==30635== by 0x4007F33: (within /lib/ld-2.5.so) ==30635== by 0x400B836: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40108ED: (within /lib/ld-2.5.so) ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) ==30635== by 0x804B205: analyze (gbi.c:511) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== ==30635== Invalid read of size 4 ==30635== at 0x4014759: (within /lib/ld-2.5.so) ==30635== by 0x4005B69: (within /lib/ld-2.5.so) ==30635== by 0x4007995: (within /lib/ld-2.5.so) ==30635== by 0x400B836: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40108ED: (within /lib/ld-2.5.so) ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) ==30635== by 0x804B205: analyze (gbi.c:511) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== Address 0x418BD34 is 20 bytes inside a block of size 21 alloc'd ==30635== at 0x4020620: malloc (vg_replace_malloc.c:149) ==30635== by 0x4007F33: (within /lib/ld-2.5.so) ==30635== by 0x400B836: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40108ED: (within /lib/ld-2.5.so) ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) ==30635== by 0x804B205: analyze (gbi.c:511) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== ==30635== Invalid read of size 4 ==30635== at 0x4014770: (within /lib/ld-2.5.so) ==30635== by 0x4005B69: (within /lib/ld-2.5.so) ==30635== by 0x4007995: (within /lib/ld-2.5.so) ==30635== by 0x400B836: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40108ED: (within /lib/ld-2.5.so) ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) ==30635== by 0x804B205: analyze (gbi.c:511) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== Address 0x418C6B0 is 24 bytes inside a block of size 25 alloc'd ==30635== at 0x4020620: malloc (vg_replace_malloc.c:149) ==30635== by 0x4007F33: (within /lib/ld-2.5.so) ==30635== by 0x400B836: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40108ED: (within /lib/ld-2.5.so) ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) ==30635== by 0x804B205: analyze (gbi.c:511) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== ==30635== Invalid read of size 4 ==30635== at 0x4014787: (within /lib/ld-2.5.so) ==30635== by 0x4005B69: (within /lib/ld-2.5.so) ==30635== by 0x4007995: (within /lib/ld-2.5.so) ==30635== by 0x400B836: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40108ED: (within /lib/ld-2.5.so) ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) ==30635== by 0x804B205: analyze (gbi.c:511) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== Address 0x418DCDC is 28 bytes inside a block of size 29 alloc'd ==30635== at 0x4020620: malloc (vg_replace_malloc.c:149) ==30635== by 0x4007F33: (within /lib/ld-2.5.so) ==30635== by 0x400B836: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40108ED: (within /lib/ld-2.5.so) ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) ==30635== by 0x804B205: analyze (gbi.c:511) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== ==30635== Conditional jump or move depends on uninitialised value(s) ==30635== at 0x401477A: (within /lib/ld-2.5.so) ==30635== by 0x414E3D2: (within /lib/tls/i686/cmov/libc-2.5.so) ==30635== by 0x414E639: _dl_sym (in /lib/tls/i686/cmov/libc-2.5.so) ==30635== by 0x4045DE7: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045D72: dlsym (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804ED58: sys_dl_sym (ltdl.c:1135) ==30635== by 0x804D2F2: lt_dlsym (ltdl.c:3914) ==30635== by 0x804B236: analyze (gbi.c:518) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== ==30635== Conditional jump or move depends on uninitialised value(s) ==30635== at 0x4014785: (within /lib/ld-2.5.so) ==30635== by 0x414E3D2: (within /lib/tls/i686/cmov/libc-2.5.so) ==30635== by 0x414E639: _dl_sym (in /lib/tls/i686/cmov/libc-2.5.so) ==30635== by 0x4045DE7: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045D72: dlsym (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804ED58: sys_dl_sym (ltdl.c:1135) ==30635== by 0x804D2F2: lt_dlsym (ltdl.c:3914) ==30635== by 0x804B236: analyze (gbi.c:518) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== ==30635== Invalid read of size 4 ==30635== at 0x4014770: (within /lib/ld-2.5.so) ==30635== by 0x400D2A9: (within /lib/ld-2.5.so) ==30635== by 0x4009812: (within /lib/ld-2.5.so) ==30635== by 0x414E3D2: (within /lib/tls/i686/cmov/libc-2.5.so) ==30635== by 0x414E639: _dl_sym (in /lib/tls/i686/cmov/libc-2.5.so) ==30635== by 0x4045DE7: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045D72: dlsym (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804ED58: sys_dl_sym (ltdl.c:1135) ==30635== by 0x804D2F2: lt_dlsym (ltdl.c:3914) ==30635== by 0x804B236: analyze (gbi.c:518) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== Address 0x418B688 is 40 bytes inside a block of size 41 alloc'd ==30635== at 0x4020620: malloc (vg_replace_malloc.c:149) ==30635== by 0x4006EB4: (within /lib/ld-2.5.so) ==30635== by 0x40078D9: (within /lib/ld-2.5.so) ==30635== by 0x4010D94: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40108ED: (within /lib/ld-2.5.so) ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) ==30635== by 0x804B205: analyze (gbi.c:511) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== ==30635== Invalid read of size 4 ==30635== at 0x4014759: (within /lib/ld-2.5.so) ==30635== by 0x400D2A9: (within /lib/ld-2.5.so) ==30635== by 0x4009812: (within /lib/ld-2.5.so) ==30635== by 0x400CE51: (within /lib/ld-2.5.so) ==30635== by 0x40122FF: (within /lib/ld-2.5.so) ==30635== by 0x4075CC8: __cxa_finalize (in /lib/tls/i686/cmov/libc-2.5.so) ==30635== by 0x4F1EAB2: (within /usr/lib/libkdeui.so.4.2.0) ==30635== by 0x50A880B: (within /usr/lib/libkdeui.so.4.2.0) ==30635== by 0x4011AFC: (within /lib/ld-2.5.so) ==30635== by 0x4012286: (within /lib/ld-2.5.so) ==30635== by 0x4045CC3: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045CF9: dlclose (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804EDAC: sys_dl_close (ltdl.c:1120) ==30635== by 0x804BCE4: lt_dlclose (ltdl.c:3804) ==30635== by 0x804B52B: analyze (gbi.c:556) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== Address 0x418C9E4 is 20 bytes inside a block of size 23 alloc'd ==30635== at 0x4020620: malloc (vg_replace_malloc.c:149) ==30635== by 0x4007F33: (within /lib/ld-2.5.so) ==30635== by 0x400B836: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40108ED: (within /lib/ld-2.5.so) ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) ==30635== by 0x804B205: analyze (gbi.c:511) ==30635== by 0x804B8E1: main (gbi.c:815) ==30635== Warning: client switching stacks? SP change: 0xBEACE000 --> 0x401A6E0 ==30635== to suppress, use: --max-stackframe=1163183840 or greater ==30635== ==30635== Use of uninitialised value of size 4 ==30635== at 0x4014399: (within /lib/ld-2.5.so) ==30635== ==30635== Invalid read of size 4 ==30635== at 0x401B992: ??? ==30635== Address 0xFFFFFFFE is not stack'd, malloc'd or (recently) free'd ==30635== ==30635== Process terminating with default action of signal 11 (SIGSEGV) ==30635== General Protection Fault ==30635== at 0x401B992: ??? ==30635== ==30635== Use of uninitialised value of size 4 ==30635== at 0x401C200: _vgnU_freeres (vg_preloaded.c:56) ==30635== ==30635== Invalid read of size 4 ==30635== at 0x41572A7: (within /lib/tls/i686/cmov/libc-2.5.so) ==30635== Address 0x401A640 is just below the stack ptr. To suppress, use: --workaround-gcc296-bugs=yes ==30635== ==30635== Invalid write of size 4 ==30635== at 0x41572AA: (within /lib/tls/i686/cmov/libc-2.5.so) ==30635== Address 0x401A640 is just below the stack ptr. To suppress, use: --workaround-gcc296-bugs=yes ==30635== ==30635== ERROR SUMMARY: 46 errors from 14 contexts (suppressed: 109 from 1) ==30635== malloc/free: in use at exit: 68,081 bytes in 1,624 blocks. ==30635== malloc/free: 1,690 allocs, 66 frees, 75,789 bytes allocated. ==30635== For counts of detected errors, rerun with: -v ==30635== searching for pointers to 1,624 not-freed blocks. ==30635== checked 1,420,764 bytes. ==30635== ==30635== LEAK SUMMARY: ==30635== definitely lost: 0 bytes in 0 blocks. ==30635== possibly lost: 0 bytes in 0 blocks. ==30635== still reachable: 68,081 bytes in 1,624 blocks. ==30635== suppressed: 0 bytes in 0 blocks. ==30635== Reachable blocks (those to which a pointer was found) are not shown. ==30635== To see them, rerun with: --show-reachable=yes Segmentation fault (core dumped) rohnny at ...1008...:~$ Regards R. Stormo My Gambas Community http://gambasforum.tk -- View this message in context: http://www.nabble.com/svn-552-%2C-can%27t-install-tf4373859.html#a12471446 Sent from the gambas-user mailing list archive at Nabble.com. From sourceforge-raindog2 at ...94... Tue Sep 4 06:23:42 2007 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 4 Sep 2007 00:23:42 -0400 Subject: [Gambas-user] mailing lists to forum topics In-Reply-To: <25226416.4661188871080882.JavaMail.root@...1708...> References: <25226416.4661188871080882.JavaMail.root@...1708...> Message-ID: <200709040023.43042.sourceforge-raindog2@...94...> On Monday 03 September 2007 21:58, Gareth Bult wrote: > Why not just subscribe to the forums you're interested in (i.e. not > gambas-users or gambas-developers, as you get this via the mailing > lists) and you'll get the posts via email ... ?? Because regardless of the RSS feeds, gatewaying the mailing lists will accomplish one of two things, either of which is obnoxious. 1. It's a one-way gateway, in which case people on the forums will answer questions from people on the list, unbeknownst to people on the list. or 2. It's a two-way gateway, in which case we'll be getting responses on the lists from people who aren't subscribed to the lists, most likely with a catch-all address preventing us from responding to them directly. Either way, it becomes a nuisance to be on the mailing lists with the gateway in place, assuming the forums ever develop their own following. > c. Expand - in which case mailing list traffic will eventually > overwhelm the list. This hasn't happened with more popular projects like Pan, GNOME and the Linux kernel, so I can't imagine why it would happen to Gambas. > I would like to see (c) come to pass, in which case you will need > an alternative, forums for example. Well, if the mailing lists and forums are one and the same, the forums aren't an alternative at all, are they? At any rate, we've had Gambas forums linked from the website for several years, as I mentioned earlier. Despite this, the mass influx of non-email-savvy users predicted by forum proponents has never happened. Like most mailing lists for free software, there's also a web interface to read the lists so that Google will find answers to problems. Feeding mailing lists into the forums may help the forums by creating a facade of critical mass, but I don't think it'll help the mailing lists, or those looking for answers to problems, at all. Rob From gareth at ...1689... Tue Sep 4 09:43:33 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 4 Sep 2007 08:43:33 +0100 (BST) Subject: [Gambas-user] mailing lists to forum topics In-Reply-To: <200709040023.43042.sourceforge-raindog2@...94...> Message-ID: <594885.4751188891813161.JavaMail.root@...1708...> >Because regardless of the RSS feeds, gatewaying the mailing lists will accomplish one of two things, either of which is obnoxious. >1. It's a one-way gateway, in which case people on the forums will answer questions from people on the list, unbeknownst to people on the list. How exactly are they going to accomplish that? Only admin staff have permissions to post to these two lists .... ????? >2. It's a two-way gateway, in which case we'll be getting responses on the lists from people who aren't subscribed to the lists, most likely with a catch-all address preventing us from responding to them directly. The only people who can post to the list are myself and Beno?t, and possibly Fabien. So what's the problem ? > c. Expand - in which case mailing list traffic will eventually> overwhelm the list. >This hasn't happened with more popular projects like Pan, GNOME and the Linux kernel, so I can't imagine why it would happen to Gambas. Because they all tend to put problems through bug trackers rather than mailing lists. Something that's not taken off yet with Gambas. >Well, if the mailing lists and forums are one and the same, the forums aren't an alternative at all, are they? Mailing list information is an extension to the Forum database - they are not the same! >Feeding mailing lists into the forums may help the forums by creating a facade of critical mass, but I don't think it'll help the mailing lists, or those looking for answers to problems, at all. ... so it will help some people, I don't see how it can hurt anyone. I fail to see why you have such a problem with this ? Gareth. From easuter at ...626... Tue Sep 4 12:10:38 2007 From: easuter at ...626... (easuter) Date: Tue, 4 Sep 2007 03:10:38 -0700 (PDT) Subject: [Gambas-user] Calling library functions in Gambas2 In-Reply-To: <200709031659.27960.gambas@...1...> References: <6bb01940708191619l2e9d79eja1e3e0986788604f@...627...> <200708200122.55227.ronstk@...239...> <12398013.post@...1379...> <200708300202.33528.gambas@...1...> <12452966.post@...1379...> <200709031659.27960.gambas@...1...> Message-ID: <12475387.post@...1379...> Benoit Minisini wrote: > > You must install the last subversion revision, not the last release. > > Regards, > > -- > Benoit Minisini > > Yeah, it seems to work (with svn r552) :-) The only thing now is that when the gambas console prints the returned value from an external function (any one that I've tried so far, even printf), it gives this message before it: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed This shouldn't happen right (it doesn't in gambas2 1.9.50)? -- View this message in context: http://www.nabble.com/Calling-library-functions-in-Gambas2-tf4295859.html#a12475387 Sent from the gambas-user mailing list archive at Nabble.com. From sourceforge-raindog2 at ...94... Tue Sep 4 14:58:19 2007 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 4 Sep 2007 08:58:19 -0400 Subject: [Gambas-user] mailing lists to forum topics In-Reply-To: <594885.4751188891813161.JavaMail.root@...1708...> References: <594885.4751188891813161.JavaMail.root@...1708...> Message-ID: <200709040858.19644.sourceforge-raindog2@...94...> On Tuesday 04 September 2007 03:43, Gareth Bult wrote: > Mailing list information is an extension to the Forum database - > they are not the same! Sorry, didn't realize it was read-only and separate from the proper forums. I made an assumption based on your previous behavior (gatewaying the bug tracker onto the mailing list.) Rob From gareth at ...1689... Tue Sep 4 15:39:18 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 4 Sep 2007 14:39:18 +0100 (BST) Subject: [Gambas-user] mailing lists to forum topics In-Reply-To: <200709040858.19644.sourceforge-raindog2@...94...> Message-ID: <22707195.5271188913158660.JavaMail.root@...1708...> Urm, When setting up the tracker I pointed the output at the users mailing lists as a test .. it wasn't my intention to pump all issue tracker tickets onto the list, I just wanted to see if it would work. So, does this mean that given the forums are read-only it's not a problem for you ? Gareth. -- Managing Director, Encryptec Limited Tel: 0845 25 77033, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. ----- Original Message ----- From: "Rob" To: gambas-user at lists.sourceforge.net Sent: Tuesday, September 4, 2007 1:58:19 PM (GMT) Europe/London Subject: Re: [Gambas-user] mailing lists to forum topics On Tuesday 04 September 2007 03:43, Gareth Bult wrote: > Mailing list information is an extension to the Forum database - > they are not the same! Sorry, didn't realize it was read-only and separate from the proper forums. I made an assumption based on your previous behavior (gatewaying the bug tracker onto the mailing list.) Rob ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Tue Sep 4 17:00:07 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 4 Sep 2007 17:00:07 +0200 Subject: [Gambas-user] svn 552 , can't install In-Reply-To: <12471446.post@...1379...> References: <12467261.post@...1379...> <200709032235.41737.gambas@...1...> <12471446.post@...1379...> Message-ID: <200709041700.07322.gambas@...1...> On mardi 04 septembre 2007, R. Stormo wrote: > Benoit Minisini wrote: > > On lundi 03 septembre 2007, R. Stormo wrote: > >> I can't install revision 552 from svn. I have reconf-all, configure and > >> make everything went without any problem. > >> But when I do make install it want go so smooth. I get this error > >> > >> > >> --snip > >> make install-data-hook > >> make[5]: Entering directory > >> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > >> > >> Creating the information files for gb.qt.kde.html component... > >> gb.qt.kde.html > >> make[5]: *** [install-data-hook] Segmentation fault (core dumped) > >> make[5]: Leaving directory > >> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > >> make[4]: *** [install-data-am] Error 2 > >> make[4]: Leaving directory > >> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > >> make[3]: *** [install-am] Error 2 > >> make[3]: Leaving directory > >> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > >> make[2]: *** [install-recursive] Error 1 > >> make[2]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src' > >> make[1]: *** [install-recursive] Error 1 > >> make[1]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde' > >> make: *** [install-recursive] Error 1 > >> > >> > >> > >> > >> Regards R. Stormo > >> > >> My Gambas Community http://gambasforum.tk > > > > Can you use valgrind to try to get some information on the crash? > > > > Do, as root: > > $ valgrind --num-callers=80 gbi2 -p gb.qt.kde.html > > > > Thanks in advance. > > > > Regards, > > > > -- > > Benoit Minisini > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Here is what came when runned valgrind. > > --snip > ==30635== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. > ==30635== Using valgrind-3.2.1-Debian, a dynamic binary instrumentation > framework. > ==30635== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. > ==30635== For more details, rerun with: -v > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x4014770: (within /lib/ld-2.5.so) > ==30635== by 0x4005B69: (within /lib/ld-2.5.so) > ==30635== by 0x4007995: (within /lib/ld-2.5.so) > ==30635== by 0x4010D94: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Address 0x418B688 is 40 bytes inside a block of size 41 alloc'd > ==30635== at 0x4020620: malloc (vg_replace_malloc.c:149) > ==30635== by 0x4006EB4: (within /lib/ld-2.5.so) > ==30635== by 0x40078D9: (within /lib/ld-2.5.so) > ==30635== by 0x4010D94: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x4014743: (within /lib/ld-2.5.so) > ==30635== by 0x4005B69: (within /lib/ld-2.5.so) > ==30635== by 0x4007995: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Address 0x418B9F8 is 32 bytes inside a block of size 35 alloc'd > ==30635== at 0x4020620: malloc (vg_replace_malloc.c:149) > ==30635== by 0x4007F33: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x4014759: (within /lib/ld-2.5.so) > ==30635== by 0x4005B69: (within /lib/ld-2.5.so) > ==30635== by 0x4007995: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Address 0x418BD34 is 20 bytes inside a block of size 21 alloc'd > ==30635== at 0x4020620: malloc (vg_replace_malloc.c:149) > ==30635== by 0x4007F33: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x4014770: (within /lib/ld-2.5.so) > ==30635== by 0x4005B69: (within /lib/ld-2.5.so) > ==30635== by 0x4007995: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Address 0x418C6B0 is 24 bytes inside a block of size 25 alloc'd > ==30635== at 0x4020620: malloc (vg_replace_malloc.c:149) > ==30635== by 0x4007F33: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x4014787: (within /lib/ld-2.5.so) > ==30635== by 0x4005B69: (within /lib/ld-2.5.so) > ==30635== by 0x4007995: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Address 0x418DCDC is 28 bytes inside a block of size 29 alloc'd > ==30635== at 0x4020620: malloc (vg_replace_malloc.c:149) > ==30635== by 0x4007F33: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Conditional jump or move depends on uninitialised value(s) > ==30635== at 0x401477A: (within /lib/ld-2.5.so) > ==30635== by 0x414E3D2: (within /lib/tls/i686/cmov/libc-2.5.so) > ==30635== by 0x414E639: _dl_sym (in /lib/tls/i686/cmov/libc-2.5.so) > ==30635== by 0x4045DE7: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045D72: dlsym (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804ED58: sys_dl_sym (ltdl.c:1135) > ==30635== by 0x804D2F2: lt_dlsym (ltdl.c:3914) > ==30635== by 0x804B236: analyze (gbi.c:518) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Conditional jump or move depends on uninitialised value(s) > ==30635== at 0x4014785: (within /lib/ld-2.5.so) > ==30635== by 0x414E3D2: (within /lib/tls/i686/cmov/libc-2.5.so) > ==30635== by 0x414E639: _dl_sym (in /lib/tls/i686/cmov/libc-2.5.so) > ==30635== by 0x4045DE7: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045D72: dlsym (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804ED58: sys_dl_sym (ltdl.c:1135) > ==30635== by 0x804D2F2: lt_dlsym (ltdl.c:3914) > ==30635== by 0x804B236: analyze (gbi.c:518) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x4014770: (within /lib/ld-2.5.so) > ==30635== by 0x400D2A9: (within /lib/ld-2.5.so) > ==30635== by 0x4009812: (within /lib/ld-2.5.so) > ==30635== by 0x414E3D2: (within /lib/tls/i686/cmov/libc-2.5.so) > ==30635== by 0x414E639: _dl_sym (in /lib/tls/i686/cmov/libc-2.5.so) > ==30635== by 0x4045DE7: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045D72: dlsym (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804ED58: sys_dl_sym (ltdl.c:1135) > ==30635== by 0x804D2F2: lt_dlsym (ltdl.c:3914) > ==30635== by 0x804B236: analyze (gbi.c:518) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Address 0x418B688 is 40 bytes inside a block of size 41 alloc'd > ==30635== at 0x4020620: malloc (vg_replace_malloc.c:149) > ==30635== by 0x4006EB4: (within /lib/ld-2.5.so) > ==30635== by 0x40078D9: (within /lib/ld-2.5.so) > ==30635== by 0x4010D94: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x4014759: (within /lib/ld-2.5.so) > ==30635== by 0x400D2A9: (within /lib/ld-2.5.so) > ==30635== by 0x4009812: (within /lib/ld-2.5.so) > ==30635== by 0x400CE51: (within /lib/ld-2.5.so) > ==30635== by 0x40122FF: (within /lib/ld-2.5.so) > ==30635== by 0x4075CC8: __cxa_finalize (in > /lib/tls/i686/cmov/libc-2.5.so) > ==30635== by 0x4F1EAB2: (within /usr/lib/libkdeui.so.4.2.0) > ==30635== by 0x50A880B: (within /usr/lib/libkdeui.so.4.2.0) > ==30635== by 0x4011AFC: (within /lib/ld-2.5.so) > ==30635== by 0x4012286: (within /lib/ld-2.5.so) > ==30635== by 0x4045CC3: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045CF9: dlclose (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDAC: sys_dl_close (ltdl.c:1120) > ==30635== by 0x804BCE4: lt_dlclose (ltdl.c:3804) > ==30635== by 0x804B52B: analyze (gbi.c:556) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Address 0x418C9E4 is 20 bytes inside a block of size 23 alloc'd > ==30635== at 0x4020620: malloc (vg_replace_malloc.c:149) > ==30635== by 0x4007F33: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in /lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Warning: client switching stacks? SP change: 0xBEACE000 --> > 0x401A6E0 > ==30635== to suppress, use: --max-stackframe=1163183840 or greater > ==30635== > ==30635== Use of uninitialised value of size 4 > ==30635== at 0x4014399: (within /lib/ld-2.5.so) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x401B992: ??? > ==30635== Address 0xFFFFFFFE is not stack'd, malloc'd or (recently) free'd > ==30635== > ==30635== Process terminating with default action of signal 11 (SIGSEGV) > ==30635== General Protection Fault > ==30635== at 0x401B992: ??? > ==30635== > ==30635== Use of uninitialised value of size 4 > ==30635== at 0x401C200: _vgnU_freeres (vg_preloaded.c:56) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x41572A7: (within /lib/tls/i686/cmov/libc-2.5.so) > ==30635== Address 0x401A640 is just below the stack ptr. To suppress, > use: --workaround-gcc296-bugs=yes > ==30635== > ==30635== Invalid write of size 4 > ==30635== at 0x41572AA: (within /lib/tls/i686/cmov/libc-2.5.so) > ==30635== Address 0x401A640 is just below the stack ptr. To suppress, > use: --workaround-gcc296-bugs=yes > ==30635== > ==30635== ERROR SUMMARY: 46 errors from 14 contexts (suppressed: 109 from > 1) ==30635== malloc/free: in use at exit: 68,081 bytes in 1,624 blocks. > ==30635== malloc/free: 1,690 allocs, 66 frees, 75,789 bytes allocated. > ==30635== For counts of detected errors, rerun with: -v > ==30635== searching for pointers to 1,624 not-freed blocks. > ==30635== checked 1,420,764 bytes. > ==30635== > ==30635== LEAK SUMMARY: > ==30635== definitely lost: 0 bytes in 0 blocks. > ==30635== possibly lost: 0 bytes in 0 blocks. > ==30635== still reachable: 68,081 bytes in 1,624 blocks. > ==30635== suppressed: 0 bytes in 0 blocks. > ==30635== Reachable blocks (those to which a pointer was found) are not > shown. > ==30635== To see them, rerun with: --show-reachable=yes > Segmentation fault (core dumped) > rohnny at ...1008...:~$ > > > > Regards R. Stormo > > My Gambas Community http://gambasforum.tk That seems to be a bug in the linux dynamic loader... Can you give me the result of: # ldd /path/to/gb.qt.kde.html.so If gambas is installed in /usr/local/, then gb.qt.kde.html.so will be located in /usr/local/lib/gambas2. This way, I will get the version of the libraries installed on your system. Regards, -- Benoit Minisini From gambas at ...1... Tue Sep 4 17:43:44 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 4 Sep 2007 17:43:44 +0200 Subject: [Gambas-user] Stiil problems with EVAL In-Reply-To: <200709032046.44583.steven@...1652...> References: <200709031342.54640.steven@...1652...> <200709032020.47891.gambas@...1...> <200709032046.44583.steven@...1652...> Message-ID: <200709041743.44610.gambas@...1...> On lundi 03 septembre 2007, Steven Lobbezoo wrote: > Le lundi 3 septembre 2007 20:20, Benoit Minisini a ?crit?: > > On lundi 03 septembre 2007, Steven Lobbezoo wrote: > > > Le lundi 3 septembre 2007 18:09, Benoit Minisini a ?crit?: > > > > > Steven > > > > > > > > Can you send me your project? > > > > > > I tried : > > > ? gambas at ...1... > > > ? ? SMTP error from remote mailer after MAIL FROM: > > > SIZE=1084656: > > > ? ? host mail.sourceforge.net [66.35.250.206]: 552 Message size exceeds > > > maximum permitted > > > > > > > > > so, no dice. > > > > > > Steven > > > > Just remove what is useless. I just need a sample case to debug, because > > I cannot reproduce it. > > > > Regards, > > Ok, here they are (hope it's complete) > > Steven Can you send me a true project? I need to debug exactly your code. Anyway, there is a bug in your XMLCor() function. :-) Regards, -- Benoit Minisini From steven at ...1652... Tue Sep 4 18:14:45 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Tue, 4 Sep 2007 18:14:45 +0200 Subject: [Gambas-user] Stiil problems with EVAL In-Reply-To: <200709041743.44610.gambas@...1...> References: <200709031342.54640.steven@...1652...> <200709032046.44583.steven@...1652...> <200709041743.44610.gambas@...1...> Message-ID: <200709041814.45267.steven@...1652...> Le mardi 4 septembre 2007 17:43, Benoit Minisini a ?crit?: > On lundi 03 septembre 2007, Steven Lobbezoo wrote: > > Le lundi 3 septembre 2007 20:20, Benoit Minisini a ?crit?: > > > On lundi 03 septembre 2007, Steven Lobbezoo wrote: > > > > Le lundi 3 septembre 2007 18:09, Benoit Minisini a ?crit?: > > > > > > Steven > > > > > > > > > > Can you send me your project? > > > > > > > > I tried : > > > > ? gambas at ...1... > > > > ? ? SMTP error from remote mailer after MAIL > > > > FROM: SIZE=1084656: > > > > ? ? host mail.sourceforge.net [66.35.250.206]: 552 Message size > > > > exceeds maximum permitted > > > > > > > > > > > > so, no dice. > > > > > > > > Steven > > > > > > Just remove what is useless. I just need a sample case to debug, > > > because I cannot reproduce it. > > > > > > Regards, > > > > Ok, here they are (hope it's complete) > > > > Steven > > Can you send me a true project? I need to debug exactly your code. > > Anyway, there is a bug in your XMLCor() function. :-) > > Regards, Found it !, Thanks. What do you mean by 'a true project', I tried to send you the project, but your e-mail adddress wont accept. (to long). Steven From jj at ...1636... Tue Sep 4 18:28:38 2007 From: jj at ...1636... (jj at ...1636...) Date: Tue, 04 Sep 2007 18:28:38 +0200 Subject: [Gambas-user] svn 552 , can't install In-Reply-To: <200709041700.07322.gambas@...1...> References: <12467261.post@...1379...> <200709032235.41737.gambas@...1...> <12471446.post@...1379...> <200709041700.07322.gambas@...1...> Message-ID: <20070904182838.whi6f4h6dwsk04w0@...1637...> Hi all. In my case (same error): bash-2.05b# ldd /usr/local/lib/gambas2/gb.qt.kde.html.so libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7fbb000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7eee000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7ee0000) libqt-mt.so.3 => /usr/lib/libqt-mt.so.3 (0xb77f3000) libkdecore.so.4 => /usr/lib/libkdecore.so.4 (0xb75a9000) libkdeui.so.4 => /usr/lib/libkdeui.so.4 (0xb72c5000) libDCOP.so.4 => /usr/lib/libDCOP.so.4 (0xb7291000) libkio.so.4 => /usr/lib/libkio.so.4 (0xb6f36000) libkhtml.so.4 => /usr/lib/libkhtml.so.4 (0xb6bb7000) libkjs.so.1 => /usr/lib/libkjs.so.1 (0xb6b4a000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6a66000) libm.so.6 => /lib/tls/libm.so.6 (0xb6a44000) libc.so.6 => /lib/tls/libc.so.6 (0xb690f000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6903000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) libdl.so.2 => /lib/tls/libdl.so.2 (0xb6900000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb68d1000) libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb68bc000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0xb686b000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb6846000) libz.so.1 => /usr/lib/libz.so.1 (0xb6833000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb682a000) libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0xb6826000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb681d000) libXft.so.2 => /usr/lib/libXft.so.2 (0xb680a000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb679d000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb6793000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb677b000) libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb66c1000) libresolv.so.2 => /lib/tls/libresolv.so.2 (0xb66af000) libutil.so.1 => /lib/tls/libutil.so.1 (0xb66ac000) libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0xb6696000) libidn.so.11 => /usr/lib/libidn.so.11 (0xb6665000) libkdefx.so.4 => /usr/lib/libkdefx.so.4 (0xb6639000) libkdesu.so.4 => /usr/lib/libkdesu.so.4 (0xb661f000) libkwalletclient.so.1 => /usr/lib/libkwalletclient.so.1 (0xb660 d000) libfam.so.0 => /usr/lib/libfam.so.0 (0xb6605000) libacl.so.1 => /lib/libacl.so.1 (0xb65fe000) libattr.so.1 => /lib/libattr.so.1 (0xb65f9000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb65db000) libpcreposix.so.3 => /usr/lib/libpcreposix.so.3 (0xb65d8000) libpcre.so.3 => /usr/lib/libpcre.so.3 (0xb65c8000) libkparts.so.2 => /usr/lib/libkparts.so.2 (0xb6582000) libkdeprint.so.4 => /usr/lib/libkdeprint.so.4 (0xb64ac000) libkutils.so.1 => /usr/lib/libkutils.so.1 (0xb6448000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6428000) From rohnny at ...1248... Tue Sep 4 20:44:30 2007 From: rohnny at ...1248... (R. Stormo) Date: Tue, 4 Sep 2007 11:44:30 -0700 (PDT) Subject: [Gambas-user] svn 552 , can't install In-Reply-To: <200709041700.07322.gambas@...1...> References: <12467261.post@...1379...> <200709032235.41737.gambas@...1...> <12471446.post@...1379...> <200709041700.07322.gambas@...1...> Message-ID: <12484179.post@...1379...> Benoit Minisini wrote: > > On mardi 04 septembre 2007, R. Stormo wrote: >> Benoit Minisini wrote: >> > On lundi 03 septembre 2007, R. Stormo wrote: >> >> I can't install revision 552 from svn. I have reconf-all, configure >> and >> >> make everything went without any problem. >> >> But when I do make install it want go so smooth. I get this error >> >> >> >> >> >> --snip >> >> make install-data-hook >> >> make[5]: Entering directory >> >> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >> >> >> >> Creating the information files for gb.qt.kde.html component... >> >> gb.qt.kde.html >> >> make[5]: *** [install-data-hook] Segmentation fault (core dumped) >> >> make[5]: Leaving directory >> >> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >> >> make[4]: *** [install-data-am] Error 2 >> >> make[4]: Leaving directory >> >> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >> >> make[3]: *** [install-am] Error 2 >> >> make[3]: Leaving directory >> >> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >> >> make[2]: *** [install-recursive] Error 1 >> >> make[2]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src' >> >> make[1]: *** [install-recursive] Error 1 >> >> make[1]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde' >> >> make: *** [install-recursive] Error 1 >> >> >> >> >> >> >> >> >> >> Regards R. Stormo >> >> >> >> My Gambas Community http://gambasforum.tk >> > >> > Can you use valgrind to try to get some information on the crash? >> > >> > Do, as root: >> > $ valgrind --num-callers=80 gbi2 -p gb.qt.kde.html >> > >> > Thanks in advance. >> > >> > Regards, >> > >> > -- >> > Benoit Minisini >> > >> > >> ------------------------------------------------------------------------- >> > This SF > > > ---CUTTED > >> rohnny at ...1008...:~$ >> >> >> >> Regards R. Stormo >> >> My Gambas Community http://gambasforum.tk > > That seems to be a bug in the linux dynamic loader... Can you give me the > result of: > > # ldd /path/to/gb.qt.kde.html.so > > If gambas is installed in /usr/local/, then gb.qt.kde.html.so will be > located > in /usr/local/lib/gambas2. > > This way, I will get the version of the libraries installed on your > system. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Here is my list.. ldd /usr/local/lib/gambas2/gb.qt.kde.html.so linux-gate.so.1 => (0xffffe000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f29000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb7e38000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb7e2a000) libqt-mt.so.3 => /usr/lib/libqt-mt.so.3 (0xb761a000) libkdecore.so.4 => /usr/lib/libkdecore.so.4 (0xb73d1000) libkdeui.so.4 => /usr/lib/libkdeui.so.4 (0xb70e6000) libDCOP.so.4 => /usr/lib/libDCOP.so.4 (0xb70b1000) libkio.so.4 => /usr/lib/libkio.so.4 (0xb6d61000) libkhtml.so.4 => /usr/lib/libkhtml.so.4 (0xb697f000) libkjs.so.1 => /usr/lib/libkjs.so.1 (0xb6911000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6827000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb6800000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb66be000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb66b2000) /lib/ld-linux.so.2 (0x80000000) libXau.so.6 => /usr/lib/libXau.so.6 (0xb66af000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb66aa000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb66a6000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb667a000) libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb6664000) libXt.so.6 => /usr/lib/libXt.so.6 (0xb6613000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb65f4000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb65d1000) libz.so.1 => /usr/lib/libz.so.1 (0xb65bd000) libXi.so.6 => /usr/lib/libXi.so.6 (0xb65b5000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb65ac000) libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb65a6000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb659d000) libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb659a000) libXft.so.2 => /usr/lib/libXft.so.2 (0xb6588000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb651d000) libSM.so.6 => /usr/lib/libSM.so.6 (0xb6513000) libICE.so.6 => /usr/lib/libICE.so.6 (0xb64fb000) libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb64e8000) libutil.so.1 => /lib/tls/i686/cmov/libutil.so.1 (0xb64e4000) libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0xb64cf000) libidn.so.11 => /usr/lib/libidn.so.11 (0xb649e000) libkdefx.so.4 => /usr/lib/libkdefx.so.4 (0xb6473000) libkdesu.so.4 => /usr/lib/libkdesu.so.4 (0xb645d000) libkwalletclient.so.1 => /usr/lib/libkwalletclient.so.1 (0xb644c000) libacl.so.1 => /lib/libacl.so.1 (0xb6445000) libattr.so.1 => /lib/libattr.so.1 (0xb6440000) libpcreposix.so.3 => /usr/lib/libpcreposix.so.3 (0xb643e000) libpcre.so.3 => /usr/lib/libpcre.so.3 (0xb641e000) libkparts.so.2 => /usr/lib/libkparts.so.2 (0xb63d8000) libkdeprint.so.4 => /usr/lib/libkdeprint.so.4 (0xb6308000) libkutils.so.1 => /usr/lib/libkutils.so.1 (0xb62a3000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6283000) libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb627e000) Regards R. Stormo My Gambas Community http://gambasforum.tk -- View this message in context: http://www.nabble.com/svn-552-%2C-can%27t-install-tf4373859.html#a12484179 Sent from the gambas-user mailing list archive at Nabble.com. From joe1962 at ...626... Wed Sep 5 04:18:51 2007 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Tue, 4 Sep 2007 23:18:51 -0300 Subject: [Gambas-user] SDL component disabled after ./configure, rev 554 Message-ID: <6c208f950709041918j16976b75p6026ca34d2baf6f0@...627...> I can't get it to enable gb.SDL on rev 554. Here's part of the ./configure output: checking for sdl-config... (cached) /usr/bin/sdl-config checking for SDL - version >= 1.2.8... yes checking for XcursorLibraryLoadCursor in -lXcursor... (cached) no configure: WARNING: libXcursor not found. Check 'config.log' for more details. checking for XftListFonts in -lXft... (cached) no configure: WARNING: libXft not found. Check 'config.log' for more details. configure: WARNING: *** SDL is disabled Now libXcursor and libXft are in /usr/X11R6/lib and I have been building Gambas 2 up to 1.9.49 on this clean build box. I even tried: --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --with-sdl-libraries=/usr/lib --with-sdl-includes=/usr/include/SDL Any ideas? Maybe I should try 1.9.50 and see what happens. Regards, Joe1962 From akh-eng at ...103... Wed Sep 5 00:32:31 2007 From: akh-eng at ...103... (akhsani) Date: Wed, 05 Sep 2007 05:32:31 +0700 Subject: [Gambas-user] Gambas-user Digest, Vol 16, Issue 7 In-Reply-To: References: Message-ID: Thanks Mr. Fenando, I will try... On Mon, 03 Sep 2007 21:11:16 -0700 gambas-user-request at lists.sourceforge.net wrote: > Send Gambas-user mailing list submissions to > gambas-user at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, >visit > https://lists.sourceforge.net/lists/listinfo/gambas-user > or, via email, send a message with subject or body >'help' to > gambas-user-request at lists.sourceforge.net > > You can reach the person managing the list at > gambas-user-owner at lists.sourceforge.net > > When replying, please edit your Subject line so it is >more specific > than "Re: Contents of Gambas-user digest..." > > > Today's Topics: > > 1. Re: SerialPort (nando) > 2. svn 552 , can't install (R. Stormo) > 3. Re: svn 552 , can't install (Benoit Minisini) > 4. mailing lists to forum topics (Rob) > 5. Re: mailing lists to forum topics (Gareth Bult) > 6. Re: svn 552 , can't install (R. Stormo) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 3 Sep 2007 14:39:39 -0500 >From: "nando" > Subject: Re: [Gambas-user] SerialPort > To: mailing list for gambas users > > Message-ID: ><20070903193835.M77980 at ...1382...> > Content-Type: text/plain; charset=iso-8859-1 > > Possible problems: > The port is being used by some other program. > Wrong permissions. The serial port needs proper >permissions. > -Fernando > > > > ---------- Original Message ----------- >From: "akhsani" > To: gambas-user at lists.sourceforge.net > Sent: Mon, 03 Sep 2007 23:44:43 +0700 > Subject: [Gambas-user] SerialPort > >> to whom at may give me some help, >> >> I am an Indonesian , >> I just run Gambas in "Vector" Linux,...I have problem >>when >> using SerialPort..., >> I was running the sample one (SerialPort project , from >> Network ),.... During run in Gambas was OK..., but when >>I >> made it in executable file become problem.., >> The problem is: >> After I make it in executable file, then run it, then >>open >> the port,..... then program stop and give message "can >>not >> open port, the device is busy".... >> >> What should I do ?..... >> >> Best regards... >> Ali >> ======================================================================================== >> "Dapatkan Colocation 10 Mbps Rp 1.250.000,- hanya di >>http://telkomhosting.com." >> ======================================================================================== >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? >> Stop. >> Now Search log events and configuration files using AJAX >>and a browser. >> Download your FREE copy of Splunk now >> >> http://get.splunk.com/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > > > ------------------------------ > > Message: 2 > Date: Mon, 3 Sep 2007 13:08:32 -0700 (PDT) >From: "R. Stormo" > Subject: [Gambas-user] svn 552 , can't install > To: gambas-user at lists.sourceforge.net > Message-ID: <12467261.post at ...1379...> > Content-Type: text/plain; charset=us-ascii > > > I can't install revision 552 from svn. I have >reconf-all, configure and make > everything went without any problem. > But when I do make install it want go so smooth. I get >this error > > > --snip > make install-data-hook > make[5]: Entering directory >`/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > > Creating the information files for gb.qt.kde.html >component... > gb.qt.kde.html > make[5]: *** [install-data-hook] Segmentation fault >(core dumped) > make[5]: Leaving directory >`/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > make[4]: *** [install-data-am] Error 2 > make[4]: Leaving directory >`/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > make[3]: *** [install-am] Error 2 > make[3]: Leaving directory >`/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory >`/home/rohnny/gambas3/trunk/gb.qt.kde/src' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory >`/home/rohnny/gambas3/trunk/gb.qt.kde' > make: *** [install-recursive] Error 1 > > > > > Regards R. Stormo > > My Gambas Community http://gambasforum.tk > -- > View this message in context: >http://www.nabble.com/svn-552-%2C-can%27t-install-tf4373859.html#a12467261 > Sent from the gambas-user mailing list archive at >Nabble.com. > > > > > ------------------------------ > > Message: 3 > Date: Mon, 3 Sep 2007 22:35:41 +0200 >From: Benoit Minisini > Subject: Re: [Gambas-user] svn 552 , can't install > To: mailing list for gambas users > > Message-ID: ><200709032235.41737.gambas at ...1...> > Content-Type: text/plain; charset="iso-8859-1" > > On lundi 03 septembre 2007, R. Stormo wrote: >> I can't install revision 552 from svn. I have >>reconf-all, configure and >> make everything went without any problem. >> But when I do make install it want go so smooth. I get >>this error >> >> >> --snip >> make install-data-hook >> make[5]: Entering directory >>`/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >> >> Creating the information files for gb.qt.kde.html >>component... >> gb.qt.kde.html >> make[5]: *** [install-data-hook] Segmentation fault >>(core dumped) >> make[5]: Leaving directory >>`/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >> make[4]: *** [install-data-am] Error 2 >> make[4]: Leaving directory >>`/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >> make[3]: *** [install-am] Error 2 >> make[3]: Leaving directory >>`/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >> make[2]: *** [install-recursive] Error 1 >> make[2]: Leaving directory >>`/home/rohnny/gambas3/trunk/gb.qt.kde/src' >> make[1]: *** [install-recursive] Error 1 >> make[1]: Leaving directory >>`/home/rohnny/gambas3/trunk/gb.qt.kde' >> make: *** [install-recursive] Error 1 >> >> >> >> >> Regards R. Stormo >> >> My Gambas Community http://gambasforum.tk > > Can you use valgrind to try to get some information on >the crash? > > Do, as root: > $ valgrind --num-callers=80 gbi2 -p gb.qt.kde.html > > Thanks in advance. > > Regards, > > -- > Benoit Minisini > > > > ------------------------------ > > Message: 4 > Date: Mon, 3 Sep 2007 21:31:46 -0400 >From: Rob > Subject: [Gambas-user] mailing lists to forum topics > To: gambas-user at lists.sourceforge.net > Message-ID: ><200709032131.46587.sourceforge-raindog2 at ...94...> > Content-Type: text/plain; charset="us-ascii" > > Hi, Gareth. I realize you want to make your forum >appear vital so > that it'll draw new users in. So far, though, by >copying all the > mailing lists posts to new forum topics, all you've done >is make sure > that those of us already on the mailing list who were >keeping track > of the forum via RSS will no longer do so. > > I think that there's a reason none of the 3 or 4 prior >Gambas forums > has ever gotten critical mass, though linuxbasic.net >still gets fairly > regular traffic. But creating this sort of gateway will >only serve > to alienate those of us who might have helped the kind >of new users > who are unwilling to use a mailing list for whatever >reason. Let > them remain separate and the forum will live or die on >its own merit. > > Rob > > > > ------------------------------ > > Message: 5 > Date: Tue, 4 Sep 2007 02:58:00 +0100 (BST) >From: Gareth Bult > Subject: Re: [Gambas-user] mailing lists to forum topics > To: mailing list for gambas users > > Message-ID: ><25226416.4661188871080882.JavaMail.root at ...1708...> > Content-Type: text/plain; charset=utf-8 > > Mmm, > > Depends on how you look at it, I can't manage without an >RSS feed, hence my investment of 1 day in writing a >mailing list -> RSS interface. > > Why not just subscribe to the forums you're interested >in (i.e. not gambas-users or gambas-developers, as you >get this via the mailing lists) and you'll get the posts >via email ... ?? > > .. > > I see Gambas doing one of three things; > > a. Die - in which case all this is pointless > b. Stay the same - in which case, all of this is >pointless > c. Expand - in which case mailing list traffic will >eventually overwhelm the list. > > I would like to see (c) come to pass, in which case you >will need an alternative, forums for example. > > If you don't want to monitor the Forums, that's not a >problem. > If I see something I can't handle I'll stick it on the >bug tracker, or worst case - the mailing list (!) > > Gareth. > > -- > Managing Director, Encryptec Limited > Tel: 0845 25 77033, Mob: 07891 389657 > Email: gareth at ...1689... > Statements made are at all times subject to Encryptec's >Terms and Conditions of Business, which are available >upon request. > > ----- Original Message ----- >From: "Rob" > To: gambas-user at lists.sourceforge.net > Sent: Tuesday, September 4, 2007 2:31:46 AM (GMT) >Europe/London > Subject: [Gambas-user] mailing lists to forum topics > > Hi, Gareth. I realize you want to make your forum >appear vital so > that it'll draw new users in. So far, though, by >copying all the > mailing lists posts to new forum topics, all you've done >is make sure > that those of us already on the mailing list who were >keeping track > of the forum via RSS will no longer do so. > > I think that there's a reason none of the 3 or 4 prior >Gambas forums > has ever gotten critical mass, though linuxbasic.net >still gets fairly > regular traffic. But creating this sort of gateway will >only serve > to alienate those of us who might have helped the kind >of new users > who are unwilling to use a mailing list for whatever >reason. Let > them remain separate and the forum will live or die on >its own merit. > > Rob > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? > Stop. > Now Search log events and configuration files using AJAX >and a browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------ > > Message: 6 > Date: Mon, 3 Sep 2007 21:11:16 -0700 (PDT) >From: "R. Stormo" > Subject: Re: [Gambas-user] svn 552 , can't install > To: gambas-user at lists.sourceforge.net > Message-ID: <12471446.post at ...1379...> > Content-Type: text/plain; charset=us-ascii > > > > > Benoit Minisini wrote: >> >> On lundi 03 septembre 2007, R. Stormo wrote: >>> I can't install revision 552 from svn. I have >>>reconf-all, configure and >>> make everything went without any problem. >>> But when I do make install it want go so smooth. I get >>>this error >>> >>> >>> --snip >>> make install-data-hook >>> make[5]: Entering directory >>> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >>> >>> Creating the information files for gb.qt.kde.html >>>component... >>> gb.qt.kde.html >>> make[5]: *** [install-data-hook] Segmentation fault >>>(core dumped) >>> make[5]: Leaving directory >>> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >>> make[4]: *** [install-data-am] Error 2 >>> make[4]: Leaving directory >>> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >>> make[3]: *** [install-am] Error 2 >>> make[3]: Leaving directory >>> `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' >>> make[2]: *** [install-recursive] Error 1 >>> make[2]: Leaving directory >>>`/home/rohnny/gambas3/trunk/gb.qt.kde/src' >>> make[1]: *** [install-recursive] Error 1 >>> make[1]: Leaving directory >>>`/home/rohnny/gambas3/trunk/gb.qt.kde' >>> make: *** [install-recursive] Error 1 >>> >>> >>> >>> >>> Regards R. Stormo >>> >>> My Gambas Community http://gambasforum.tk >> >> Can you use valgrind to try to get some information on >>the crash? >> >> Do, as root: >> $ valgrind --num-callers=80 gbi2 -p gb.qt.kde.html >> >> Thanks in advance. >> >> Regards, >> >> -- >> Benoit Minisini >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? >> Stop. >> Now Search log events and configuration files using AJAX >>and a browser. >> Download your FREE copy of Splunk now >> >> http://get.splunk.com/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > Here is what came when runned valgrind. > > --snip > ==30635== Copyright (C) 2004-2006, and GNU GPL'd, by >OpenWorks LLP. > ==30635== Using valgrind-3.2.1-Debian, a dynamic binary >instrumentation > framework. > ==30635== Copyright (C) 2000-2006, and GNU GPL'd, by >Julian Seward et al. > ==30635== For more details, rerun with: -v > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x4014770: (within /lib/ld-2.5.so) > ==30635== by 0x4005B69: (within /lib/ld-2.5.so) > ==30635== by 0x4007995: (within /lib/ld-2.5.so) > ==30635== by 0x4010D94: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Address 0x418B688 is 40 bytes inside a block >of size 41 alloc'd > ==30635== at 0x4020620: malloc >(vg_replace_malloc.c:149) > ==30635== by 0x4006EB4: (within /lib/ld-2.5.so) > ==30635== by 0x40078D9: (within /lib/ld-2.5.so) > ==30635== by 0x4010D94: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x4014743: (within /lib/ld-2.5.so) > ==30635== by 0x4005B69: (within /lib/ld-2.5.so) > ==30635== by 0x4007995: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Address 0x418B9F8 is 32 bytes inside a block >of size 35 alloc'd > ==30635== at 0x4020620: malloc >(vg_replace_malloc.c:149) > ==30635== by 0x4007F33: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x4014759: (within /lib/ld-2.5.so) > ==30635== by 0x4005B69: (within /lib/ld-2.5.so) > ==30635== by 0x4007995: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Address 0x418BD34 is 20 bytes inside a block >of size 21 alloc'd > ==30635== at 0x4020620: malloc >(vg_replace_malloc.c:149) > ==30635== by 0x4007F33: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x4014770: (within /lib/ld-2.5.so) > ==30635== by 0x4005B69: (within /lib/ld-2.5.so) > ==30635== by 0x4007995: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Address 0x418C6B0 is 24 bytes inside a block >of size 25 alloc'd > ==30635== at 0x4020620: malloc >(vg_replace_malloc.c:149) > ==30635== by 0x4007F33: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x4014787: (within /lib/ld-2.5.so) > ==30635== by 0x4005B69: (within /lib/ld-2.5.so) > ==30635== by 0x4007995: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Address 0x418DCDC is 28 bytes inside a block >of size 29 alloc'd > ==30635== at 0x4020620: malloc >(vg_replace_malloc.c:149) > ==30635== by 0x4007F33: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Conditional jump or move depends on >uninitialised value(s) > ==30635== at 0x401477A: (within /lib/ld-2.5.so) > ==30635== by 0x414E3D2: (within >/lib/tls/i686/cmov/libc-2.5.so) > ==30635== by 0x414E639: _dl_sym (in >/lib/tls/i686/cmov/libc-2.5.so) > ==30635== by 0x4045DE7: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045D72: dlsym (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804ED58: sys_dl_sym (ltdl.c:1135) > ==30635== by 0x804D2F2: lt_dlsym (ltdl.c:3914) > ==30635== by 0x804B236: analyze (gbi.c:518) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Conditional jump or move depends on >uninitialised value(s) > ==30635== at 0x4014785: (within /lib/ld-2.5.so) > ==30635== by 0x414E3D2: (within >/lib/tls/i686/cmov/libc-2.5.so) > ==30635== by 0x414E639: _dl_sym (in >/lib/tls/i686/cmov/libc-2.5.so) > ==30635== by 0x4045DE7: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045D72: dlsym (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804ED58: sys_dl_sym (ltdl.c:1135) > ==30635== by 0x804D2F2: lt_dlsym (ltdl.c:3914) > ==30635== by 0x804B236: analyze (gbi.c:518) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x4014770: (within /lib/ld-2.5.so) > ==30635== by 0x400D2A9: (within /lib/ld-2.5.so) > ==30635== by 0x4009812: (within /lib/ld-2.5.so) > ==30635== by 0x414E3D2: (within >/lib/tls/i686/cmov/libc-2.5.so) > ==30635== by 0x414E639: _dl_sym (in >/lib/tls/i686/cmov/libc-2.5.so) > ==30635== by 0x4045DE7: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045D72: dlsym (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804ED58: sys_dl_sym (ltdl.c:1135) > ==30635== by 0x804D2F2: lt_dlsym (ltdl.c:3914) > ==30635== by 0x804B236: analyze (gbi.c:518) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Address 0x418B688 is 40 bytes inside a block >of size 41 alloc'd > ==30635== at 0x4020620: malloc >(vg_replace_malloc.c:149) > ==30635== by 0x4006EB4: (within /lib/ld-2.5.so) > ==30635== by 0x40078D9: (within /lib/ld-2.5.so) > ==30635== by 0x4010D94: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x4014759: (within /lib/ld-2.5.so) > ==30635== by 0x400D2A9: (within /lib/ld-2.5.so) > ==30635== by 0x4009812: (within /lib/ld-2.5.so) > ==30635== by 0x400CE51: (within /lib/ld-2.5.so) > ==30635== by 0x40122FF: (within /lib/ld-2.5.so) > ==30635== by 0x4075CC8: __cxa_finalize (in > /lib/tls/i686/cmov/libc-2.5.so) > ==30635== by 0x4F1EAB2: (within >/usr/lib/libkdeui.so.4.2.0) > ==30635== by 0x50A880B: (within >/usr/lib/libkdeui.so.4.2.0) > ==30635== by 0x4011AFC: (within /lib/ld-2.5.so) > ==30635== by 0x4012286: (within /lib/ld-2.5.so) > ==30635== by 0x4045CC3: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045CF9: dlclose (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDAC: sys_dl_close (ltdl.c:1120) > ==30635== by 0x804BCE4: lt_dlclose (ltdl.c:3804) > ==30635== by 0x804B52B: analyze (gbi.c:556) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Address 0x418C9E4 is 20 bytes inside a block >of size 23 alloc'd > ==30635== at 0x4020620: malloc >(vg_replace_malloc.c:149) > ==30635== by 0x4007F33: (within /lib/ld-2.5.so) > ==30635== by 0x400B836: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x400BA2A: (within /lib/ld-2.5.so) > ==30635== by 0x4010DF4: (within /lib/ld-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40108ED: (within /lib/ld-2.5.so) > ==30635== by 0x4045C2C: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x400CFA5: (within /lib/ld-2.5.so) > ==30635== by 0x40462AB: (within >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x4045B63: dlopen (in >/lib/tls/i686/cmov/libdl-2.5.so) > ==30635== by 0x804EDF9: sys_dl_open (ltdl.c:1103) > ==30635== by 0x804CB56: tryall_dlopen (ltdl.c:2424) > ==30635== by 0x804E3C0: try_dlopen (ltdl.c:3367) > ==30635== by 0x804EB37: lt_dlopen (ltdl.c:3413) > ==30635== by 0x804EC2F: lt_dlopenext (ltdl.c:3465) > ==30635== by 0x804B205: analyze (gbi.c:511) > ==30635== by 0x804B8E1: main (gbi.c:815) > ==30635== Warning: client switching stacks? SP change: >0xBEACE000 --> > 0x401A6E0 > ==30635== to suppress, use: >--max-stackframe=1163183840 or greater > ==30635== > ==30635== Use of uninitialised value of size 4 > ==30635== at 0x4014399: (within /lib/ld-2.5.so) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x401B992: ??? > ==30635== Address 0xFFFFFFFE is not stack'd, malloc'd >or (recently) free'd > ==30635== > ==30635== Process terminating with default action of >signal 11 (SIGSEGV) > ==30635== General Protection Fault > ==30635== at 0x401B992: ??? > ==30635== > ==30635== Use of uninitialised value of size 4 > ==30635== at 0x401C200: _vgnU_freeres >(vg_preloaded.c:56) > ==30635== > ==30635== Invalid read of size 4 > ==30635== at 0x41572A7: (within >/lib/tls/i686/cmov/libc-2.5.so) > ==30635== Address 0x401A640 is just below the stack >ptr. To suppress, use: > --workaround-gcc296-bugs=yes > ==30635== > ==30635== Invalid write of size 4 > ==30635== at 0x41572AA: (within >/lib/tls/i686/cmov/libc-2.5.so) > ==30635== Address 0x401A640 is just below the stack >ptr. To suppress, use: > --workaround-gcc296-bugs=yes > ==30635== > ==30635== ERROR SUMMARY: 46 errors from 14 contexts >(suppressed: 109 from 1) > ==30635== malloc/free: in use at exit: 68,081 bytes in >1,624 blocks. > ==30635== malloc/free: 1,690 allocs, 66 frees, 75,789 >bytes allocated. > ==30635== For counts of detected errors, rerun with: -v > ==30635== searching for pointers to 1,624 not-freed >blocks. > ==30635== checked 1,420,764 bytes. > ==30635== > ==30635== LEAK SUMMARY: > ==30635== definitely lost: 0 bytes in 0 blocks. > ==30635== possibly lost: 0 bytes in 0 blocks. > ==30635== still reachable: 68,081 bytes in 1,624 >blocks. > ==30635== suppressed: 0 bytes in 0 blocks. > ==30635== Reachable blocks (those to which a pointer was >found) are not > shown. > ==30635== To see them, rerun with: --show-reachable=yes > Segmentation fault (core dumped) > rohnny at ...1008...:~$ > > > > Regards R. Stormo > > My Gambas Community http://gambasforum.tk > > -- > View this message in context: >http://www.nabble.com/svn-552-%2C-can%27t-install-tf4373859.html#a12471446 > Sent from the gambas-user mailing list archive at >Nabble.com. > > > > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? > Stop. > Now Search log events and configuration files using AJAX >and a browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > > ------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > End of Gambas-user Digest, Vol 16, Issue 7 > ****************************************** ======================================================================================== "Dapatkan Colocation 10 Mbps Rp 1.250.000,- hanya di http://telkomhosting.com." ======================================================================================== From chrism at ...1648... Wed Sep 5 07:12:47 2007 From: chrism at ...1648... (Chris Malton) Date: Wed, 05 Sep 2007 06:12:47 +0100 Subject: [Gambas-user] SDL component disabled after ./configure, rev 554 In-Reply-To: <6c208f950709041918j16976b75p6026ca34d2baf6f0@...627...> References: <6c208f950709041918j16976b75p6026ca34d2baf6f0@...627...> Message-ID: <46DE3ACF.4020506@...1648...> You need the headers. Try installing libXcursor-dev and libXft-dev Chris Jose J. Rodriguez wrote: > I can't get it to enable gb.SDL on rev 554. Here's part of the > ./configure output: > > checking for sdl-config... (cached) /usr/bin/sdl-config > checking for SDL - version >= 1.2.8... yes > checking for XcursorLibraryLoadCursor in -lXcursor... (cached) no > configure: WARNING: libXcursor not found. Check 'config.log' for more details. > checking for XftListFonts in -lXft... (cached) no > configure: WARNING: libXft not found. Check 'config.log' for more details. > configure: WARNING: *** SDL is disabled > > > Now libXcursor and libXft are in /usr/X11R6/lib and I have been > building Gambas 2 up to 1.9.49 on this clean build box. I even tried: > > --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib > --with-sdl-libraries=/usr/lib --with-sdl-includes=/usr/include/SDL > > Any ideas? Maybe I should try 1.9.50 and see what happens. > > Regards, > Joe1962 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From joe1962 at ...626... Wed Sep 5 07:16:53 2007 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 5 Sep 2007 02:16:53 -0300 Subject: [Gambas-user] SDL component disabled after ./configure, rev 554 In-Reply-To: <46DE3ACF.4020506@...1648...> References: <6c208f950709041918j16976b75p6026ca34d2baf6f0@...627...> <46DE3ACF.4020506@...1648...> Message-ID: <6c208f950709042216h18f26c36g6611806797ac727c@...627...> On 9/5/07, Chris Malton wrote: > You need the headers. Try installing libXcursor-dev and libXft-dev > VectorLinux is Slackware-based, there is no separation of the dev packages. Also, I haven't changed anything since successfully building 1.9.49 in that vm (except for upgrading GTK+2 and deps, as required by latest Gambas2 revs). Regards, Joe1962 From drmad at ...1302... Wed Sep 5 09:11:51 2007 From: drmad at ...1302... (Oliver Etchebarne Bejarano) Date: Wed, 05 Sep 2007 02:11:51 -0500 Subject: [Gambas-user] SDL component disabled after ./configure, rev 554 In-Reply-To: <46DE3ACF.4020506@...1648...> References: <6c208f950709041918j16976b75p6026ca34d2baf6f0@...627...> <46DE3ACF.4020506@...1648...> Message-ID: <46DE56B7.9030406@...1302...> You should send the relevant 'config.log' lines, as configure suggest to do. Saludos, Chris Malton escribi?: > You need the headers. Try installing libXcursor-dev and libXft-dev > > Chris > > Jose J. Rodriguez wrote: >> I can't get it to enable gb.SDL on rev 554. Here's part of the >> ./configure output: >> >> checking for sdl-config... (cached) /usr/bin/sdl-config >> checking for SDL - version >= 1.2.8... yes >> checking for XcursorLibraryLoadCursor in -lXcursor... (cached) no >> configure: WARNING: libXcursor not found. Check 'config.log' for more details. >> checking for XftListFonts in -lXft... (cached) no >> configure: WARNING: libXft not found. Check 'config.log' for more details. >> configure: WARNING: *** SDL is disabled >> >> >> Now libXcursor and libXft are in /usr/X11R6/lib and I have been >> building Gambas 2 up to 1.9.49 on this clean build box. I even tried: >> >> --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib >> --with-sdl-libraries=/usr/lib --with-sdl-includes=/usr/include/SDL >> >> Any ideas? Maybe I should try 1.9.50 and see what happens. >> >> Regards, >> Joe1962 >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Oliver Etchebarne Bejarano drmad/paperclip http://www.paperclip.com.pe/ From fredrik.hansson at ...1766... Wed Sep 5 13:42:22 2007 From: fredrik.hansson at ...1766... (Fredrik Hansson) Date: Wed, 05 Sep 2007 13:42:22 +0200 Subject: [Gambas-user] TextEdit - how to print? Message-ID: <46DE961E.6010308@...1766...> The TextEdit control (in gb.qt) produces an HTML code which is sent to the printer in its whole if I use for example Draw.Text(TextEdit1.Text,x,y). Do I have to make an interpreter myself to make only the text (and not the HTML tags) to be printed? /Fredrik From gambas at ...1... Wed Sep 5 13:53:50 2007 From: gambas at ...1... (Benoit Minisini) Date: Wed, 5 Sep 2007 13:53:50 +0200 Subject: [Gambas-user] TextEdit - how to print? In-Reply-To: <46DE961E.6010308@...1766...> References: <46DE961E.6010308@...1766...> Message-ID: <200709051353.50550.gambas@...1...> On mercredi 05 septembre 2007, Fredrik Hansson wrote: > The TextEdit control (in gb.qt) produces an HTML code which is sent to > the printer in its whole if I use for example > Draw.Text(TextEdit1.Text,x,y). Do I have to make an interpreter myself > to make only the text (and not the HTML tags) to be printed? > > /Fredrik > At the moment, yes. But I plan to make some sort of Draw.HTML() for that, which will be able to render a small part of HTML markups. Regards, -- Benoit Minisini From ronstk at ...239... Wed Sep 5 14:49:22 2007 From: ronstk at ...239... (ron) Date: Wed, 5 Sep 2007 14:49:22 +0200 Subject: [Gambas-user] TextEdit - how to print? In-Reply-To: <200709051353.50550.gambas@...1...> References: <46DE961E.6010308@...1766...> <200709051353.50550.gambas@...1...> Message-ID: <200709051449.22740.ronstk@...239...> On Wednesday 05 September 2007 13:53, Benoit Minisini wrote: > On mercredi 05 septembre 2007, Fredrik Hansson wrote: > > The TextEdit control (in gb.qt) produces an HTML code which is sent to > > the printer in its whole if I use for example > > Draw.Text(TextEdit1.Text,x,y). Do I have to make an interpreter myself > > to make only the text (and not the HTML tags) to be printed? > > > > /Fredrik > > > > At the moment, yes. > > But I plan to make some sort of Draw.HTML() for that, which will be able to > render a small part of HTML markups. > > Regards, > Maybe a temporary solution could be to use the webbrowser control as middle man. Get the TextEdit1.Text into the web control as text Use the webcontrol.Grab() function to get a image/picture of it and put that into the draw area. Take care the webcontrol must be fully visible without overlay-ed by other controls/windows or partial of screen. The grab takes the full content of the control and if off screen it takes simple what is left in your memory to match size of the control. (security issue) I did use this method once using a form as delivery note for layout. The lower half was of screen and I could see on the print old images from a page visit with Konqueror/Firefox :) Ron From gambas.fr at ...626... Wed Sep 5 19:27:47 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 5 Sep 2007 19:27:47 +0200 Subject: [Gambas-user] TextEdit - how to print? In-Reply-To: <200709051449.22740.ronstk@...239...> References: <46DE961E.6010308@...1766...> <200709051353.50550.gambas@...1...> <200709051449.22740.ronstk@...239...> Message-ID: <6324a42a0709051027q327e559fl6f20667969eae05@...627...> i've done my own componant for gb.report... but it's buggy 2007/9/5, ron : > > On Wednesday 05 September 2007 13:53, Benoit Minisini wrote: > > On mercredi 05 septembre 2007, Fredrik Hansson wrote: > > > The TextEdit control (in gb.qt) produces an HTML code which is sent to > > > the printer in its whole if I use for example > > > Draw.Text(TextEdit1.Text,x,y). Do I have to make an interpreter myself > > > to make only the text (and not the HTML tags) to be printed? > > > > > > /Fredrik > > > > > > > At the moment, yes. > > > > But I plan to make some sort of Draw.HTML() for that, which will be able > to > > render a small part of HTML markups. > > > > Regards, > > > > Maybe a temporary solution could be to use the webbrowser control as > middle man. > > Get the TextEdit1.Text into the web control as text > Use the webcontrol.Grab() function to get a image/picture of it and put > that > into the draw area. > > Take care the webcontrol must be fully visible without overlay-ed by other > controls/windows or partial of screen. > The grab takes the full content of the control and if off screen it takes > simple what is left in your memory to match size of the control. (security > issue) > > I did use this method once using a form as delivery note for layout. > The lower half was of screen and I could see on the print old images from > a page visit with Konqueror/Firefox :) > > Ron > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Wed Sep 5 19:28:51 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 5 Sep 2007 19:28:51 +0200 Subject: [Gambas-user] TextEdit - how to print? In-Reply-To: <6324a42a0709051027q327e559fl6f20667969eae05@...627...> References: <46DE961E.6010308@...1766...> <200709051353.50550.gambas@...1...> <200709051449.22740.ronstk@...239...> <6324a42a0709051027q327e559fl6f20667969eae05@...627...> Message-ID: <6324a42a0709051028v2ef404d9x3f895e6d43d4c19e@...627...> the better will be draw.html... for me too. (with a wordwrap ability) 2007/9/5, Fabien Bodard : > > i've done my own componant for gb.report... but it's buggy > > 2007/9/5, ron : > > > > On Wednesday 05 September 2007 13:53, Benoit Minisini wrote: > > > On mercredi 05 septembre 2007, Fredrik Hansson wrote: > > > > The TextEdit control (in gb.qt) produces an HTML code which is sent > > to > > > > the printer in its whole if I use for example > > > > Draw.Text(TextEdit1.Text,x,y). Do I have to make an interpreter > > myself > > > > to make only the text (and not the HTML tags) to be printed? > > > > > > > > /Fredrik > > > > > > > > > > At the moment, yes. > > > > > > But I plan to make some sort of Draw.HTML() for that, which will be > > able to > > > render a small part of HTML markups. > > > > > > Regards, > > > > > > > Maybe a temporary solution could be to use the webbrowser control as > > middle man. > > > > Get the TextEdit1.Text into the web control as text > > Use the webcontrol.Grab() function to get a image/picture of it and put > > that > > into the draw area. > > > > Take care the webcontrol must be fully visible without overlay-ed by > > other > > controls/windows or partial of screen. > > The grab takes the full content of the control and if off screen it > > takes > > simple what is left in your memory to match size of the control. > > (security issue) > > > > I did use this method once using a form as delivery note for layout. > > The lower half was of screen and I could see on the print old images > > from > > a page visit with Konqueror/Firefox :) > > > > Ron > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From jj at ...1636... Wed Sep 5 20:38:59 2007 From: jj at ...1636... (jj at ...1636...) Date: Wed, 05 Sep 2007 20:38:59 +0200 Subject: [Gambas-user] svn v556 FMain.SetMessage.1442 error Message-ID: <20070905203859.x4udkv9s84c80o4s@...1637...> Hi all! the last svn version give me this error (when a project is opened): Fmain.SetMessage.1442 Unknowy symbol 'Stop' in class 'timer" I did this: ./reconf-all ./configure -C --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --with-sdl-libraries=/usr/lib --with-sdl-includes=/usr/include/SDL #make clean $make (I've modified trunk/gb.desktop/src/Makefile with gb_desktop_la_LIBADD = -lc -lpthread -L/usr/X11R6/lib -lX11 -lXext) #make install All ok! in gnulinex 2006, but when i've running "gambas2" and I have tried to open a project...gambas failed! Regards! From ronstk at ...239... Thu Sep 6 10:15:03 2007 From: ronstk at ...239... (ron) Date: Thu, 6 Sep 2007 10:15:03 +0200 Subject: [Gambas-user] svn 552 , can't install In-Reply-To: <12467261.post@...1379...> References: <12467261.post@...1379...> Message-ID: <200709061015.04201.ronstk@...239...> On Monday 03 September 2007 22:08, R. Stormo wrote: > > I can't install revision 552 from svn. I have reconf-all, configure and make > everything went without any problem. > But when I do make install it want go so smooth. I get this error > > > --snip > make install-data-hook > make[5]: Entering directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > > Creating the information files for gb.qt.kde.html component... > gb.qt.kde.html > make[5]: *** [install-data-hook] Segmentation fault (core dumped) > make[5]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > make[4]: *** [install-data-am] Error 2 > make[4]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > make[3]: *** [install-am] Error 2 > make[3]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde' > make: *** [install-recursive] Error 1 > > > > > Regards R. Stormo > > My Gambas Community http://gambasforum.tk I do have the same error with svn 556. The ldd list of libraries is the same except between (), looks to me a pointer? When I do: root at ...1311...:/home/ron/src/gambas2-svn/trunk# /usr/local/bin/gbi2 -p gb.qt.kde.html gb.debug gb.eval gb.db gb.compress gb.vb gb.option gb.gui gb gb.gtk gb.net gb.net.curl gb.net.smtp gb.pcre gb.qt.ext gb.qt.opengl gb.qt Segmentation fault root at ...1311...:/home/ron/src/gambas2-svn/trunk# Instead of gb.qt.kde.src.html it is now with gb.qt ? With root at ...1311...:/home/ron/src/gambas2-svn/trunk# strace /usr/local/bin/gbi2 -p gb.qt.kde.html ---8<---- mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e1b000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e1baa0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb7f49000, 8192, PROT_READ) = 0 munmap(0xb7f54000, 89836) = 0 access("/usr/bin/gbx2", F_OK) = -1 ENOENT (No such file or directory) brk(0) = 0x8053000 brk(0x8074000) = 0x8074000 fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 11), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f69000 write(1, "gb.qt.kde.html\n", 15gb.qt.kde.html ) = 15 access("/usr/local/lib/gambas2/gb.qt.kde.html.so", F_OK) = 0 access("/usr/local/lib/gambas2/gb.qt.kde.html.gambas", F_OK) = -1 ENOENT (No such file or directory) open("/usr/local/share/gambas2/info/gb.qt.kde.html.info", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 4 open("/usr/local/share/gambas2/info/gb.qt.kde.html.list", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 6 open("/usr/local/lib/gambas2/gb.qt.kde.html.so", O_RDONLY) = 8 read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\"\0"..., 512) = 512 fstat64(8, {st_mode=S_IFREG|0755, st_size=276691, ...}) = 0 mmap2(NULL, 18872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0xb7f64000 mmap2(0xb7f68000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x4) = 0xb7f68000 close(8) = 0 ---8<---- access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/usr/lib/libexpat.so.1", O_RDONLY) = 8 read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340 \0"..., 512) = 512 fstat64(8, {st_mode=S_IFREG|0644, st_size=122016, ...}) = 0 mmap2(NULL, 120824, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0xb6389000 mmap2(0xb63a5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x1c) = 0xb63a5000 close(8) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/usr/lib/libXfixes.so.3", O_RDONLY) = 8 read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\17\0\000"..., 512) = 512 fstat64(8, {st_mode=S_IFREG|0644, st_size=13892, ...}) = 0 mmap2(NULL, 16884, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0xb6384000 mmap2(0xb6388000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x3) = 0xb6388000 close(8) = 0 mprotect(0xb68b2000, 12288, PROT_READ) = 0 set_tid_address(0xb7e1bae8) = 25680 rt_sigaction(SIGRTMIN, {0xb7df6720, [], SA_SIGINFO}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0xb7df6640, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbfc9d280, 35, (nil), 0}) = 0 futex(0xb68b84dc, FUTEX_WAKE, 2147483647) = 0 rt_sigaction(SIGILL, {0xb65860d0, [ILL], SA_RESTART}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGILL, {SIG_DFL}, {0xb65860d0, [ILL], SA_RESTART}, 8) = 0 munmap(0xb7e05000, 89836) = 0 fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e1a000 fstat64(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e19000 write(4, "#.WebBrowserSelection\n\n\nHTML\nr\ns"..., 394) = 394 close(4) = 0 munmap(0xb7e1a000, 4096) = 0 write(6, "WebBrowser\n", 11) = 11 close(6) = 0 munmap(0xb7e19000, 4096) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 25680 detached *************************** OK and now root at ...1311...:/home/ron/src/gambas2-svn/trunk# strace /usr/local/bin/gbi2 -p gb.qt access("/usr/local/lib/gambas2/gb.draw.so", F_OK) = 0 access("/usr/local/lib/gambas2/gb.draw.gambas", F_OK) = -1 ENOENT (No such file or directory) open("/usr/local/lib/gambas2/gb.draw.so", O_RDONLY) = 8 read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\n\0\000"..., 512) = 512 fstat64(8, {st_mode=S_IFREG|0755, st_size=69201, ...}) = 0 mmap2(NULL, 14636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0xb7d9a000 mmap2(0xb7d9d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x3) = 0xb7d9d000 close(8) = 0 fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f73000 fstat64(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f72000 munmap(0xb7d9a000, 14636) = 0 write(4, "#.DrawClip\n\n\n_call\nM\n\n(X)i(Y)i(W"..., 4096) = 4096 write(4, "next\nm\nControl\n\nCount\nr\ni\n\n#.Win"..., 4096) = 4096 write(4, "ouseDrag\n:\n\n\n:MouseMove\n:\n\n\n:Mou"..., 4096) = 4096 write(4, "ll\n\nData\nr\n.GridViewData\n\nRows\nr"..., 4096) = 4096 write(4, "eCurrent\nm\nb\n\nMoveFirst\nm\nb\n\nMov"..., 4096) = 4096 write(4, "\nr\ni\n\nScrollW\nr\ni\n\nScrollWidth\nr"..., 4096) = 4096 munmap(0xb7d9e000, 633360) = 0 munmap(0xb74d3000, 8252976) = 0 munmap(0xb72c9000, 29984) = 0 munmap(0xb72be000, 8668) = 0 munmap(0xb72b2000, 9436) = 0 munmap(0xb7cb2000, 51132) = 0 munmap(0xb7376000, 88540) = 0 munmap(0xb7328000, 318068) = 0 munmap(0xb72b5000, 35432) = 0 munmap(0xb72a0000, 71744) = 0 munmap(0xb72c1000, 31368) = 0 munmap(0xb71f2000, 16884) = 0 munmap(0xb7cbf000, 822996) = 0 munmap(0xb73f4000, 910980) = 0 munmap(0xb72e5000, 145140) = 0 munmap(0xb73ce000, 151680) = 0 munmap(0xb73c3000, 43332) = 0 munmap(0xb73c0000, 10164) = 0 munmap(0xb73bb000, 19384) = 0 munmap(0xb738c000, 191176) = 0 munmap(0xb7309000, 124236) = 0 munmap(0xb7236000, 433672) = 0 munmap(0xb72d1000, 80692) = 0 munmap(0xb722d000, 34632) = 0 munmap(0xb7215000, 95184) = 0 munmap(0xb71f7000, 120824) = 0 open("/usr/local/lib/gambas2/gb.qt.gambas", O_RDONLY|O_LARGEFILE) = 8 fstat64(8, {st_mode=S_IFREG|0755, st_size=14789, ...}) = 0 mmap2(NULL, 14789, PROT_READ, MAP_PRIVATE, 8, 0) = 0xb7e35000 munmap(0xb7e35000, 14789) = 0 close(8) = 0 write(4, "icture\nDelete\nm\n\n\nHide\nm\n\n\nShow\n"..., 4026) = 4026 close(4) = 0 munmap(0xb7f73000, 4096) = 0 write(6, "Draw\nAlign\nApplication\nArrange\nB"..., 571) = 571 close(6) = 0 munmap(0xb7f72000, 4096) = 0 exit_group(0) = ? Process 25735 detached This is the only one I see a lot of munmap() compared to the other components Missing characters in the write? Ron O. From erwinpogz at ...43... Thu Sep 6 10:55:32 2007 From: erwinpogz at ...43... (Erwin Pogz) Date: Thu, 6 Sep 2007 01:55:32 -0700 (PDT) Subject: [Gambas-user] How to play a drum sound on MIDI or Map Keyboard keys to play Drum on MIDI Message-ID: <440045.13713.qm@...1767...> Hello, Is it possible in Gambas to map the keyboard keys to the DRUM sound bank in MIDI? Thanks, Erwin --------------------------------- Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. From gambas at ...1... Thu Sep 6 13:37:37 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 6 Sep 2007 13:37:37 +0200 Subject: [Gambas-user] svn v556 FMain.SetMessage.1442 error In-Reply-To: <20070905203859.x4udkv9s84c80o4s@...1637...> References: <20070905203859.x4udkv9s84c80o4s@...1637...> Message-ID: <200709061337.37878.gambas@...1...> On mercredi 05 septembre 2007, jj at ...1636... wrote: > Hi all! > > the last svn version give me this error (when a project is opened): > > Fmain.SetMessage.1442 > Unknowy symbol 'Stop' in class 'timer" > > I did this: > > ./reconf-all > ./configure -C --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib > --with-sdl-libraries=/usr/lib --with-sdl-includes=/usr/include/SDL > #make clean > $make > (I've modified trunk/gb.desktop/src/Makefile with > gb_desktop_la_LIBADD = -lc -lpthread -L/usr/X11R6/lib -lX11 -lXext) > #make install > > All ok! in gnulinex 2006, but when i've running "gambas2" and > I have tried to open a project...gambas failed! > > Regards! > You may have forgotten to compile something. The Stop symbol is a new method of the Timer class defined in the interpreter since revision 543. Regards, -- Benoit Minisini From jj at ...1636... Thu Sep 6 16:40:30 2007 From: jj at ...1636... (jj at ...1636...) Date: Thu, 06 Sep 2007 16:40:30 +0200 Subject: [Gambas-user] svn v556 FMain.SetMessage.1442 error In-Reply-To: <200709061337.37878.gambas@...1...> References: <20070905203859.x4udkv9s84c80o4s@...1637...> <200709061337.37878.gambas@...1...> Message-ID: <20070906164030.cm3fok1igoggkcok@...1637...> Yes. I've downloaded all again and I've uninstall all debian packages of gambas. Now all is perfect. thanks Quoting Benoit Minisini : > On mercredi 05 septembre 2007, jj at ...1636... wrote: >> Hi all! >> >> the last svn version give me this error (when a project is opened): >> >> Fmain.SetMessage.1442 >> Unknowy symbol 'Stop' in class 'timer" >> >> I did this: >> >> ./reconf-all >> ./configure -C --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib >> --with-sdl-libraries=/usr/lib --with-sdl-includes=/usr/include/SDL >> #make clean >> $make >> (I've modified trunk/gb.desktop/src/Makefile with >> gb_desktop_la_LIBADD = -lc -lpthread -L/usr/X11R6/lib -lX11 -lXext) >> #make install >> >> All ok! in gnulinex 2006, but when i've running "gambas2" and >> I have tried to open a project...gambas failed! >> >> Regards! >> > > You may have forgotten to compile something. The Stop symbol is a new method > of the Timer class defined in the interpreter since revision 543. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vince.scott at ...770... Thu Sep 6 18:09:56 2007 From: vince.scott at ...770... (Vince Scott) Date: Thu, 6 Sep 2007 09:09:56 -0700 (PDT) Subject: [Gambas-user] Memory Management Message-ID: <159509.51909.qm@...1768...> Hi All, I would like to know how Gambas handles memory cleanup. What is the proper way in Gambas for the developer to practice good memory management? In Visual Basic objects created within a function or sub-routine are automatically removed after the method is exited. Objects created in public space must be removed by the code. Is this the same for Gambas? What are a good set of basic rules to use in Gambas to ensure you have no memory leaks? How can you check and validate this? Any information on the subject appreciated. Thanks, Vince Scott From gael.lehech at ...626... Fri Sep 7 14:05:28 2007 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Fri, 7 Sep 2007 12:05:28 +0000 Subject: [Gambas-user] can't execute a project done with the revision 428 of the svn on revision 559 of the svn Message-ID: hi, I updated my gambas2 to last revision of svn 559 but I can't execute my project last run correctly on revision 428. The project compile ok but when I run it I get this message : 'Unknown symbol 'AutoResize' in class GridView' best regards Ga?l Le Hec'H From stonerl at ...1763... Fri Sep 7 19:09:02 2007 From: stonerl at ...1763... (Toni Foerster) Date: Sat, 08 Sep 2007 02:09:02 +0900 Subject: [Gambas-user] Problems compiling gb.pdf In-Reply-To: <200709031808.35754.gambas@...1...> References: <46DC2B8C.20105@...1763...> <200709031808.35754.gambas@...1...> Message-ID: <46E185AE.9080105@...1763...> Benoit Minisini schrieb: > On lundi 03 septembre 2007, Toni Foerster wrote: >> Hi >> >> today i tried to compile Gambas 1.9.50 (poppler_0.5.91 is installed) but >> >> every time i compiled gb.pdf it stopped with following message: >>> main.cpp:62: error: no matching function for call to >> 'GlobalParams::GlobalParams(const char [12])' >> >>> /usr/include/poppler/GlobalParams.h:133: note: candidates are: >> GlobalParams::GlobalParams() >> >>> /usr/include/poppler/GlobalParams.h:128: note: >> GlobalParams::GlobalParams(const GlobalParams&) >> >> so i took a look at main.cpp and found in line 62: >>> globalParams = new GlobalParams("/etc/xpdfrc") >> the file "/etc/xpdfrc" only exists if i install xpdf. But even if i >> install xpdf or create this file, the compiling stops with the same error. >> >> so i changened this line in main.cpp to >> >>> globalParams = new GlobalParams() >> And it compiles without problems. To tell the truth, i don't what i'm >> breaking by removing this but it seems to work. I hope someone could >> help me. Because i don't think that this is right. >> >> Toni >> > > The problem is fixed in the svn trunk, exactly this way: if poppler version is > 0.6 (or 0.5.9x) then the "/etc/xpdfrc" is removed. > > But I can't test it, as I have only poppler 0.5 on my machine (the stable > version). So if you can compile the last revision, you will tell me if it > works. > > Regards, > Compiled the latest revision (565) without problems. Regard Toni From stonerl at ...1763... Fri Sep 7 19:25:26 2007 From: stonerl at ...1763... (Toni Foerster) Date: Sat, 08 Sep 2007 02:25:26 +0900 Subject: [Gambas-user] progressbar Message-ID: <46E18986.5000306@...1763...> Hi, today i played a little bit with gambas, just to get used to, and something strange happened. Here is the code: PUBLIC SUB _new() ProgressBar1.value = 0 END PUBLIC SUB Button1_Click() ProgressBar1.value = ProgressBar1.value - 0.1 END PUBLIC SUB Button2_Click() ProgressBar1.Reset END PUBLIC SUB Button3_Click() ProgressBar1.value = ProgressBar1.value + 0.1 END The progressbar is increasing in the following steps: 10% 20% 30% 40% 50% 59% 69% 79% 90% 100% and decreases: 100% 90% 80% 70% 59% 50% 40% 30% 20% 10% same happens if i increase with 0.05: ... 25% 29% 34% 39% 45% ... and decrease from 100 is always: 100% 94% 89% 84% x9% x4%... Regards Toni From gambas at ...1... Sat Sep 8 00:55:03 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 8 Sep 2007 00:55:03 +0200 Subject: [Gambas-user] can't execute a project done with the revision 428 of the svn on revision 559 of the svn In-Reply-To: References: Message-ID: <200709080055.03229.gambas@...1...> On vendredi 07 septembre 2007, Ga?l Le Hec'H wrote: > hi, > I updated my gambas2 to last revision of svn 559 but I can't execute > my project last run correctly on revision 428. The project compile ok > but when I run it I get this message : > > 'Unknown symbol 'AutoResize' in class GridView' > > best regards > > Ga?l Le Hec'H > There is an old 'AutoResize' property used in a form that does not exist anymore. You must find this form, open it in the IDE, modify it, and save it. The non-existing properties will be removed. Regards, -- Benoit Minisini From gambas.fr at ...626... Sat Sep 8 09:10:56 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 8 Sep 2007 09:10:56 +0200 Subject: [Gambas-user] can't execute a project done with the revision 428 of the svn on revision 559 of the svn In-Reply-To: <200709080055.03229.gambas@...1...> References: <200709080055.03229.gambas@...1...> Message-ID: <6324a42a0709080010m60573538w356804a4adfddd43@...627...> or delete the app directory and then in trunk do a 'svn up' 2007/9/8, Benoit Minisini : > On vendredi 07 septembre 2007, Ga?l Le Hec'H wrote: > > hi, > > I updated my gambas2 to last revision of svn 559 but I can't execute > > my project last run correctly on revision 428. The project compile ok > > but when I run it I get this message : > > > > 'Unknown symbol 'AutoResize' in class GridView' > > > > best regards > > > > Ga?l Le Hec'H > > > > There is an old 'AutoResize' property used in a form that does not exist > anymore. You must find this form, open it in the IDE, modify it, and save it. > The non-existing properties will be removed. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sat Sep 8 09:12:32 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 8 Sep 2007 09:12:32 +0200 Subject: [Gambas-user] progressbar In-Reply-To: <46E18986.5000306@...1763...> References: <46E18986.5000306@...1763...> Message-ID: <6324a42a0709080012y521ac6adrf1493a7d1a867dae@...627...> little round errors 2007/9/7, Toni Foerster : > Hi, > > today i played a little bit with gambas, just to get used to, and > something strange happened. Here is the code: > > PUBLIC SUB _new() > ProgressBar1.value = 0 > END > > PUBLIC SUB Button1_Click() > ProgressBar1.value = ProgressBar1.value - 0.1 > END > > PUBLIC SUB Button2_Click() > ProgressBar1.Reset > END > > PUBLIC SUB Button3_Click() > ProgressBar1.value = ProgressBar1.value + 0.1 > END > > The progressbar is increasing in the following steps: > > 10% 20% 30% 40% 50% 59% 69% 79% 90% 100% > > and decreases: > > 100% 90% 80% 70% 59% 50% 40% 30% 20% 10% > > same happens if i increase with 0.05: > > ... 25% 29% 34% 39% 45% ... > > and decrease from 100 is always: > > 100% 94% 89% 84% x9% x4%... > > Regards Toni > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Sep 8 10:19:21 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 8 Sep 2007 10:19:21 +0200 Subject: [Gambas-user] Memory Management In-Reply-To: <159509.51909.qm@...1768...> References: <159509.51909.qm@...1768...> Message-ID: <200709081019.21354.gambas@...1...> On jeudi 06 septembre 2007, Vince Scott wrote: > Hi All, > I would like to know how Gambas handles memory cleanup. What is the > proper way in Gambas for the developer to practice good memory management? > In Visual Basic objects created within a function or sub-routine are > automatically removed after the method is exited. Objects created in public > space must be removed by the code. Is this the same for Gambas? What are a > good set of basic rules to use in Gambas to ensure you have no memory > leaks? How can you check and validate this? Any information on the subject > appreciated. > Thanks, > Vince Scott In Gambas, objects life is managed by reference counting: * When an object is created, its reference counter is zero. * Each time you put a reference on an object inside any variable, its reference counter is incremented. * Each time this reference is removed by assignation to NULL or another reference, the reference counter is decremented. * When an object reference counter becomes null again, the object is freed. So that means memory management is automatic, unless you create circular references: object A has a variable having a reference on B, and object B has a variable having a reference on A. Gambas is unable to detect the cycle and cannot free the two objects. You must do that by hand then, breaking the cycle by releasing one of the two references yourself. Otherwise, at program ends, you have the famous message "Circular reference detected" with the list of each reference of each class being not freed. Note that what you describe for VB is not really accurate. AFAIK, it works like Gambas, by reference counting. Regards, -- Benoit Minisini From gambas at ...1... Sat Sep 8 10:21:53 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 8 Sep 2007 10:21:53 +0200 Subject: [Gambas-user] progressbar In-Reply-To: <46E18986.5000306@...1763...> References: <46E18986.5000306@...1763...> Message-ID: <200709081021.53789.gambas@...1...> On vendredi 07 septembre 2007, Toni Foerster wrote: > Hi, > > today i played a little bit with gambas, just to get used to, and > something strange happened. Here is the code: > > PUBLIC SUB _new() > ProgressBar1.value = 0 > END > > PUBLIC SUB Button1_Click() > ProgressBar1.value = ProgressBar1.value - 0.1 > END > > PUBLIC SUB Button2_Click() > ProgressBar1.Reset > END > > PUBLIC SUB Button3_Click() > ProgressBar1.value = ProgressBar1.value + 0.1 > END > > The progressbar is increasing in the following steps: > > 10% 20% 30% 40% 50% 59% 69% 79% 90% 100% > > and decreases: > > 100% 90% 80% 70% 59% 50% 40% 30% 20% 10% > > same happens if i increase with 0.05: > > ... 25% 29% 34% 39% 45% ... > > and decrease from 100 is always: > > 100% 94% 89% 84% x9% x4%... > > Regards Toni > This is fixed in the last revision. Regards, -- Benoit Minisini From lordheavym at ...626... Sat Sep 8 13:28:12 2007 From: lordheavym at ...626... (Laurent Carlier) Date: Sat, 8 Sep 2007 13:28:12 +0200 Subject: [Gambas-user] can't execute a project done with the revision 428 of the svn on revision 559 of the svn In-Reply-To: <6324a42a0709080010m60573538w356804a4adfddd43@...627...> References: <200709080055.03229.gambas@...1...> <6324a42a0709080010m60573538w356804a4adfddd43@...627...> Message-ID: <200709081328.16642.lordheavym@...626...> On Saturday 08 September 2007 09:10:56 Fabien Bodard wrote: > or delete the app directory and then in trunk do a 'svn up' > There is too the good svn-clean utility ;-) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From ph at ...1769... Sat Sep 8 13:49:24 2007 From: ph at ...1769... (ph-sf) Date: Sat, 8 Sep 2007 08:49:24 -0300 Subject: [Gambas-user] Gambas2 + Kurumin 7 Message-ID: <003d01c7f20e$4e28f740$0400a8c0@...1770...> Good Morning, please how to do install gambas2 in kurumin7, because defalt is gambas 1.0.15 thanks Paulo From leonardo at ...1237... Sat Sep 8 16:03:29 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Sat, 08 Sep 2007 16:03:29 +0200 Subject: [Gambas-user] Gambas2 + Kurumin 7 In-Reply-To: <003d01c7f20e$4e28f740$0400a8c0@...1770...> References: <003d01c7f20e$4e28f740$0400a8c0@...1770...> Message-ID: <46E2ABB1.6070905@...1237...> ph-sf ha scritto: > Good Morning, please > > > how to do install gambas2 in kurumin7, because defalt is gambas 1.0.15 > > > > thanks > > > Paulo > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Due to the fact that Kurumin is derived from Knoppix and that this is derived from Debian, I think that you can follow the guide for Debian or Ubuntu (another Debian-derived distro) that you can find here: http://gambasdoc.org/help/install -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From gambas.fr at ...626... Sat Sep 8 17:02:36 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 8 Sep 2007 17:02:36 +0200 Subject: [Gambas-user] Error on installing last svn Message-ID: <6324a42a0709080802x4223a52cr98f27250504c3dae@...627...> /usr/bin/install -c .libs/gb.qt.kde.html.lai /usr/local/lib/gambas2/gb.qt.kde.html.la PATH="$PATH:/sbin" ldconfig -n /usr/local/lib/gambas2 ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib/gambas2 If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make install-data-hook make[5]: entrant dans le r?pertoire ? /home/fabien/Download/gambas/trunk/gb.qt.kde/src/html ? Creating the information files for gb.qt.kde.html component... gb.qt.kde.html make[5]: *** [install-data-hook] Erreur de segmentation (vidange m?moire) make[5]: quittant le r?pertoire ? /home/fabien/Download/gambas/trunk/gb.qt.kde/src/html ? make[4]: *** [install-data-am] Erreur 2 make[4]: quittant le r?pertoire ? /home/fabien/Download/gambas/trunk/gb.qt.kde/src/html ? make[3]: *** [install-am] Erreur 2 make[3]: quittant le r?pertoire ? /home/fabien/Download/gambas/trunk/gb.qt.kde/src/html ? make[2]: *** [install-recursive] Erreur 1 make[2]: quittant le r?pertoire ? /home/fabien/Download/gambas/trunk/gb.qt.kde/src ? make[1]: *** [install-recursive] Erreur 1 make[1]: quittant le r?pertoire ? /home/fabien/Download/gambas/trunk/gb.qt.kde ? make: *** [install-recursive] Erreur 1 fabien at ...1752...:~/Download/gambas/trunk$ From ronstk at ...239... Sat Sep 8 19:20:51 2007 From: ronstk at ...239... (ron) Date: Sat, 8 Sep 2007 19:20:51 +0200 Subject: [Gambas-user] Error on installing last svn In-Reply-To: <6324a42a0709080802x4223a52cr98f27250504c3dae@...627...> References: <6324a42a0709080802x4223a52cr98f27250504c3dae@...627...> Message-ID: <200709081920.51461.ronstk@...239...> same as: [Gambas-user] svn 552 , can't install (R.Stormo) Benoit did ask for some debug and other info. I have the same error with svn 556 and reported this. Included strace part of the gbi2 process. The strange thing to me is using 'gbi2 -p' do: gb.qt.kde.html gb.debug ... gb.qt.ext gb.qt.opengl gb.qt Segmentation fault And 'gbi2 -p gb.qt.kde.html' gives it in gb.qt.kde.html which passed first. :( Ron From gambas at ...1... Sat Sep 8 20:06:11 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 8 Sep 2007 20:06:11 +0200 Subject: [Gambas-user] Error on installing last svn In-Reply-To: <200709081920.51461.ronstk@...239...> References: <6324a42a0709080802x4223a52cr98f27250504c3dae@...627...> <200709081920.51461.ronstk@...239...> Message-ID: <200709082006.11600.gambas@...1...> On samedi 08 septembre 2007, ron wrote: > same as: > [Gambas-user] svn 552 , can't install (R.Stormo) > Benoit did ask for some debug and other info. > I have the same error with svn 556 and reported this. > Included strace part of the gbi2 process. > > The strange thing to me is using 'gbi2 -p' do: > gb.qt.kde.html > gb.debug > ... > gb.qt.ext > gb.qt.opengl > gb.qt > Segmentation fault > > And 'gbi2 -p gb.qt.kde.html' gives it in gb.qt.kde.html which passed first. > :( > > Ron > Do you both use the same distribution? -- Benoit Minisini From lordheavym at ...626... Sat Sep 8 20:20:58 2007 From: lordheavym at ...626... (Laurent Carlier) Date: Sat, 8 Sep 2007 20:20:58 +0200 Subject: [Gambas-user] Error on installing last svn In-Reply-To: <200709082006.11600.gambas@...1...> References: <6324a42a0709080802x4223a52cr98f27250504c3dae@...627...> <200709081920.51461.ronstk@...239...> <200709082006.11600.gambas@...1...> Message-ID: <200709082021.02588.lordheavym@...626...> On Saturday 08 September 2007 20:06:11 Benoit Minisini wrote: > On samedi 08 septembre 2007, ron wrote: > > same as: > > [Gambas-user] svn 552 , can't install (R.Stormo) > > Benoit did ask for some debug and other info. > > I have the same error with svn 556 and reported this. > > Included strace part of the gbi2 process. > > > > The strange thing to me is using 'gbi2 -p' do: > > gb.qt.kde.html > > gb.debug > > ... > > gb.qt.ext > > gb.qt.opengl > > gb.qt > > Segmentation fault > > > > And 'gbi2 -p gb.qt.kde.html' gives it in gb.qt.kde.html which passed > > first. > > > > :( > > > > Ron > > Do you both use the same distribution? I guess it's the same : ubuntu (perhaps debian as it's the same base) I guess it's related to kde /kde libs ?, disabling kde and all is working fine. Perhaps something is wrong with the linking, the backtrace is totally fuzzy and useless. Regards, -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From gambas at ...1... Sat Sep 8 20:23:27 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 8 Sep 2007 20:23:27 +0200 Subject: [Gambas-user] Error on installing last svn In-Reply-To: <200709082006.11600.gambas@...1...> References: <6324a42a0709080802x4223a52cr98f27250504c3dae@...627...> <200709081920.51461.ronstk@...239...> <200709082006.11600.gambas@...1...> Message-ID: <200709082023.27330.gambas@...1...> On samedi 08 septembre 2007, Benoit Minisini wrote: > On samedi 08 septembre 2007, ron wrote: > > same as: > > [Gambas-user] svn 552 , can't install (R.Stormo) > > Benoit did ask for some debug and other info. > > I have the same error with svn 556 and reported this. > > Included strace part of the gbi2 process. > > > > The strange thing to me is using 'gbi2 -p' do: > > gb.qt.kde.html > > gb.debug > > ... > > gb.qt.ext > > gb.qt.opengl > > gb.qt > > Segmentation fault > > > > And 'gbi2 -p gb.qt.kde.html' gives it in gb.qt.kde.html which passed > > first. > > > > :( > > > > Ron > > Do you both use the same distribution? Can you try the following? $ KDE_MALLOC=0 gbx2 -p gb.qt.kde.html -- Benoit Minisini From lordheavym at ...626... Sat Sep 8 20:36:41 2007 From: lordheavym at ...626... (Laurent Carlier) Date: Sat, 8 Sep 2007 20:36:41 +0200 Subject: [Gambas-user] Error on installing last svn In-Reply-To: <200709082023.27330.gambas@...1...> References: <6324a42a0709080802x4223a52cr98f27250504c3dae@...627...> <200709082006.11600.gambas@...1...> <200709082023.27330.gambas@...1...> Message-ID: <200709082036.45179.lordheavym@...626...> On Saturday 08 September 2007 20:23:27 Benoit Minisini wrote: > On samedi 08 septembre 2007, Benoit Minisini wrote: > > On samedi 08 septembre 2007, ron wrote: > > > same as: > > > [Gambas-user] svn 552 , can't install (R.Stormo) > > > Benoit did ask for some debug and other info. > > > I have the same error with svn 556 and reported this. > > > Included strace part of the gbi2 process. > > > > > > The strange thing to me is using 'gbi2 -p' do: > > > gb.qt.kde.html > > > gb.debug > > > ... > > > gb.qt.ext > > > gb.qt.opengl > > > gb.qt > > > Segmentation fault > > > > > > And 'gbi2 -p gb.qt.kde.html' gives it in gb.qt.kde.html which passed > > > first. > > > > > > :( > > > > > > Ron > > > > Do you both use the same distribution? > > Can you try the following? > > $ KDE_MALLOC=0 gbx2 -p gb.qt.kde.html same result (in the src/html/ dir) : $ KDE_MALLOC=0 gbi2 -p gb.qt.kde.html gb.qt.kde.html Erreur de segmentation (core dumped) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From gambas at ...1... Sat Sep 8 20:59:56 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 8 Sep 2007 20:59:56 +0200 Subject: [Gambas-user] Error on installing last svn In-Reply-To: <200709082036.45179.lordheavym@...626...> References: <6324a42a0709080802x4223a52cr98f27250504c3dae@...627...> <200709082023.27330.gambas@...1...> <200709082036.45179.lordheavym@...626...> Message-ID: <200709082059.57025.gambas@...1...> On samedi 08 septembre 2007, Laurent Carlier wrote: > On Saturday 08 September 2007 20:23:27 Benoit Minisini wrote: > > On samedi 08 septembre 2007, Benoit Minisini wrote: > > > On samedi 08 septembre 2007, ron wrote: > > > > same as: > > > > [Gambas-user] svn 552 , can't install (R.Stormo) > > > > Benoit did ask for some debug and other info. > > > > I have the same error with svn 556 and reported this. > > > > Included strace part of the gbi2 process. > > > > > > > > The strange thing to me is using 'gbi2 -p' do: > > > > gb.qt.kde.html > > > > gb.debug > > > > ... > > > > gb.qt.ext > > > > gb.qt.opengl > > > > gb.qt > > > > Segmentation fault > > > > > > > > And 'gbi2 -p gb.qt.kde.html' gives it in gb.qt.kde.html which passed > > > > first. > > > > > > > > :( > > > > > > > > Ron > > > > > > Do you both use the same distribution? > > > > Can you try the following? > > > > $ KDE_MALLOC=0 gbx2 -p gb.qt.kde.html > > same result (in the src/html/ dir) : > > $ KDE_MALLOC=0 gbi2 -p gb.qt.kde.html > gb.qt.kde.html > Erreur de segmentation (core dumped) Can you try the fix of the latest revision? -- Benoit Minisini From lordheavym at ...626... Sat Sep 8 21:10:42 2007 From: lordheavym at ...626... (Laurent Carlier) Date: Sat, 8 Sep 2007 21:10:42 +0200 Subject: [Gambas-user] Error on installing last svn In-Reply-To: <200709082059.57025.gambas@...1...> References: <6324a42a0709080802x4223a52cr98f27250504c3dae@...627...> <200709082036.45179.lordheavym@...626...> <200709082059.57025.gambas@...1...> Message-ID: <200709082110.46253.lordheavym@...626...> On Saturday 08 September 2007 20:59:56 Benoit Minisini wrote: > On samedi 08 septembre 2007, Laurent Carlier wrote: > > On Saturday 08 September 2007 20:23:27 Benoit Minisini wrote: > > > On samedi 08 septembre 2007, Benoit Minisini wrote: > > > > On samedi 08 septembre 2007, ron wrote: > > > > > same as: > > > > > [Gambas-user] svn 552 , can't install (R.Stormo) > > > > > Benoit did ask for some debug and other info. > > > > > I have the same error with svn 556 and reported this. > > > > > Included strace part of the gbi2 process. > > > > > > > > > > The strange thing to me is using 'gbi2 -p' do: > > > > > gb.qt.kde.html > > > > > gb.debug > > > > > ... > > > > > gb.qt.ext > > > > > gb.qt.opengl > > > > > gb.qt > > > > > Segmentation fault > > > > > > > > > > And 'gbi2 -p gb.qt.kde.html' gives it in gb.qt.kde.html which > > > > > passed first. > > > > > > > > > > :( > > > > > > > > > > Ron > > > > > > > > Do you both use the same distribution? > > > > > > Can you try the following? > > > > > > $ KDE_MALLOC=0 gbx2 -p gb.qt.kde.html > > > > same result (in the src/html/ dir) : > > > > $ KDE_MALLOC=0 gbi2 -p gb.qt.kde.html > > gb.qt.kde.html > > Erreur de segmentation (core dumped) > > Can you try the fix of the latest revision? same result -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From ronstk at ...239... Sat Sep 8 21:39:29 2007 From: ronstk at ...239... (ron) Date: Sat, 8 Sep 2007 21:39:29 +0200 Subject: [Gambas-user] Error on installing last svn In-Reply-To: <200709082006.11600.gambas@...1...> References: <6324a42a0709080802x4223a52cr98f27250504c3dae@...627...> <200709081920.51461.ronstk@...239...> <200709082006.11600.gambas@...1...> Message-ID: <200709082139.29719.ronstk@...239...> On Saturday 08 September 2007 20:06, Benoit Minisini wrote: > On samedi 08 septembre 2007, ron wrote: > > same as: > > [Gambas-user] svn 552 , can't install (R.Stormo) > > Benoit did ask for some debug and other info. > > I have the same error with svn 556 and reported this. > > Included strace part of the gbi2 process. > > > > The strange thing to me is using 'gbi2 -p' do: > > gb.qt.kde.html > > gb.debug > > ... > > gb.qt.ext > > gb.qt.opengl > > gb.qt > > Segmentation fault > > > > And 'gbi2 -p gb.qt.kde.html' gives it in gb.qt.kde.html which passed first. > > :( > > > > Ron > > > > Do you both use the same distribution? > Kubuntu 6.10 Regarding KDE which libs/includes should be there? I will do check all *.h files in the gambas source for used includes of *.h files to check they exists in the /usr/include path. (special the kde related) Maybe a file in the -dev package has a different name in (k)ubuntu. However this look to me not a reason for 'Segmentation fault'. I understand here is something going wrong with allocated memory. Second, if the includes of *.h where the fault should it not reported during 'make'? Third, it occurs during make install so all compiling should already be done. Fourt, it occurs with gbi2 I had this same error in the past with SuSE also and it was a error during read of a file for the info to gather. I do not remember how it was solved by me other then correcting something with the file open/read in gbi code to prevent fatal crash abort. This was reported at that time and never heard something. autoconf --version autoconf (GNU Autoconf) 2.60 automake --version automake (GNU automake) 1.9.6 kde-config --version Qt: 3.3.6 KDE: 3.5.5 kde-config: 1.0 Ron From gambas at ...1... Sat Sep 8 21:55:14 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 8 Sep 2007 21:55:14 +0200 Subject: [Gambas-user] Error on installing last svn In-Reply-To: <200709082139.29719.ronstk@...239...> References: <6324a42a0709080802x4223a52cr98f27250504c3dae@...627...> <200709082006.11600.gambas@...1...> <200709082139.29719.ronstk@...239...> Message-ID: <200709082155.14400.gambas@...1...> On samedi 08 septembre 2007, ron wrote: > On Saturday 08 September 2007 20:06, Benoit Minisini wrote: > > On samedi 08 septembre 2007, ron wrote: > > > same as: > > > [Gambas-user] svn 552 , can't install (R.Stormo) > > > Benoit did ask for some debug and other info. > > > I have the same error with svn 556 and reported this. > > > Included strace part of the gbi2 process. > > > > > > The strange thing to me is using 'gbi2 -p' do: > > > gb.qt.kde.html > > > gb.debug > > > ... > > > gb.qt.ext > > > gb.qt.opengl > > > gb.qt > > > Segmentation fault > > > > > > And 'gbi2 -p gb.qt.kde.html' gives it in gb.qt.kde.html which passed > > > first. > > > > > > :( > > > > > > Ron > > > > Do you both use the same distribution? > > Kubuntu 6.10 > > Regarding KDE which libs/includes should be there? > > I will do check all *.h files in the gambas source for used includes of *.h > files to check they exists in the /usr/include path. (special the kde > related) Maybe a file in the -dev package has a different name in > (k)ubuntu. > > However this look to me not a reason for 'Segmentation fault'. > I understand here is something going wrong with allocated memory. > Second, if the includes of *.h where the fault should it not reported > during 'make'? Third, it occurs during make install so all compiling > should already be done. Fourt, it occurs with gbi2 > > I had this same error in the past with SuSE also and it was a error during > read of a file for the info to gather. > I do not remember how it was solved by me other then correcting something > with the file open/read in gbi code to prevent fatal crash abort. > This was reported at that time and never heard something. > > autoconf --version > autoconf (GNU Autoconf) 2.60 > > automake --version > automake (GNU automake) 1.9.6 > > kde-config --version > Qt: 3.3.6 > KDE: 3.5.5 > kde-config: 1.0 > > Ron > The crash occurs inside the ld.so library. But gbi does not use it directly, it relies of the GNU libtool package. So there are three possibilites: 1) A bug in ld.so. 2) A bug in libtool that makes ld.so crash. 3) A bug somewhere else that corrupts the memory and make ld.so crash. The ast fix removed the use of libtool on Linux, by using dl*() API directly. But Laurent told that it changes nothing. So libtool seems to not be the problem. I asked him to try with valgrind to see if there is memory corruption. I tried to pass some new flags to the dlopen() API that loads the shared library too. Maybe it could change something. Let's see... -- Benoit Minisini From gambas at ...1... Sat Sep 8 23:35:59 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 8 Sep 2007 23:35:59 +0200 Subject: [Gambas-user] Crash with gbi2 Message-ID: <200709082335.59516.gambas@...1...> The crash should be fixed in the last revision. Thanks to Laurent, that noticed that the crash appears in revision 550. The changes I have made in 550 was buggy, and have disables QT and KDE libraries preloading. Bad luck, it works on Mandriva, but continue crashing on some other distributions... Regards, -- Benoit Minisini From ronstk at ...239... Sat Sep 8 23:46:32 2007 From: ronstk at ...239... (ron) Date: Sat, 8 Sep 2007 23:46:32 +0200 Subject: [Gambas-user] Error on installing last svn In-Reply-To: <200709082155.14400.gambas@...1...> References: <6324a42a0709080802x4223a52cr98f27250504c3dae@...627...> <200709082139.29719.ronstk@...239...> <200709082155.14400.gambas@...1...> Message-ID: <200709082346.32662.ronstk@...239...> On Saturday 08 September 2007 21:55, Benoit Minisini wrote: > On samedi 08 septembre 2007, ron wrote: > > On Saturday 08 September 2007 20:06, Benoit Minisini wrote: ... > > kde-config --version > > Qt: 3.3.6 > > KDE: 3.5.5 > > kde-config: 1.0 > > > > Ron > > > > The crash occurs inside the ld.so library. But gbi does not use it directly, > it relies of the GNU libtool package. So there are three possibilites: > 1) A bug in ld.so. > 2) A bug in libtool that makes ld.so crash. > 3) A bug somewhere else that corrupts the memory and make ld.so crash. > > The ast fix removed the use of libtool on Linux, by using dl*() API directly. > But Laurent told that it changes nothing. So libtool seems to not be the > problem. > > I asked him to try with valgrind to see if there is memory corruption. > > I tried to pass some new flags to the dlopen() API that loads the shared > library too. Maybe it could change something. > > Let's see... > OK, I just did try some others (svn 556) root at ...1311...:/home/ron/src/gambas2-svn/trunk# make install make[3]: Leaving directory `/media/hdb4/dsk_all/home/ron/src/gambas2-svn/trunk/gb.qt.kde/src/html' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/media/hdb4/dsk_all/home/ron/src/gambas2-svn/trunk/gb.qt.kde/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/media/hdb4/dsk_all/home/ron/src/gambas2-svn/trunk/gb.qt.kde' make: *** [install-recursive] Error 1 root at ...1311...:/home/ron/src/gambas2-svn/trunk# ============= root at ...1311...:/home/ron/src/gambas2-svn/trunk# gbi2 -v gb.qt.kde.html gb.qt.kde.html Loading native component: /usr/local/lib/gambas2/gb.qt.kde.html.so Segmentation fault ---------------- root at ...1311...:/home/ron/src/gambas2-svn/trunk# gbi2 -v gb.qt.kde gb.qt.kde gbi2: warning: component gb.qt.kde not found ---------------- root at ...1311...:/home/ron/src/gambas2-svn/trunk# gbi2 -v gb.qt gb.qt Loading native component: /usr/local/lib/gambas2/gb.qt.so Including gb.draw Loading native component: /usr/local/lib/gambas2/gb.draw.so Loading gambas component: /usr/local/lib/gambas2/gb.qt.gambas ---------------- root at ...1311...:/home/ron/src/gambas2-svn/trunk# gbi2 -v gb.draw gb.draw Loading native component: /usr/local/lib/gambas2/gb.draw.so ---------------- root at ...1311...:/home/ron/src/gambas2-svn/trunk# gbi2 -v gb.gtk gb.gtk Loading native component: /usr/local/lib/gambas2/gb.gtk.so Including gb.draw Loading native component: /usr/local/lib/gambas2/gb.draw.so Loading gambas component: /usr/local/lib/gambas2/gb.gtk.gambas ---------------- root at ...1311...:/home/ron/src/gambas2-svn/trunk# gbi2 -v gb.qt.kde.html gb.qt.kde.html Loading native component: /usr/local/lib/gambas2/gb.qt.kde.html.so Segmentation fault Is it right to assume in 'gb.qt.kde.html.so' is something wrong? Uhmm /usr/local/lib/gambas2/gb.qt.kde.html.so what if I add some mesages? cd source/main/src/gbc/gbi.c ... static bool analyze_native_component(const char *path) ... fprintf(stderr, "For include: %s\n", path); include = lt_dlsym(lib, LIB_INCLUDE); fprintf(stderr, "After include: %s\n", path); if (include) { if (_verbose) fprintf(stderr, "Including %s\n", *include); analyze(*include, TRUE); } fprintf(stderr, "After if (include) : %s\n", path); desc = lt_dlsym(lib, LIB_CLASS); fprintf(stderr, "Before if (desc) : %s\n", path); if (desc) { ... make make install gbi2 -v gb.qt.kde.html root at ...1311...:/home/ron/src/gambas2-svn/trunk/main/gbc# gbi2 -v gb.qt.kde.html gb.qt.kde.html Loading native component: /usr/local/lib/gambas2/gb.qt.kde.html.so After Loading native component: /usr/local/lib/gambas2/gb.qt.kde.html.so For include: /usr/local/lib/gambas2/gb.qt.kde.html.so After include: /usr/local/lib/gambas2/gb.qt.kde.html.so After if (include) : /usr/local/lib/gambas2/gb.qt.kde.html.so Before if (desc) : /usr/local/lib/gambas2/gb.qt.kde.html.so Before if (lt_dlclose) : /usr/local/lib/gambas2/gb.qt.kde.html.so Segmentation fault analyze_native_component is called in static void analyze(const char *comp, bool include) placing in this function anywhere 'fprintf(stderr, "analize: %s\n", path);' root at ...1311...:/home/ron/src/gambas2-svn/trunk/main/gbc# gbi2 -v gb.qt.kde.html gb.qt.kde.html Segmentation fault ??? not called 'analyze_native_component(const char *path)' anymore? ================ root at ...1311...:/home/ron/src/gambas2-svn/trunk/main/gbc# strace gbi2 -v gb.qt.kde.html execve("/usr/local/bin/gbi2", ["gbi2", "-v", "gb.qt.kde.html"], [/* 43 vars */]) = 0 brk(0) = 0x8053000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7efb000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=89836, ...}) = 0 mmap2(NULL, 89836, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7ee5000 close(4) = 0 Checking the /etc directory: /etc/ld.so.nohwcap nowhere? /etc/ld.so.cache exists 83kbyte /etc/ld.so.conf exists /etc/ld.so.hwcappkgs exists /etc/ld.so.conf contains: include /etc/ld.so.conf.d/*.conf /usr/X11R6/lib /etc/ld.so.conf.d contains: no *.conf i486-linux-gnu: # Multiarch support /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /etc/ld.so.hwcappkgs contains: libc6 2.4-1ubuntu12.3 libc6-i686 2.4-1ubuntu12.3 libc6-i686 2.4-1ubuntu12.3 libc6-i686 2.4-1ubuntu12.3 Ron From gambas at ...1... Sun Sep 9 00:28:04 2007 From: gambas at ...1... (Benoit Minisini) Date: Sun, 9 Sep 2007 00:28:04 +0200 Subject: [Gambas-user] 1.9.50: Debugger crashes when inspecting .ResultFields In-Reply-To: <46D5420F.2070605@...1000...> References: <46D5420F.2070605@...1000...> Message-ID: <200709090028.04826.gambas@...1...> On mercredi 29 ao?t 2007, Werner wrote: > It does that on my machine. Could anyone with a db application at hand > please verify? > The result is local in my case. > > Thanks, > Werner > This has been fixed in the last revision. Regards, -- Benoit Minisini From ronstk at ...239... Sun Sep 9 00:46:55 2007 From: ronstk at ...239... (ron) Date: Sun, 9 Sep 2007 00:46:55 +0200 Subject: [Gambas-user] Crash with gbi2 In-Reply-To: <200709082335.59516.gambas@...1...> References: <200709082335.59516.gambas@...1...> Message-ID: <200709090046.55782.ronstk@...239...> On Saturday 08 September 2007 23:35, Benoit Minisini wrote: > The crash should be fixed in the last revision. > > Thanks to Laurent, that noticed that the crash appears in revision 550. > > The changes I have made in 550 was buggy, and have disables QT and KDE > libraries preloading. > > Bad luck, it works on Mandriva, but continue crashing on some other > distributions... > > Regards, > Get the svn 576 ./reconf-all ./configure --prefix=/opt/gb checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for GTK+ toolkit component with pkg-config... OK configure: creating ./config.status config.status: error: cannot find input file: Makefile.in configure: error: ./configure failed for gb.gtk ron at ...1311...:/home/ron/src/gambas2-svn/trunk# Ron PS. can I loan somewhere , from the 1.9.50 version? From lordheavym at ...626... Sun Sep 9 01:03:28 2007 From: lordheavym at ...626... (Laurent Carlier) Date: Sun, 9 Sep 2007 01:03:28 +0200 Subject: [Gambas-user] Crash with gbi2 In-Reply-To: <200709090046.55782.ronstk@...239...> References: <200709082335.59516.gambas@...1...> <200709090046.55782.ronstk@...239...> Message-ID: <200709090103.32082.lordheavym@...626...> On Sunday 09 September 2007 00:46:55 ron wrote: > On Saturday 08 September 2007 23:35, Benoit Minisini wrote: > > The crash should be fixed in the last revision. > > > > Thanks to Laurent, that noticed that the crash appears in revision 550. > > > > The changes I have made in 550 was buggy, and have disables QT and KDE > > libraries preloading. > > > > Bad luck, it works on Mandriva, but continue crashing on some other > > distributions... > > > > Regards, > > Get the svn 576 > ./reconf-all > ./configure --prefix=/opt/gb > > checking for gethostbyname... yes > checking for connect... yes > checking for remove... yes > checking for shmat... yes > checking for IceConnectionNumber in -lICE... yes > checking for GTK+ toolkit component with pkg-config... OK > configure: creating ./config.status > config.status: error: cannot find input file: Makefile.in > configure: error: ./configure failed for gb.gtk > ron at ...1311...:/home/ron/src/gambas2-svn/trunk# > > Ron > > PS. can I loan somewhere , from the 1.9.50 version? > Because benoit forgot to commit gb.gtk.ext component :-) Regards, -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From ronstk at ...239... Sun Sep 9 01:08:04 2007 From: ronstk at ...239... (ron) Date: Sun, 9 Sep 2007 01:08:04 +0200 Subject: [Gambas-user] Crash with gbi2 In-Reply-To: <200709090103.32082.lordheavym@...626...> References: <200709082335.59516.gambas@...1...> <200709090046.55782.ronstk@...239...> <200709090103.32082.lordheavym@...626...> Message-ID: <200709090108.04556.ronstk@...239...> On Sunday 09 September 2007 01:03, Laurent Carlier wrote: > > PS. can I loan somewhere , from the 1.9.50 version? > > > > Because benoit forgot to commit gb.gtk.ext component :-) > > Regards, > > Well maybe he is ATM working on it. Just did ./configure -C --prefix=/opt/gb --enable-gtk=no --enable-gtksvg=no Let see what happens : Ron From rohnny at ...1248... Sun Sep 9 10:46:53 2007 From: rohnny at ...1248... (R. Stormo) Date: Sun, 9 Sep 2007 01:46:53 -0700 (PDT) Subject: [Gambas-user] svn 552 , can't install (SOLVED in 580) In-Reply-To: <12467261.post@...1379...> References: <12467261.post@...1379...> Message-ID: <12577012.post@...1379...> R. Stormo wrote: > > I can't install revision 552 from svn. I have reconf-all, configure and > make everything went without any problem. > But when I do make install it want go so smooth. I get this error > > > --snip > make install-data-hook > make[5]: Entering directory > `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > > Creating the information files for gb.qt.kde.html component... > gb.qt.kde.html > make[5]: *** [install-data-hook] Segmentation fault (core dumped) > make[5]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > make[4]: *** [install-data-am] Error 2 > make[4]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > make[3]: *** [install-am] Error 2 > make[3]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src/html' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde/src' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/rohnny/gambas3/trunk/gb.qt.kde' > make: *** [install-recursive] Error 1 > > > > > Regards R. Stormo > > My Gambas Community http://gambasforum.tk > Looks like latest svn revision 580 compiles ok. Without the error. Good work Benoit. :D R. Stormo My Gambas Community http://gambasforum.tk -- View this message in context: http://www.nabble.com/svn-552-%2C-can%27t-install-tf4373859.html#a12577012 Sent from the gambas-user mailing list archive at Nabble.com. From e.huertas at ...626... Sun Sep 9 22:23:31 2007 From: e.huertas at ...626... (Eduardo Huertas) Date: Sun, 9 Sep 2007 22:23:31 +0200 Subject: [Gambas-user] ComboBox options from databse Message-ID: Hello all, Yesterday I decided to give Gambas a try, and I really was impressed by the good work these hackers are doing. Keep it up! Now, my question. I have a table (in a database) "items" with the fields "id" (int) and "item" (string). I would like to fill a ComboBox with these values, The desired behavior is the ComboBox showing the string and returning the integer as the selected value. I have managed to add the strings as ComboBox options, but not the id's, which are the values I would like to get returned. I would like to know if what I am trying is possible, and of course, some hint on how to do it. I hope the question is clear. Best regards, Eduardo From ronstk at ...239... Sun Sep 9 22:34:45 2007 From: ronstk at ...239... (ron) Date: Sun, 9 Sep 2007 22:34:45 +0200 Subject: [Gambas-user] svn 552 , can't install (SOLVED in 580) In-Reply-To: <12577012.post@...1379...> References: <12467261.post@...1379...> <12577012.post@...1379...> Message-ID: <200709092234.46615.ronstk@...239...> On Sunday 09 September 2007 10:46, R. Stormo wrote: > > R. Stormo wrote: > > ... > > Looks like latest svn revision 580 compiles ok. Without the error. > > Good work Benoit. :D > > > R. Stormo > Works OK for me also. Need to upgrade many of my projects (1.9.39) First I do update the Dutch translation for gambas. Back in bussiness :) Thanks Benoit Ron From ronstk at ...239... Sun Sep 9 22:44:03 2007 From: ronstk at ...239... (ron) Date: Sun, 9 Sep 2007 22:44:03 +0200 Subject: [Gambas-user] ComboBox options from databse In-Reply-To: References: Message-ID: <200709092244.03468.ronstk@...239...> On Sunday 09 September 2007 22:23, Eduardo Huertas wrote: > Hello all, > > Yesterday I decided to give Gambas a try, and I really was impressed > by the good work these hackers are doing. Keep it up! > > Now, my question. I have a table (in a database) "items" with the > fields "id" (int) and "item" (string). > I would like to fill a ComboBox with these values, The desired > behavior is the ComboBox showing the string and returning the integer > as the selected value. > I have managed to add the strings as ComboBox options, but not the > id's, which are the values I would like to get returned. > > I would like to know if what I am trying is possible, and of course, > some hint on how to do it. > > I hope the question is clear. > > Best regards, > Eduardo > I did put the id,item in a array and fill the combobox from this array. DIM id_item as object[] dim it as string[] for i = 0 to recordcount-1 it=new string[] it[0]=result.field["id"] it[1]=result.field['item"] ad_item.add(it) next The index from the combobox is the entry in id_item array This way you can even use more as 2 fields to get from the array index is sequential and id can be with missing numbers this way. Ron -- Just idea to help, not working example From e.huertas at ...626... Mon Sep 10 00:55:20 2007 From: e.huertas at ...626... (Eduardo Huertas) Date: Mon, 10 Sep 2007 00:55:20 +0200 Subject: [Gambas-user] ComboBox options from databse In-Reply-To: <200709092244.03468.ronstk@...239...> References: <200709092244.03468.ronstk@...239...> Message-ID: Thanks for the quick answer. There must be something I am missing... I have been playing with the idea you sent, but I get to the point where I have to add the values to the ComboBox. As far as I have read, the way to do it is... SUB Add ( Item AS String [ , Index AS Integer ] So, the method is wants a String, and will not accept a String[] (array) as the first parameter. What am I missing? 2007/9/9, ron : > I did put the id,item in a array and fill the combobox from this array. > > DIM id_item as object[] > dim it as string[] > > for i = 0 to recordcount-1 > it=new string[] > it[0]=result.field["id"] > it[1]=result.field['item"] > ad_item.add(it) > next > > The index from the combobox is the entry in id_item array > This way you can even use more as 2 fields to get from the array > > index is sequential and id can be with missing numbers this way. From ronstk at ...239... Mon Sep 10 06:27:36 2007 From: ronstk at ...239... (ron) Date: Mon, 10 Sep 2007 06:27:36 +0200 Subject: [Gambas-user] ComboBox options from databse In-Reply-To: References: <200709092244.03468.ronstk@...239...> Message-ID: <200709100627.37012.ronstk@...239...> On Monday 10 September 2007 00:55, Eduardo Huertas wrote: > Thanks for the quick answer. There must be something I am missing... > > I have been playing with the idea you sent, but I get to the point > where I have to add the values to the ComboBox. As far as I have read, > the way to do it is... > SUB Add ( Item AS String [ , Index AS Integer ] > > So, the method is wants a String, and will not accept a String[] > (array) as the first parameter. > > What am I missing? > > 2007/9/9, ron : > > I did put the id,item in a array and fill the combobox from this array. > > > > DIM id_item as object[] > > dim it as string[] > > > > for i = 0 to recordcount-1 > > it=new string[] > > it[0]=result.field["id"] > > it[1]=result.field['item"] > > id_item.add(it) > > next > > > > The index from the combobox is the entry in id_item array > > This way you can even use more as 2 fields to get from the array > > > > index is sequential and id can be with missing numbers this way. > to put into the combobox do something like this for x=0 to id_item.count-1 text=id_item[x][1] combobox1.add(text) ' or combobox1.add(id_item[x][1]) next the id_item array contains for each entry also a array of to values the first is the id and the second the description from the database. id_item[the_entry][0] = result column for id id_item[the_entry][1] = result column for item description Ron From matthias.laur at ...1772... Mon Sep 10 11:50:41 2007 From: matthias.laur at ...1772... (Matthias Laur) Date: Mon, 10 Sep 2007 11:50:41 +0200 Subject: [Gambas-user] gambas2 on debian etch Message-ID: <001401c7f390$0c9ffc00$3803000a@...1773...> Hi, I have compiled and installed gambas1 from source on debian etch with no problems. Now I've tried gambas2 (1.9.50). Compilation and installation ends with no errors. But if I want to start the programm with gambas2 I get: Command not found. What's wrong? Regards, Matthias From dcamposf at ...626... Mon Sep 10 13:03:34 2007 From: dcamposf at ...626... (Daniel Campos) Date: Mon, 10 Sep 2007 13:03:34 +0200 Subject: [Gambas-user] gambas2 on debian etch In-Reply-To: <001401c7f390$0c9ffc00$3803000a@...1773...> References: <001401c7f390$0c9ffc00$3803000a@...1773...> Message-ID: <7259b5ae0709100403g3f6e5255jd707ef0d4f88e483@...627...> You can try to compile and install the Debian Packages (the same for any other Debian or Ubuntu based distribution): 0) Install an initial sane compilation environment: apt-get install gcc cpp g++ automake1.9 autoconf libltdl3-dev libtool devscripts fakeroot lintian debhelper 1) download the following files in an empty folder: http://azores.linex.org/debian/dists/sarge/gambas/source/gambas2_1.9.50.orig.tar.gz http://azores.linex.org/debian/dists/sarge/gambas/source/gambas2_1.9.50-1~linex2.dsc http://azores.linex.org/debian/dists/sarge/gambas/source/gambas2_1.9.50.orig.tar.gz 2) Extract them: dpkg-source -x gambas2_1.9.50-1~linex2.dsc 3) Enter in the generated folder (something like gambas2....), and execute "dpkg-checkbuilddeps" It will provide a list of dependencies not found in your system. Install them with apt-get 4) Execute "dpkg-buildpackage -rfakeroot". It will compile the program and generate the ".deb" packages for your system 5) Install them: "dpkg -i *deb" (if something is not available, it will return an error. Just check it and install with "apt-get". Sometimes doing "apt-get -f install" will solve all the errors automatically) Daniel 2007/9/10, Matthias Laur : > Hi, > > I have compiled and installed gambas1 from source on debian etch with no > problems. Now I've tried gambas2 (1.9.50). Compilation and installation ends > with no errors. But if I want to start the programm with gambas2 I get: > Command not found. What's wrong? > > > > Regards, > > Matthias > > > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jredrejo at ...626... Mon Sep 10 13:12:59 2007 From: jredrejo at ...626... (=?ISO-8859-1?Q?Jos=E9_Luis_Redrejo?=) Date: Mon, 10 Sep 2007 13:12:59 +0200 Subject: [Gambas-user] gambas2 on debian etch In-Reply-To: <7259b5ae0709100403g3f6e5255jd707ef0d4f88e483@...627...> References: <001401c7f390$0c9ffc00$3803000a@...1773...> <7259b5ae0709100403g3f6e5255jd707ef0d4f88e483@...627...> Message-ID: <8eb28a500709100412j655243a9jc0158e300e496ade@...627...> To use gambas2 > 1.9.49 in Debian etch you need a gtk backport. Or you can add --disable-gtk to the debian/rules before compiling. In that case, you won't get the gtk derived components. Debian etch didn't include gtk 2.10 and that's the reason for this issue. That problem is explained at http://gambas.sourceforge.net/download.html Regards. 2007/9/10, Daniel Campos : > > You can try to compile and install the Debian Packages (the same for > any other Debian or Ubuntu based distribution): > > 0) Install an initial sane compilation environment: > > apt-get install gcc cpp g++ automake1.9 autoconf libltdl3-dev libtool > devscripts fakeroot lintian debhelper > > 1) download the following files in an empty folder: > > > http://azores.linex.org/debian/dists/sarge/gambas/source/gambas2_1.9.50.orig.tar.gz > > http://azores.linex.org/debian/dists/sarge/gambas/source/gambas2_1.9.50-1~linex2.dsc > > http://azores.linex.org/debian/dists/sarge/gambas/source/gambas2_1.9.50.orig.tar.gz > > 2) Extract them: > > dpkg-source -x gambas2_1.9.50-1~linex2.dsc > > 3) Enter in the generated folder (something like gambas2....), and > execute "dpkg-checkbuilddeps" > > It will provide a list of dependencies not found in your system. > Install them with apt-get > > 4) Execute "dpkg-buildpackage -rfakeroot". It will compile the program > and generate the ".deb" packages for your system > > 5) Install them: "dpkg -i *deb" (if something is not available, it > will return an error. Just check it and install with "apt-get". > Sometimes doing "apt-get -f install" will solve all the errors > automatically) > > Daniel > > > > > > 2007/9/10, Matthias Laur : > > Hi, > > > > I have compiled and installed gambas1 from source on debian etch with no > > problems. Now I've tried gambas2 (1.9.50). Compilation and installation > ends > > with no errors. But if I want to start the programm with gambas2 I get: > > Command not found. What's wrong? > > > > > > > > Regards, > > > > Matthias > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From matthias.laur at ...1772... Mon Sep 10 13:43:35 2007 From: matthias.laur at ...1772... (Matthias Laur) Date: Mon, 10 Sep 2007 13:43:35 +0200 Subject: [Gambas-user] gambas2 on debian etch In-Reply-To: <8eb28a500709100412j655243a9jc0158e300e496ade@...627...> References: <001401c7f390$0c9ffc00$3803000a@...1773...><7259b5ae0709100403g3f6e5255jd707ef0d4f88e483@...627...> <8eb28a500709100412j655243a9jc0158e300e496ade@...627...> Message-ID: <001d01c7f39f$d2cc1c10$3803000a@...1773...> Thank you. Now it works. Regards, Matthias -----Urspr?ngliche Nachricht----- Von: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user-bounces at lists.sourceforge.net] Im Auftrag von Jos? Luis Redrejo Gesendet: Montag, 10. September 2007 13:13 An: mailing list for gambas users Betreff: Re: [Gambas-user] gambas2 on debian etch To use gambas2 > 1.9.49 in Debian etch you need a gtk backport. Or you can add --disable-gtk to the debian/rules before compiling. In that case, you won't get the gtk derived components. Debian etch didn't include gtk 2.10 and that's the reason for this issue. That problem is explained at http://gambas.sourceforge.net/download.html Regards. 2007/9/10, Daniel Campos : > > You can try to compile and install the Debian Packages (the same for > any other Debian or Ubuntu based distribution): > > 0) Install an initial sane compilation environment: > > apt-get install gcc cpp g++ automake1.9 autoconf libltdl3-dev libtool > devscripts fakeroot lintian debhelper > > 1) download the following files in an empty folder: > > > http://azores.linex.org/debian/dists/sarge/gambas/source/gambas2_1.9.50.orig .tar.gz > > http://azores.linex.org/debian/dists/sarge/gambas/source/gambas2_1.9.50-1~li nex2.dsc > > http://azores.linex.org/debian/dists/sarge/gambas/source/gambas2_1.9.50.orig .tar.gz > > 2) Extract them: > > dpkg-source -x gambas2_1.9.50-1~linex2.dsc > > 3) Enter in the generated folder (something like gambas2....), and > execute "dpkg-checkbuilddeps" > > It will provide a list of dependencies not found in your system. > Install them with apt-get > > 4) Execute "dpkg-buildpackage -rfakeroot". It will compile the program > and generate the ".deb" packages for your system > > 5) Install them: "dpkg -i *deb" (if something is not available, it > will return an error. Just check it and install with "apt-get". > Sometimes doing "apt-get -f install" will solve all the errors > automatically) > > Daniel > > > > > > 2007/9/10, Matthias Laur : > > Hi, > > > > I have compiled and installed gambas1 from source on debian etch with no > > problems. Now I've tried gambas2 (1.9.50). Compilation and installation > ends > > with no errors. But if I want to start the programm with gambas2 I get: > > Command not found. What's wrong? > > > > > > > > Regards, > > > > Matthias > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From timothy.marshal-nichols at ...247... Mon Sep 10 14:56:11 2007 From: timothy.marshal-nichols at ...247... (timothy) Date: Mon, 10 Sep 2007 13:56:11 +0100 Subject: [Gambas-user] ComboBox options from databse In-Reply-To: Message-ID: <002f01c7f3a9$fb53e370$6401a8c0@...1587...> > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net] On Behalf > Of Eduardo Huertas > Sent: Sunday, 09 September 2007 11:55 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] ComboBox options from databse > > > Thanks for the quick answer. There must be something I am missing... > > I have been playing with the idea you sent, but I get to the > point where I have to add the values to the ComboBox. As far > as I have read, the way to do it is... SUB Add ( Item AS > String [ , Index AS Integer ] > > So, the method is wants a String, and will not accept a String[] > (array) as the first parameter. > > What am I missing? > > 2007/9/9, ron : > > I did put the id,item in a array and fill the combobox from this > > array. > > > > DIM id_item as object[] > > dim it as string[] > > > > for i = 0 to recordcount-1 > > it=new string[] > > it[0]=result.field["id"] > > it[1]=result.field['item"] > > ad_item.add(it) > > next > > > > The index from the combobox is the entry in id_item array > This way you > > can even use more as 2 fields to get from the array > > > > index is sequential and id can be with missing numbers this way. > If you fill your Result object from the database: resultTable = And then fill your ComboBox with the required field: ComboBox1.Clear() IF NOT resultTable.MoveFirst() THEN REPEAT ComboBox1.Add("item") UNTIL resultTable.MoveNext() END IF The Index property of the ComboBox and the Result object should refer to the same record. Note this is the Index property - not the ID field in the database table. The latter could, of course, be totally different. So you should be able to get the database ID (and other fields) for record by moving the Result index to the same index as the ComboBox: PUBLIC SUB ComboBox1_Click() resultTable.MoveTo(ComboBox1.Index) PRINT resultTable["ID"] END For the above to be true: A) Do not sort the ComboBox B) Edit the result object, above all by deleting records. Thanks 8-{)} Timothy Marshal-Nichols From almanova at ...1228... Mon Sep 10 15:11:09 2007 From: almanova at ...1228... (Almanova Sistemi) Date: Mon, 10 Sep 2007 15:11:09 +0200 Subject: [Gambas-user] ComboBox In-Reply-To: References: <200709092244.03468.ronstk@...239...> Message-ID: <46E5426D.7070103@...1228...> Hallo to everybody. This is my first question to the forum. My problen is this: I have a combo box with preloaded some strings that are presend into my database. I get a record from database wich contains one string present into combo box list. How I can display them into a combo box? In other words, how I can set the index of combo bos for display this string? Than's in advice. Massimo From e.huertas at ...626... Mon Sep 10 20:21:43 2007 From: e.huertas at ...626... (Eduardo Huertas) Date: Mon, 10 Sep 2007 20:21:43 +0200 Subject: [Gambas-user] ComboBox options from databse In-Reply-To: <002f01c7f3a9$fb53e370$6401a8c0@...1587...> References: <002f01c7f3a9$fb53e370$6401a8c0@...1587...> Message-ID: OK, I think I got it now... The thing is having an array with the result from the database where you can look for the selected option in the ComboBox... interesting approach. Thanks a lot, Ron and Timothy for your answers. Best regards, Eduardo From e.huertas at ...626... Mon Sep 10 20:24:20 2007 From: e.huertas at ...626... (Eduardo Huertas) Date: Mon, 10 Sep 2007 20:24:20 +0200 Subject: [Gambas-user] ComboBox In-Reply-To: <46E5426D.7070103@...1228...> References: <200709092244.03468.ronstk@...239...> <46E5426D.7070103@...1228...> Message-ID: 2007/9/10, Almanova Sistemi : > I have a combo box with preloaded some strings that are presend into my > database. I get a record from database wich contains one string present > into combo box list. > How I can display them into a combo box? In other words, how I can set > the index of combo bos for display this string? I suggest looking at the threat I opened yesterday with the subject "ComboBox options from database" Best regards, Eduardo From gambas at ...1... Mon Sep 10 23:28:45 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 10 Sep 2007 23:28:45 +0200 Subject: [Gambas-user] [Gambas-devel] MySQL: case FIELD_TYPE_BLOB In-Reply-To: <200708232041.04151.ronstk@...239...> References: <200708192243.07415.ronstk@...239...> <200708192344.45297.ronstk@...239...> <200708232041.04151.ronstk@...239...> Message-ID: <200709102328.45881.gambas@...1...> On jeudi 23 ao?t 2007, ron wrote: > On Sunday 19 August 2007 23:44, ron wrote: > > On Sunday 19 August 2007 22:43, ron wrote: > > > Hi Benoit, > > > I found in '/2.0/trunk/gb.db.mysql/src/main.c' > > > > > > case FIELD_TYPE_BLOB: // TEXT > > > 175 //fprintf(stderr, "FIELD_TYPE_BLOB: %d\n", len); > > > 176 if (len == 16777215 || len <= 0) // LONG BLOB > > > 177 return DB_T_BLOB; > > > 178 else > > > 179 return GB_T_STRING; > > > > > > > > > 16777214 return GB_T_STRING; > > > 16777215 return DB_T_BLOB; > > > 16777216 return GB_T_STRING; > > > > > > Should it no be 'if (len >= 16777215 || len <= 0)' ? :) > > > > > > Ron > > > > 405 // query_fill() only gets this constant, whatever the > > blob is 406 case FIELD_TYPE_BLOB: > > 407 if (len == 16777215 || len <= 0) // LONG BLOB > > 408 { > > 409 val->type = GB_T_NULL; > > 410 break; > > 411 } > > > > > > Investigating the magic number '16777215' > > > > > > TINYBLOB Blob up to 255 bytes N+1 > > TINYTEXT Text up to 255 chars N+1 > > BLOB Blob up to 65535 N+2 > > TEXT Text up to 65535 N+2 > > MEDIUMBLOB -> 16777215 N+3 > > MEDIUMTEXT -> 16777215 N+3 > > LONGBLOB -> 4GB N+4 > > LONGTEXT -> 4GB N+4 > > > > Must be 'if (len > 16777215 || len <= 0)' ??? :) > > > > > > Ron > > Futher investigating shows me that I must be correct > and there is something wrong now. > > The value 16777215 equals to 0x00FFFFFF > The if condition must be 'if (len > 16777215 || len <= 0)' > > > > Kicked by me. > Thanks. I merged your fix. Better late than never. :-) -- Benoit Minisini From ronstk at ...239... Tue Sep 11 01:50:29 2007 From: ronstk at ...239... (ron) Date: Tue, 11 Sep 2007 01:50:29 +0200 Subject: [Gambas-user] [Gambas-devel] MySQL: case FIELD_TYPE_BLOB In-Reply-To: <200709102328.45881.gambas@...1...> References: <200708192243.07415.ronstk@...239...> <200708232041.04151.ronstk@...239...> <200709102328.45881.gambas@...1...> Message-ID: <200709110150.30216.ronstk@...239...> On Monday 10 September 2007 23:28, Benoit Minisini wrote: > Thanks. I merged your fix. > > Better late than never. :-) > Your welcome. For me it is good I found something with my little C acknowledge :):) Happy Ron From timothy.marshal-nichols at ...247... Tue Sep 11 07:23:23 2007 From: timothy.marshal-nichols at ...247... (timothy) Date: Tue, 11 Sep 2007 06:23:23 +0100 Subject: [Gambas-user] ComboBox options from databse In-Reply-To: <002f01c7f3a9$fb53e370$6401a8c0@...1587...> Message-ID: <000001c7f433$e14bd020$6401a8c0@...1587...> > > If you fill your Result object from the database: > > resultTable = > > And then fill your ComboBox with the required field: > > ComboBox1.Clear() > IF NOT resultTable.MoveFirst() THEN > REPEAT > ComboBox1.Add("item") > UNTIL resultTable.MoveNext() > END IF > > The Index property of the ComboBox and the Result object > should refer to the same record. Note this is the Index > property - not the ID field in the database table. The latter > could, of course, be totally different. > > So you should be able to get the database ID (and other > fields) for record by moving the Result index to the same > index as the ComboBox: > > PUBLIC SUB ComboBox1_Click() > resultTable.MoveTo(ComboBox1.Index) > PRINT resultTable["ID"] > END > > For the above to be true: > A) Do not sort the ComboBox > B) Edit the result object, above all by deleting records. > > Thanks > > 8-{)} Timothy Marshal-Nichols > > > There is an error in my example for loading the ComboBox. The above will just keep adding the string "item". Not very useful! You should add the item from the result object. The example should be: ComboBox1.Clear() IF NOT resultTable.MoveFirst() THEN REPEAT ComboBox1.Add(resultTable["item"]) UNTIL resultTable.MoveNext() END IF I should have copied and pasted, rather than write it out again. Sorry. Thanks 8-{)} Timothy Marshal-Nichols From e.huertas at ...626... Tue Sep 11 13:40:17 2007 From: e.huertas at ...626... (Eduardo Huertas) Date: Tue, 11 Sep 2007 13:40:17 +0200 Subject: [Gambas-user] ComboBox options from databse In-Reply-To: <000001c7f433$e14bd020$6401a8c0@...1587...> References: <002f01c7f3a9$fb53e370$6401a8c0@...1587...> <000001c7f433$e14bd020$6401a8c0@...1587...> Message-ID: Some code on how I finally did it. This code is only an example, no error handling or things like that. PUBLIC db AS NEW Connection PUBLIC cboItems AS NEW Object[] 'This will be the array which holds the data form the database PUBLIC PROCEDURE connectDb() WITH db .Close .Type = "mysql" .Host = "localhost" .Login = "root" .Password = "password" .Name = "test" .Open END WITH END PUBLIC SUB Form_Open() 'Populate the ComboBox and the array holding the complete results (in the same order) DIM rst AS Result connectDb() rst = db.Find("tblItems") FOR EACH rst ComboBox1.Add(rst!item) cboItems.Add([rst!item_id, rst!item]) NEXT END PUBLIC SUB Button1_Click() 'Shows the item_id of the selected option PRINT ComboBox1.Text PRINT cboItems[ComboBox1.Index][0] END From gambas at ...1... Tue Sep 11 20:48:58 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 11 Sep 2007 20:48:58 +0200 Subject: [Gambas-user] Big change in database component Message-ID: <200709112048.58317.gambas@...1...> Hi, The database component is now case sensitive, i.e. table names, field names and index names are now all case sensitive. This should fix indirectly many problems: * A field, index or table name can be a SQL reserved word. * Field names that mix upper case and lower case are displayed 'as is'. * The behaviour should be more consistent across all database drivers. I tried to make it optional, but there are too many differences in the behaviour of all databases to do that reliably. So, by using SQL quoting in all requests, case sensitivity is now forced. It is yet possible to have the dbResult["field"] syntax case unsensitive. Tell me if you find that useful. And of course, tell me if you encounter any problem with your own databases, as this is only tested on my local machine! Regards, -- Benoit Minisini From timothy.marshal-nichols at ...247... Wed Sep 12 07:47:15 2007 From: timothy.marshal-nichols at ...247... (timothy) Date: Wed, 12 Sep 2007 06:47:15 +0100 Subject: [Gambas-user] Big change in database component In-Reply-To: <200709112048.58317.gambas@...1...> Message-ID: <000001c7f500$63dcd350$6401a8c0@...1587...> > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net] On Behalf > Of Benoit Minisini > Sent: Tuesday, 11 September 2007 07:49 PM > To: gambas-user at lists.sourceforge.net > Subject: [Gambas-user] Big change in database component > > > Hi, > > The database component is now case sensitive, i.e. table > names, field names > and index names are now all case sensitive. > > This should fix indirectly many problems: > * A field, index or table name can be a SQL reserved word. > * Field names that mix upper case and lower case are > displayed 'as is'. > * The behaviour should be more consistent across all database drivers. > > I tried to make it optional, but there are too many > differences in the > behaviour of all databases to do that reliably. > > So, by using SQL quoting in all requests, case sensitivity is > now forced. > > It is yet possible to have the dbResult["field"] syntax case > unsensitive. Tell > me if you find that useful. > > And of course, tell me if you encounter any problem with your > own databases, > as this is only tested on my local machine! > > Regards, > > -- > Benoit Minisini > I do think this is a more practical way of interfacing to a database. (Even if it does not comply with SQL standards ;-) Thanks 8-{)} Timothy Marshal-Nichols From gambas at ...1... Thu Sep 13 23:48:03 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 13 Sep 2007 23:48:03 +0200 Subject: [Gambas-user] Database and SQL code injection Message-ID: <200709132348.03910.gambas@...1...> Hi, SQL code injection is a common problem, when SQL commands are not carefully written before being sent to the database. Gambas has database methods than can do automatic string quoting for you, which prevents SQL code injection: DB.Exec("SELECT * FROM UserTable WHERE Login = &1 AND Password = &2", TheLogin, ThePassword) Alas, it does not prevent many users that are not aware of SQL injection from doing that: DB.Exec("SELECT * FROM UserTable WHERE Login = '" & TheLogin & "' AND Password ='" & ThePassword & "'") For those who does not know, imagine that ThePassword and TheLogin strings come from a web form, and that the user entered the following: TheLogin: ' OR '' = ' ThePassword: ' OR '' =' Then the request sent to the database server becomes: SELECT * FROM UserTable WHERE Login = '' OR '' = '' AND Password = '' OR '' = '' So whatever the operator precedence is, this request is equivalent to: SELECT * FROM UserTable WHERE True If this request was the only check, then you was authentified as the first user of the database! When I was in Canada some years ago for my job, there was an Internet access in the hotel. This was a PC with Internet Explorer limited to only one web site, an official Canada web site for tourism. There were a login and password fields somewhere in the page. Guess what... Well, back to Gambas now. I want to go further, by simply rejecting any call to Exec(), Find() or Delete(), if the first argument includes some quoting characters. This way, you will be compelled to use the quoting arguments. What do you think about that? -- Benoit Minisini From ronstk at ...239... Fri Sep 14 03:25:41 2007 From: ronstk at ...239... (ron) Date: Fri, 14 Sep 2007 03:25:41 +0200 Subject: [Gambas-user] Database and SQL code injection In-Reply-To: <200709132348.03910.gambas@...1...> References: <200709132348.03910.gambas@...1...> Message-ID: <200709140325.41865.ronstk@...239...> On Thursday 13 September 2007 23:48, Benoit Minisini wrote: > Well, back to Gambas now. I want to go further, by simply rejecting any call > to Exec(), Find() or Delete(), if the first argument includes some quoting > characters. > > This way, you will be compelled to use the quoting arguments. > > What do you think about that? > > -- > Benoit Minisini > Proposal is not bad but I prefer a way to bypass all gambas mangeling for using DB.Exec("select concat("today=",`age`,now()) as `age` from `tblBenoit`;") From gambas at ...1... Fri Sep 14 08:21:25 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 14 Sep 2007 08:21:25 +0200 Subject: [Gambas-user] Database and SQL code injection In-Reply-To: <200709140325.41865.ronstk@...239...> References: <200709132348.03910.gambas@...1...> <200709140325.41865.ronstk@...239...> Message-ID: <200709140821.25537.gambas@...1...> On vendredi 14 septembre 2007, ron wrote: > On Thursday 13 September 2007 23:48, Benoit Minisini wrote: > > Well, back to Gambas now. I want to go further, by simply rejecting any > > call to Exec(), Find() or Delete(), if the first argument includes some > > quoting characters. > > > > This way, you will be compelled to use the quoting arguments. > > > > What do you think about that? > > > > -- > > Benoit Minisini > > Proposal is not bad but I prefer a way to bypass all gambas mangeling for > using DB.Exec("select concat("today=",`age`,now()) as `age` from > `tblBenoit`;") > Wow. What does your request do? :-) Maybe I should make another method, without the check ? I notice that I have to allow quoting before operands, but not after. I don't know enough SQL for being sure that it won't forbid non dangerous expressions in all cases... -- Benoit Minisini From gareth at ...1689... Fri Sep 14 10:12:14 2007 From: gareth at ...1689... (Gareth Bult) Date: Fri, 14 Sep 2007 09:12:14 +0100 (BST) Subject: [Gambas-user] Database and SQL code injection In-Reply-To: <200709140821.25537.gambas@...1...> Message-ID: <23875759.2721189757534562.JavaMail.root@...1708...> Hi, I think more generic routines with additional error checking are generally a good idea. Just as a matter of interest, my first month of using Gambas was based exclusively on "Exec", simply because my approach to the documentation didn't actually lead me to "know" about the use of "&1 &2" parameter substitution .. (!) If you're looking for new features, the ability to supply a "SORT" option to "Find"/"Edit" would be really nice .. I tend to use "Exec" all the time as I rarely work with unsorted tables (GridEditor!) ... whereas it would be nice to write code that wasn't reliant on MySQL. Gareth. -- Managing Director, Encryptec Limited Tel: 0845 25 77033, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. ----- Original Message ----- From: "Benoit Minisini" To: "mailing list for gambas users" Sent: Friday, September 14, 2007 7:21:25 AM (GMT) Europe/London Subject: Re: [Gambas-user] Database and SQL code injection On vendredi 14 septembre 2007, ron wrote: > On Thursday 13 September 2007 23:48, Benoit Minisini wrote: > > Well, back to Gambas now. I want to go further, by simply rejecting any > > call to Exec(), Find() or Delete(), if the first argument includes some > > quoting characters. > > > > This way, you will be compelled to use the quoting arguments. > > > > What do you think about that? > > > > -- > > Benoit Minisini > > Proposal is not bad but I prefer a way to bypass all gambas mangeling for > using DB.Exec("select concat("today=",`age`,now()) as `age` from > `tblBenoit`;") > Wow. What does your request do? :-) Maybe I should make another method, without the check ? I notice that I have to allow quoting before operands, but not after. I don't know enough SQL for being sure that it won't forbid non dangerous expressions in all cases... -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From steven at ...1652... Fri Sep 14 12:43:01 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Fri, 14 Sep 2007 12:43:01 +0200 Subject: [Gambas-user] Database and SQL code injection In-Reply-To: <200709140821.25537.gambas@...1...> References: <200709132348.03910.gambas@...1...> <200709140325.41865.ronstk@...239...> <200709140821.25537.gambas@...1...> Message-ID: <200709141243.01262.steven@...1652...> Hi, My 2 cents : I think it's impossible to preview all possible SQL syntax rules and scan on them. Sometimes statements get really complicated, and are constructed 'on the fly'. So, PLEASE donnot interfere to much. Just leave, at least exec, up to the programmer to construct it to his likings. Steven Le vendredi 14 septembre 2007 08:21, Benoit Minisini a ?crit?: > On vendredi 14 septembre 2007, ron wrote: > > On Thursday 13 September 2007 23:48, Benoit Minisini wrote: > > > Well, back to Gambas now. I want to go further, by simply rejecting any > > > call to Exec(), Find() or Delete(), if the first argument includes some > > > quoting characters. > > > > > > This way, you will be compelled to use the quoting arguments. > > > > > > What do you think about that? > > > > > > -- > > > Benoit Minisini > > > > Proposal is not bad but I prefer a way to bypass all gambas mangeling for > > using DB.Exec("select concat("today=",`age`,now()) as `age` from > > `tblBenoit`;") > > Wow. What does your request do? :-) > > Maybe I should make another method, without the check ? > > I notice that I have to allow quoting before operands, but not after. I > don't know enough SQL for being sure that it won't forbid non dangerous > expressions in all cases... From wd at ...1775... Fri Sep 14 12:28:34 2007 From: wd at ...1775... (White Dragon) Date: Fri, 14 Sep 2007 14:28:34 +0400 Subject: [Gambas-user] TableView.Edit Message-ID: <200709141428.34557.wd@...1775...> hi when i put tableview object on form its work prefectly but when i put it on vsplit then .edit just redraw form (or mb only vsplit) lastest gambas2 from svn on fedora7 From jredrejo at ...626... Fri Sep 14 14:40:12 2007 From: jredrejo at ...626... (=?ISO-8859-1?Q?Jos=E9_Luis_Redrejo?=) Date: Fri, 14 Sep 2007 14:40:12 +0200 Subject: [Gambas-user] Use of Request.Files in gb.web Message-ID: <8eb28a500709140540t7c057e11p28629f0030215d01@...627...> Hi, Beno?t, Fighting with gb.web and its lack of documentation, I'm trying to use Request.Files to get an uploaded file, but I'm not able to recover the file. Could you give a few lines of code with an example? or just a tip to can go on... Regards. From gambas at ...1... Fri Sep 14 15:06:22 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 14 Sep 2007 15:06:22 +0200 Subject: [Gambas-user] Use of Request.Files in gb.web In-Reply-To: <8eb28a500709140540t7c057e11p28629f0030215d01@...627...> References: <8eb28a500709140540t7c057e11p28629f0030215d01@...627...> Message-ID: <200709141506.22345.gambas@...1...> On vendredi 14 septembre 2007, Jos? Luis Redrejo wrote: > Hi, Beno?t, > Fighting with gb.web and its lack of documentation, > I'm trying to use Request.Files to get an uploaded file, but I'm not able > to recover the file. > Could you give a few lines of code with an example? or just a tip to can go > on... > > Regards. Of course: If in your form, you have the following file field:
... ...
then gb.web will store the uploaded file in the process temporary directory, and Request.Fields["filename"] will return the path to this temporary file. Of course your form must use method="post", and enctype="multipart/form-data". Is it clearer? -- Benoit Minisini From jredrejo at ...626... Fri Sep 14 15:34:11 2007 From: jredrejo at ...626... (=?ISO-8859-1?Q?Jos=E9_Luis_Redrejo?=) Date: Fri, 14 Sep 2007 15:34:11 +0200 Subject: [Gambas-user] Use of Request.Files in gb.web In-Reply-To: <200709141506.22345.gambas@...1...> References: <8eb28a500709140540t7c057e11p28629f0030215d01@...627...> <200709141506.22345.gambas@...1...> Message-ID: <8eb28a500709140634j59f61870ib5acf86beae9b88c@...627...> 2007/9/14, Benoit Minisini : > > On vendredi 14 septembre 2007, Jos? Luis Redrejo wrote: > > Hi, Beno?t, > > Fighting with gb.web and its lack of documentation, > > I'm trying to use Request.Files to get an uploaded file, but I'm not > able > > to recover the file. > > Could you give a few lines of code with an example? or just a tip to can > go > > on... > > > > Regards. > > Of course: > > If in your form, you have the following file field: > >
> ... > > ... >
> > then gb.web will store the uploaded file in the process temporary > directory, > and Request.Fields["filename"] will return the path to this temporary > file. > > Of course your form must use method="post", and > enctype="multipart/form-data". > > Is it clearer? > > I must be a little closed minded today. I'm using this code: PUBLIC SUB Main() DIM directorio AS String directorio = Request.Path Response.Begin SELECT CASE directorio CASE "/", "" PRINT "

" & ("Example") & "

" PRINT "

" PRINT "Archivo de datos:
" PRINT "" PRINT "
" CASE "/enviar", "/enviar/" PRINT "sending" TRY PRINT "

Fields.Count=" & CString(Request.Fields.Count) TRY PRINT "

Fields[0]=" & Request.Fields[0] TRY PRINT "

Fields[filename]=" & Request.Fields["filename"] END SELECT Response.End '---------------- And, after uploading the file, the web browser output is: sending Fields.Count=2 Fields[0]=filename '--------------- So, Request.Fields["filename"] doesn't return anything (in fact it raises an error), and I don't understand yet the meaning of http://www.gambasdoc.org/help/comp/gb.web/request/files So, it's still pretty unclear (for me, obviously) Regards From gambas at ...1... Fri Sep 14 16:10:06 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 14 Sep 2007 16:10:06 +0200 Subject: [Gambas-user] Use of Request.Files in gb.web In-Reply-To: <8eb28a500709140634j59f61870ib5acf86beae9b88c@...627...> References: <8eb28a500709140540t7c057e11p28629f0030215d01@...627...> <200709141506.22345.gambas@...1...> <8eb28a500709140634j59f61870ib5acf86beae9b88c@...627...> Message-ID: <200709141610.06378.gambas@...1...> On vendredi 14 septembre 2007, Jos? Luis Redrejo wrote: > 2007/9/14, Benoit Minisini : > > On vendredi 14 septembre 2007, Jos? Luis Redrejo wrote: > > > Hi, Beno?t, > > > Fighting with gb.web and its lack of documentation, > > > I'm trying to use Request.Files to get an uploaded file, but I'm not > > > > able > > > > > to recover the file. > > > Could you give a few lines of code with an example? or just a tip to > > > can > > > > go > > > > > on... > > > > > > Regards. > > > > Of course: > > > > If in your form, you have the following file field: > > > >

> > ... > > > > ... > >
> > > > then gb.web will store the uploaded file in the process temporary > > directory, > > and Request.Fields["filename"] will return the path to this temporary > > file. > > > > Of course your form must use method="post", and > > enctype="multipart/form-data". > > > > Is it clearer? > > I must be a little closed minded today. > > I'm using this code: > > PUBLIC SUB Main() > DIM directorio AS String > > > directorio = Request.Path > Response.Begin > > SELECT CASE directorio > CASE "/", "" > > PRINT "

" & ("Example") & "

" > PRINT "

method=\"POST\" enctype=\"multipart/form-data\">" > PRINT "Archivo de datos:
" > PRINT "" > PRINT "
" > > CASE "/enviar", "/enviar/" > > PRINT "sending" > TRY PRINT "

Fields.Count=" & CString(Request.Fields.Count) > TRY PRINT "

Fields[0]=" & Request.Fields[0] > TRY PRINT "

Fields[filename]=" & Request.Fields["filename"] > > END SELECT > > Response.End > > '---------------- > And, after uploading the file, the web browser output is: > sending > > Fields.Count=2 > > Fields[0]=filename > '--------------- > You should see: Fields.Count=2 Fields[0]=filename Fields[filename]= If the third line is missing, that means there is an error. So I'd like to see the exact error message. Anyway can you dump the request sent by the web server before gb.web gets it? Thanks in advance. -- Benoit Minisini From jredrejo at ...626... Fri Sep 14 16:28:37 2007 From: jredrejo at ...626... (=?ISO-8859-1?Q?Jos=E9_Luis_Redrejo?=) Date: Fri, 14 Sep 2007 16:28:37 +0200 Subject: [Gambas-user] Use of Request.Files in gb.web In-Reply-To: <200709141610.06378.gambas@...1...> References: <8eb28a500709140540t7c057e11p28629f0030215d01@...627...> <200709141506.22345.gambas@...1...> <8eb28a500709140634j59f61870ib5acf86beae9b88c@...627...> <200709141610.06378.gambas@...1...> Message-ID: <8eb28a500709140728m2c79de43w62a1cca164a09adb@...627...> 2007/9/14, Benoit Minisini : > > On vendredi 14 septembre 2007, Jos? Luis Redrejo wrote: > > 2007/9/14, Benoit Minisini : > > > On vendredi 14 septembre 2007, Jos? Luis Redrejo wrote: > > > > Hi, Beno?t, > > > > Fighting with gb.web and its lack of documentation, > > > > I'm trying to use Request.Files to get an uploaded file, but I'm > not > > > > > > able > > > > > > > to recover the file. > > > > Could you give a few lines of code with an example? or just a tip to > > > > can > > > > > > go > > > > > > > on... > > > > > > > > Regards. > > > > > > Of course: > > > > > > If in your form, you have the following file field: > > > > > >

> > > ... > > > > > > ... > > >
> > > > > > then gb.web will store the uploaded file in the process temporary > > > directory, > > > and Request.Fields["filename"] will return the path to this temporary > > > file. > > > > > > Of course your form must use method="post", and > > > enctype="multipart/form-data". > > > > > > Is it clearer? > > > > I must be a little closed minded today. > > > > I'm using this code: > > > > PUBLIC SUB Main() > > DIM directorio AS String > > > > > > directorio = Request.Path > > Response.Begin > > > > SELECT CASE directorio > > CASE "/", "" > > > > PRINT "

" & ("Example") & "

" > > PRINT "

> method=\"POST\" enctype=\"multipart/form-data\">" > > PRINT "Archivo de datos: type=\"file\">
" > > PRINT "" > > PRINT "
" > > > > CASE "/enviar", "/enviar/" > > > > PRINT "sending" > > TRY PRINT "

Fields.Count=" & CString(Request.Fields.Count) > > TRY PRINT "

Fields[0]=" & Request.Fields[0] > > TRY PRINT "

Fields[filename]=" & Request.Fields["filename"] > > > > END SELECT > > > > Response.End > > > > '---------------- > > And, after uploading the file, the web browser output is: > > sending > > > > Fields.Count=2 > > > > Fields[0]=filename > > '--------------- > > > > You should see: > > Fields.Count=2 > Fields[0]=filename > Fields[filename]= > > If the third line is missing, that means there is an error. > > So I'd like to see the exact error message. > > Anyway can you dump the request sent by the web server before gb.web gets > it? > I don't know how to do that... sorry From dcamposf at ...626... Fri Sep 14 16:56:20 2007 From: dcamposf at ...626... (Daniel Campos) Date: Fri, 14 Sep 2007 16:56:20 +0200 Subject: [Gambas-user] Use of Request.Files in gb.web In-Reply-To: <8eb28a500709140728m2c79de43w62a1cca164a09adb@...627...> References: <8eb28a500709140540t7c057e11p28629f0030215d01@...627...> <200709141506.22345.gambas@...1...> <8eb28a500709140634j59f61870ib5acf86beae9b88c@...627...> <200709141610.06378.gambas@...1...> <8eb28a500709140728m2c79de43w62a1cca164a09adb@...627...> Message-ID: <7259b5ae0709140756x1ab6d628g28b92029be1fa253@...627...> > > I don't know how to do that... sorry You can get any web server request in a CGI reading it from the standard input and then placing it in a file, for example. PUBLIC SUB Main() Dim Buf AS STRING DO UNTIL Eof() READ Buf ' PRINT BUF in any file LOOP END From jredrejo at ...626... Fri Sep 14 17:07:44 2007 From: jredrejo at ...626... (=?ISO-8859-1?Q?Jos=E9_Luis_Redrejo?=) Date: Fri, 14 Sep 2007 17:07:44 +0200 Subject: [Gambas-user] Use of Request.Files in gb.web In-Reply-To: <200709141610.06378.gambas@...1...> References: <8eb28a500709140540t7c057e11p28629f0030215d01@...627...> <200709141506.22345.gambas@...1...> <8eb28a500709140634j59f61870ib5acf86beae9b88c@...627...> <200709141610.06378.gambas@...1...> Message-ID: <8eb28a500709140807o1ac0150ela46c7df47691d21@...627...> 2007/9/14, Benoit Minisini : > > On vendredi 14 septembre 2007, Jos? Luis Redrejo wrote: > > 2007/9/14, Benoit Minisini : > > > On vendredi 14 septembre 2007, Jos? Luis Redrejo wrote: > > > > Hi, Beno?t, > > > > Fighting with gb.web and its lack of documentation, > > > > I'm trying to use Request.Files to get an uploaded file, but I'm > not > > > > > > able > > > > > > > to recover the file. > > > > Could you give a few lines of code with an example? or just a tip to > > > > can > > > > > > go > > > > > > > on... > > > > > > > > Regards. > > > > > > Of course: > > > > > > If in your form, you have the following file field: > > > > > >

> > > ... > > > > > > ... > > >
> > > > > > then gb.web will store the uploaded file in the process temporary > > > directory, > > > and Request.Fields["filename"] will return the path to this temporary > > > file. > > > > > > Of course your form must use method="post", and > > > enctype="multipart/form-data". > > > > > > Is it clearer? > > > > I must be a little closed minded today. > > > > I'm using this code: > > > > PUBLIC SUB Main() > > DIM directorio AS String > > > > > > directorio = Request.Path > > Response.Begin > > > > SELECT CASE directorio > > CASE "/", "" > > > > PRINT "

" & ("Example") & "

" > > PRINT "

> method=\"POST\" enctype=\"multipart/form-data\">" > > PRINT "Archivo de datos: type=\"file\">
" > > PRINT "" > > PRINT "
" > > > > CASE "/enviar", "/enviar/" > > > > PRINT "sending" > > TRY PRINT "

Fields.Count=" & CString(Request.Fields.Count) > > TRY PRINT "

Fields[0]=" & Request.Fields[0] > > TRY PRINT "

Fields[filename]=" & Request.Fields["filename"] > > > > END SELECT > > > > Response.End > > > > '---------------- > > And, after uploading the file, the web browser output is: > > sending > > > > Fields.Count=2 > > > > Fields[0]=filename > > '--------------- > > > > You should see: > > Fields.Count=2 > Fields[0]=filename > Fields[filename]= > > If the third line is missing, that means there is an error. > Checking gb.web component code, Fields is returned from the $aField variable that's defined as a String[], so if it's an array, Fields["filename"] is not possible, it needs an integer as index. So, or there's a bug, or that's not to be used the way you remember ... From jredrejo at ...626... Fri Sep 14 17:23:56 2007 From: jredrejo at ...626... (=?ISO-8859-1?Q?Jos=E9_Luis_Redrejo?=) Date: Fri, 14 Sep 2007 17:23:56 +0200 Subject: [Gambas-user] Use of Request.Files in gb.web In-Reply-To: <200709141506.22345.gambas@...1...> References: <8eb28a500709140540t7c057e11p28629f0030215d01@...627...> <200709141506.22345.gambas@...1...> Message-ID: <8eb28a500709140823r1528802br392b2340474a9f00@...627...> 2007/9/14, Benoit Minisini : > > On vendredi 14 septembre 2007, Jos? Luis Redrejo wrote: > > Hi, Beno?t, > > Fighting with gb.web and its lack of documentation, > > I'm trying to use Request.Files to get an uploaded file, but I'm not > able > > to recover the file. > > Could you give a few lines of code with an example? or just a tip to can > go > > on... > > > > Regards. > > Of course: > > If in your form, you have the following file field: > >

> ... > > ... >
> > then gb.web will store the uploaded file in the process temporary > directory, > and Request.Fields["filename"] will return the path to this temporary > file. > > Of course your form must use method="post", and > enctype="multipart/form-data". > > Is it clearer? > Ok, now it's clear for me (and working): - You said Fields where you mean Files - Files don't work unless you get fields first. I.e.: TRY PRINT "

Archivos.Count=" & CString(Request.Files.Count) TRY PRINT "

Archivos[0]=" & Request.Files["filename"] Doesn't work, but this other code works as a charm: TRY PRINT "

Campos=" & Request.Fields.Count TRY PRINT "

Campos[filename]=" & Request[Request.Fields[0]] TRY PRINT "

Archivos.Count=" & CString(Request.Files.Count) TRY PRINT "

Archivos[0]=" & Request.Files["filename"] Maybe it's a logical behaviour, but maybe for people like me who are not too smart that's something to document somewhere ;-) From gambas at ...1... Fri Sep 14 17:17:58 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 14 Sep 2007 17:17:58 +0200 Subject: [Gambas-user] Use of Request.Files in gb.web In-Reply-To: <8eb28a500709140807o1ac0150ela46c7df47691d21@...627...> References: <8eb28a500709140540t7c057e11p28629f0030215d01@...627...> <200709141610.06378.gambas@...1...> <8eb28a500709140807o1ac0150ela46c7df47691d21@...627...> Message-ID: <200709141717.58923.gambas@...1...> On vendredi 14 septembre 2007, Jos? Luis Redrejo wrote: > 2007/9/14, Benoit Minisini : > > On vendredi 14 septembre 2007, Jos? Luis Redrejo wrote: > > > 2007/9/14, Benoit Minisini : > > > > On vendredi 14 septembre 2007, Jos? Luis Redrejo wrote: > > > > > Hi, Beno?t, > > > > > Fighting with gb.web and its lack of documentation, > > > > > I'm trying to use Request.Files to get an uploaded file, but I'm > > > > not > > > > > > able > > > > > > > > > to recover the file. > > > > > Could you give a few lines of code with an example? or just a tip > > > > > to can > > > > > > > > go > > > > > > > > > on... > > > > > > > > > > Regards. > > > > > > > > Of course: > > > > > > > > If in your form, you have the following file field: > > > > > > > >

> > > > ... > > > > > > > > ... > > > >
> > > > > > > > then gb.web will store the uploaded file in the process temporary > > > > directory, > > > > and Request.Fields["filename"] will return the path to this temporary > > > > file. > > > > > > > > Of course your form must use method="post", and > > > > enctype="multipart/form-data". > > > > > > > > Is it clearer? > > > > > > I must be a little closed minded today. > > > > > > I'm using this code: > > > > > > PUBLIC SUB Main() > > > DIM directorio AS String > > > > > > > > > directorio = Request.Path > > > Response.Begin > > > > > > SELECT CASE directorio > > > CASE "/", "" > > > > > > PRINT "

" & ("Example") & "

" > > > PRINT "

> > method=\"POST\" enctype=\"multipart/form-data\">" > > > PRINT "Archivo de datos: > > > type=\"file\">
" > > > > > PRINT "" > > > PRINT "
" > > > > > > CASE "/enviar", "/enviar/" > > > > > > PRINT "sending" > > > TRY PRINT "

Fields.Count=" & CString(Request.Fields.Count) > > > TRY PRINT "

Fields[0]=" & Request.Fields[0] > > > TRY PRINT "

Fields[filename]=" & Request.Fields["filename"] > > > > > > END SELECT > > > > > > Response.End > > > > > > '---------------- > > > And, after uploading the file, the web browser output is: > > > sending > > > > > > Fields.Count=2 > > > > > > Fields[0]=filename > > > '--------------- > > > > You should see: > > > > Fields.Count=2 > > Fields[0]=filename > > Fields[filename]= > > > > If the third line is missing, that means there is an error. > > Checking gb.web component code, Fields is returned from the $aField > variable that's defined as a String[], so if it's an array, > Fields["filename"] is not possible, it needs an integer as index. > So, or there's a bug, or that's not to be used the way you remember ... Oops! Of course... The right code is: PRINT Request.Files["filename"] Regards, -- Benoit Minisini From gambas at ...1... Sat Sep 15 13:52:01 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 15 Sep 2007 13:52:01 +0200 Subject: [Gambas-user] why not work on rev 630 In-Reply-To: <46EB7B32.1040501@...1248...> References: <46EB7B32.1040501@...1248...> Message-ID: <200709151352.01427.gambas@...1...> On samedi 15 septembre 2007, you wrote: > Hi Benoit. > > > First must say, gambas is great, realy good work. > > Latest svn rev. 630 compiled ok, but when I startet my project that have > worked a couple of years. There was something that did not work anymore. > It was my referer to r!id where r is defines as result. > The id is fieldname from sqlite. Now I get the error unknown r!Id. > Strange part is it does refer to the error i capital i not lowercase as > I have written. > I took a screen dump , because the project is to large so send. (not in mb) > > Hope it will help to see what could be wrong. Yes, it helps. This is a bug in the compiler with the '!' operator, that nobody noticed before because the database component was not case-sensitive. It will be fixed in the next commit. Regards, -- Benoit Minisini From rohnny at ...1248... Sat Sep 15 16:50:15 2007 From: rohnny at ...1248... (R. Stormo) Date: Sat, 15 Sep 2007 07:50:15 -0700 (PDT) Subject: [Gambas-user] why not work on rev 630 (Solved) In-Reply-To: <200709151352.01427.gambas@...1...> References: <200709151352.01427.gambas@...1...> Message-ID: <12690833.post@...1379...> Benoit Minisini wrote: > > On samedi 15 septembre 2007, you wrote: >> Hi Benoit. >> >> >> First must say, gambas is great, realy good work. >> >> Latest svn rev. 630 compiled ok, but when I startet my project that have >> worked a couple of years. There was something that did not work anymore. >> It was my referer to r!id where r is defines as result. >> The id is fieldname from sqlite. Now I get the error unknown r!Id. >> Strange part is it does refer to the error i capital i not lowercase as >> I have written. >> I took a screen dump , because the project is to large so send. (not in >> mb) >> >> Hope it will help to see what could be wrong. > > Yes, it helps. > > This is a bug in the compiler with the '!' operator, that nobody noticed > before because the database component was not case-sensitive. > > It will be fixed in the next commit. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > svn 631 ls working ok. Everything works again. Thanks. -- R. Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://gambasforum.tk -- View this message in context: http://www.nabble.com/Re%3A-why-not-work-on-rev-630-tf4447533.html#a12690833 Sent from the gambas-user mailing list archive at Nabble.com. From steven at ...1652... Tue Sep 18 15:23:36 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Tue, 18 Sep 2007 15:23:36 +0200 Subject: [Gambas-user] Mysql Message-ID: <200709181523.36443.steven@...1652...> Hi, If I do an db.Exec statement with an "order by" condition in it, should the result set be sorted (for each ...) or not ? Thanks, Steven From gambas at ...1... Tue Sep 18 15:28:33 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 18 Sep 2007 15:28:33 +0200 Subject: [Gambas-user] Mysql In-Reply-To: <200709181523.36443.steven@...1652...> References: <200709181523.36443.steven@...1652...> Message-ID: <200709181528.33102.gambas@...1...> On mardi 18 septembre 2007, Steven Lobbezoo wrote: > Hi, > > If I do an db.Exec statement with an "order by" condition in it, > should the result set be sorted (for each ...) or not ? > > Thanks, > Steven > Yes, it should. -- Benoit Minisini From david_villalobos_c at ...43... Tue Sep 18 15:33:46 2007 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Tue, 18 Sep 2007 06:33:46 -0700 (PDT) Subject: [Gambas-user] WorkSpace Message-ID: <863035.41307.qm@...1656...> Hi all, I have a question, I'm using a WorkSpace (gb.form.mdi) to embbed some forms, it works great, but if my WorkSpace is 800X600 and the new windows is 200X200 the new window is expanded to fit 800X600. How can I do keep the original weigth and heigth? Regards ____________________________________________________________________________________ Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/ From wspinto at ...1405... Tue Sep 18 19:01:58 2007 From: wspinto at ...1405... (Wellington de Souza Pinto) Date: Tue, 18 Sep 2007 14:01:58 -0300 Subject: [Gambas-user] Bug (Fields in Results is case sensitive Now) In-Reply-To: References: Message-ID: <1190134918.46f0048655d78@...1406...> Hi every one!!! Is Bug or not??? In may old projects gb2 ver 50 i'm use call the fields in this method: oTable = myConnection.EXEC("SELECT pc_nome FROM myFile") PRINT oTable["pc_nome"] or PRINT oTable["PC_NOME"] or oTable["Pc_Nome"] -> work fine In Table the DaTabase Server my field is lower case pc_nome Now in rev 630 or ther rev > 540 PRINT oTable["PC_NOME"] not work more. (Field not exist in result...) PRINT oTable["Pc_Nome"] not work more. (Field not exist in result...) PRINT oTable["pc_nome"] Work fine Why?????????????? I'm need change all my projects???? Reguards, Souza, Wellington ___________________________________________________________________________________ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! From gambas at ...1... Tue Sep 18 20:11:05 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 18 Sep 2007 20:11:05 +0200 Subject: [Gambas-user] Bug (Fields in Results is case sensitive Now) In-Reply-To: <1190134918.46f0048655d78@...1406...> References: <1190134918.46f0048655d78@...1406...> Message-ID: <200709182011.05806.gambas@...1...> On mardi 18 septembre 2007, Wellington de Souza Pinto wrote: > Hi every one!!! > > Is Bug or not??? > > In may old projects gb2 ver 50 i'm use call the fields in this method: > > oTable = myConnection.EXEC("SELECT pc_nome FROM myFile") > > PRINT oTable["pc_nome"] or PRINT oTable["PC_NOME"] or oTable["Pc_Nome"] > -> work fine > > In Table the DaTabase Server my field is lower case pc_nome > > Now in rev 630 or ther rev > 540 > > PRINT oTable["PC_NOME"] not work more. (Field not exist in result...) > PRINT oTable["Pc_Nome"] not work more. (Field not exist in result...) > PRINT oTable["pc_nome"] Work fine > > Why?????????????? > > I'm need change all my projects???? > > Reguards, > > Souza, Wellington > ___________________________________________________________________________ >________ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A > Embratel tem tarifas muito baratas esperando por voc?. Aproveite! > Database component is now case sensitive, but Result array accessor may become case unsensitive in the future because of such problems. Please read my mail about this change for more information (subject is "big change in database component"). Regards, -- Benoit Minisini From timothy.marshal-nichols at ...247... Wed Sep 19 09:05:19 2007 From: timothy.marshal-nichols at ...247... (timothy) Date: Wed, 19 Sep 2007 08:05:19 +0100 Subject: [Gambas-user] WorkSpace In-Reply-To: <863035.41307.qm@...1656...> Message-ID: <000001c7fa8b$718813d0$6401a8c0@...1587...> > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net] On Behalf > Of David Villalobos Cambronero > Sent: Tuesday, 18 September 2007 02:34 PM > To: Gambas Ingl?s > Subject: [Gambas-user] WorkSpace > > > Hi all, > > I have a question, I'm using a WorkSpace (gb.form.mdi) to > embbed some forms, it works great, but if my WorkSpace is > 800X600 and the new windows is 200X200 the new window is > expanded to fit 800X600. How can I do keep the original > weigth and heigth? > > Regards > > > > > Why not put a ScrollView on the form you embed in the Workspace. Set this forms Arrangement property to Fill. Then all your other controls go inside the ScrollView. Thanks 8-{)} Timothy Marshal-Nichols From gael.lehech at ...626... Wed Sep 19 11:39:22 2007 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Wed, 19 Sep 2007 11:39:22 +0200 Subject: [Gambas-user] Restore of .conf during runtime Message-ID: hi all, Is it possible to take into account the restore of myapp.conf during the execution of myapp.gambas ? From david_villalobos_c at ...43... Wed Sep 19 14:21:46 2007 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Wed, 19 Sep 2007 05:21:46 -0700 (PDT) Subject: [Gambas-user] WorkSpace Message-ID: <885134.93768.qm@...1668...> I'll try, many thanks David ----- Original Message ---- From: timothy To: mailing list for gambas users Sent: Wednesday, September 19, 2007 1:05:19 AM Subject: Re: [Gambas-user] WorkSpace > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net] On Behalf > Of David Villalobos Cambronero > Sent: Tuesday, 18 September 2007 02:34 PM > To: Gambas Ingl?s > Subject: [Gambas-user] WorkSpace > > > Hi all, > > I have a question, I'm using a WorkSpace (gb.form.mdi) to > embbed some forms, it works great, but if my WorkSpace is > 800X600 and the new windows is 200X200 the new window is > expanded to fit 800X600. How can I do keep the original > weigth and heigth? > > Regards > > > > > Why not put a ScrollView on the form you embed in the Workspace. Set this forms Arrangement property to Fill. Then all your other controls go inside the ScrollView. Thanks 8-{)} Timothy Marshal-Nichols ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ____________________________________________________________________________________ Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 From david_villalobos_c at ...43... Wed Sep 19 14:30:59 2007 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Wed, 19 Sep 2007 05:30:59 -0700 (PDT) Subject: [Gambas-user] Wisdow for gambas users Message-ID: <843244.75599.qm@...1655...> Hi, all It is not a big problem but... I just want ot know if I'm doing something wrong I complie Wisdows, for me it looks great, but if I enter in Gambas and in a form write: Message.Info( It is normal to show the ToolTip, but if I use Wisdow, the yellow box appears, but not the text. I'm mising something? Regards David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas users Sent: Saturday, August 25, 2007 7:06:17 PM Subject: Re: [Gambas-user] Wisdow for gambas users On samedi 25 ao?t 2007, Benoit Minisini wrote: > Hi, > > This is not really related to Gambas, but it might interest some people. > > I have patched the Plastik style, and made a new style from it that I > named 'Wisdow'. > > Here are the differences with Plastik: > - Windows XP-like arrows. > - Tree branches can be hidden. > - The kicker panel draws its one-pixel border in dark gray. > - Panel 3D effects are lighter. > - Popup menus border follows the color scheme. > - Toolbar and menu separators are lighter. > - Other horizontal and vertical separators are removed. > - Group boxes are drawn in a Gnome-like look (i.e. without frame). > - Tab height is fixed: two pixels were missing. > > You can download it at: > > http://downloads.sourceforge.net/gambas/wisdow-0.1.tar.bz2?download > > Enjoy it! > > Regards, I have released a O.2 version that fixes many bugs. Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ____________________________________________________________________________________ Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more! http://tv.yahoo.com/collections/3658 From gambas at ...1... Wed Sep 19 18:59:06 2007 From: gambas at ...1... (Benoit Minisini) Date: Wed, 19 Sep 2007 18:59:06 +0200 Subject: [Gambas-user] Release of gambas 1.9.51 Message-ID: <200709191859.06613.gambas@...1...> Hi, Here is a new snapshot of the development version, released as the 1.9.51 version. The database component is now case sensitive, and so some applications may break, as Wellington de Suza Pinto has noticed. I plan to make the Result array operator case unsensitive, but I didn't have the time to do it for this release. The gb.qt and gb.gtk now share more code, especially the drawing routines that were moved to a dedicated common component. The features that cannot be common are put in the gb.qt.ext and gb.gtk.ext extension components. As the drawing routines were put in common, some features were lost: * The ability to have a rotated transformation matrix with Draw.Rotate(). * The ability to draw rounded rectangles with Draw.RoundRect(). But you gained the ability to draw rich text, with Draw.RichText. Rich text is a subset of HTML, like what you can put in a TextLabel. The development environment menus were lightly reorganized. The IDE project property component list and the debugging windows were redesigned. There is a new catalan translation, made by Jordi Sayol. Not that Jordi did not translated the IDE and the database manager only, but all the examples! And you will find a new experimental component made by Fabien Bodard, gb.chart, that draws... charts. There are anyway tons of bugfixes. See the ChangeLog for the details, at http://gambas.sourceforge.net/changelog2.html. Regards, -- Benoit Minisini From corsham at ...1776... Thu Sep 20 08:51:41 2007 From: corsham at ...1776... (Steve Hible) Date: 20 Sep 2007 07:51:41 +0100 Subject: [Gambas-user] Tab order? Message-ID: From gambas at ...1... Thu Sep 20 11:44:58 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 20 Sep 2007 11:44:58 +0200 Subject: [Gambas-user] Restore of .conf during runtime In-Reply-To: References: Message-ID: <200709201144.58431.gambas@...1...> On mercredi 19 septembre 2007, Ga?l Le Hec'H wrote: > hi all, > Is it possible to take into account the restore of myapp.conf during the > execution of myapp.gambas ? What do you mean exactly? Reloading the default configuration file? -- Benoit Minisini From rospolosco at ...152... Thu Sep 20 13:39:34 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Thu, 20 Sep 2007 13:39:34 +0200 Subject: [Gambas-user] bug? in textbox.alignment in 1.9.51 Message-ID: <200709201339.35076.rospolosco@...152...> Hi, all. Hi, Benoit. Just downloaded 1.9.51. I opened an old project of mine with a lot of textboxes. When I write something in the textbox and then press Enter, the text goes upper and it moves to the center. But with 1.9.51, .alignment = 68 doesn't work anymore? Did I miss something? I've attached a little example to show the bug. Regards, Stefano Palmeri -------------- next part -------------- A non-text attachment was scrubbed... Name: align-0.0.1.tar.gz Type: application/x-tgz Size: 4337 bytes Desc: not available URL: From gambas.fr at ...626... Thu Sep 20 14:14:58 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 20 Sep 2007 14:14:58 +0200 Subject: [Gambas-user] bug? in textbox.alignment in 1.9.51 In-Reply-To: <200709201339.35076.rospolosco@...152...> References: <200709201339.35076.rospolosco@...152...> Message-ID: <200709201414.58928.gambas.fr@...626...> On Thursday 20 September 2007 13:39:34 Stefano Palmeri wrote: > Hi, all. Hi, Benoit. > > Just downloaded 1.9.51. I opened an old project of mine with a lot of > textboxes. When I write something in the textbox and then press Enter, the > text goes upper and it moves to the center. But with 1.9.51, .alignment = > 68 doesn't work anymore? Did I miss something? I've attached a little > example to show the bug. > > Regards, > > Stefano Palmeri Replace the 68 by Align.AlignMode : Align.Left Align.Right You are using static Value and maybe it have changed between gb1 and gb2 From rospolosco at ...152... Thu Sep 20 14:35:46 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Thu, 20 Sep 2007 14:35:46 +0200 Subject: [Gambas-user] bug? in textbox.alignment in 1.9.51 In-Reply-To: <200709201414.58928.gambas.fr@...626...> References: <200709201339.35076.rospolosco@...152...> <200709201414.58928.gambas.fr@...626...> Message-ID: <200709201435.46526.rospolosco@...152...> Alle 14:14, gioved? 20 settembre 2007, Fabien Bodard ha scritto: > On Thursday 20 September 2007 13:39:34 Stefano Palmeri wrote: > > Hi, all. Hi, Benoit. > > > > Just downloaded 1.9.51. I opened an old project of mine with a lot of > > textboxes. When I write something in the textbox and then press Enter, > > the text goes upper and it moves to the center. But with 1.9.51, > > .alignment = 68 doesn't work anymore? Did I miss something? I've attached > > a little example to show the bug. > > > > Regards, > > > > Stefano Palmeri > > Replace the 68 by Align.AlignMode : > > Align.Left > Align.Right > I didn't have the bug in 1.9.50. I will try your solution. Thanks, Stefano > You are using static Value and maybe it have changed between gb1 and gb2 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From rospolosco at ...152... Thu Sep 20 14:48:36 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Thu, 20 Sep 2007 14:48:36 +0200 Subject: [Gambas-user] bug? in textbox.alignment in 1.9.51 In-Reply-To: <200709201435.46526.rospolosco@...152...> References: <200709201339.35076.rospolosco@...152...> <200709201414.58928.gambas.fr@...626...> <200709201435.46526.rospolosco@...152...> Message-ID: <200709201448.36900.rospolosco@...152...> Alle 14:35, gioved? 20 settembre 2007, Stefano Palmeri ha scritto: > Alle 14:14, gioved? 20 settembre 2007, Fabien Bodard ha scritto: > > On Thursday 20 September 2007 13:39:34 Stefano Palmeri wrote: > > > Hi, all. Hi, Benoit. > > > > > > Just downloaded 1.9.51. I opened an old project of mine with a lot of > > > textboxes. When I write something in the textbox and then press Enter, > > > the text goes upper and it moves to the center. But with 1.9.51, > > > .alignment = 68 doesn't work anymore? Did I miss something? I've > > > attached a little example to show the bug. > > > > > > Regards, > > > > > > Stefano Palmeri > > > > Replace the 68 by Align.AlignMode : > > > > Align.Left > > Align.Right > > I didn't have the bug in 1.9.50. I will try your solution. > > Thanks, > > Stefano > OK. It works with ... = Align.Center. Does it mean that .alignment = 68 will not work anymore or is it a current bug? Thanks, Stefano > > You are using static Value and maybe it have changed between gb1 and gb2 > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Thu Sep 20 15:22:45 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 20 Sep 2007 15:22:45 +0200 Subject: [Gambas-user] bug? in textbox.alignment in 1.9.51 In-Reply-To: <200709201339.35076.rospolosco@...152...> References: <200709201339.35076.rospolosco@...152...> Message-ID: <200709201522.46412.gambas.fr@...626...> On Thursday 20 September 2007 13:39:34 Stefano Palmeri wrote: > Hi, all. Hi, Benoit. > > Just downloaded 1.9.51. I opened an old project of mine with a lot of > textboxes. When I write something in the textbox and then press Enter, the > text goes upper and it moves to the center. But with 1.9.51, .alignment = > 68 doesn't work anymore? Did I miss something? I've attached a little > example to show the bug. > > Regards, > > Stefano Palmeri I've trying it ... now align.center = 3 no 68 The help is false From gambas.fr at ...626... Thu Sep 20 15:24:46 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 20 Sep 2007 15:24:46 +0200 Subject: [Gambas-user] bug? in textbox.alignment in 1.9.51 In-Reply-To: <200709201448.36900.rospolosco@...152...> References: <200709201339.35076.rospolosco@...152...> <200709201435.46526.rospolosco@...152...> <200709201448.36900.rospolosco@...152...> Message-ID: <200709201524.46847.gambas.fr@...626...> On Thursday 20 September 2007 14:48:36 Stefano Palmeri wrote: > Alle 14:35, gioved? 20 settembre 2007, Stefano Palmeri ha scritto: > > Alle 14:14, gioved? 20 settembre 2007, Fabien Bodard ha scritto: > > > On Thursday 20 September 2007 13:39:34 Stefano Palmeri wrote: > > > > Hi, all. Hi, Benoit. > > > > > > > > Just downloaded 1.9.51. I opened an old project of mine with a lot of > > > > textboxes. When I write something in the textbox and then press > > > > Enter, the text goes upper and it moves to the center. But with > > > > 1.9.51, .alignment = 68 doesn't work anymore? Did I miss something? > > > > I've attached a little example to show the bug. > > > > > > > > Regards, > > > > > > > > Stefano Palmeri > > > > > > Replace the 68 by Align.AlignMode : > > > > > > Align.Left > > > Align.Right > > > > I didn't have the bug in 1.9.50. I will try your solution. > > > > Thanks, > > > > Stefano > > OK. It works with ... = Align.Center. Does it mean that .alignment = 68 > will not work anymore or is it a current bug? > > Thanks, > > Stefano Not a bug but an internal change... prefer the use of dynamic constant to static one when gb.qt internal change, it will not affect your program..; gambas2 is not finished :) Fabien From rospolosco at ...152... Thu Sep 20 16:33:10 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Thu, 20 Sep 2007 16:33:10 +0200 Subject: [Gambas-user] bug? in textbox.alignment in 1.9.51 In-Reply-To: <200709201524.46847.gambas.fr@...626...> References: <200709201339.35076.rospolosco@...152...> <200709201448.36900.rospolosco@...152...> <200709201524.46847.gambas.fr@...626...> Message-ID: <200709201633.10955.rospolosco@...152...> Alle 15:24, gioved? 20 settembre 2007, Fabien Bodard ha scritto: > On Thursday 20 September 2007 14:48:36 Stefano Palmeri wrote: > > Alle 14:35, gioved? 20 settembre 2007, Stefano Palmeri ha scritto: > > > Alle 14:14, gioved? 20 settembre 2007, Fabien Bodard ha scritto: > > > > On Thursday 20 September 2007 13:39:34 Stefano Palmeri wrote: > > > > > Hi, all. Hi, Benoit. > > > > > > > > > > Just downloaded 1.9.51. I opened an old project of mine with a lot > > > > > of textboxes. When I write something in the textbox and then press > > > > > Enter, the text goes upper and it moves to the center. But with > > > > > 1.9.51, .alignment = 68 doesn't work anymore? Did I miss something? > > > > > I've attached a little example to show the bug. > > > > > > > > > > Regards, > > > > > > > > > > Stefano Palmeri > > > > > > > > Replace the 68 by Align.AlignMode : > > > > > > > > Align.Left > > > > Align.Right > > > > > > I didn't have the bug in 1.9.50. I will try your solution. > > > > > > Thanks, > > > > > > Stefano > > > > OK. It works with ... = Align.Center. Does it mean that .alignment = 68 > > will not work anymore or is it a current bug? > > > > Thanks, > > > > Stefano > > Not a bug but an internal change... prefer the use of dynamic constant to > static one > > when gb.qt internal change, it will not affect your program..; gambas2 is > not finished :) > > Fabien A big thank you, Fabien. Stefano > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Sep 20 18:07:42 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 20 Sep 2007 18:07:42 +0200 Subject: [Gambas-user] bug? in textbox.alignment in 1.9.51 In-Reply-To: <200709201522.46412.gambas.fr@...626...> References: <200709201339.35076.rospolosco@...152...> <200709201522.46412.gambas.fr@...626...> Message-ID: <200709201807.42850.gambas@...1...> On jeudi 20 septembre 2007, Fabien Bodard wrote: > On Thursday 20 September 2007 13:39:34 Stefano Palmeri wrote: > > Hi, all. Hi, Benoit. > > > > Just downloaded 1.9.51. I opened an old project of mine with a lot of > > textboxes. When I write something in the textbox and then press Enter, > > the text goes upper and it moves to the center. But with 1.9.51, > > .alignment = 68 doesn't work anymore? Did I miss something? I've attached > > a little example to show the bug. > > > > Regards, > > > > Stefano Palmeri > > I've trying it ... now align.center = 3 no 68 > > The help is false > The help has not been updated yet. Never use the numeric values, always use the constants, or you will face these kind of problems sooner or later. Regards, -- Benoit Minisini From gael.lehech at ...626... Fri Sep 21 08:53:02 2007 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Fri, 21 Sep 2007 08:53:02 +0200 Subject: [Gambas-user] Restore of .conf during runtime In-Reply-To: <200709201144.58431.gambas@...1...> References: <200709201144.58431.gambas@...1...> Message-ID: hi, with this it should be more clear. what I want to do is restore all the settings without having to leave the application. If the settings file is modifed, I didn't found any mean to reload it. what I search is the exact counterpart of Settings.save(). 2007/9/20, Benoit Minisini : > > On mercredi 19 septembre 2007, Ga?l Le Hec'H wrote: > > hi all, > > Is it possible to take into account the restore of myapp.conf during the > > execution of myapp.gambas ? > > What do you mean exactly? Reloading the default configuration file? > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: test_settings-0.0.1.tar.gz Type: application/x-gzip Size: 4420 bytes Desc: not available URL: From steven at ...1652... Fri Sep 21 11:08:42 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Fri, 21 Sep 2007 11:08:42 +0200 Subject: [Gambas-user] Restore of .conf during runtime In-Reply-To: References: <200709201144.58431.gambas@...1...> Message-ID: <200709211108.42561.steven@...1652...> hi, i did this (sample) IF settings["Ccrit/" & Str(r)] THEN tmp = Split(settings["Ccrit/" & Str(r)], "|") GridView1.Rows.Count = GridView1.Rows.Count + 1 GridView1[i, 2].Text = tmp[0] IF Len(tmp[0]) > w THEN w = Len(tmp[0]) GridView1[i, 0].Text = tmp[1] GridView1[i, 1].Picture = Picture["Images/list-remove.png"] GridView1[i, 3].Text = Str(r) END IF regards, Steven Le vendredi 21 septembre 2007 08:53, Ga?l Le Hec'H a ?crit?: > hi, > with this it should be more clear. what I want to do is restore all the > settings without having to leave the application. If the settings file is > modifed, I didn't found any mean to reload it. what I search is the exact > counterpart of Settings.save(). > > 2007/9/20, Benoit Minisini : > > On mercredi 19 septembre 2007, Ga?l Le Hec'H wrote: > > > hi all, > > > Is it possible to take into account the restore of myapp.conf during > > > the execution of myapp.gambas ? > > > > What do you mean exactly? Reloading the default configuration file? > > > > -- > > Benoit Minisini > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Sep 21 16:27:24 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 21 Sep 2007 16:27:24 +0200 Subject: [Gambas-user] Wisdow for gambas users In-Reply-To: <843244.75599.qm@...1655...> References: <843244.75599.qm@...1655...> Message-ID: <200709211627.24735.gambas@...1...> On mercredi 19 septembre 2007, David Villalobos Cambronero wrote: > Hi, all > It is not a big problem but... I just want ot know if I'm doing > something wrong > > I complie Wisdows, for me it looks great, but if I enter in Gambas and > in a form write: > > Message.Info( > > It is normal to show the ToolTip, but if I use Wisdow, the yellow box > appears, but not the text. > > I'm mising something? > > Regards > > David > Which version of wisdow do you use? -- Benoit Minisini From gambas at ...1... Fri Sep 21 16:34:10 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 21 Sep 2007 16:34:10 +0200 Subject: [Gambas-user] Restore of .conf during runtime In-Reply-To: References: <200709201144.58431.gambas@...1...> Message-ID: <200709211634.10661.gambas@...1...> On vendredi 21 septembre 2007, Ga?l Le Hec'H wrote: > hi, > with this it should be more clear. what I want to do is restore all the > settings without having to leave the application. If the settings file is > modifed, I didn't found any mean to reload it. what I search is the exact > counterpart of Settings.save(). > I added a Settings.Reload() method that reloads the settings file from disk. You will get it in the next revision (659). Regards, -- Benoit Minisini From david_villalobos_c at ...43... Fri Sep 21 17:13:58 2007 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Fri, 21 Sep 2007 08:13:58 -0700 (PDT) Subject: [Gambas-user] Wisdow for gambas users Message-ID: <739096.88454.qm@...1655...> this one: http://downloads.sourceforge.net/gambas/wisdow-0.1.tar.bz2?download On Mandriva 2007.1 ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas users Sent: Friday, September 21, 2007 8:27:24 AM Subject: Re: [Gambas-user] Wisdow for gambas users On mercredi 19 septembre 2007, David Villalobos Cambronero wrote: > Hi, all > It is not a big problem but... I just want ot know if I'm doing > something wrong > > I complie Wisdows, for me it looks great, but if I enter in Gambas and > in a form write: > > Message.Info( > > It is normal to show the ToolTip, but if I use Wisdow, the yellow box > appears, but not the text. > > I'm mising something? > > Regards > > David > Which version of wisdow do you use? -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ____________________________________________________________________________________ Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos. http://autos.yahoo.com/index.html From gael.lehech at ...626... Fri Sep 21 22:18:28 2007 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Fri, 21 Sep 2007 22:18:28 +0200 Subject: [Gambas-user] Restore of .conf during runtime In-Reply-To: <200709211634.10661.gambas@...1...> References: <200709201144.58431.gambas@...1...> <200709211634.10661.gambas@...1...> Message-ID: thanks a lot Benoit. may I do suggestion ? how about offer the option to generate the executable and upload to ftp ? 2007/9/21, Benoit Minisini : > > On vendredi 21 septembre 2007, Ga?l Le Hec'H wrote: > > hi, > > with this it should be more clear. what I want to do is restore all the > > settings without having to leave the application. If the settings file > is > > modifed, I didn't found any mean to reload it. what I search is the > exact > > counterpart of Settings.save(). > > > > I added a Settings.Reload() method that reloads the settings file from > disk. > You will get it in the next revision (659). > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ct1egh at ...626... Sat Sep 22 04:55:24 2007 From: ct1egh at ...626... (=?ISO-8859-1?B?QW50825pbw==?= Pereira) Date: Sat, 22 Sep 2007 03:55:24 +0100 Subject: [Gambas-user] FileView Message-ID: <20070922035524.3294304a@...1779...> Hi every one!!! Is there any way to count files listed on a FileView? I try this way: FileView1.Dir = Application.Path FileView1.Filter = ["*.txt", "All Text files"] Message.Info(FileView1.Children.Count) But the returned counter is allways 2 !!! Regards, Antonio From gareth at ...1689... Sat Sep 22 20:34:00 2007 From: gareth at ...1689... (Gareth Bult) Date: Sat, 22 Sep 2007 19:34:00 +0100 (BST) Subject: [Gambas-user] Re; Object to .. conversion Message-ID: <144886.18641190486040060.JavaMail.root@...1708...> Hi, I want to be able to do a lookup based on the object calling the function. My idea is to pass "ME" as the first parameter, then have a static collection in the function which I can look up based on "ME". For example; Print Hello(ME) PUBLIC arr as Collection PRIVATE SUB Hello(obj as Object) RETURN arr.Find(obj) END Now I can't use an object as a key to a collection .. Can anyone tell me how to convert an object (address) into a string ? .. or can anyone see a nicer way of doing what I'm trying to do ? Thanks, Gareth. -- Managing Director, Encryptec Limited Tel: 0845 25 77033, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gambas at ...1... Sat Sep 22 20:52:55 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 22 Sep 2007 20:52:55 +0200 Subject: [Gambas-user] Wisdow for gambas users In-Reply-To: <739096.88454.qm@...1655...> References: <739096.88454.qm@...1655...> Message-ID: <200709222052.55821.gambas@...1...> On vendredi 21 septembre 2007, David Villalobos Cambronero wrote: > this one: > http://downloads.sourceforge.net/gambas/wisdow-0.1.tar.bz2?download > > On Mandriva 2007.1 > You should try the latest one! (0.4) Regards, -- Benoit Minisini From gambas at ...1... Sat Sep 22 20:54:05 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 22 Sep 2007 20:54:05 +0200 Subject: [Gambas-user] FileView In-Reply-To: <20070922035524.3294304a@...1779...> References: <20070922035524.3294304a@...1779...> Message-ID: <200709222054.05121.gambas@...1...> On samedi 22 septembre 2007, Ant?nio Pereira wrote: > Hi every one!!! > > Is there any way to count files listed on a FileView? > I try this way: > > FileView1.Dir = Application.Path > FileView1.Filter = ["*.txt", "All Text files"] > Message.Info(FileView1.Children.Count) > > But the returned counter is allways 2 !!! > > Regards, > > Antonio > You have the FileView.Count property for that now. Regards, -- Benoit Minisini From ct1egh at ...626... Sun Sep 23 02:16:26 2007 From: ct1egh at ...626... (=?ISO-8859-1?B?QW50825pbw==?= Pereira) Date: Sun, 23 Sep 2007 01:16:26 +0100 Subject: [Gambas-user] FileView In-Reply-To: <200709222054.05121.gambas@...1...> References: <20070922035524.3294304a@...1779...> <200709222054.05121.gambas@...1...> Message-ID: <20070923011626.7fc2aaed@...1779...> Hi Benoit, I allready try the FileView.Count property but on release 1.9.50 I got the error message [Unknown symbol 'Count' in class 'FileView'] Any idea??? Regards, Ant?nio Em Sat, 22 Sep 2007 20:54:05 +0200 Benoit Minisini escreveu: > On samedi 22 septembre 2007, Ant?nio Pereira wrote: > > Hi every one!!! > > > > Is there any way to count files listed on a FileView? > > I try this way: > > > > FileView1.Dir = Application.Path > > FileView1.Filter = ["*.txt", "All Text files"] > > Message.Info(FileView1.Children.Count) > > > > But the returned counter is allways 2 !!! > > > > Regards, > > > > Antonio > > > > You have the FileView.Count property for that now. > > Regards, > From ronstk at ...239... Sun Sep 23 02:28:52 2007 From: ronstk at ...239... (ron) Date: Sun, 23 Sep 2007 02:28:52 +0200 Subject: [Gambas-user] FileView In-Reply-To: <20070923011626.7fc2aaed@...1779...> References: <20070922035524.3294304a@...1779...> <200709222054.05121.gambas@...1...> <20070923011626.7fc2aaed@...1779...> Message-ID: <200709230228.53410.ronstk@...239...> On Sunday 23 September 2007 02:16, Ant?nio Pereira wrote: > Hi Benoit, > > I allready try the FileView.Count property but on release 1.9.50 I got > the error message [Unknown symbol 'Count' in class 'FileView'] > > Any idea??? > > Regards, > > Ant?nio > > Em Sat, 22 Sep 2007 20:54:05 +0200 > Benoit Minisini escreveu: > > > On samedi 22 septembre 2007, Ant?nio Pereira wrote: > > > Hi every one!!! > > > > > > Is there any way to count files listed on a FileView? > > > I try this way: > > > > > > FileView1.Dir = Application.Path > > > FileView1.Filter = ["*.txt", "All Text files"] > > > Message.Info(FileView1.Children.Count) > > > > > > But the returned counter is allways 2 !!! > > > > > > Regards, > > > > > > Antonio > > > > > > > You have the FileView.Count property for that now. > > > > Regards, > > You need the SVN version for it. He just have add the property. Ron From rospolosco at ...152... Sun Sep 23 16:20:50 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Sun, 23 Sep 2007 16:20:50 +0200 Subject: [Gambas-user] failed Slackware package building. Message-ID: <200709231620.50380.rospolosco@...152...> I'm running Gambas2 1.9.51. I tried to make a Slackware package of a project and I get an error: Creating package for Slackware. Making build directory. The package build has failed. Package.MakeTgzPackage.840: File or directory does not exist There's no problem when I build a Fedora package. Regards, Stefano Palmeri From rospolosco at ...152... Sun Sep 23 16:58:47 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Sun, 23 Sep 2007 16:58:47 +0200 Subject: [Gambas-user] failed Slackware package building. In-Reply-To: <200709231620.50380.rospolosco@...152...> References: <200709231620.50380.rospolosco@...152...> Message-ID: <200709231658.47583.rospolosco@...152...> Alle 16:20, domenica 23 settembre 2007, Stefano Palmeri ha scritto: > I'm running Gambas2 1.9.51. I tried to make a Slackware package > of a project and I get an error: > > > Creating package for Slackware. > Making build directory. > The package build has failed. > Package.MakeTgzPackage.840: File or directory does not exist > > > There's no problem when I build a Fedora package. > > Regards, > > Stefano Palmeri > Well, I get the bug. The missing file is the compiled project. If I make the project executable before making the Slack package, the bug disappears. It seems that when creating a Slack package the project executable in not compiled before. Regards, Stefano Palmeri > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From rospolosco at ...152... Sun Sep 23 17:11:36 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Sun, 23 Sep 2007 17:11:36 +0200 Subject: [Gambas-user] minor bug in RPM building Message-ID: <200709231711.36270.rospolosco@...152...> I noticed a little error in RPM naming. If my project version is 0.0.73, the RPM version becomes 0.0-73. This affects Fedora, Mandriva and openSuse packages building. Bye, Stefano From gambas at ...1... Sun Sep 23 19:26:17 2007 From: gambas at ...1... (Benoit Minisini) Date: Sun, 23 Sep 2007 19:26:17 +0200 Subject: [Gambas-user] failed Slackware package building. In-Reply-To: <200709231658.47583.rospolosco@...152...> References: <200709231620.50380.rospolosco@...152...> <200709231658.47583.rospolosco@...152...> Message-ID: <200709231926.17530.gambas@...1...> On dimanche 23 septembre 2007, Stefano Palmeri wrote: > Alle 16:20, domenica 23 settembre 2007, Stefano Palmeri ha scritto: > > I'm running Gambas2 1.9.51. I tried to make a Slackware package > > of a project and I get an error: > > > > > > Creating package for Slackware. > > Making build directory. > > The package build has failed. > > Package.MakeTgzPackage.840: File or directory does not exist > > > > > > There's no problem when I build a Fedora package. > > > > Regards, > > > > Stefano Palmeri > > Well, I get the bug. The missing file is the compiled > project. If I make the project executable before making the Slack > package, the bug disappears. > It seems that when creating a Slack package > the project executable in not compiled before. > > Regards, > > Stefano Palmeri > Can you try with the latest svn version? I have fixed a bug in the routine that makes the project executable, and maybe your bug is related to that fix. But I'm not sure. Regards, -- Benoit Minisini From gambas at ...1... Sun Sep 23 19:27:30 2007 From: gambas at ...1... (Benoit Minisini) Date: Sun, 23 Sep 2007 19:27:30 +0200 Subject: [Gambas-user] minor bug in RPM building In-Reply-To: <200709231711.36270.rospolosco@...152...> References: <200709231711.36270.rospolosco@...152...> Message-ID: <200709231927.30349.gambas@...1...> On dimanche 23 septembre 2007, Stefano Palmeri wrote: > I noticed a little error in RPM naming. If my project > version is 0.0.73, the RPM version becomes 0.0-73. > This affects Fedora, Mandriva and openSuse packages building. > > Bye, > > Stefano > I thought it was the standard way of naming versions... Or maybe the version number after the dash is the package version, and must not be used for the program version? -- Benoit Minisini From rospolosco at ...152... Sun Sep 23 19:29:33 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Sun, 23 Sep 2007 19:29:33 +0200 Subject: [Gambas-user] project Slack package Message-ID: <200709231929.33842.rospolosco@...152...> I tracked the bug. This is the problem: if you, for some reason, create an executable of the project *outside* the project directory, e.g your /home/bin/ folder, the next time the IDE tries to build the Slackware package it makes the executable in /home/bin (instead of the project directory) and fails the building process. Regards, Stefano Palmeri From rospolosco at ...152... Sun Sep 23 19:43:10 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Sun, 23 Sep 2007 19:43:10 +0200 Subject: [Gambas-user] minor bug in RPM building In-Reply-To: <200709231927.30349.gambas@...1...> References: <200709231711.36270.rospolosco@...152...> <200709231927.30349.gambas@...1...> Message-ID: <200709231943.10789.rospolosco@...152...> Alle 19:27, domenica 23 settembre 2007, Benoit Minisini ha scritto: > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > I noticed a little error in RPM naming. If my project > > version is 0.0.73, the RPM version becomes 0.0-73. > > This affects Fedora, Mandriva and openSuse packages building. > > > > Bye, > > > > Stefano > > I thought it was the standard way of naming versions... > > Or maybe the version number after the dash is the package version, and must > not be used for the program version? Sorry, Benoit. I probably was not clear. I've a project "foobar". In project properties I set 0.0.73. Then I build a Slackware package and the IDE names it: foobar-0.0.71-noarch-1.tgz Then I build a Mandriva package and the IDE names it: foobar-0.0-71mdv.noarch.rpm I expect it names it: foobar-0.0.71-mdv.noarch.rpm or foobar-0.0.75.mdv.noarch.rpm Regards, Stefano Palmeri From rospolosco at ...152... Sun Sep 23 20:01:35 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Sun, 23 Sep 2007 20:01:35 +0200 Subject: [Gambas-user] minor bug in RPM building In-Reply-To: <200709231927.30349.gambas@...1...> References: <200709231711.36270.rospolosco@...152...> <200709231927.30349.gambas@...1...> Message-ID: <200709232001.35460.rospolosco@...152...> Alle 19:27, domenica 23 settembre 2007, Benoit Minisini ha scritto: > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > I noticed a little error in RPM naming. If my project > > version is 0.0.73, the RPM version becomes 0.0-73. > > This affects Fedora, Mandriva and openSuse packages building. > > > > Bye, > > > > Stefano > > I thought it was the standard way of naming versions... > > Or maybe the version number after the dash is the package version, and must > not be used for the program version? Arghhhh! 0.0.71 for all! Sorry, Benoit. I probably was not clear. I've a project "foobar". In project properties I set 0.0.71. Then I build a Slackware package and the IDE names it: foobar-0.0.71-noarch-1.tgz Then I build a Mandriva package and the IDE names it: foobar-0.0-71mdv.noarch.rpm I expect it names it: foobar-0.0.71-mdv.noarch.rpm or foobar-0.0.71.mdv.noarch.rpm Regards, Stefano Palmeri From rospolosco at ...152... Sun Sep 23 20:23:57 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Sun, 23 Sep 2007 20:23:57 +0200 Subject: [Gambas-user] failed Slackware package building. In-Reply-To: <200709231926.17530.gambas@...1...> References: <200709231620.50380.rospolosco@...152...> <200709231658.47583.rospolosco@...152...> <200709231926.17530.gambas@...1...> Message-ID: <200709232023.57290.rospolosco@...152...> Alle 19:26, domenica 23 settembre 2007, Benoit Minisini ha scritto: > Can you try with the latest svn version? > > I have fixed a bug in the routine that makes the project executable, and > maybe your bug is related to that fix. But I'm not sure. > > Regards, > > -- I tried rev 659, but when I try to create the installation package the IDE crashes. WARNING: circular references detected CClassInfo (155) CSymbolInfo (2319) CPropertyInfo (864) FToolBar (3) FDebugInfo (1) FOutput (1) FOption (1) FToolBox (1) FMain (1) FFind (1) FCompletion (1) FGambas (1) FProperty (1) FMakeInstall (1) CComponent (38) FFormStack (1) FToolBar (5) FWorkspace (1) ToolBar (5) Workspace (1) FWizard (1) WizardContainer (7) FFontChooser (1) FBalloon (1) FSidePanel (5) FDirChooser (1) Wizard (1) FontChooser (1) ListContainer (2) FileView (1) DirView (1) SidePanel (5) DirChooser (1) Mutex destroy failure: Dispositivo o risorsa occupata WARNING: 1879 allocation(s) non freed. Bye, Stefano > Benoit Minisini From gambas at ...1... Sun Sep 23 20:37:08 2007 From: gambas at ...1... (Benoit Minisini) Date: Sun, 23 Sep 2007 20:37:08 +0200 Subject: [Gambas-user] failed Slackware package building. In-Reply-To: <200709232023.57290.rospolosco@...152...> References: <200709231620.50380.rospolosco@...152...> <200709231926.17530.gambas@...1...> <200709232023.57290.rospolosco@...152...> Message-ID: <200709232037.08925.gambas@...1...> On dimanche 23 septembre 2007, Stefano Palmeri wrote: > Alle 19:26, domenica 23 settembre 2007, Benoit Minisini ha scritto: > > Can you try with the latest svn version? > > > > I have fixed a bug in the routine that makes the project executable, and > > maybe your bug is related to that fix. But I'm not sure. > > > > Regards, > > > > -- > > I tried rev 659, but when I try to create the installation package > the IDE crashes. > > WARNING: circular references detected > CClassInfo (155) > CSymbolInfo (2319) > CPropertyInfo (864) > FToolBar (3) > FDebugInfo (1) > FOutput (1) > FOption (1) > FToolBox (1) > FMain (1) > FFind (1) > FCompletion (1) > FGambas (1) > FProperty (1) > FMakeInstall (1) > CComponent (38) > FFormStack (1) > FToolBar (5) > FWorkspace (1) > ToolBar (5) > Workspace (1) > FWizard (1) > WizardContainer (7) > FFontChooser (1) > FBalloon (1) > FSidePanel (5) > FDirChooser (1) > Wizard (1) > FontChooser (1) > ListContainer (2) > FileView (1) > DirView (1) > SidePanel (5) > DirChooser (1) > Mutex destroy failure: Dispositivo o risorsa occupata > WARNING: 1879 allocation(s) non freed. > > Bye, > > Stefano > Where is the error message? -- Benoit Minisini From rospolosco at ...152... Sun Sep 23 20:45:53 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Sun, 23 Sep 2007 20:45:53 +0200 Subject: [Gambas-user] failed Slackware package building. In-Reply-To: <200709232037.08925.gambas@...1...> References: <200709231620.50380.rospolosco@...152...> <200709232023.57290.rospolosco@...152...> <200709232037.08925.gambas@...1...> Message-ID: <200709232045.53755.rospolosco@...152...> Alle 20:37, domenica 23 settembre 2007, Benoit Minisini ha scritto: > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > Alle 19:26, domenica 23 settembre 2007, Benoit Minisini ha scritto: > > > Can you try with the latest svn version? > > > > > > I have fixed a bug in the routine that makes the project executable, > > > and maybe your bug is related to that fix. But I'm not sure. > > > > > > Regards, > > > > > > -- > > > > I tried rev 659, but when I try to create the installation package > > the IDE crashes. > > > > WARNING: circular references detected > > CClassInfo (155) > > CSymbolInfo (2319) > > CPropertyInfo (864) > > FToolBar (3) > > FDebugInfo (1) > > FOutput (1) > > FOption (1) > > FToolBox (1) > > FMain (1) > > FFind (1) > > FCompletion (1) > > FGambas (1) > > FProperty (1) > > FMakeInstall (1) > > CComponent (38) > > FFormStack (1) > > FToolBar (5) > > FWorkspace (1) > > ToolBar (5) > > Workspace (1) > > FWizard (1) > > WizardContainer (7) > > FFontChooser (1) > > FBalloon (1) > > FSidePanel (5) > > FDirChooser (1) > > Wizard (1) > > FontChooser (1) > > ListContainer (2) > > FileView (1) > > DirView (1) > > SidePanel (5) > > DirChooser (1) > > Mutex destroy failure: Dispositivo o risorsa occupata > > WARNING: 1879 allocation(s) non freed. > > > > Bye, > > > > Stefano > > Where is the error message? This is all I get when type on console gambas2.gambas. I open a project, then choose Make-->Installation package-->Crash stefano at ...1536...:~$ gambas2.gambas WARNING: circular references detected CClassInfo (155) CSymbolInfo (2319) CPropertyInfo (864) FToolBar (3) FDebugInfo (1) FOutput (1) FOption (1) FToolBox (1) FMain (1) FFind (1) FCompletion (1) FGambas (1) FProperty (1) FMakeInstall (1) CComponent (38) FFormStack (1) FToolBar (5) FWorkspace (1) ToolBar (5) Workspace (1) FWizard (1) WizardContainer (7) FFontChooser (1) FBalloon (1) FSidePanel (5) FDirChooser (1) Wizard (1) FontChooser (1) ListContainer (2) FileView (1) DirView (1) SidePanel (5) DirChooser (1) Mutex destroy failure: Dispositivo o risorsa occupata WARNING: 1879 allocation(s) non freed. stefano at ...1536...:~$ From gambas at ...1... Sun Sep 23 20:57:32 2007 From: gambas at ...1... (Benoit Minisini) Date: Sun, 23 Sep 2007 20:57:32 +0200 Subject: [Gambas-user] failed Slackware package building. In-Reply-To: <200709232045.53755.rospolosco@...152...> References: <200709231620.50380.rospolosco@...152...> <200709232037.08925.gambas@...1...> <200709232045.53755.rospolosco@...152...> Message-ID: <200709232057.33026.gambas@...1...> On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > Where is the error message? > > This is all I get when type on console gambas2.gambas. > > I open a project, then choose Make-->Installation package-->Crash > > You don't see the packager wizard? -- Benoit Minisini From rospolosco at ...152... Sun Sep 23 21:32:52 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Sun, 23 Sep 2007 21:32:52 +0200 Subject: [Gambas-user] failed Slackware package building. In-Reply-To: <200709232057.33026.gambas@...1...> References: <200709231620.50380.rospolosco@...152...> <200709232045.53755.rospolosco@...152...> <200709232057.33026.gambas@...1...> Message-ID: <200709232132.53194.rospolosco@...152...> Alle 20:57, domenica 23 settembre 2007, Benoit Minisini ha scritto: > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > > Where is the error message? > > > > This is all I get when type on console gambas2.gambas. > > > > I open a project, then choose Make-->Installation package-->Crash > > You don't see the packager wizard? No. From gambas at ...1... Mon Sep 24 00:25:51 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 24 Sep 2007 00:25:51 +0200 Subject: [Gambas-user] failed Slackware package building. In-Reply-To: <200709231620.50380.rospolosco@...152...> References: <200709231620.50380.rospolosco@...152...> Message-ID: <200709240025.52242.gambas@...1...> On dimanche 23 septembre 2007, Stefano Palmeri wrote: > I'm running Gambas2 1.9.51. I tried to make a Slackware package > of a project and I get an error: > > > Creating package for Slackware. > Making build directory. > The package build has failed. > Package.MakeTgzPackage.840: File or directory does not exist > > > There's no problem when I build a Fedora package. > > Regards, > > Stefano Palmeri > OK. I fixed the tgz generation, so that the true executable path is used. -- Benoit Minisini From winarto at ...1780... Mon Sep 24 19:33:48 2007 From: winarto at ...1780... (ewin) Date: Mon, 24 Sep 2007 10:33:48 -0700 Subject: [Gambas-user] gb.curl.net not found In-Reply-To: Message-ID: Hi all Iam beginner with gambas. I have installed gambas ver 1.0.14 on my mandriva 2007. but when I try run server-socket(example project), always raise message box who tell me gb.curl.net not found. When install process I can see the component not properly installed because that file not found on /opt/gambas/.... And then I try install with the higher version of gambas(1.0.19), hope this version include fix the problem. But the result still same with the older version. Thanks , I need help for my situation. regards ewin -----Original Message----- From: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user-bounces at lists.sourceforge.net] On Behalf Of gambas-user-request at lists.sourceforge.net Sent: 23 September 2007 12:33 To: gambas-user at lists.sourceforge.net Subject: Gambas-user Digest, Vol 16, Issue 23 Send Gambas-user mailing list submissions to gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to gambas-user-request at lists.sourceforge.net You can reach the person managing the list at gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: 1. Re: failed Slackware package building. (Benoit Minisini) 2. Re: minor bug in RPM building (Benoit Minisini) 3. project Slack package (Stefano Palmeri) 4. Re: minor bug in RPM building (Stefano Palmeri) 5. Re: minor bug in RPM building (Stefano Palmeri) 6. Re: failed Slackware package building. (Stefano Palmeri) 7. Re: failed Slackware package building. (Benoit Minisini) 8. Re: failed Slackware package building. (Stefano Palmeri) 9. Re: failed Slackware package building. (Benoit Minisini) 10. Re: failed Slackware package building. (Stefano Palmeri) ---------------------------------------------------------------------- Message: 1 Date: Sun, 23 Sep 2007 19:26:17 +0200 From: Benoit Minisini Subject: Re: [Gambas-user] failed Slackware package building. To: mailing list for gambas users Message-ID: <200709231926.17530.gambas at ...1...> Content-Type: text/plain; charset="iso-8859-1" On dimanche 23 septembre 2007, Stefano Palmeri wrote: > Alle 16:20, domenica 23 settembre 2007, Stefano Palmeri ha scritto: > > I'm running Gambas2 1.9.51. I tried to make a Slackware package > > of a project and I get an error: > > > > > > Creating package for Slackware. > > Making build directory. > > The package build has failed. > > Package.MakeTgzPackage.840: File or directory does not exist > > > > > > There's no problem when I build a Fedora package. > > > > Regards, > > > > Stefano Palmeri > > Well, I get the bug. The missing file is the compiled > project. If I make the project executable before making the Slack > package, the bug disappears. > It seems that when creating a Slack package > the project executable in not compiled before. > > Regards, > > Stefano Palmeri > Can you try with the latest svn version? I have fixed a bug in the routine that makes the project executable, and maybe your bug is related to that fix. But I'm not sure. Regards, -- Benoit Minisini ------------------------------ Message: 2 Date: Sun, 23 Sep 2007 19:27:30 +0200 From: Benoit Minisini Subject: Re: [Gambas-user] minor bug in RPM building To: mailing list for gambas users Message-ID: <200709231927.30349.gambas at ...1...> Content-Type: text/plain; charset="iso-8859-1" On dimanche 23 septembre 2007, Stefano Palmeri wrote: > I noticed a little error in RPM naming. If my project > version is 0.0.73, the RPM version becomes 0.0-73. > This affects Fedora, Mandriva and openSuse packages building. > > Bye, > > Stefano > I thought it was the standard way of naming versions... Or maybe the version number after the dash is the package version, and must not be used for the program version? -- Benoit Minisini ------------------------------ Message: 3 Date: Sun, 23 Sep 2007 19:29:33 +0200 From: Stefano Palmeri Subject: [Gambas-user] project Slack package To: mailing list for gambas users Message-ID: <200709231929.33842.rospolosco at ...152...> Content-Type: text/plain; charset="us-ascii" I tracked the bug. This is the problem: if you, for some reason, create an executable of the project *outside* the project directory, e.g your /home/bin/ folder, the next time the IDE tries to build the Slackware package it makes the executable in /home/bin (instead of the project directory) and fails the building process. Regards, Stefano Palmeri ------------------------------ Message: 4 Date: Sun, 23 Sep 2007 19:43:10 +0200 From: Stefano Palmeri Subject: Re: [Gambas-user] minor bug in RPM building To: mailing list for gambas users Message-ID: <200709231943.10789.rospolosco at ...152...> Content-Type: text/plain; charset="iso-8859-1" Alle 19:27, domenica 23 settembre 2007, Benoit Minisini ha scritto: > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > I noticed a little error in RPM naming. If my project > > version is 0.0.73, the RPM version becomes 0.0-73. > > This affects Fedora, Mandriva and openSuse packages building. > > > > Bye, > > > > Stefano > > I thought it was the standard way of naming versions... > > Or maybe the version number after the dash is the package version, and must > not be used for the program version? Sorry, Benoit. I probably was not clear. I've a project "foobar". In project properties I set 0.0.73. Then I build a Slackware package and the IDE names it: foobar-0.0.71-noarch-1.tgz Then I build a Mandriva package and the IDE names it: foobar-0.0-71mdv.noarch.rpm I expect it names it: foobar-0.0.71-mdv.noarch.rpm or foobar-0.0.75.mdv.noarch.rpm Regards, Stefano Palmeri ------------------------------ Message: 5 Date: Sun, 23 Sep 2007 20:01:35 +0200 From: Stefano Palmeri Subject: Re: [Gambas-user] minor bug in RPM building To: mailing list for gambas users Message-ID: <200709232001.35460.rospolosco at ...152...> Content-Type: text/plain; charset="iso-8859-1" Alle 19:27, domenica 23 settembre 2007, Benoit Minisini ha scritto: > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > I noticed a little error in RPM naming. If my project > > version is 0.0.73, the RPM version becomes 0.0-73. > > This affects Fedora, Mandriva and openSuse packages building. > > > > Bye, > > > > Stefano > > I thought it was the standard way of naming versions... > > Or maybe the version number after the dash is the package version, and must > not be used for the program version? Arghhhh! 0.0.71 for all! Sorry, Benoit. I probably was not clear. I've a project "foobar". In project properties I set 0.0.71. Then I build a Slackware package and the IDE names it: foobar-0.0.71-noarch-1.tgz Then I build a Mandriva package and the IDE names it: foobar-0.0-71mdv.noarch.rpm I expect it names it: foobar-0.0.71-mdv.noarch.rpm or foobar-0.0.71.mdv.noarch.rpm Regards, Stefano Palmeri ------------------------------ Message: 6 Date: Sun, 23 Sep 2007 20:23:57 +0200 From: Stefano Palmeri Subject: Re: [Gambas-user] failed Slackware package building. To: mailing list for gambas users Message-ID: <200709232023.57290.rospolosco at ...152...> Content-Type: text/plain; charset="iso-8859-1" Alle 19:26, domenica 23 settembre 2007, Benoit Minisini ha scritto: > Can you try with the latest svn version? > > I have fixed a bug in the routine that makes the project executable, and > maybe your bug is related to that fix. But I'm not sure. > > Regards, > > -- I tried rev 659, but when I try to create the installation package the IDE crashes. WARNING: circular references detected CClassInfo (155) CSymbolInfo (2319) CPropertyInfo (864) FToolBar (3) FDebugInfo (1) FOutput (1) FOption (1) FToolBox (1) FMain (1) FFind (1) FCompletion (1) FGambas (1) FProperty (1) FMakeInstall (1) CComponent (38) FFormStack (1) FToolBar (5) FWorkspace (1) ToolBar (5) Workspace (1) FWizard (1) WizardContainer (7) FFontChooser (1) FBalloon (1) FSidePanel (5) FDirChooser (1) Wizard (1) FontChooser (1) ListContainer (2) FileView (1) DirView (1) SidePanel (5) DirChooser (1) Mutex destroy failure: Dispositivo o risorsa occupata WARNING: 1879 allocation(s) non freed. Bye, Stefano > Benoit Minisini ------------------------------ Message: 7 Date: Sun, 23 Sep 2007 20:37:08 +0200 From: Benoit Minisini Subject: Re: [Gambas-user] failed Slackware package building. To: mailing list for gambas users Message-ID: <200709232037.08925.gambas at ...1...> Content-Type: text/plain; charset="iso-8859-1" On dimanche 23 septembre 2007, Stefano Palmeri wrote: > Alle 19:26, domenica 23 settembre 2007, Benoit Minisini ha scritto: > > Can you try with the latest svn version? > > > > I have fixed a bug in the routine that makes the project executable, and > > maybe your bug is related to that fix. But I'm not sure. > > > > Regards, > > > > -- > > I tried rev 659, but when I try to create the installation package > the IDE crashes. > > WARNING: circular references detected > CClassInfo (155) > CSymbolInfo (2319) > CPropertyInfo (864) > FToolBar (3) > FDebugInfo (1) > FOutput (1) > FOption (1) > FToolBox (1) > FMain (1) > FFind (1) > FCompletion (1) > FGambas (1) > FProperty (1) > FMakeInstall (1) > CComponent (38) > FFormStack (1) > FToolBar (5) > FWorkspace (1) > ToolBar (5) > Workspace (1) > FWizard (1) > WizardContainer (7) > FFontChooser (1) > FBalloon (1) > FSidePanel (5) > FDirChooser (1) > Wizard (1) > FontChooser (1) > ListContainer (2) > FileView (1) > DirView (1) > SidePanel (5) > DirChooser (1) > Mutex destroy failure: Dispositivo o risorsa occupata > WARNING: 1879 allocation(s) non freed. > > Bye, > > Stefano > Where is the error message? -- Benoit Minisini ------------------------------ Message: 8 Date: Sun, 23 Sep 2007 20:45:53 +0200 From: Stefano Palmeri Subject: Re: [Gambas-user] failed Slackware package building. To: mailing list for gambas users Message-ID: <200709232045.53755.rospolosco at ...152...> Content-Type: text/plain; charset="iso-8859-1" Alle 20:37, domenica 23 settembre 2007, Benoit Minisini ha scritto: > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > Alle 19:26, domenica 23 settembre 2007, Benoit Minisini ha scritto: > > > Can you try with the latest svn version? > > > > > > I have fixed a bug in the routine that makes the project executable, > > > and maybe your bug is related to that fix. But I'm not sure. > > > > > > Regards, > > > > > > -- > > > > I tried rev 659, but when I try to create the installation package > > the IDE crashes. > > > > WARNING: circular references detected > > CClassInfo (155) > > CSymbolInfo (2319) > > CPropertyInfo (864) > > FToolBar (3) > > FDebugInfo (1) > > FOutput (1) > > FOption (1) > > FToolBox (1) > > FMain (1) > > FFind (1) > > FCompletion (1) > > FGambas (1) > > FProperty (1) > > FMakeInstall (1) > > CComponent (38) > > FFormStack (1) > > FToolBar (5) > > FWorkspace (1) > > ToolBar (5) > > Workspace (1) > > FWizard (1) > > WizardContainer (7) > > FFontChooser (1) > > FBalloon (1) > > FSidePanel (5) > > FDirChooser (1) > > Wizard (1) > > FontChooser (1) > > ListContainer (2) > > FileView (1) > > DirView (1) > > SidePanel (5) > > DirChooser (1) > > Mutex destroy failure: Dispositivo o risorsa occupata > > WARNING: 1879 allocation(s) non freed. > > > > Bye, > > > > Stefano > > Where is the error message? This is all I get when type on console gambas2.gambas. I open a project, then choose Make-->Installation package-->Crash stefano at ...1536...:~$ gambas2.gambas WARNING: circular references detected CClassInfo (155) CSymbolInfo (2319) CPropertyInfo (864) FToolBar (3) FDebugInfo (1) FOutput (1) FOption (1) FToolBox (1) FMain (1) FFind (1) FCompletion (1) FGambas (1) FProperty (1) FMakeInstall (1) CComponent (38) FFormStack (1) FToolBar (5) FWorkspace (1) ToolBar (5) Workspace (1) FWizard (1) WizardContainer (7) FFontChooser (1) FBalloon (1) FSidePanel (5) FDirChooser (1) Wizard (1) FontChooser (1) ListContainer (2) FileView (1) DirView (1) SidePanel (5) DirChooser (1) Mutex destroy failure: Dispositivo o risorsa occupata WARNING: 1879 allocation(s) non freed. stefano at ...1536...:~$ ------------------------------ Message: 9 Date: Sun, 23 Sep 2007 20:57:32 +0200 From: Benoit Minisini Subject: Re: [Gambas-user] failed Slackware package building. To: mailing list for gambas users Message-ID: <200709232057.33026.gambas at ...1...> Content-Type: text/plain; charset="iso-8859-1" On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > Where is the error message? > > This is all I get when type on console gambas2.gambas. > > I open a project, then choose Make-->Installation package-->Crash > > You don't see the packager wizard? -- Benoit Minisini ------------------------------ Message: 10 Date: Sun, 23 Sep 2007 21:32:52 +0200 From: Stefano Palmeri Subject: Re: [Gambas-user] failed Slackware package building. To: mailing list for gambas users Message-ID: <200709232132.53194.rospolosco at ...152...> Content-Type: text/plain; charset="iso-8859-1" Alle 20:57, domenica 23 settembre 2007, Benoit Minisini ha scritto: > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > > Where is the error message? > > > > This is all I get when type on console gambas2.gambas. > > > > I open a project, then choose Make-->Installation package-->Crash > > You don't see the packager wizard? No. ------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 16, Issue 23 ******************************************* From rospolosco at ...152... Mon Sep 24 09:14:39 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Mon, 24 Sep 2007 09:14:39 +0200 Subject: [Gambas-user] failed Slackware package building. In-Reply-To: <200709240025.52242.gambas@...1...> References: <200709231620.50380.rospolosco@...152...> <200709240025.52242.gambas@...1...> Message-ID: <200709240914.39155.rospolosco@...152...> Alle 00:25, luned? 24 settembre 2007, Benoit Minisini ha scritto: > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > I'm running Gambas2 1.9.51. I tried to make a Slackware package > > of a project and I get an error: > > > > > > Creating package for Slackware. > > Making build directory. > > The package build has failed. > > Package.MakeTgzPackage.840: File or directory does not exist > > > > > > There's no problem when I build a Fedora package. > > > > Regards, > > > > Stefano Palmeri > > OK. I fixed the tgz generation, so that the true executable path is used. rev 660 crashes as 659. Stefano From rospolosco at ...152... Mon Sep 24 09:41:31 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Mon, 24 Sep 2007 09:41:31 +0200 Subject: [Gambas-user] autotools disabled, but I have autotools Message-ID: <200709240941.31194.rospolosco@...152...> I noticed in the packager wizard that autotools are disabled, but in my system autoconf and automake are installed. stefano at ...1536...:~$ which automake /usr/bin/automake stefano at ...1536...:~$ which autoconf /usr/bin/autoconf stefano at ...1536...:~$ I've attached a screenshot of the packager wizard. Gambas2 1.9.51. Stefano -------------- next part -------------- A non-text attachment was scrubbed... Name: autotools.jpg Type: image/jpeg Size: 20156 bytes Desc: not available URL: From gambas at ...1... Mon Sep 24 09:44:39 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 24 Sep 2007 09:44:39 +0200 Subject: [Gambas-user] autotools disabled, but I have autotools In-Reply-To: <200709240941.31194.rospolosco@...152...> References: <200709240941.31194.rospolosco@...152...> Message-ID: <200709240944.39830.gambas@...1...> On lundi 24 septembre 2007, Stefano Palmeri wrote: > I noticed in the packager wizard that autotools are disabled, but > in my system autoconf and automake are installed. > > stefano at ...1536...:~$ which automake > /usr/bin/automake > stefano at ...1536...:~$ which autoconf > /usr/bin/autoconf > stefano at ...1536...:~$ > > I've attached a screenshot of the packager wizard. Gambas2 1.9.51. > > Stefano This was fixed in the last revision. Are you sure that you are using it? -- Benoit Minisini From rospolosco at ...152... Mon Sep 24 09:47:23 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Mon, 24 Sep 2007 09:47:23 +0200 Subject: [Gambas-user] gb.curl.net not found In-Reply-To: References: Message-ID: <200709240947.23271.rospolosco@...152...> Alle 19:33, luned? 24 settembre 2007, ewin ha scritto: > Hi all > > Iam beginner with gambas. I have installed gambas ver 1.0.14 on my mandriva > 2007. but when I try run server-socket(example project), always raise > message box who tell me gb.curl.net not found. When install process I can > see the component not properly installed because that file not found on > /opt/gambas/.... > And then I try install with the higher version of gambas(1.0.19), hope this > version include fix the problem. But the result still same with the older > version. > Thanks , I need help for my situation. > You need curl library to be installed in you system. See Readme on Gambas site. > > regards > ewin > > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net] On Behalf Of > gambas-user-request at lists.sourceforge.net > Sent: 23 September 2007 12:33 > To: gambas-user at lists.sourceforge.net > Subject: Gambas-user Digest, Vol 16, Issue 23 > > Send Gambas-user mailing list submissions to > gambas-user at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gambas-user > or, via email, send a message with subject or body 'help' to > gambas-user-request at lists.sourceforge.net > > You can reach the person managing the list at > gambas-user-owner at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Gambas-user digest..." > > > Today's Topics: > > 1. Re: failed Slackware package building. (Benoit Minisini) > 2. Re: minor bug in RPM building (Benoit Minisini) > 3. project Slack package (Stefano Palmeri) > 4. Re: minor bug in RPM building (Stefano Palmeri) > 5. Re: minor bug in RPM building (Stefano Palmeri) > 6. Re: failed Slackware package building. (Stefano Palmeri) > 7. Re: failed Slackware package building. (Benoit Minisini) > 8. Re: failed Slackware package building. (Stefano Palmeri) > 9. Re: failed Slackware package building. (Benoit Minisini) > 10. Re: failed Slackware package building. (Stefano Palmeri) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 23 Sep 2007 19:26:17 +0200 > From: Benoit Minisini > Subject: Re: [Gambas-user] failed Slackware package building. > To: mailing list for gambas users > Message-ID: <200709231926.17530.gambas at ...1...> > Content-Type: text/plain; charset="iso-8859-1" > > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > Alle 16:20, domenica 23 settembre 2007, Stefano Palmeri ha scritto: > > > I'm running Gambas2 1.9.51. I tried to make a Slackware package > > > of a project and I get an error: > > > > > > > > > Creating package for Slackware. > > > Making build directory. > > > The package build has failed. > > > Package.MakeTgzPackage.840: File or directory does not exist > > > > > > > > > There's no problem when I build a Fedora package. > > > > > > Regards, > > > > > > Stefano Palmeri > > > > Well, I get the bug. The missing file is the compiled > > project. If I make the project executable before making the Slack > > package, the bug disappears. > > It seems that when creating a Slack package > > the project executable in not compiled before. > > > > Regards, > > > > Stefano Palmeri > > Can you try with the latest svn version? > > I have fixed a bug in the routine that makes the project executable, and > maybe > your bug is related to that fix. But I'm not sure. > > Regards, > > -- > Benoit Minisini > > > > ------------------------------ > > Message: 2 > Date: Sun, 23 Sep 2007 19:27:30 +0200 > From: Benoit Minisini > Subject: Re: [Gambas-user] minor bug in RPM building > To: mailing list for gambas users > Message-ID: <200709231927.30349.gambas at ...1...> > Content-Type: text/plain; charset="iso-8859-1" > > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > I noticed a little error in RPM naming. If my project > > version is 0.0.73, the RPM version becomes 0.0-73. > > This affects Fedora, Mandriva and openSuse packages building. > > > > Bye, > > > > Stefano > > I thought it was the standard way of naming versions... > > Or maybe the version number after the dash is the package version, and must > not be used for the program version? > > -- > Benoit Minisini > > > > ------------------------------ > > Message: 3 > Date: Sun, 23 Sep 2007 19:29:33 +0200 > From: Stefano Palmeri > Subject: [Gambas-user] project Slack package > To: mailing list for gambas users > Message-ID: <200709231929.33842.rospolosco at ...152...> > Content-Type: text/plain; charset="us-ascii" > > I tracked the bug. > > This is the problem: > > if you, for some reason, create an executable of the project *outside* the > project directory, e.g your /home/bin/ folder, the next time the IDE tries > to > build the Slackware package it makes the executable in /home/bin (instead > of > > the project directory) and fails the building process. > > Regards, > > Stefano Palmeri > > > > > ------------------------------ > > Message: 4 > Date: Sun, 23 Sep 2007 19:43:10 +0200 > From: Stefano Palmeri > Subject: Re: [Gambas-user] minor bug in RPM building > To: mailing list for gambas users > Message-ID: <200709231943.10789.rospolosco at ...152...> > Content-Type: text/plain; charset="iso-8859-1" > > Alle 19:27, domenica 23 settembre 2007, Benoit Minisini ha scritto: > > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > > I noticed a little error in RPM naming. If my project > > > version is 0.0.73, the RPM version becomes 0.0-73. > > > This affects Fedora, Mandriva and openSuse packages building. > > > > > > Bye, > > > > > > Stefano > > > > I thought it was the standard way of naming versions... > > > > Or maybe the version number after the dash is the package version, and > > must > > > not be used for the program version? > > Sorry, Benoit. > > I probably was not clear. > > I've a project "foobar". In project properties I set 0.0.73. > > Then I build a Slackware package and the IDE names it: > > foobar-0.0.71-noarch-1.tgz > > Then I build a Mandriva package and the IDE names it: > > foobar-0.0-71mdv.noarch.rpm > > I expect it names it: > > foobar-0.0.71-mdv.noarch.rpm > > or > > foobar-0.0.75.mdv.noarch.rpm > > Regards, > > Stefano Palmeri > > > > > > ------------------------------ > > Message: 5 > Date: Sun, 23 Sep 2007 20:01:35 +0200 > From: Stefano Palmeri > Subject: Re: [Gambas-user] minor bug in RPM building > To: mailing list for gambas users > Message-ID: <200709232001.35460.rospolosco at ...152...> > Content-Type: text/plain; charset="iso-8859-1" > > Alle 19:27, domenica 23 settembre 2007, Benoit Minisini ha scritto: > > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > > I noticed a little error in RPM naming. If my project > > > version is 0.0.73, the RPM version becomes 0.0-73. > > > This affects Fedora, Mandriva and openSuse packages building. > > > > > > Bye, > > > > > > Stefano > > > > I thought it was the standard way of naming versions... > > > > Or maybe the version number after the dash is the package version, and > > must > > > not be used for the program version? > > Arghhhh! 0.0.71 for all! > > Sorry, Benoit. > > I probably was not clear. > > I've a project "foobar". In project properties I set 0.0.71. > > Then I build a Slackware package and the IDE names it: > > foobar-0.0.71-noarch-1.tgz > > Then I build a Mandriva package and the IDE names it: > > foobar-0.0-71mdv.noarch.rpm > > I expect it names it: > > foobar-0.0.71-mdv.noarch.rpm > > or > > foobar-0.0.71.mdv.noarch.rpm > > Regards, > > Stefano Palmeri > > > > > > ------------------------------ > > Message: 6 > Date: Sun, 23 Sep 2007 20:23:57 +0200 > From: Stefano Palmeri > Subject: Re: [Gambas-user] failed Slackware package building. > To: mailing list for gambas users > Message-ID: <200709232023.57290.rospolosco at ...152...> > Content-Type: text/plain; charset="iso-8859-1" > > Alle 19:26, domenica 23 settembre 2007, Benoit Minisini ha scritto: > > Can you try with the latest svn version? > > > > I have fixed a bug in the routine that makes the project executable, and > > maybe your bug is related to that fix. But I'm not sure. > > > > Regards, > > > > -- > > I tried rev 659, but when I try to create the installation package > the IDE crashes. > > WARNING: circular references detected > CClassInfo (155) > CSymbolInfo (2319) > CPropertyInfo (864) > FToolBar (3) > FDebugInfo (1) > FOutput (1) > FOption (1) > FToolBox (1) > FMain (1) > FFind (1) > FCompletion (1) > FGambas (1) > FProperty (1) > FMakeInstall (1) > CComponent (38) > FFormStack (1) > FToolBar (5) > FWorkspace (1) > ToolBar (5) > Workspace (1) > FWizard (1) > WizardContainer (7) > FFontChooser (1) > FBalloon (1) > FSidePanel (5) > FDirChooser (1) > Wizard (1) > FontChooser (1) > ListContainer (2) > FileView (1) > DirView (1) > SidePanel (5) > DirChooser (1) > Mutex destroy failure: Dispositivo o risorsa occupata > WARNING: 1879 allocation(s) non freed. > > Bye, > > Stefano > > > Benoit Minisini > > ------------------------------ > > Message: 7 > Date: Sun, 23 Sep 2007 20:37:08 +0200 > From: Benoit Minisini > Subject: Re: [Gambas-user] failed Slackware package building. > To: mailing list for gambas users > Message-ID: <200709232037.08925.gambas at ...1...> > Content-Type: text/plain; charset="iso-8859-1" > > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > Alle 19:26, domenica 23 settembre 2007, Benoit Minisini ha scritto: > > > Can you try with the latest svn version? > > > > > > I have fixed a bug in the routine that makes the project executable, > > > and maybe your bug is related to that fix. But I'm not sure. > > > > > > Regards, > > > > > > -- > > > > I tried rev 659, but when I try to create the installation package > > the IDE crashes. > > > > WARNING: circular references detected > > CClassInfo (155) > > CSymbolInfo (2319) > > CPropertyInfo (864) > > FToolBar (3) > > FDebugInfo (1) > > FOutput (1) > > FOption (1) > > FToolBox (1) > > FMain (1) > > FFind (1) > > FCompletion (1) > > FGambas (1) > > FProperty (1) > > FMakeInstall (1) > > CComponent (38) > > FFormStack (1) > > FToolBar (5) > > FWorkspace (1) > > ToolBar (5) > > Workspace (1) > > FWizard (1) > > WizardContainer (7) > > FFontChooser (1) > > FBalloon (1) > > FSidePanel (5) > > FDirChooser (1) > > Wizard (1) > > FontChooser (1) > > ListContainer (2) > > FileView (1) > > DirView (1) > > SidePanel (5) > > DirChooser (1) > > Mutex destroy failure: Dispositivo o risorsa occupata > > WARNING: 1879 allocation(s) non freed. > > > > Bye, > > > > Stefano > > Where is the error message? > > > -- > Benoit Minisini > > > > ------------------------------ > > Message: 8 > Date: Sun, 23 Sep 2007 20:45:53 +0200 > From: Stefano Palmeri > Subject: Re: [Gambas-user] failed Slackware package building. > To: mailing list for gambas users > Message-ID: <200709232045.53755.rospolosco at ...152...> > Content-Type: text/plain; charset="iso-8859-1" > > Alle 20:37, domenica 23 settembre 2007, Benoit Minisini ha scritto: > > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > > Alle 19:26, domenica 23 settembre 2007, Benoit Minisini ha scritto: > > > > Can you try with the latest svn version? > > > > > > > > I have fixed a bug in the routine that makes the project executable, > > > > and maybe your bug is related to that fix. But I'm not sure. > > > > > > > > Regards, > > > > > > > > -- > > > > > > I tried rev 659, but when I try to create the installation package > > > the IDE crashes. > > > > > > WARNING: circular references detected > > > CClassInfo (155) > > > CSymbolInfo (2319) > > > CPropertyInfo (864) > > > FToolBar (3) > > > FDebugInfo (1) > > > FOutput (1) > > > FOption (1) > > > FToolBox (1) > > > FMain (1) > > > FFind (1) > > > FCompletion (1) > > > FGambas (1) > > > FProperty (1) > > > FMakeInstall (1) > > > CComponent (38) > > > FFormStack (1) > > > FToolBar (5) > > > FWorkspace (1) > > > ToolBar (5) > > > Workspace (1) > > > FWizard (1) > > > WizardContainer (7) > > > FFontChooser (1) > > > FBalloon (1) > > > FSidePanel (5) > > > FDirChooser (1) > > > Wizard (1) > > > FontChooser (1) > > > ListContainer (2) > > > FileView (1) > > > DirView (1) > > > SidePanel (5) > > > DirChooser (1) > > > Mutex destroy failure: Dispositivo o risorsa occupata > > > WARNING: 1879 allocation(s) non freed. > > > > > > Bye, > > > > > > Stefano > > > > Where is the error message? > > This is all I get when type on console gambas2.gambas. > > I open a project, then choose Make-->Installation package-->Crash > > > stefano at ...1536...:~$ gambas2.gambas > WARNING: circular references detected > CClassInfo (155) > CSymbolInfo (2319) > CPropertyInfo (864) > FToolBar (3) > FDebugInfo (1) > FOutput (1) > FOption (1) > FToolBox (1) > FMain (1) > FFind (1) > FCompletion (1) > FGambas (1) > FProperty (1) > FMakeInstall (1) > CComponent (38) > FFormStack (1) > FToolBar (5) > FWorkspace (1) > ToolBar (5) > Workspace (1) > FWizard (1) > WizardContainer (7) > FFontChooser (1) > FBalloon (1) > FSidePanel (5) > FDirChooser (1) > Wizard (1) > FontChooser (1) > ListContainer (2) > FileView (1) > DirView (1) > SidePanel (5) > DirChooser (1) > Mutex destroy failure: Dispositivo o risorsa occupata > WARNING: 1879 allocation(s) non freed. > stefano at ...1536...:~$ > > > > > > ------------------------------ > > Message: 9 > Date: Sun, 23 Sep 2007 20:57:32 +0200 > From: Benoit Minisini > Subject: Re: [Gambas-user] failed Slackware package building. > To: mailing list for gambas users > Message-ID: <200709232057.33026.gambas at ...1...> > Content-Type: text/plain; charset="iso-8859-1" > > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > > Where is the error message? > > > > This is all I get when type on console gambas2.gambas. > > > > I open a project, then choose Make-->Installation package-->Crash > > You don't see the packager wizard? From rospolosco at ...152... Mon Sep 24 09:48:54 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Mon, 24 Sep 2007 09:48:54 +0200 Subject: [Gambas-user] autotools disabled, but I have autotools In-Reply-To: <200709240944.39830.gambas@...1...> References: <200709240941.31194.rospolosco@...152...> <200709240944.39830.gambas@...1...> Message-ID: <200709240948.54202.rospolosco@...152...> Alle 09:44, luned? 24 settembre 2007, Benoit Minisini ha scritto: > This was fixed in the last revision. Are you sure that you are using it? > > -- > Benoit Minisini As I told you, I tried rev 660, but crashes as 659. Stefano From rospolosco at ...152... Mon Sep 24 09:54:31 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Mon, 24 Sep 2007 09:54:31 +0200 Subject: [Gambas-user] autotools disabled, but I have autotools In-Reply-To: <200709240948.54202.rospolosco@...152...> References: <200709240941.31194.rospolosco@...152...> <200709240944.39830.gambas@...1...> <200709240948.54202.rospolosco@...152...> Message-ID: <200709240954.31231.rospolosco@...152...> Alle 09:48, luned? 24 settembre 2007, Stefano Palmeri ha scritto: > Alle 09:44, luned? 24 settembre 2007, Benoit Minisini ha scritto: > > This was fixed in the last revision. Are you sure that you are using it? > > > > -- > > Benoit Minisini > > As I told you, I tried rev 660, but crashes as 659. > > Stefano > Strange thing. If 1.9.51 is installed, the uninstalled ./gambas2.gambas in the trunk directory works. Stefano > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Mon Sep 24 10:01:31 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 24 Sep 2007 10:01:31 +0200 Subject: [Gambas-user] autotools disabled, but I have autotools In-Reply-To: <200709240954.31231.rospolosco@...152...> References: <200709240941.31194.rospolosco@...152...> <200709240948.54202.rospolosco@...152...> <200709240954.31231.rospolosco@...152...> Message-ID: <200709241001.31791.gambas@...1...> On lundi 24 septembre 2007, Stefano Palmeri wrote: > Alle 09:48, luned? 24 settembre 2007, Stefano Palmeri ha scritto: > > Alle 09:44, luned? 24 settembre 2007, Benoit Minisini ha scritto: > > > This was fixed in the last revision. Are you sure that you are using > > > it? > > > > > > -- > > > Benoit Minisini > > > > As I told you, I tried rev 660, but crashes as 659. > > > > Stefano > > Strange thing. If 1.9.51 is installed, the uninstalled > ./gambas2.gambas in the trunk directory works. > > Stefano > Your situation is not clear for me: How many gambas 1.9.xx do you have on your system? Which gambas2.gambas do you run? -- Benoit Minisini From rospolosco at ...152... Mon Sep 24 10:22:12 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Mon, 24 Sep 2007 10:22:12 +0200 Subject: [Gambas-user] autotools disabled, but I have autotools In-Reply-To: <200709241001.31791.gambas@...1...> References: <200709240941.31194.rospolosco@...152...> <200709240954.31231.rospolosco@...152...> <200709241001.31791.gambas@...1...> Message-ID: <200709241022.12823.rospolosco@...152...> Alle 10:01, luned? 24 settembre 2007, Benoit Minisini ha scritto: > Your situation is not clear for me: > > How many gambas 1.9.xx do you have on your system? > Which gambas2.gambas do you run? > > -- > Benoit Minisini 1) I disinstalled 1.9.51 2) I installed rev. 660. It crashes when open the packager wizard. 3) Then I disinstalled rev. 660, because it crashes. 4) I reinstalled 1.9.51 5) By chance, I noticed that if I go in the trunk directory and run the revision version ./gambas2.gambas the packager doesn't crash. Definitively I've just one Gambas2 installed, 1.9.51. I like my system to be clean. With the stable installed, the revision executable NOT installed doesn't crash. I hope I was clear now. Stefano p.s. rev 660 broke RPM building. From david_villalobos_c at ...43... Mon Sep 24 14:17:54 2007 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 24 Sep 2007 05:17:54 -0700 (PDT) Subject: [Gambas-user] Wisdow for gambas users Message-ID: <979093.2803.qm@...1667...> Great!!! I'll try Regards David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas users Sent: Saturday, September 22, 2007 12:52:55 PM Subject: Re: [Gambas-user] Wisdow for gambas users On vendredi 21 septembre 2007, David Villalobos Cambronero wrote: > this one: > http://downloads.sourceforge.net/gambas/wisdow-0.1.tar.bz2?download > > On Mandriva 2007.1 > You should try the latest one! (0.4) Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433 From david_villalobos_c at ...43... Mon Sep 24 14:23:54 2007 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 24 Sep 2007 05:23:54 -0700 (PDT) Subject: [Gambas-user] gb.curl.net not found Message-ID: <903829.28328.qm@...1716...> Try to compile the last develop version: You can download it from: http://prdownloads.sourceforge.net/gambas/gambas2-1.9.51.tar.bz2?download And have some instructions here: http://gambasdoc.org/help/install/mandriva Regards David ----- Original Message ---- From: ewin To: gambas-user at lists.sourceforge.net Sent: Monday, September 24, 2007 11:33:48 AM Subject: [Gambas-user] gb.curl.net not found Hi all Iam beginner with gambas. I have installed gambas ver 1.0.14 on my mandriva 2007. but when I try run server-socket(example project), always raise message box who tell me gb.curl.net not found. When install process I can see the component not properly installed because that file not found on /opt/gambas/.... And then I try install with the higher version of gambas(1.0.19), hope this version include fix the problem. But the result still same with the older version. Thanks , I need help for my situation. regards ewin -----Original Message----- From: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user-bounces at lists.sourceforge.net] On Behalf Of gambas-user-request at lists.sourceforge.net Sent: 23 September 2007 12:33 To: gambas-user at lists.sourceforge.net Subject: Gambas-user Digest, Vol 16, Issue 23 Send Gambas-user mailing list submissions to gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to gambas-user-request at lists.sourceforge.net You can reach the person managing the list at gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: 1. Re: failed Slackware package building. (Benoit Minisini) 2. Re: minor bug in RPM building (Benoit Minisini) 3. project Slack package (Stefano Palmeri) 4. Re: minor bug in RPM building (Stefano Palmeri) 5. Re: minor bug in RPM building (Stefano Palmeri) 6. Re: failed Slackware package building. (Stefano Palmeri) 7. Re: failed Slackware package building. (Benoit Minisini) 8. Re: failed Slackware package building. (Stefano Palmeri) 9. Re: failed Slackware package building. (Benoit Minisini) 10. Re: failed Slackware package building. (Stefano Palmeri) ---------------------------------------------------------------------- Message: 1 Date: Sun, 23 Sep 2007 19:26:17 +0200 From: Benoit Minisini Subject: Re: [Gambas-user] failed Slackware package building. To: mailing list for gambas users Message-ID: <200709231926.17530.gambas at ...1...> Content-Type: text/plain; charset="iso-8859-1" On dimanche 23 septembre 2007, Stefano Palmeri wrote: > Alle 16:20, domenica 23 settembre 2007, Stefano Palmeri ha scritto: > > I'm running Gambas2 1.9.51. I tried to make a Slackware package > > of a project and I get an error: > > > > > > Creating package for Slackware. > > Making build directory. > > The package build has failed. > > Package.MakeTgzPackage.840: File or directory does not exist > > > > > > There's no problem when I build a Fedora package. > > > > Regards, > > > > Stefano Palmeri > > Well, I get the bug. The missing file is the compiled > project. If I make the project executable before making the Slack > package, the bug disappears. > It seems that when creating a Slack package > the project executable in not compiled before. > > Regards, > > Stefano Palmeri > Can you try with the latest svn version? I have fixed a bug in the routine that makes the project executable, and maybe your bug is related to that fix. But I'm not sure. Regards, -- Benoit Minisini ------------------------------ Message: 2 Date: Sun, 23 Sep 2007 19:27:30 +0200 From: Benoit Minisini Subject: Re: [Gambas-user] minor bug in RPM building To: mailing list for gambas users Message-ID: <200709231927.30349.gambas at ...1...> Content-Type: text/plain; charset="iso-8859-1" On dimanche 23 septembre 2007, Stefano Palmeri wrote: > I noticed a little error in RPM naming. If my project > version is 0.0.73, the RPM version becomes 0.0-73. > This affects Fedora, Mandriva and openSuse packages building. > > Bye, > > Stefano > I thought it was the standard way of naming versions... Or maybe the version number after the dash is the package version, and must not be used for the program version? -- Benoit Minisini ------------------------------ Message: 3 Date: Sun, 23 Sep 2007 19:29:33 +0200 From: Stefano Palmeri Subject: [Gambas-user] project Slack package To: mailing list for gambas users Message-ID: <200709231929.33842.rospolosco at ...152...> Content-Type: text/plain; charset="us-ascii" I tracked the bug. This is the problem: if you, for some reason, create an executable of the project *outside* the project directory, e.g your /home/bin/ folder, the next time the IDE tries to build the Slackware package it makes the executable in /home/bin (instead of the project directory) and fails the building process. Regards, Stefano Palmeri ------------------------------ Message: 4 Date: Sun, 23 Sep 2007 19:43:10 +0200 From: Stefano Palmeri Subject: Re: [Gambas-user] minor bug in RPM building To: mailing list for gambas users Message-ID: <200709231943.10789.rospolosco at ...152...> Content-Type: text/plain; charset="iso-8859-1" Alle 19:27, domenica 23 settembre 2007, Benoit Minisini ha scritto: > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > I noticed a little error in RPM naming. If my project > > version is 0.0.73, the RPM version becomes 0.0-73. > > This affects Fedora, Mandriva and openSuse packages building. > > > > Bye, > > > > Stefano > > I thought it was the standard way of naming versions... > > Or maybe the version number after the dash is the package version, and must > not be used for the program version? Sorry, Benoit. I probably was not clear. I've a project "foobar". In project properties I set 0.0.73. Then I build a Slackware package and the IDE names it: foobar-0.0.71-noarch-1.tgz Then I build a Mandriva package and the IDE names it: foobar-0.0-71mdv.noarch.rpm I expect it names it: foobar-0.0.71-mdv.noarch.rpm or foobar-0.0.75.mdv.noarch.rpm Regards, Stefano Palmeri ------------------------------ Message: 5 Date: Sun, 23 Sep 2007 20:01:35 +0200 From: Stefano Palmeri Subject: Re: [Gambas-user] minor bug in RPM building To: mailing list for gambas users Message-ID: <200709232001.35460.rospolosco at ...152...> Content-Type: text/plain; charset="iso-8859-1" Alle 19:27, domenica 23 settembre 2007, Benoit Minisini ha scritto: > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > I noticed a little error in RPM naming. If my project > > version is 0.0.73, the RPM version becomes 0.0-73. > > This affects Fedora, Mandriva and openSuse packages building. > > > > Bye, > > > > Stefano > > I thought it was the standard way of naming versions... > > Or maybe the version number after the dash is the package version, and must > not be used for the program version? Arghhhh! 0.0.71 for all! Sorry, Benoit. I probably was not clear. I've a project "foobar". In project properties I set 0.0.71. Then I build a Slackware package and the IDE names it: foobar-0.0.71-noarch-1.tgz Then I build a Mandriva package and the IDE names it: foobar-0.0-71mdv.noarch.rpm I expect it names it: foobar-0.0.71-mdv.noarch.rpm or foobar-0.0.71.mdv.noarch.rpm Regards, Stefano Palmeri ------------------------------ Message: 6 Date: Sun, 23 Sep 2007 20:23:57 +0200 From: Stefano Palmeri Subject: Re: [Gambas-user] failed Slackware package building. To: mailing list for gambas users Message-ID: <200709232023.57290.rospolosco at ...152...> Content-Type: text/plain; charset="iso-8859-1" Alle 19:26, domenica 23 settembre 2007, Benoit Minisini ha scritto: > Can you try with the latest svn version? > > I have fixed a bug in the routine that makes the project executable, and > maybe your bug is related to that fix. But I'm not sure. > > Regards, > > -- I tried rev 659, but when I try to create the installation package the IDE crashes. WARNING: circular references detected CClassInfo (155) CSymbolInfo (2319) CPropertyInfo (864) FToolBar (3) FDebugInfo (1) FOutput (1) FOption (1) FToolBox (1) FMain (1) FFind (1) FCompletion (1) FGambas (1) FProperty (1) FMakeInstall (1) CComponent (38) FFormStack (1) FToolBar (5) FWorkspace (1) ToolBar (5) Workspace (1) FWizard (1) WizardContainer (7) FFontChooser (1) FBalloon (1) FSidePanel (5) FDirChooser (1) Wizard (1) FontChooser (1) ListContainer (2) FileView (1) DirView (1) SidePanel (5) DirChooser (1) Mutex destroy failure: Dispositivo o risorsa occupata WARNING: 1879 allocation(s) non freed. Bye, Stefano > Benoit Minisini ------------------------------ Message: 7 Date: Sun, 23 Sep 2007 20:37:08 +0200 From: Benoit Minisini Subject: Re: [Gambas-user] failed Slackware package building. To: mailing list for gambas users Message-ID: <200709232037.08925.gambas at ...1...> Content-Type: text/plain; charset="iso-8859-1" On dimanche 23 septembre 2007, Stefano Palmeri wrote: > Alle 19:26, domenica 23 settembre 2007, Benoit Minisini ha scritto: > > Can you try with the latest svn version? > > > > I have fixed a bug in the routine that makes the project executable, and > > maybe your bug is related to that fix. But I'm not sure. > > > > Regards, > > > > -- > > I tried rev 659, but when I try to create the installation package > the IDE crashes. > > WARNING: circular references detected > CClassInfo (155) > CSymbolInfo (2319) > CPropertyInfo (864) > FToolBar (3) > FDebugInfo (1) > FOutput (1) > FOption (1) > FToolBox (1) > FMain (1) > FFind (1) > FCompletion (1) > FGambas (1) > FProperty (1) > FMakeInstall (1) > CComponent (38) > FFormStack (1) > FToolBar (5) > FWorkspace (1) > ToolBar (5) > Workspace (1) > FWizard (1) > WizardContainer (7) > FFontChooser (1) > FBalloon (1) > FSidePanel (5) > FDirChooser (1) > Wizard (1) > FontChooser (1) > ListContainer (2) > FileView (1) > DirView (1) > SidePanel (5) > DirChooser (1) > Mutex destroy failure: Dispositivo o risorsa occupata > WARNING: 1879 allocation(s) non freed. > > Bye, > > Stefano > Where is the error message? -- Benoit Minisini ------------------------------ Message: 8 Date: Sun, 23 Sep 2007 20:45:53 +0200 From: Stefano Palmeri Subject: Re: [Gambas-user] failed Slackware package building. To: mailing list for gambas users Message-ID: <200709232045.53755.rospolosco at ...152...> Content-Type: text/plain; charset="iso-8859-1" Alle 20:37, domenica 23 settembre 2007, Benoit Minisini ha scritto: > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > Alle 19:26, domenica 23 settembre 2007, Benoit Minisini ha scritto: > > > Can you try with the latest svn version? > > > > > > I have fixed a bug in the routine that makes the project executable, > > > and maybe your bug is related to that fix. But I'm not sure. > > > > > > Regards, > > > > > > -- > > > > I tried rev 659, but when I try to create the installation package > > the IDE crashes. > > > > WARNING: circular references detected > > CClassInfo (155) > > CSymbolInfo (2319) > > CPropertyInfo (864) > > FToolBar (3) > > FDebugInfo (1) > > FOutput (1) > > FOption (1) > > FToolBox (1) > > FMain (1) > > FFind (1) > > FCompletion (1) > > FGambas (1) > > FProperty (1) > > FMakeInstall (1) > > CComponent (38) > > FFormStack (1) > > FToolBar (5) > > FWorkspace (1) > > ToolBar (5) > > Workspace (1) > > FWizard (1) > > WizardContainer (7) > > FFontChooser (1) > > FBalloon (1) > > FSidePanel (5) > > FDirChooser (1) > > Wizard (1) > > FontChooser (1) > > ListContainer (2) > > FileView (1) > > DirView (1) > > SidePanel (5) > > DirChooser (1) > > Mutex destroy failure: Dispositivo o risorsa occupata > > WARNING: 1879 allocation(s) non freed. > > > > Bye, > > > > Stefano > > Where is the error message? This is all I get when type on console gambas2.gambas. I open a project, then choose Make-->Installation package-->Crash stefano at ...1536...:~$ gambas2.gambas WARNING: circular references detected CClassInfo (155) CSymbolInfo (2319) CPropertyInfo (864) FToolBar (3) FDebugInfo (1) FOutput (1) FOption (1) FToolBox (1) FMain (1) FFind (1) FCompletion (1) FGambas (1) FProperty (1) FMakeInstall (1) CComponent (38) FFormStack (1) FToolBar (5) FWorkspace (1) ToolBar (5) Workspace (1) FWizard (1) WizardContainer (7) FFontChooser (1) FBalloon (1) FSidePanel (5) FDirChooser (1) Wizard (1) FontChooser (1) ListContainer (2) FileView (1) DirView (1) SidePanel (5) DirChooser (1) Mutex destroy failure: Dispositivo o risorsa occupata WARNING: 1879 allocation(s) non freed. stefano at ...1536...:~$ ------------------------------ Message: 9 Date: Sun, 23 Sep 2007 20:57:32 +0200 From: Benoit Minisini Subject: Re: [Gambas-user] failed Slackware package building. To: mailing list for gambas users Message-ID: <200709232057.33026.gambas at ...1...> Content-Type: text/plain; charset="iso-8859-1" On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > Where is the error message? > > This is all I get when type on console gambas2.gambas. > > I open a project, then choose Make-->Installation package-->Crash > > You don't see the packager wizard? -- Benoit Minisini ------------------------------ Message: 10 Date: Sun, 23 Sep 2007 21:32:52 +0200 From: Stefano Palmeri Subject: Re: [Gambas-user] failed Slackware package building. To: mailing list for gambas users Message-ID: <200709232132.53194.rospolosco at ...152...> Content-Type: text/plain; charset="iso-8859-1" Alle 20:57, domenica 23 settembre 2007, Benoit Minisini ha scritto: > On dimanche 23 septembre 2007, Stefano Palmeri wrote: > > > Where is the error message? > > > > This is all I get when type on console gambas2.gambas. > > > > I open a project, then choose Make-->Installation package-->Crash > > You don't see the packager wizard? No. ------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 16, Issue 23 ******************************************* ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ____________________________________________________________________________________ Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 From steven at ...1652... Tue Sep 25 10:45:24 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Tue, 25 Sep 2007 10:45:24 +0200 Subject: [Gambas-user] File Chooser Message-ID: <200709251045.25097.steven@...1652...> Hi, Latest trunk (yesterday afternoon) on suse 10.2 I have a problem with the filechooser control. I form that worked perfectly before, does not show anymore. The program halts on the filechooser1.Bookmarks below, just as if I put a stop-point on it. Sometimes the program continues, but shows only part of the form (no buttons, ....). Part of the code : PUBLIC SUB Form_Open() DIM tmp AS String ' we add some marks if we can IF Exist("/home/partage") THEN tmp = "/home/partage" ELSE IF Exist(User.Home & "/partage") THEN tmp = User.Home & "/partage" END IF FileChooser1.Dir = MGlobal.FPath IF tmp THEN FileChooser1.Bookmarks = [[tmp, "Partage", "icon:/16/language"], ["/home", "R?pertoire base", "icon:/16/directory"]] ELSE FileChooser1.Bookmarks = [["/tmp", "Temporary directory"], ["/home", "R?pertoire base", "icon:/16/directory"]] END IF END Thanks, Steven From gareth at ...1689... Tue Sep 25 11:18:09 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 25 Sep 2007 10:18:09 +0100 (BST) Subject: [Gambas-user] Re; Adding new components Message-ID: <29478943.20801190711889157.JavaMail.root@...1708...> Hi, I'm looking for a quick how to on the following; a. Setting the Icon for a gambas control. Essentially I have extended gb.db.form and added a component called "DataLink" I would like to embed an icon for this in the IDE, how / where do I put it ? b. For the above control, one of the fields is "type" and can have the value "MySQL,Postgress,SQLite etc.." How do I make the IDE display this as a combo as opposed to a string ? Thanks, Gareth. -- Managing Director, Encryptec Limited Tel: 0845 25 77033, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gareth at ...1689... Tue Sep 25 13:37:56 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 25 Sep 2007 12:37:56 +0100 (BST) Subject: [Gambas-user] Re; Execution order Message-ID: <12471712.20991190720276196.JavaMail.root@...1708...> Hi, I have a copy of gb.db.form that I'm working on as a project. For some reason when I run the project, the first line of code it runs is in "DataCombo" as opposed to "Main" (the startup class). Any obvious reasons why it's not running "Main" first? .. it "was" .. all I can see that's changed is an upgrade to SVN 662 ... .. Any ideas? -- Managing Director, Encryptec Limited Tel: 0845 25 77033, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gambas at ...1... Tue Sep 25 14:52:03 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 25 Sep 2007 14:52:03 +0200 Subject: [Gambas-user] Re; Adding new components In-Reply-To: <29478943.20801190711889157.JavaMail.root@...1708...> References: <29478943.20801190711889157.JavaMail.root@...1708...> Message-ID: <200709251452.03283.gambas@...1...> On mardi 25 septembre 2007, Gareth Bult wrote: > Hi, > > I'm looking for a quick how to on the following; > > a. Setting the Icon for a gambas control. > Essentially I have extended gb.db.form and added a component called > "DataLink" I would like to embed an icon for this in the IDE, how / where > do I put it ? The icons are stored inside the /img/control directory of the IDE source code. Of course, they should be stored outside of the IDE source code somewhere in /usr/share/gambas2. Maybe I will do that after the release candidate. > > b. For the above control, one of the fields is "type" and can have the > value "MySQL,Postgress,SQLite etc.." How do I make the IDE display this as > a combo as opposed to a string ? Every property is described in the "_Properties" special constant of a control. To see what I mean, open the following gambas source file: /trunk/gb.qt/share/gb.form.properties.h You will see all the _Properties values of all controls defined in gb.qt (and gb.gtk). The syntax of this string is the following: <_Properties string> := ",,...," := | {} | = | {}= := Position | Dimension | Range:; | Color | Font | := .* | .;;...; 'Position' & 'Dimension' are for the X,Y,W,H properties. 'Range' displays a spin box. 'Color' displays the color chooser, and 'Font' the font chooser. Enumerations can be all public constants of a class, or some of them. If no property type is specified, the datatype of the property value is used. At the moment, the IDE does not support properties returning an object, except Font. I hope this is more clear now :-) Regards, -- Benoit Minisini From david_villalobos_c at ...43... Tue Sep 25 16:19:57 2007 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Tue, 25 Sep 2007 07:19:57 -0700 (PDT) Subject: [Gambas-user] Fw: Wisdow for gambas users Message-ID: <933854.14129.qm@...1781...> Just for update, it works fine ----- Forwarded Message ---- From: David Villalobos Cambronero To: mailing list for gambas users Sent: Monday, September 24, 2007 6:17:54 AM Subject: Re: [Gambas-user] Wisdow for gambas users Great!!! I'll try Regards David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas users Sent: Saturday, September 22, 2007 12:52:55 PM Subject: Re: [Gambas-user] Wisdow for gambas users On vendredi 21 septembre 2007, David Villalobos Cambronero wrote: > this one: > http://downloads.sourceforge.net/gambas/wisdow-0.1.tar.bz2?download > > On Mandriva 2007.1 > You should try the latest one! (0.4) Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Pinpoint customers who are looking for what you sell. ____________________________________________________________________________________ Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos. http://autos.yahoo.com/index.html From gareth at ...1689... Tue Sep 25 17:38:27 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 25 Sep 2007 16:38:27 +0100 (BST) Subject: [Gambas-user] Re; Adding new components In-Reply-To: <200709251452.03283.gambas@...1...> Message-ID: <25400869.21881190734707277.JavaMail.root@...1708...> Ok, Clear yes, working no. It "seems" that I can only use pre-programmed constants and now user-defined constants .. ? This works; PUBLIC CONST _Properties AS String = "*,Host,Type{Select.None;Select.Single;Select.Multiple}=None,User,Password,Database" This does not; PUBLIC CONST _Properties AS String = "*,Host,Type{DataTypes.None;MYSQL;ODBC}=None,User,Password,Database" With DataTypes.class as; PUBLIC CONST MYSQL AS String = "mysql" PUBLIC CONST ODBC AS String = "odbc" What am I doing wrong ? Gareth. -- Managing Director, Encryptec Limited Tel: 0845 25 77033, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. ----- Original Message ----- From: "Benoit Minisini" To: "mailing list for gambas users" Sent: Tuesday, September 25, 2007 1:52:03 PM (GMT) Europe/London Subject: Re: [Gambas-user] Re; Adding new components On mardi 25 septembre 2007, Gareth Bult wrote: > Hi, > > I'm looking for a quick how to on the following; > > a. Setting the Icon for a gambas control. > Essentially I have extended gb.db.form and added a component called > "DataLink" I would like to embed an icon for this in the IDE, how / where > do I put it ? The icons are stored inside the /img/control directory of the IDE source code. Of course, they should be stored outside of the IDE source code somewhere in /usr/share/gambas2. Maybe I will do that after the release candidate. > > b. For the above control, one of the fields is "type" and can have the > value "MySQL,Postgress,SQLite etc.." How do I make the IDE display this as > a combo as opposed to a string ? Every property is described in the "_Properties" special constant of a control. To see what I mean, open the following gambas source file: /trunk/gb.qt/share/gb.form.properties.h You will see all the _Properties values of all controls defined in gb.qt (and gb.gtk). The syntax of this string is the following: <_Properties string> := ",,...," := | {} | = | {}= := Position | Dimension | Range:; | Color | Font | := .* | .;;...; 'Position' & 'Dimension' are for the X,Y,W,H properties. 'Range' displays a spin box. 'Color' displays the color chooser, and 'Font' the font chooser. Enumerations can be all public constants of a class, or some of them. If no property type is specified, the datatype of the property value is used. At the moment, the IDE does not support properties returning an object, except Font. I hope this is more clear now :-) Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Tue Sep 25 17:43:14 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 25 Sep 2007 17:43:14 +0200 Subject: [Gambas-user] Re; Adding new components In-Reply-To: <25400869.21881190734707277.JavaMail.root@...1708...> References: <25400869.21881190734707277.JavaMail.root@...1708...> Message-ID: <200709251743.14275.gambas@...1...> On mardi 25 septembre 2007, Gareth Bult wrote: > Ok, > > Clear yes, working no. > > It "seems" that I can only use pre-programmed constants and now > user-defined constants .. ? > > This works; > > PUBLIC CONST _Properties AS String = > "*,Host,Type{Select.None;Select.Single;Select.Multiple}=None,User,Password, >Database" Normally, Select.None;Select.Single;Select.Multiple should not work. But maybe I made more than I thought. > > This does not; > > PUBLIC CONST _Properties AS String = > "*,Host,Type{DataTypes.None;MYSQL;ODBC}=None,User,Password,Database" > > With DataTypes.class as; > > PUBLIC CONST MYSQL AS String = "mysql" > PUBLIC CONST ODBC AS String = "odbc" > > What am I doing wrong ? Hmm... Where is the DataTypes.None constant? And you should tell me the error you get each time, because this way I can make the IDE more robust against errors in component definition. Note: I prefer having constants written with the first letter of each word in upper case, and the other in lower case. There are some exceptions like in the OpenGL component, but this is because the interface of the component comes from OpenGL, and was not designed for Gambas. Regards, -- Benoit Minisini From gambas at ...1... Tue Sep 25 17:45:43 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 25 Sep 2007 17:45:43 +0200 Subject: [Gambas-user] File Chooser In-Reply-To: <200709251045.25097.steven@...1652...> References: <200709251045.25097.steven@...1652...> Message-ID: <200709251745.43125.gambas@...1...> On mardi 25 septembre 2007, Steven Lobbezoo wrote: > Hi, > > Latest trunk (yesterday afternoon) on suse 10.2 > > I have a problem with the filechooser control. > I form that worked perfectly before, does not show anymore. > The program halts on the filechooser1.Bookmarks below, just as if I put a > stop-point on it. Sometimes the program continues, but shows only part of > the form (no buttons, ....). > > Part of the code : > > > PUBLIC SUB Form_Open() > DIM tmp AS String > > ' we add some marks if we can > IF Exist("/home/partage") THEN > tmp = "/home/partage" > ELSE IF Exist(User.Home & "/partage") THEN > tmp = User.Home & "/partage" > END IF > FileChooser1.Dir = MGlobal.FPath > IF tmp THEN > FileChooser1.Bookmarks = [[tmp, "Partage", "icon:/16/language"], > ["/home", "R?pertoire base", "icon:/16/directory"]] > ELSE > FileChooser1.Bookmarks = [["/tmp", "Temporary directory"], > ["/home", "R?pertoire base", "icon:/16/directory"]] > END IF > END > > > Thanks, > Steven > You don't have any error? Can you send me the project, or at least the form but I prefer the project, so that I have the entire context. Regards, -- Benoit Minisini From gambas at ...1... Tue Sep 25 17:48:14 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 25 Sep 2007 17:48:14 +0200 Subject: [Gambas-user] Re; Execution order In-Reply-To: <12471712.20991190720276196.JavaMail.root@...1708...> References: <12471712.20991190720276196.JavaMail.root@...1708...> Message-ID: <200709251748.14832.gambas@...1...> On mardi 25 septembre 2007, Gareth Bult wrote: > Hi, > > I have a copy of gb.db.form that I'm working on as a project. > > For some reason when I run the project, the first line of code it runs is > in "DataCombo" as opposed to "Main" (the startup class). > > Any obvious reasons why it's not running "Main" first? > > .. it "was" .. all I can see that's changed is an upgrade to SVN 662 ... > > .. Any ideas? Main is not the first code run by the interpreter, because when a class is loaded, its _init static public function is called, and all its static variable are initialized. Logically no code should be run in DataCombo, as there are no static things in it, but you must tell me exactly which code was run so that I could understand the trick. Regards, -- Benoit Minisini From gareth at ...1689... Tue Sep 25 17:53:37 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 25 Sep 2007 16:53:37 +0100 (BST) Subject: [Gambas-user] Re; Execution order In-Reply-To: <200709251748.14832.gambas@...1...> Message-ID: <14320396.21941190735617861.JavaMail.root@...1708...> gb.db.form (!) When I press F8 on my version, this is the code that runs first! PUBLIC SUB _new() $hCtrl = NEW ComboBox(ME) AS "ComboBox" <------------ **** ME._AutoResize = TRUE '$hCtrl.ReadOnly = TRUE END -- Managing Director, Encryptec Limited Tel: 0845 25 77033, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. ----- Original Message ----- From: "Benoit Minisini" To: "mailing list for gambas users" Sent: Tuesday, September 25, 2007 4:48:14 PM (GMT) Europe/London Subject: Re: [Gambas-user] Re; Execution order On mardi 25 septembre 2007, Gareth Bult wrote: > Hi, > > I have a copy of gb.db.form that I'm working on as a project. > > For some reason when I run the project, the first line of code it runs is > in "DataCombo" as opposed to "Main" (the startup class). > > Any obvious reasons why it's not running "Main" first? > > .. it "was" .. all I can see that's changed is an upgrade to SVN 662 ... > > .. Any ideas? Main is not the first code run by the interpreter, because when a class is loaded, its _init static public function is called, and all its static variable are initialized. Logically no code should be run in DataCombo, as there are no static things in it, but you must tell me exactly which code was run so that I could understand the trick. Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From steven at ...1652... Tue Sep 25 18:04:13 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Tue, 25 Sep 2007 18:04:13 +0200 Subject: [Gambas-user] File Chooser In-Reply-To: <200709251745.43125.gambas@...1...> References: <200709251045.25097.steven@...1652...> <200709251745.43125.gambas@...1...> Message-ID: <200709251804.13422.steven@...1652...> Hi Benoit, I cannot send you the project, since your mail box does not accept large files ;-) (known problem). But attached is the form and the code. It is called with a showmodal. In the mean time i went back to the previous trunk, and it works just fine now. Kindest regards, Steven Le mardi 25 septembre 2007 17:45, Benoit Minisini a ?crit?: > On mardi 25 septembre 2007, Steven Lobbezoo wrote: > > Hi, > > > > Latest trunk (yesterday afternoon) on suse 10.2 > > > > I have a problem with the filechooser control. > > I form that worked perfectly before, does not show anymore. > > The program halts on the filechooser1.Bookmarks below, just as if I put a > > stop-point on it. Sometimes the program continues, but shows only part of > > the form (no buttons, ....). > > > > Part of the code : > > > > > > PUBLIC SUB Form_Open() > > DIM tmp AS String > > > > ' we add some marks if we can > > IF Exist("/home/partage") THEN > > tmp = "/home/partage" > > ELSE IF Exist(User.Home & "/partage") THEN > > tmp = User.Home & "/partage" > > END IF > > FileChooser1.Dir = MGlobal.FPath > > IF tmp THEN > > FileChooser1.Bookmarks = [[tmp, "Partage", "icon:/16/language"], > > ["/home", "R?pertoire base", "icon:/16/directory"]] > > ELSE > > FileChooser1.Bookmarks = [["/tmp", "Temporary directory"], > > ["/home", "R?pertoire base", "icon:/16/directory"]] > > END IF > > END > > > > > > Thanks, > > Steven > > You don't have any error? Can you send me the project, or at least the form > but I prefer the project, so that I have the entire context. > > Regards, -------------- next part -------------- # Gambas Form File 2.0 { Form Form MoveScaled(0,0,84,53) Font = Font["Italic"] Background = Color.Background Foreground = Color.Foreground Text = ("Revimmo - selection de fichiers") Icon = Picture["icon:/16/watch"] { FileChooser1 FileChooser MoveScaled(1,1,82,43) Font = Font["Italic"] Background = Color.Background Foreground = Color.Foreground Multi = True Filter = [("*.png;*.jpg;*.jpeg;*.bmp;*.gif;*.xpm"), ("Images, photo's"), ("*.*"), ("Tous les fichiers")] ShowDetailed = True } { Panel1 Panel MoveScaled(1,45,82,8) { ok ToolButton MoveScaled(69,3,13,4) Font = Font["Italic"] Text = (" Allez-y") Picture = Picture["icon:/16/color"] Border = True } { cancel ToolButton MoveScaled(53,3,13,4) Font = Font["Italic"] Text = (" Annuler") Picture = Picture["icon:/16/cancel"] Border = True } { TextLabel1 TextLabel MoveScaled(0,0,50,7) Font = Font["Italic,8"] Foreground = &H800000& Text = ("Vous pouvez choisir plusieurs\nfichiers en m\xC3\xAAme temps, en\nappuient sur le taste \"Ctrl\" et\nselectionner les fichiers avec \nle souris, ou en m\xC3\xAAme fa\xC3\xA7on\nselectionner une liste avec le\ntaste \"Maj\" et le souris.") } } } -------------- next part -------------- A non-text attachment was scrubbed... Name: fileselector.class Type: application/x-java Size: 1086 bytes Desc: not available URL: From gareth at ...1689... Tue Sep 25 18:14:41 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 25 Sep 2007 17:14:41 +0100 (BST) Subject: [Gambas-user] Re; Adding new components In-Reply-To: <200709251743.14275.gambas@...1...> Message-ID: <19634230.21971190736881617.JavaMail.root@...1708...> >Normally, Select.None;Select.Single;Select.Multiple should not work. But maybe I made more than I thought. Yup, that works fine! >Hmm... Where is the DataTypes.None constant? Makes no difference, but here it is; PUBLIC CONST NONE AS String = NULL >And you should tell me the error you get each time, because this way I can make the IDE more robust against errors in component definition. I have no errors (!) I just get a normal string entry box rather than a drop-down editor (!) >Note: I prefer having constants written with the first letter of each word in upper case, and the other in lower case. There are some exceptions like in the OpenGL component, but this is because the interface of the component comes from OpenGL, and was not designed for Gambas. Sure, I'm still testing at this stage, variable names will change .. Gareth. Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Tue Sep 25 18:26:52 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 25 Sep 2007 18:26:52 +0200 Subject: [Gambas-user] Re; Adding new components In-Reply-To: <19634230.21971190736881617.JavaMail.root@...1708...> References: <19634230.21971190736881617.JavaMail.root@...1708...> Message-ID: <200709251826.52320.gambas@...1...> On mardi 25 septembre 2007, Gareth Bult wrote: > >Normally, Select.None;Select.Single;Select.Multiple should not work. But > > maybe I made more than I thought. > > Yup, that works fine! > > >Hmm... Where is the DataTypes.None constant? > > Makes no difference, but here it is; > > PUBLIC CONST NONE AS String = NULL > > >And you should tell me the error you get each time, because this way I can > > make the IDE more robust against errors in component definition. > > I have no errors (!) I just get a normal string entry box rather than a > drop-down editor (!) Of course, I'm stupid: constants must be integer values :-). And yours are strings. It is just a matter of adding support for string constants + enumerations in the IDE. I will tell you if I can do that... -- Benoit Minisini From gareth at ...1689... Tue Sep 25 18:30:58 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 25 Sep 2007 17:30:58 +0100 (BST) Subject: [Gambas-user] Re; Adding new components In-Reply-To: <200709251826.52320.gambas@...1...> Message-ID: <29517296.22101190737858318.JavaMail.root@...1708...> Mmm... your howto said "constant" .. as opposed to "integer constant" .. I think we really need strings to work too otherwise lots of this isn't going to fly too well ... Gareth. -- Managing Director, Encryptec Limited Tel: 0845 25 77033, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. ----- Original Message ----- From: "Benoit Minisini" To: "mailing list for gambas users" Sent: Tuesday, September 25, 2007 5:26:52 PM (GMT) Europe/London Subject: Re: [Gambas-user] Re; Adding new components On mardi 25 septembre 2007, Gareth Bult wrote: > >Normally, Select.None;Select.Single;Select.Multiple should not work. But > > maybe I made more than I thought. > > Yup, that works fine! > > >Hmm... Where is the DataTypes.None constant? > > Makes no difference, but here it is; > > PUBLIC CONST NONE AS String = NULL > > >And you should tell me the error you get each time, because this way I can > > make the IDE more robust against errors in component definition. > > I have no errors (!) I just get a normal string entry box rather than a > drop-down editor (!) Of course, I'm stupid: constants must be integer values :-). And yours are strings. It is just a matter of adding support for string constants + enumerations in the IDE. I will tell you if I can do that... -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From steven at ...1652... Thu Sep 27 13:37:13 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Thu, 27 Sep 2007 13:37:13 +0200 Subject: [Gambas-user] test Message-ID: <200709271337.13647.steven@...1652...> Hi, just a test to see if the mailing list still works, since i donnot receive any messages recently. Steven From david_villalobos_c at ...43... Thu Sep 27 14:49:18 2007 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Thu, 27 Sep 2007 05:49:18 -0700 (PDT) Subject: [Gambas-user] test Message-ID: <910841.36450.qm@...1781...> We should have a lot of work... :-) ----- Original Message ---- From: Steven Lobbezoo To: gambas-user at lists.sourceforge.net Sent: Thursday, September 27, 2007 5:37:13 AM Subject: [Gambas-user] test Hi, just a test to see if the mailing list still works, since i donnot receive any messages recently. Steven ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC From d.paleino at ...626... Thu Sep 27 16:41:40 2007 From: d.paleino at ...626... (David Paleino) Date: Thu, 27 Sep 2007 16:41:40 +0200 Subject: [Gambas-user] Hyperlinks Message-ID: <20070927164140.0799d488@...1597...> Hi all, I'm working on a bts2ldap GUI to use on Debian systems. I've abandoned the use of gb.ldap, since it simply doesn't work (oh, well, it might, but it's not that documented), and I'm using ldapsearch from a shell. Now, let's go down to business. I have a GridView component with all the bugs listed, and when one double-clicks on an item, a new Form opens up, showing details for that Bug. Now, I wanted to add a row pointing to the Debian BTS page, i.e. adding an hyperlink. What I've done so far is: colDetails.Add("url", "URL") colDetails.Item[1] = "http://bugs.debian.org/" & bug (that is, just adding a new row), but I can't find anywhere how one could add a Hyperlink. I don't know if Gambas has this "feature", I just wanted to avoid calling an external program myself (that means, I should try to detect the default web-browser, and passing parameters to it). Have a nice day, David -- . ''`. Debian maintainer | http://snipurl.com/gofoxygo/ : :' : Linuxer #334216 | http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://www.debianizzati.org/ `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From gambas at ...1... Thu Sep 27 16:52:25 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 27 Sep 2007 16:52:25 +0200 Subject: [Gambas-user] Hyperlinks In-Reply-To: <20070927164140.0799d488@...1597...> References: <20070927164140.0799d488@...1597...> Message-ID: <200709271652.25911.gambas@...1...> On jeudi 27 septembre 2007, David Paleino wrote: > Hi all, > I'm working on a bts2ldap GUI to use on Debian systems. I've abandoned the > use of gb.ldap, since it simply doesn't work (oh, well, it might, but it's > not that documented), and I'm using ldapsearch from a shell. Apparently it does not work. I have no news from its developer, so this component may be removed in 2.0. > Now, let's go down to business. > > I have a GridView component with all the bugs listed, and when one > double-clicks on an item, a new Form opens up, showing details for that > Bug. Now, I wanted to add a row pointing to the Debian BTS page, i.e. > adding an hyperlink. What I've done so far is: > > colDetails.Add("url", "URL") > colDetails.Item[1] = "http://bugs.debian.org/" & bug > > (that is, just adding a new row), but I can't find anywhere how one could > add a Hyperlink. I don't know if Gambas has this "feature", I just wanted > to avoid calling an external program myself (that means, I should try to > detect the default web-browser, and passing parameters to it). You can use the gb.desktop component. It adds a Desktop.Open() method that can open an URL inside the browser or prefered application of the desktop in use. It is based on the Portland project (See the documentation on the wiki). Your two lines of code are for a ColumnView, not a GridView. Anyway, you should use a GridView, and opens the URL when the user clicks on the cell that displays the link. Regards, -- Benoit Minisini From smiefert at ...784... Thu Sep 27 19:45:37 2007 From: smiefert at ...784... (smiefert at ...784...) Date: 27 Sep 2007 17:45:37 UT Subject: [Gambas-user] Form.resize event Message-ID: Hello, i want to fix my form to a minimum size but when i take the resize event i think when i insert something like this if form1.width > 100 then form1.width=100 dont work. How can i fix this? From david_villalobos_c at ...43... Thu Sep 27 20:05:11 2007 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Thu, 27 Sep 2007 11:05:11 -0700 (PDT) Subject: [Gambas-user] Form.resize event Message-ID: <244465.51047.qm@...1674...> hi, you should set the property Border of your Form to Fixed, so it won?t change. ----- Original Message ---- From: "smiefert at ...784..." To: gambas-user at lists.sourceforge.net Sent: Thursday, September 27, 2007 11:45:37 AM Subject: [Gambas-user] Form.resize event Hello, i want to fix my form to a minimum size but when i take the resize event i think when i insert something like this if form1.width > 100 then form1.width=100 dont work. How can i fix this? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ____________________________________________________________________________________ Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more! http://tv.yahoo.com/collections/3658 From jj at ...1636... Thu Sep 27 21:23:54 2007 From: jj at ...1636... (jose julio vidal) Date: Thu, 27 Sep 2007 21:23:54 +0200 Subject: [Gambas-user] Form.resize event In-Reply-To: <244465.51047.qm@...1674...> References: <244465.51047.qm@...1674...> Message-ID: <1190921034.3022.5.camel@...1762...> hi! mmm...this code fails sometimes...please, test the example (GNULinex/Gambas 1.9.50) regards! -------------- next part -------------- A non-text attachment was scrubbed... Name: resize.tar.gz Type: application/x-compressed-tar Size: 4938 bytes Desc: not available URL: From smiefert at ...784... Fri Sep 28 11:23:48 2007 From: smiefert at ...784... (smiefert at ...784...) Date: 28 Sep 2007 09:23:48 UT Subject: [Gambas-user] Re-2: Form.resize event Message-ID: Hello, but then i can toogle it to fullscreen. i need a minimusize not a maximum:) -------- Original Message -------- Subject: Re: [Gambas-user] Form.resize event (27-Sep-2007 20:05) From: david_villalobos_c at ...43... To: gambas-user at lists.sourceforge.net > hi, you should set the property Border of your Form to Fixed, so it won't > change. > > ----- Original Message ---- > From: "smiefert at ...784..." > To: gambas-user at lists.sourceforge.net > Sent: Thursday, September 27, 2007 11:45:37 AM > Subject: [Gambas-user] Form.resize event > > Hello, > > i want to fix my form to a minimum size but when i take the resize event > i think when i insert something like this > > if form1.width > 100 then form1.width=100 > From smiefert at ...784... Fri Sep 28 11:30:38 2007 From: smiefert at ...784... (smiefert at ...784...) Date: 28 Sep 2007 09:30:38 UT Subject: [Gambas-user] Re-2: Form.resize event Message-ID: can you mail the plain code? -------- Original Message -------- Subject: Re: [Gambas-user] Form.resize event (27-Sep-2007 21:23) From: jj at ...1636... To: gambas-user at lists.sourceforge.net > hi! > mmm...this code fails sometimes...please, test the example > (GNULinex/Gambas 1.9.50) > > regards! > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > To: gambas-user at lists.sourceforge.net From smiefert at ...784... Fri Sep 28 11:51:06 2007 From: smiefert at ...784... (smiefert at ...784...) Date: 28 Sep 2007 09:51:06 UT Subject: [Gambas-user] Re-2: Form.resize event Message-ID: i get errors on the first 2 lines but i think thats isnt the problemfix. on resize it dosent resize it back. thats my problem -------- Original Message -------- Subject: Re: [Gambas-user] Form.resize event (27-Sep-2007 21:23) From: jj at ...1636... To: gambas-user at lists.sourceforge.net > hi! > mmm...this code fails sometimes...please, test the example > (GNULinex/Gambas 1.9.50) > > regards! > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > To: gambas-user at lists.sourceforge.net From david_villalobos_c at ...43... Fri Sep 28 14:29:26 2007 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Fri, 28 Sep 2007 05:29:26 -0700 (PDT) Subject: [Gambas-user] Re-2: Form.resize event Message-ID: <192381.66628.qm@...1782...> Can you send a example? ----- Original Message ---- From: "smiefert at ...784..." To: gambas-user at lists.sourceforge.net Sent: Friday, September 28, 2007 3:51:06 AM Subject: [Gambas-user] Re-2: Form.resize event i get errors on the first 2 lines but i think thats isnt the problemfix. on resize it dosent resize it back. thats my problem -------- Original Message -------- Subject: Re: [Gambas-user] Form.resize event (27-Sep-2007 21:23) From: jj at ...1636... To: gambas-user at lists.sourceforge.net > hi! > mmm...this code fails sometimes...please, test the example > (GNULinex/Gambas 1.9.50) > > regards! > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > To: gambas-user at lists.sourceforge.net ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433 From d.paleino at ...626... Fri Sep 28 20:06:44 2007 From: d.paleino at ...626... (David Paleino) Date: Fri, 28 Sep 2007 20:06:44 +0200 Subject: [Gambas-user] Hyperlinks In-Reply-To: <200709271652.25911.gambas@...1...> References: <20070927164140.0799d488@...1597...> <200709271652.25911.gambas@...1...> Message-ID: <20070928200644.6521c3a2@...1597...> Hi Beno?t, (sorry for the delay -- Bogofilter needs some fine-tuning ;) ) Il giorno Thu, 27 Sep 2007 16:52:25 +0200 Benoit Minisini ha scritto: > On jeudi 27 septembre 2007, David Paleino wrote: > > Hi all, > > I'm working on a bts2ldap GUI to use on Debian systems. I've abandoned the > > use of gb.ldap, since it simply doesn't work (oh, well, it might, but it's > > not that documented), and I'm using ldapsearch from a shell. > > Apparently it does not work. I have no news from its developer, so this > component may be removed in 2.0. That might avoid confusion to users :) > > ... > > You can use the gb.desktop component. It adds a Desktop.Open() method that > can open an URL inside the browser or prefered application of the desktop in > use. It is based on the Portland project (See the documentation on the wiki). I'll take a look, thank you. > Your two lines of code are for a ColumnView, not a GridView. Anyway, you > should use a GridView, and opens the URL when the user clicks on the cell > that displays the link. Yes, the GridView is for the bug-listing, the Details Dialog has a ColumnView. Is there any reason for using a GridView instead of a ColumnView component? I already managed to get a Message.Info() up when the user clicks on the URL with ColumnView. > Regards, Thank you, David -- . ''`. Debian maintainer | http://snipurl.com/gofoxygo/ : :' : Linuxer #334216 | http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://www.debianizzati.org/ `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From d.paleino at ...626... Fri Sep 28 21:37:21 2007 From: d.paleino at ...626... (David Paleino) Date: Fri, 28 Sep 2007 21:37:21 +0200 Subject: [Gambas-user] Hyperlinks In-Reply-To: <200709271652.25911.gambas@...1...> References: <20070927164140.0799d488@...1597...> <200709271652.25911.gambas@...1...> Message-ID: <20070928213721.6ffbd477@...1597...> Il giorno Thu, 27 Sep 2007 16:52:25 +0200 Benoit Minisini ha scritto: > > ... > > Anyway, you should use a GridView, ... Some news: I've used a GridView, but it misses an essential (for me) feature. With the ColumnView, when the cell's content is bigger than the column's width, this automatically expands, and the horizontal scrollbar appears. With GridView, seems like this doesn't happen: the content is just cut out, and if I try to resize a column, the scrollbar appears only when the column I'm resizing goes out of the border. Hope you can help me, David -- . ''`. Debian maintainer | http://snipurl.com/gofoxygo/ : :' : Linuxer #334216 | http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://www.debianizzati.org/ `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From d.paleino at ...626... Fri Sep 28 22:45:17 2007 From: d.paleino at ...626... (David Paleino) Date: Fri, 28 Sep 2007 22:45:17 +0200 Subject: [Gambas-user] Gambas and SOAP Message-ID: <20070928224517.0681bcb9@...1597...> Hi *, how is the SOAP front [1] going? Is there any progress? Well, I don't even know if anything started yet so... is there anything about this? I'd like to see it in Gambas :) Kindly, David [1] http://www.gambasdoc.org/help/doc/network -- . ''`. Debian maintainer | http://snipurl.com/gofoxygo/ : :' : Linuxer #334216 | http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://www.debianizzati.org/ `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From jj at ...1636... Fri Sep 28 23:25:23 2007 From: jj at ...1636... (jose julio vidal) Date: Fri, 28 Sep 2007 23:25:23 +0200 Subject: [Gambas-user] Re-2: Form.resize event In-Reply-To: <192381.66628.qm@...1782...> References: <192381.66628.qm@...1782...> Message-ID: <1191014723.3218.0.camel@...1762...> The project here: http://casaclaudio.com/gambeo/resize.tar.gz regards! From jj at ...1636... Fri Sep 28 23:47:22 2007 From: jj at ...1636... (jose julio vidal) Date: Fri, 28 Sep 2007 23:47:22 +0200 Subject: [Gambas-user] Re-2: Form.resize event In-Reply-To: References: Message-ID: <1191016042.3218.2.camel@...1762...> the code: ' Gambas class file PRIVATE min_height AS Integer = CInt(ME.Height) PRIVATE min_width AS Integer = CInt(ME.Width) PUBLIC SUB Form_Open() Label2.Width = min_width / 2 Label2.Height = min_height / 2 label2.x = (min_width / 2) - (label2.Width / 2) label2.y = (min_height / 2) - (label2.Height / 2) ME.center END PUBLIC SUB Form_Resize() 'message.Info("cambiando") ME.Height = min_height ME.Width = min_width END regards! El vie, 28-09-2007 a las 09:30 +0000, smiefert at ...784... escribi?: > can you mail the plain code? > > > > -------- Original Message -------- > Subject: Re: [Gambas-user] Form.resize event (27-Sep-2007 21:23) > From: jj at ...1636... > To: gambas-user at lists.sourceforge.net > > > hi! > > mmm...this code fails sometimes...please, test the example > > (GNULinex/Gambas 1.9.50) > > > > regards! > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > To: gambas-user at lists.sourceforge.net > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ariefbayu at ...626... Sat Sep 29 06:12:41 2007 From: ariefbayu at ...626... (Arief Bayu Purwanto) Date: Sat, 29 Sep 2007 11:12:41 +0700 Subject: [Gambas-user] Howto get image data? Message-ID: <976ad9050709282112h4b4b4e25nabe194bb26c4c6af@...627...> hello gambas users, I want to know hot to get width and height from an image with supplied filepath, also is there any page on the net that can teach me how to do image manipulation(resize, etc) in gambas? TIA. -- Daiguren Hy?rinmaru From gareth at ...1689... Sun Sep 30 20:20:42 2007 From: gareth at ...1689... (Gareth Bult) Date: Sun, 30 Sep 2007 19:20:42 +0100 (BST) Subject: [Gambas-user] Components and Icons ... Message-ID: <8918307.1351191176442077.JavaMail.root@...1708...> Ok, So I know that a component's icon must be included in the Gambas2 IDE .. However, can you tell me how to associate a new component with such an Icon ? Gareth. -- Managing Director, Encryptec Limited Tel: 0845 25 77033, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request.