Re: [Gambas-user] Bug in IDE packager for rpm packages

2015-05-05 Thread Benoît Minisini
Le 05/05/2015 23:28, Willy@develop a écrit :
 Hi,

 A user on the Gambas forum reported having trouble making rpm packages
 using IDE.

 We had some discussion on the topic to check if all requirements where
 installed to build rpm packages on Ubuntu. They where but when making
 packages for one of the rpm distro's Gambas threw an error.

 I managed isolate the cause of the problem being the name used in the
 project. The persons project was named ListBox+.

 Seems the added + to the project name turns out to be a problem for
 making rpm packages (deb packages build just fine).

 I tried and succeeded in replicating the error as follows:
 I opened a new empty qt4 project and named it MyBox+.
 Next I tried making a  rpm package for Fedora.

 This is the error returned:

 

 Pakket aanmaken voor Fedora / RedHat / CentOS.

 

 Gereed maken ~/RPM map.
 Broncode pakket aanmaken.
 .spec bestand aanmaken.
 Pakket aanmaken...

 rpmbuild -ba '/home/willy/RPM/SPECS/mybox+.spec'
 Executing(%prep): /bin/sh -e /home/willy/RPM/tmp/rpm-tmp.pebI7j
 + umask 022
 + cd /home/willy/RPM/BUILD
 + rm -rf /home/willy/RPM/BUILDROOT/mybox+-0.0.1-1.i386
 + cd /home/willy/RPM/BUILD
 + rm -rf MyBox+
 + + /bin/tar -xf -
 /bin/bzip2 -dc /home/willy/RPM/SOURCES/mybox+-0.0.1.tar.bz2
 + STATUS=0
 + [ 0 -ne 0 ]
 + cd MyBox+
 + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
 + exit 0
 Executing(%build): /bin/sh -e /home/willy/RPM/tmp/rpm-tmp.DojBTv
 + umask 022
 + cd /home/willy/RPM/BUILD
 + cd MyBox+
 + /usr/bin/gbc3 -e -a -g -x
 OK
 + gba3
 + exit 0
 Executing(%install): /bin/sh -e /home/willy/RPM/tmp/rpm-tmp.uHcvWH
 + umask 022
 + cd /home/willy/RPM/BUILD
 + cd MyBox+
 + install -d /home/willy/RPM/BUILDROOT/mybox+-0.0.1-1.i386//usr/bin
 + install -p MyBox+.gambas /home/willy/RPM/BUILDROOT/mybox
 +-0.0.1-1.i386//usr/bin/MyBox+
 + install -d /home/willy/RPM/BUILDROOT/mybox
 +-0.0.1-1.i386//usr/share/pixmaps
 + install -d /home/willy/RPM/BUILDROOT/mybox
 +-0.0.1-1.i386//usr/share/applications
 + install -p .icon/48.png /home/willy/RPM/BUILDROOT/mybox
 +-0.0.1-1.i386//usr/share/pixmaps/MyBox+.png
 + cat
 + /usr/lib/rpm/brp-compress
 + /usr/lib/rpm/brp-strip /usr/bin/strip
 + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
 + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
 Processing files: mybox+-0.0.1-1.noarch
 error: File not found: /home/willy/RPM/BUILDROOT/mybox
 +-0.0.1-1.i386/usr/bin/'MyBox+'
 error: File not found: /home/willy/RPM/BUILDROOT/mybox
 +-0.0.1-1.i386/usr/share/pixmaps/'MyBox+'.png


 RPM build errors:
  File not found: /home/willy/RPM/BUILDROOT/mybox
 +-0.0.1-1.i386/usr/bin/'MyBox+'
  File not found: /home/willy/RPM/BUILDROOT/mybox
 +-0.0.1-1.i386/usr/share/pixmaps/'MyBox+'.png

 Het pakket maken is mislukt.
 Package.MakeRpmPackage.1420: 'rpmbuild' heeft de volgende foutcode
 teruggestuurd: 1

 ==End of error report=

 My impression is that the added single quotes to the project name
 confuse the rpm builder (see lines after above RPM build errors)

 Note that I can make rpm packages from Gambas IDE for other projects
 (without the added + to the project name).



It seems that rpm or deb packages usually cannot handle characters that 
are not a letter or a digit. I didn't find any documentation that tells 
me exactly which characters are really allowed in a package name.

Maybe I should prevent that by automatically replace these characters by 
something else when making the package.

Anyway, it's better to use only digits and letters in your project name!

Regards,

-- 
Benoît Minisini

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Bug in IDE packager for rpm packages

2015-05-05 Thread Willy@develop
Hi,

A user on the Gambas forum reported having trouble making rpm packages
using IDE.

We had some discussion on the topic to check if all requirements where
installed to build rpm packages on Ubuntu. They where but when making
packages for one of the rpm distro's Gambas threw an error.

I managed isolate the cause of the problem being the name used in the
project. The persons project was named ListBox+.

Seems the added + to the project name turns out to be a problem for
making rpm packages (deb packages build just fine).

I tried and succeeded in replicating the error as follows:
I opened a new empty qt4 project and named it MyBox+.
Next I tried making a  rpm package for Fedora.

This is the error returned:



Pakket aanmaken voor Fedora / RedHat / CentOS.



Gereed maken ~/RPM map.
Broncode pakket aanmaken.
.spec bestand aanmaken.
Pakket aanmaken...

rpmbuild -ba '/home/willy/RPM/SPECS/mybox+.spec'
Executing(%prep): /bin/sh -e /home/willy/RPM/tmp/rpm-tmp.pebI7j
+ umask 022
+ cd /home/willy/RPM/BUILD
+ rm -rf /home/willy/RPM/BUILDROOT/mybox+-0.0.1-1.i386
+ cd /home/willy/RPM/BUILD
+ rm -rf MyBox+
+ + /bin/tar -xf -
/bin/bzip2 -dc /home/willy/RPM/SOURCES/mybox+-0.0.1.tar.bz2
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd MyBox+
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /home/willy/RPM/tmp/rpm-tmp.DojBTv
+ umask 022
+ cd /home/willy/RPM/BUILD
+ cd MyBox+
+ /usr/bin/gbc3 -e -a -g -x
OK
+ gba3
+ exit 0
Executing(%install): /bin/sh -e /home/willy/RPM/tmp/rpm-tmp.uHcvWH
+ umask 022
+ cd /home/willy/RPM/BUILD
+ cd MyBox+
+ install -d /home/willy/RPM/BUILDROOT/mybox+-0.0.1-1.i386//usr/bin
+ install -p MyBox+.gambas /home/willy/RPM/BUILDROOT/mybox
+-0.0.1-1.i386//usr/bin/MyBox+
+ install -d /home/willy/RPM/BUILDROOT/mybox
+-0.0.1-1.i386//usr/share/pixmaps
+ install -d /home/willy/RPM/BUILDROOT/mybox
+-0.0.1-1.i386//usr/share/applications
+ install -p .icon/48.png /home/willy/RPM/BUILDROOT/mybox
+-0.0.1-1.i386//usr/share/pixmaps/MyBox+.png
+ cat
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
Processing files: mybox+-0.0.1-1.noarch
error: File not found: /home/willy/RPM/BUILDROOT/mybox
+-0.0.1-1.i386/usr/bin/'MyBox+'
error: File not found: /home/willy/RPM/BUILDROOT/mybox
+-0.0.1-1.i386/usr/share/pixmaps/'MyBox+'.png


RPM build errors:
File not found: /home/willy/RPM/BUILDROOT/mybox
+-0.0.1-1.i386/usr/bin/'MyBox+'
File not found: /home/willy/RPM/BUILDROOT/mybox
+-0.0.1-1.i386/usr/share/pixmaps/'MyBox+'.png

Het pakket maken is mislukt.
Package.MakeRpmPackage.1420: 'rpmbuild' heeft de volgende foutcode
teruggestuurd: 1

==End of error report=

My impression is that the added single quotes to the project name
confuse the rpm builder (see lines after above RPM build errors)

Note that I can make rpm packages from Gambas IDE for other projects
(without the added + to the project name).


-- 
Kind regards,

Willy (aka gbWilly)

http://gambasshowcase.org/
http://howtogambas.org
http://gambos.org





--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: How to know is my Form activated or not?

2015-05-05 Thread abbat81
http://gambas.8142.n7.nabble.com/file/n51457/2015-05-05-101559_1280x1024_scrot.png
 

http://gambas.8142.n7.nabble.com/file/n51457/2015-05-05-101344_1280x1024_scrot.png
 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-know-is-my-Form-activated-or-not-tp51426p51457.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: How to know is my Form activated or not?

2015-05-05 Thread Gian
Il 05/05/2015 08:59, abbat81 ha scritto:
 http://gambas.8142.n7.nabble.com/file/n51457/2015-05-05-101559_1280x1024_scrot.png

 http://gambas.8142.n7.nabble.com/file/n51457/2015-05-05-101344_1280x1024_scrot.png



 --
 View this message in context: 
 http://gambas.8142.n7.nabble.com/How-to-know-is-my-Form-activated-or-not-tp51426p51457.html
 Sent from the gambas-user mailing list archive at Nabble.com.

 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user



Probably it will not work because your version is before 3.6

Regards
Gianluigi

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: How to know is my Form activated or not?

2015-05-05 Thread Ru Vuott
...very strange !




Mar 5/5/15, abbat81 abbat...@mail.ru ha scritto:

 Oggetto: Re: [Gambas-user] R:  How to know is my Form activated or not?
 A: gambas-user@lists.sourceforge.net
 Data: Martedì 5 maggio 2015, 08:59
 
 
http://gambas.8142.n7.nabble.com/file/n51457/2015-05-05-101559_1280x1024_scrot.png
 
 
 
http://gambas.8142.n7.nabble.com/file/n51457/2015-05-05-101344_1280x1024_scrot.png
 
 
 
 
 --
 View this message in
 context: 
http://gambas.8142.n7.nabble.com/How-to-know-is-my-Form-activated-or-not-tp51426p51457.html
 Sent
 from the gambas-user mailing list archive at Nabble.com.
 
 --
 One dashboard for servers and applications
 across Physical-Virtual-Cloud 
 Widest
 out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that
 give you Actionable Insights
 Deep dive
 visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user
 

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user