On Wednesday 28 January 2009, Leo Sendra wrote:
> Hi all... 
> 
> I have a gambas program. I develop it using Gambas2.7 on Ubuntu 8.04.
> I make an installation package, so the program can be install in other Ubuntu 
> 8.04 computer.
> I have made an installation package (deb package) and I install it in other 
> Ubuntu computer.
> After install some lib and gambas-runtime and etc...
> I have an error...
> 
> The error message is:
> "This Application has raised an unexpected error and must abort. [-1] No 
> keyboard event data."
> 
> I am really confused about this problem. This program can run well in my 
> computer (development computer).
> But, it can't run in deployment computer. Is there a problem with 
> gambas-runtime version or other libraries???
> Or is there unknown problem?? How to handle it??
> 
> Please tell me the solution immediately...
> 
> Thank you...
> 

Hi Leo,

The solution immediately...

The only good one is to install on the deployment computer
the gambas development package and your program source.
Including the develop packages for libraries used in your application.
Compile your program. Then you can deinstall those develop packages again
if you want.

Exact to tell what in your case is wrong is difficult.
You have on yor box something different then the deployment box.
This can be different keyboard (usb versus ps2) and/or installed drivers. 
Also the difference Gnome updates can have influence.
May be he is using sim (input method) and you don't.

Anyway your error message is not suuficient ATM.
Some more error messages you can find in (may be and not must)
  .xsession-errors in the user home directory
  /var/log/messages
  /var/log/dmesg

Don't forget there can be a big difference in the real ubuntu
version on both computers depite the install base is the same.
This by later installed programs on your or the other computer.
Also difference aplly of updates counts.

>From the error message you have given I know that look as keyboard
related and the major difference is USB or PS2.
Second if the keyboard is the same you can have diffent kmaps in
the xkeyboard settings.

Second it is importand to know what the programm is suppose to do.
If it copies files from one to other place and do not ask user 
keyboard input then the reason is differnt then when it is a 
text edit program.


Once a guy did ask me why his car (opel) was making a peep sound.
I could only say my car (opel same model/year/version) did not do it.
After asking _WHEN_ makes that sound he told it was when he did
going to left or right and the car is the same as yours for 100%.
Well after going to his home, a 8 hours travel, and see his car it was very 
clear. 
His car was not the same anymore as mine, the tires where replaced 
be wider ones and when turning left or right those touched the cover.
After paying me the travel expence I could go home :)

Now you can understand that nobody can give you the 100% solution
with the only 1 given error message.

> Please tell me the solution immediately...
I do assume you mean for "solution"->"some hint to look for" and
for "immediately"->"as soon as posible" 

It sound now more as a command as it is written and that is what the
viewers see as first thing. They think in mind "bey bey, do it yourself".

English is for me not the native language, same as it is not for you
when you are from indonesia.

The best tip I can give to get good result is the one I have given on top.
(Is is also a good test case to make sure your program _is_ tranferable 
to other computers before a mass deploy to others.)


The best situation would be your package could do this job from source.
Not imposible, virtualbox does it for one of the drivers but ATM out
of scope for Gambas.



Best regards,

Ron_1st

-- 
 

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to