Re: [Gambas-user] Egads! A new (nasty) error message

2015-12-03 Thread adamn...@gmail.com
On Wed, 2 Dec 2015 14:06:20 +1030
"adamn...@gmail.com"  wrote:

> Generally lately, I'm getting the following error in "random" places:
> [42] System error #27: File too large.
> 
> Que?
> 
> bruce

Some more information.

This is (still "randomly") happening. 
Error #27 text should be "Cannot load component" --> (CLUE?)
It happens (more frequently) when "/tmp" is on a partition that is getting full 
(>95% used) and the fattest /tmp user is gambas.500 i.e. me  --> (CLUE?)

By random places I mean that sometimes it happens when I'm trying to open a 
project in (another) instance of the IDE and also that the backtrace line that 
is reported seems (so far) to be entirely "random" i.e. on gambas3 line X 
where, when I look at that line seems to have nothing to do with file access.

However, it does seem to have something to do with loading a component.

I have grep'ed the entire source of rev 7495 (both a "pristine" copy and our 
local mod'ed version) for the string "File too large" with no success :-(
I also cannot understand the "[42]" at the beginning of the error message :-(

I am in a "maze of twisted little passages that are all different"  here, any 
clues, suggestions gratefully accepted.

regards
bruce

-- 
B Bruen 

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU

2015-12-03 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.855=L21haW4-

Zainudin AHMAD reported a new bug.

Summary
---

[gb.report2] blank report, use more than 90% resource CPU

Type : Bug
Priority : Medium
Gambas version   : 3.8.90 (TRUNK)
Product  : GUI components


Description
---

In my system only show blank report, it's using more than 90% resource CPU 
(attach pic-1)
this happens only with gb.report2, it's fine with gb.report

(attach project)


System information
--

[System]
Gambas=3.8.90 r7496
OperatingSystem=Linux
Kernel=3.2.0-88-generic
Architecture=x86
Distribution=Ubuntu 12.04.5 LTS
Desktop=LXDE
Theme=Gtk
Language=en_US.UTF-8
Memory=494M

[Libraries]
Cairo=libcairo.so.2.11000.2
Curl=libcurl.so.4.2.0
DBus=libdbus-1.so.3.5.8
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.7.0
GTK+2=libgtk-x11-2.0.so.0.2400.10
GTK+3=libgtk-3.so.0.400.2
OpenGL=libGL.so.96.43.23
Poppler=libpoppler.so.19.0.0
QT4=libQtCore.so.4.8.1
QT5=libQt5Core.so.5.0.2
SDL=libSDL-1.2.so.0.11.3

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-xpmvj25V6h,guid=be71a96f9e366390d6245d36002c
DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path
DESKTOP_SESSION=Lubuntu
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=Lubuntu
GNOME_KEYRING_CONTROL=/tmp/keyring-jbkeXd
GNOME_KEYRING_PID=1828
HOME=
LANG=en_US.UTF-8
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path
PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=
SAL_USE_VCLPLUGIN=gtk
SHELL=/bin/bash
SSH_AGENT_PID=1819
SSH_AUTH_SOCK=/tmp/keyring-jbkeXd/ssh
TZ=:/etc/localtime
USER=
XAUTHORITY=/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg
XDG_CONFIG_HOME=/.config
XDG_CURRENT_DESKTOP=LXDE
XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg
XDG_MENU_PREFIX=lxde-
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_COOKIE=2d9710af0959f6893eb828f10008-1449091035.731829-1059360993
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
_LXSESSION_PID=1789



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU

2015-12-03 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.855=L21haW4-

Zainudin AHMAD added an attachment:

test-100Cpu-gb.report2-0.0.1.tar.gz



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Egads! A new (nasty) error message

2015-12-03 Thread Tobias Boege
On Fri, 04 Dec 2015, adamn...@gmail.com wrote:
> On Wed, 2 Dec 2015 14:06:20 +1030
> "adamn...@gmail.com"  wrote:
> 
> > Generally lately, I'm getting the following error in "random" places:
> > [42] System error #27: File too large.
> > 
> > Que?
> > 
> > bruce
> 
> Some more information.
> 
> This is (still "randomly") happening. 
> Error #27 text should be "Cannot load component" --> (CLUE?)
> [...]
> However, it does seem to have something to do with loading a component.
> [...]
> I also cannot understand the "[42]" at the beginning of the error message :-(
> 

The 42 is the Gambas error number which is "System error". The 27 is the
system error number (errno) which translates (in my C library headers) to
EFBIG, i.e. "File too large".

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU

2015-12-03 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.855=L21haW4-

Zainudin AHMAD added an attachment:

pic-1.png



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] IDE global search question

2015-12-03 Thread richard terry
Hi list,

I 'm doing some major surgery on my medical records program and wondered 
if one can use a wildcard search in the project wide search box or regex

thanks

Richard


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] running IDE with Qt5

2015-12-03 Thread Ian Haywood
is there a way to run the IDE with Qt5 only (not Qt4 at all)
The reason is Qt4 webkit is getting pulled out of Debian, so we are
not allowed to depend on it anymore.

Ian

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas IDE slows down to standstill on terminal server

2015-12-03 Thread Rolf-Werner Eilert

Am 03.12.2015 08:48, schrieb Rolf-Werner Eilert:
> On my terminal server in the office, after having open Gambas IDE for
> some hours, suddenly the IDE will slow down to nearly standstill. This
> is reproducable, though I cannot know when it happens. Seems to come
> faster when I work a lot in the editor. After a minute or so, even mouse
> events on the whole screen are slowing down, and I had it twice that I
> had to go to the server room and log in from there and kill gbr3 from
> the command line to regain access to my terminal.
>
> This seems to have to do with the optimazation Benoit has made, see our
> conversation on the X server. There seems to be some kind of
> accumulation which stuffs the RAM in my terminal until it starts swapping.
>
> I found that killing Firefox at the same time helps the terminal to come
> back faster, but with a bit of patience I could do without this measure.
>
> Although I really don't know if it makes sense to "re-optimize" the IDE
> for terminal servers (this will be a rare case of usage), I found it
> worthwhile to mention.
>
> Benoit, instead of an automatic switch, would it make sense to provide
> for a manual override of this feature, e. g. by command line or some
> option in the .rc file? The few people who are using the IDE on a
> terminal server might profit from it. (But if this means taking care of
> a lot of different places in code, I wouldn't bother you with it.)
>
> Regards
> Rolf
>
>
Let me quickly add this: I just remembered that about 2 weeks ago, I 
designed a very wide dialog window. In the IDE, the dialog window would 
disappear under the properties palette, so I had to slide the window 
right-left many times. Switching back and forth from the editor, this 
would stop the IDE several times a day. This was the reason for me to 
start the discussion with you, Benoit.

So it seems to have to do not only with the editor, but maybe a 
combination of graphical IDE and editor. Or the IDE as a whole. 
Meanwhile I have worked a lot in some modules, so no graphics, and 
sometimes I had to let the IDE stand and wait. Even then the error 
eventually occured, but later.

Rolf


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #856: IDE crash when opening report with the report designer

2015-12-03 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.856=L21haW4-

Zainudin AHMAD reported a new bug.

Summary
---

IDE crash when opening report with the report designer

Type : Bug
Priority : Medium
Gambas version   : 3.8.90 (TRUNK)
Product  : Development Environment


Description
---

I get Error message : [12] Not an object. CFamilyreport.DrawControl.392 (attach 
pic-2)

Reproduce the bug :
- Open this project (attach project)
- (attach pic-1)
   - Rename or Delete the picture
   - Close IDE and Opened again
   - Open Report (with report designer)


System information
--

[System]
Gambas=3.8.90 r7496
OperatingSystem=Linux
Kernel=3.2.0-88-generic
Architecture=x86
Distribution=Ubuntu 12.04.5 LTS
Desktop=LXDE
Theme=Gtk
Language=en_US.UTF-8
Memory=494M

[Libraries]
Cairo=libcairo.so.2.11000.2
Curl=libcurl.so.4.2.0
DBus=libdbus-1.so.3.5.8
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.7.0
GTK+2=libgtk-x11-2.0.so.0.2400.10
GTK+3=libgtk-3.so.0.400.2
OpenGL=libGL.so.96.43.23
Poppler=libpoppler.so.19.0.0
QT4=libQtCore.so.4.8.1
QT5=libQt5Core.so.5.0.2
SDL=libSDL-1.2.so.0.11.3

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-xpmvj25V6h,guid=be71a96f9e366390d6245d36002c
DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path
DESKTOP_SESSION=Lubuntu
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=Lubuntu
GNOME_KEYRING_CONTROL=/tmp/keyring-jbkeXd
GNOME_KEYRING_PID=1828
HOME=
LANG=en_US.UTF-8
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path
PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=
SAL_USE_VCLPLUGIN=gtk
SHELL=/bin/bash
SSH_AGENT_PID=1819
SSH_AUTH_SOCK=/tmp/keyring-jbkeXd/ssh
TZ=:/etc/localtime
USER=
XAUTHORITY=/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg
XDG_CONFIG_HOME=/.config
XDG_CURRENT_DESKTOP=LXDE
XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg
XDG_MENU_PREFIX=lxde-
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_COOKIE=2d9710af0959f6893eb828f10008-1449091035.731829-1059360993
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
_LXSESSION_PID=1789



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #856: IDE crash when opening report with the report designer

2015-12-03 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.856=L21haW4-

Zainudin AHMAD added an attachment:

pic-1.png



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #856: IDE crash when opening report with the report designer

2015-12-03 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.856=L21haW4-

Zainudin AHMAD added an attachment:

pic-2.png



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #856: IDE crash when opening report with the report designer

2015-12-03 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.856=L21haW4-

Zainudin AHMAD added an attachment:

test-ReportImageDelete-0.0.1.tar.gz



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas IDE slows down to standstill on terminal server

2015-12-03 Thread Benoît Minisini
Le 03/12/2015 09:21, Rolf-Werner Eilert a écrit :
>
> Am 03.12.2015 08:48, schrieb Rolf-Werner Eilert:
>> On my terminal server in the office, after having open Gambas IDE for
>> some hours, suddenly the IDE will slow down to nearly standstill. This
>> is reproducable, though I cannot know when it happens. Seems to come
>> faster when I work a lot in the editor. After a minute or so, even mouse
>> events on the whole screen are slowing down, and I had it twice that I
>> had to go to the server room and log in from there and kill gbr3 from
>> the command line to regain access to my terminal.
>>
>> This seems to have to do with the optimazation Benoit has made, see our
>> conversation on the X server. There seems to be some kind of
>> accumulation which stuffs the RAM in my terminal until it starts swapping.
>>
>> I found that killing Firefox at the same time helps the terminal to come
>> back faster, but with a bit of patience I could do without this measure.
>>
>> Although I really don't know if it makes sense to "re-optimize" the IDE
>> for terminal servers (this will be a rare case of usage), I found it
>> worthwhile to mention.
>>
>> Benoit, instead of an automatic switch, would it make sense to provide
>> for a manual override of this feature, e. g. by command line or some
>> option in the .rc file? The few people who are using the IDE on a
>> terminal server might profit from it. (But if this means taking care of
>> a lot of different places in code, I wouldn't bother you with it.)
>>
>> Regards
>> Rolf
>>
>>
> Let me quickly add this: I just remembered that about 2 weeks ago, I
> designed a very wide dialog window. In the IDE, the dialog window would
> disappear under the properties palette, so I had to slide the window
> right-left many times. Switching back and forth from the editor, this
> would stop the IDE several times a day. This was the reason for me to
> start the discussion with you, Benoit.
>
> So it seems to have to do not only with the editor, but maybe a
> combination of graphical IDE and editor. Or the IDE as a whole.
> Meanwhile I have worked a lot in some modules, so no graphics, and
> sometimes I had to let the IDE stand and wait. Even then the error
> eventually occured, but later.
>
> Rolf
>

Do you run the IDE with QT5 or QT4? QT4 is far more terminal-server 
friendly than QT5 that uses image buffers everywhere to prevent tearing. 
Maybe there is a QT env variable to disable that, I don't know...

-- 
Benoît Minisini

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas IDE slows down to standstill on terminal server

2015-12-03 Thread Benoît Minisini
Le 03/12/2015 08:48, Rolf-Werner Eilert a écrit :
> On my terminal server in the office, after having open Gambas IDE for
> some hours, suddenly the IDE will slow down to nearly standstill. This
> is reproducable, though I cannot know when it happens. Seems to come
> faster when I work a lot in the editor. After a minute or so, even mouse
> events on the whole screen are slowing down, and I had it twice that I
> had to go to the server room and log in from there and kill gbr3 from
> the command line to regain access to my terminal.
>
> This seems to have to do with the optimazation Benoit has made, see our
> conversation on the X server. There seems to be some kind of
> accumulation which stuffs the RAM in my terminal until it starts swapping.

I will check, but normally, if a terminal server is detected (i.e. if 
DISPLAY does not begins with ":"), then all image caches are disabled. 
What's the value of DISPLAY on your X11 client (i.e. your server)?

-- 
Benoît Minisini

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] running IDE with Qt5

2015-12-03 Thread Benoît Minisini
Le 03/12/2015 11:47, Ian Haywood a écrit :
> is there a way to run the IDE with Qt5 only (not Qt4 at all)
> The reason is Qt4 webkit is getting pulled out of Debian, so we are
> not allowed to depend on it anymore.
>
> Ian
>

The algorithm is the following:

if GB_GUI is "QT4", then gb.qt4 is used.
if GB_GUI is "QT5", then gb.qt5 is used.
otherwise,
   if KDE_FULL_SESSION is "true", then
 if KDE_SESSION_VERSION is "4", then gb.qt4 is used.
 if KDE_SESSION_VERSION is "5", then gb.qt5 is used.
othewise, gb.qt5 is used.

Then, if the component fails to load for any reason (for example if it 
is not present on the system), the other component is tried.

-- 
Benoît Minisini

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #848: Keep getting "cannot open file" error

2015-12-03 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.848=L21haW4-

Comment #9 by Moviga TECHNOLOGIES:

@FABIEN: I was a bit puzzeled why you directed me to gb.gui.base, because I 
thought that the progressbar was based on the native QT/GTK one. I am having a 
look at the code now, and I wonder if there is anything specific you find 
un-optimized in my code. I see that I havedone some things differently, but 
after all perhaps not ineffective?



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] running IDE with Qt5

2015-12-03 Thread Ian Haywood
On Fri, Dec 4, 2015 at 1:10 AM, Benoît Minisini
 wrote:
> Le 03/12/2015 11:47, Ian Haywood a écrit :
>> is there a way to run the IDE with Qt5 only (not Qt4 at all)
>> The reason is Qt4 webkit is getting pulled out of Debian, so we are
>> not allowed to depend on it anymore.
>>
>> Ian
>>
>
> The algorithm is the following:
>
> if GB_GUI is "QT4", then gb.qt4 is used.
> if GB_GUI is "QT5", then gb.qt5 is used.
> otherwise,
>if KDE_FULL_SESSION is "true", then
>  if KDE_SESSION_VERSION is "4", then gb.qt4 is used.
>  if KDE_SESSION_VERSION is "5", then gb.qt5 is used.
> othewise, gb.qt5 is used.
I thought so, but I am finding that on 3.8.3 at least, if gb.qt4 and
gb.qt5 are both present,
gb.qt4 is used (which then fails, as no gb.q4.webkit is present)
Removing gb.qt4 from the system is the solution: the IDE then has nbo
choice but to run successfully with gb.qt5

Ian

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] running IDE with Qt5

2015-12-03 Thread Benoît Minisini
Le 03/12/2015 21:27, Ian Haywood a écrit :
> On Fri, Dec 4, 2015 at 1:10 AM, Benoît Minisini
>  wrote:
>> Le 03/12/2015 11:47, Ian Haywood a écrit :
>>> is there a way to run the IDE with Qt5 only (not Qt4 at all)
>>> The reason is Qt4 webkit is getting pulled out of Debian, so we are
>>> not allowed to depend on it anymore.
>>>
>>> Ian
>>>
>>
>> The algorithm is the following:
>>
>> if GB_GUI is "QT4", then gb.qt4 is used.
>> if GB_GUI is "QT5", then gb.qt5 is used.
>> otherwise,
>> if KDE_FULL_SESSION is "true", then
>>   if KDE_SESSION_VERSION is "4", then gb.qt4 is used.
>>   if KDE_SESSION_VERSION is "5", then gb.qt5 is used.
>> othewise, gb.qt5 is used.
> I thought so, but I am finding that on 3.8.3 at least, if gb.qt4 and
> gb.qt5 are both present,
> gb.qt4 is used (which then fails, as no gb.q4.webkit is present)
> Removing gb.qt4 from the system is the solution: the IDE then has nbo
> choice but to run successfully with gb.qt5
>
> Ian
>

If you use 'gb.qt4', it's because the algorithm I described decides to 
use 'gb.qt4', that's all.

-- 
Benoît Minisini

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] IDE global search question

2015-12-03 Thread adamn...@gmail.com
On Thu, 3 Dec 2015 23:37:57 +1100
richard terry  wrote:

> Hi list,
> 
> I 'm doing some major surgery on my medical records program and wondered 
> if one can use a wildcard search in the project wide search box or regex
> 
> thanks
> 
> Richard
> 

Yes, you can. Just use the Ctl+F shortcut to open the search dialog. You'll see 
that one of the Options is Regular Expression (and of course you need to select 
either Source Files or All Files as the Search In preference).

But! (Heehee) You will occasionally get "false positives" in the results. For 
example, I used *[Pp]roj* as my search string and get all the expected hits, 
but also hits on "Property..." and "... ProgIcon ..." and a few others.  So 
beware of global replaces.

regards
bruce

-- 
B Bruen 

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user