Dear Sir,
Gambas is good software, thank you for your working.
I've upgrade my system from ubuntu 8.04 to fedora 11, and get the latest 
gambas2-2.13.1 from fedora repo. But my gambas program can't work normally,
although it can work noraml in ubuntu, the postgresql can't connect, because 
fedora 
11 repo have'nt gambas-db-postgresql-2.13.1-1.fc11 (i586). So it cause the 
following error message.
(InputKuaDef:2963): IBUS-WARNING **: Connect to 
unix:path=/tmp/ibus-program/ibus-unix-0 failed: Failed to connect to socket 
/tmp/ibus-program/ibus-unix-0: refuse 
connection
(InputKuaDef:2963): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: 
assertion `atom != GDK_NONE' failed
(InputKuaDef:2963): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: 
assertion `atom != GDK_NONE' failed
The "InputKuaDef" is my program name. How can I do now ?





________________________________
From: "[email protected]" 
<[email protected]>
To: [email protected]
Sent: Friday, June 19, 2009 7:03:00 PM
Subject: Gambas-user Digest, Vol 37, Issue 27

Send Gambas-user mailing list submissions to
    [email protected]

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
    [email protected]

You can reach the person managing the list at
    [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gambas-user digest..."


Today's Topics:

   1. build 2027 failing (Zach Smith)
   2. Re: v4l - can not open device -solved (Steven James Drinnan)
   3.  showdialog / showmodal auto center (kobolds)
   4. Re: gbr2 crash at different points (Andreas Fr?hlke)
   5.. Re: Database example (charlesg)
   6. Re: showdialog / showmodal auto center (Beno?t Minisini)
   7. Re: build 2027 failing (Beno?t Minisini)
   8. Re: v4l - can not open device -solved (Beno?t Minisini)
   9. Re: build 2026 failing (Beno?t Minisini)


----------------------------------------------------------------------

Message: 1
Date: Thu, 18 Jun 2009 19:37:44 -0500
From: Zach Smith <[email protected]>
Subject: [Gambas-user] build 2027 failing
To: [email protected]
Message-ID:
    <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

gambas3, build 2027, x_64, arch

I'm getting:

make[4]: Entering directory `/home/craig/gambas3/src/trunk/gb.db.sqlite3/src'
/bin/sh ../libtool? --tag=CXX?? --mode=compile g++ -DHAVE_CONFIG_H -I.
-I..??? -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char
-fvisibility=hidden -g -Os -fno-omit-frame-pointer -fexceptions? -MT
gb_db_sqlite3_la-main.lo -MD -MP -MF .deps/gb_db_sqlite3_la-main.Tpo
-c -o gb_db_sqlite3_la-main.lo `test -f 'main.cpp' || echo
'./'`main.cpp
?g++ -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -fno-exceptions
-Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
-fno-omit-frame-pointer -fexceptions -MT gb_db_sqlite3_la-main..lo -MD
-MP -MF .deps/gb_db_sqlite3_la-main.Tpo -c main.cpp? -fPIC -DPIC -o
.libs/gb_db_sqlite3_la-main.o
main.cpp: In function 'int field_index(void*, const char*, DB_DATABASE*)':
main.cpp:1011: error: invalid conversion from 'const char*' to 'char*'
make[4]: *** [gb_db_sqlite3_la-main.lo] Error 1



------------------------------

Message: 2
Date: Fri, 19 Jun 2009 12:26:05 +0800
From: Steven James Drinnan <[email protected]>
Subject: Re: [Gambas-user] v4l - can not open device -solved
To: mailing list for gambas users <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="UTF-8"

Had another look, looks like /dev/video is no longer created in v4l so
the default now is /dev/video0.

I know you did not make this component. But does need to be updated to
recognize v4l2 which is now the default in most major distributions.

Many thanks for your patience.

Steven

On Fri, 2009-06-19 at 00:30 +0200, Beno?t Minisini wrote:
> > Have you have had a chance to check it out?
> >
> 
> I have no webcam, nor any v4l device, and I didn't make the component, so it 
> is hard for me to help you...
> 
> Try to open the device with an OPEN "xxxx" FOR READ WRITE instruction to see 
> if you get a more detailed error message.
> 
> Regards,
> 




------------------------------

Message: 3
Date: Thu, 18 Jun 2009 22:27:38 -0700 (PDT)
From: kobolds <[email protected]>
Subject: [Gambas-user]  showdialog / showmodal auto center
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii


i found that when display a window using showdialog / showmodal , the window
show with auto center on screen. i don't want that , how do i disable it. i
try using the X and Y but no effect
-- 
View this message in context: 
http://www.nabble.com/showdialog---showmodal-auto-center-tp24105720p24105720.html
Sent from the gambas-user mailing list archive at Nabble.com.




------------------------------

Message: 4
Date: Fri, 19 Jun 2009 09:23:54 +0200
From: Andreas Fr?hlke <[email protected]>
Subject: Re: [Gambas-user] gbr2 crash at different points
To: mailing list for gambas users <[email protected]>
Message-ID:
    <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hello,

just wanna know, do you get the mail?

Regards

Andreas Fr?hlke

-----Urspr?ngliche Nachricht-----
Von: Beno?t Minisini [mailto:[email protected]] 
Gesendet: Mittwoch, 17. Juni 2009 12:42
An: mailing list for gambas users
Betreff: Re: [Gambas-user] gbr2 crash at different points

> Hello,
>
> we used to send you an core dump created with gcore, but the admin of the
> mailinglist blocked it, because it is bigger than 256k.
>
> Regards
>
> A.Fr?hlke
>

This is automatic - Every 500+ subscribers will receive your mail, so it can't 
be big! Send the mail to my private e-mail ([email protected])

Regards,

-- 
Beno?t

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user






------------------------------

Message: 5
Date: Fri, 19 Jun 2009 02:03:06 -0700 (PDT)
From: charlesg <[email protected]>
Subject: Re: [Gambas-user] Database example
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii


Hi

Thank you Ron for that. A bit more messing around and I think I now
understand it.

Following on from richard terry's suggestion for simple examples, here it is
as simple as I can get it. There is nothing new here: it all comes from the
database example. Any corrections to the annotations welcome!

You just need a gridview, a button called btnRun and a preferably large
database with lots of columns so that you can scroll around with ease

'========================================================
' Gambas class file
PUBLIC $hConnLocl AS NEW Connection
PUBLIC $resData AS Result
'--------------------------------------------------------
PUBLIC SUB Form_Open()
  DIM sql AS String
  
  'open the database
  WITH $hConnLocl
    .type = "mysql"
    .host = "localhost"
    .Name = "stock"
    .login = "charles"
    .password="dog"    
  END WITH 
  $hConnLocl.Open()
  
  'create a result
  sql = "SELECT * FROM grnLine"
  $resData = $hConnLocl.Exec(sql)
  END
'---------------------------------------------------------
PUBLIC SUB btnRun_Click()
  DIM hForm AS FRequest
  DIM hField AS ResultField
  DIM iInd AS Integer

  GridView1.Rows.count = 0
  'set the required number of columns
  GridView1.Columns.count = $resData.Fields.Count
  
  'define the column headers and width
  FOR EACH hField IN $resData.Fields
    WITH hField
      GridView1.Columns[iInd].text = .Name
      GridView1.Columns[iInd].width = 60
    END WITH 
    INC iInd
  NEXT
  
  'create the empty rows. Each empty and visible cell created calls
GridView1_data
  GridView1.Rows.Count = $resData.Count
END
'---------------------------------------------------------
PUBLIC SUB GridView1_Data(Row AS Integer, Column AS Integer)
  'move to the required result row
  $resData.MoveTo(row)
  'set the data for the cell in the GridView from the column in the selected
row of the result
  GridView1.Data.text = Str($resData[GridView1.Columns[column].text])
  'lets you see how _data is being called as you scroll around the GridView
  PRINT row & ":" & column & ":" &
Str($resData[GridView1..Columns[column].text])
END
'----------------------------------------------------------

I also created a second small form. As you move the second form around on
top of the gridview, the print command still shows the _Data frantically
working in the background. Clever things these computers!

rgds
-- 
View this message in context: 
http://www.nabble.com/Database-example-tp24021356p24107894.html
Sent from the gambas-user mailing list archive at Nabble.com.




------------------------------

Message: 6
Date: Fri, 19 Jun 2009 12:52:59 +0200
From: Beno?t Minisini <[email protected]>
Subject: Re: [Gambas-user] showdialog / showmodal auto center
To: mailing list for gambas users <[email protected]>
Message-ID: <[email protected]>
Content-Type: Text/Plain;  charset="iso-8859-1"

> i found that when display a window using showdialog / showmodal , the
> window show with auto center on screen. i don't want that , how do i
> disable it. i try using the X and Y but no effect

Why don't you want that?

-- 
Beno?t



------------------------------

Message: 7
Date: Fri, 19 Jun 2009 12:53:56 +0200
From: Beno?t Minisini <[email protected]>
Subject: Re: [Gambas-user] build 2027 failing
To: mailing list for gambas users <[email protected]>
Message-ID: <[email protected]>
Content-Type: Text/Plain;  charset="iso-8859-1"

> gambas3, build 2027, x_64, arch
>
> I'm getting:
>
> make[4]: Entering directory
> `/home/craig/gambas3/src/trunk/gb.db.sqlite3/src' /bin/sh ../libtool 
> --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
> -fno-omit-frame-pointer -fexceptions  -MT gb_db_sqlite3_la-main.lo -MD -MP
> -MF ..deps/gb_db_sqlite3_la-main.Tpo -c -o gb_db_sqlite3_la-main.lo `test -f
> 'main.cpp' || echo
> './'`main.cpp
>  g++ -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -fno-exceptions
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
> -fno-omit-frame-pointer -fexceptions -MT gb_db_sqlite3_la-main.lo -MD
> -MP -MF .deps/gb_db_sqlite3_la-main.Tpo -c main.cpp  -fPIC -DPIC -o
> .libs/gb_db_sqlite3_la-main.o
> main.cpp: In function 'int field_index(void*, const char*, DB_DATABASE*)':
> main.cpp:1011: error: invalid conversion from 'const char*' to 'char*'
> make[4]: *** [gb_db_sqlite3_la-main.lo] Error 1
>
> ---------------------------------------------------------------------------
>--- Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Gambas-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gambas-user

Which distribution do you use? Which version of gcc?

-- 
Beno?t



------------------------------

Message: 8
Date: Fri, 19 Jun 2009 12:55:57 +0200
From: Beno?t Minisini <[email protected]>
Subject: Re: [Gambas-user] v4l - can not open device -solved
To: mailing list for gambas users <[email protected]>
Message-ID: <[email protected]>
Content-Type: Text/Plain;  charset="iso-8859-1"

> Had another look, looks like /dev/video is no longer created in v4l so
> the default now is /dev/video0.
>
> I know you did not make this component. But does need to be updated to
> recognize v4l2 which is now the default in most major distributions.
>
> Many thanks for your patience.
>
> Steven
>

gb.v4l uses v4l2 but only in the development version.

Regards,

-- 
Beno?t



------------------------------

Message: 9
Date: Fri, 19 Jun 2009 13:02:49 +0200
From: Beno?t Minisini <[email protected]>
Subject: Re: [Gambas-user] build 2026 failing
To: richard terry <[email protected]>,    mailing list for gambas
    users <[email protected]>
Message-ID: <[email protected]>
Content-Type: Text/Plain;  charset="utf-8"

> On Fri, 19 Jun 2009 09:48:08 am Beno?t Minisini wrote:
> > > gambas3, build 2026, x_64, arch
> > >
> > > I'm getting:
> > >
> > > make[4]: Entering directory `/home/test/gambas3/src/trunk/main/gbx'
> > > gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I.../libltdl
> > > -I/usr/lib/libffi-3.0.8/include
> > > -DGAMBAS_PATH="\"/home/test/gambas3/pkg/usr/bin\"" -pipe -Wall
> > > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT
> > > gbx3-gbx_debug.o -MD -MP -MF .deps/gbx3-gbx_debug.Tpo -c -o
> > > gbx3-gbx_debug.o `test -f 'gbx_debug.c' || echo './'`gbx_debug.c
> > > In file included from gbx_class.h:30,
> > >                  from gbx_exec.h:31,
> > >                  from gbx_debug.c:35:
> > > gbx_class_desc.h:105: error: duplicate member ?_reserved?
> > > gbx_class_desc.h:123: error: duplicate member ?_reserved?
> > > In file included from gbx_exec.h:38,
> > >                  from gbx_debug.c:35:
> > > gbx_variant.h: In function ?VARIANT_free?:
> > > gbx_variant.h:55: warning: dereferencing type-punned pointer will break
> > > strict-aliasing rules
> > > gbx_variant.h:55: warning: dereferencing type-punned pointer will break
> > > strict-aliasing rules
> > > gbx_variant.h:55: warning: dereferencing type-punned pointer will break
> > > strict-aliasing rules
> > > gbx_variant.h:55: warning: dereferencing type-punned pointer will break
> > > strict-aliasing rules
> > > gbx_variant.h: In function ?VARIANT_keep?:
> > > gbx_variant.h:63: warning: dereferencing type-punned pointer will break
> > > strict-aliasing rules
> > > gbx_variant.h:67: warning: dereferencing type-punned pointer will break
> > > strict-aliasing rules
> > > gbx_variant.h:67: warning: dereferencing type-punned pointer will break
> > > strict-aliasing rules
> > > gbx_variant.h: In function ?VARIANT_is_null?:
> > > gbx_variant.h:76: warning: dereferencing type-punned pointer will break
> > > strict-aliasing rules
> > > gbx_variant.h:79: warning: dereferencing type-punned pointer will break
> > > strict-aliasing rules
> > > gbx_variant.h: In function ?VARIANT_clear?:
> > > gbx_variant.h:90: warning: dereferencing type-punned pointer will break
> > > strict-aliasing rules
> > > make[4]: *** [gbx3-gbx_debug.o] Error 1
> >
> > Fixed in revision #2027 !
>
> CEditor.cpp: In function 'void CEDITOR_show_word(void*, void*)':
> CEditor.cpp:962: error: 'class GEditor' has no member named 'showWord'
> make[5]: *** [CEditor.lo] Error 1
> make[5]: Leaving directory
> `/home/richard/gambas3-svn/src/trunk/gb.qt4/src/ext'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/home/richard/gambas3-svn/src/trunk/gb.qt4/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/richard/gambas3-svn/src/trunk/gb.qt4'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/richard/gambas3-svn/src/trunk/gb.qt4'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/richard/gambas3-svn/src/trunk'
> make: *** [all] Error 2
> ==> ERROR: Build Failed.
>
> something not right on my machine in 2027
>

Fixed in revision #2028. Nothing is wrong on your machine, I just sometimes 
break the development version inadvertently.

Regards,

-- 
Beno?t



------------------------------

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment..
http://p.sf.net/sfu/businessobjects

------------------------------

_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user


End of Gambas-user Digest, Vol 37, Issue 27
*******************************************


_______________________________________
 辣茩妏蚚閉湮⺍講捇誥蚘眊 
 http://cn.mail.yahoo.com 
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to