Skip to main content

Posts

Netbeans 6.0.1 Missing Ruby and Rails Problem

Today decided to test Netbeans 6.0.1. I was satisfied with 6.0 but I had a stupid problem with JAX-RPC which prevented to use that feature. Instead of trying to solve that decided to move on to this version. So I downloaded the OS independent zip - this is what I like after all - but when I started... ooops. I got a message that Ruby and Rails version is not correct. So what? Try to upgrade. Same error again. What a shame. Decided to uninstall the Ruby and Rails and restart. Did not help. Deleted ruby files from ~/.netbeans/6.0/modules also did not help. Finally I solved this problem with starting the IDE and updating only IDE Platform first. Since that I could not reproduce the error and I have no time now to play more with this. So if you are having this make a try. But I will try to find out the real reason as soon as I will have some time.

Netbeans Missing New Project Categories

Jump to solution. (Skip stupid story.) It was raining outside and it was a dark and said day and there was nothing to work on when I decided to give a try to Netbeans in J2EE development. If you have read my blog before you must know I am an Ubuntu user. Actually not a fan. I am not loving anything easily. But I am in general very satisfied with Ubuntu . I like it very much. Am I a fan? Together with its problem too. But from time to time I am running into problems which can make life harder than .... than is should be. (Life is hard anyway. It does not matter if you are Linux Windows or Mac OS user. So hold on your arguments about it. :) ) Back to the point I have Ubuntu Gutsy which currently contains Netbeans 5.5. So I started it and wanted to start a new project. What a surprise I have seen I could not. There were no menu items besides import existing ant project what I could reach. Holy s.... something! What is this? I was asking. Tried to purge package and reinstall but no luck. ...

FlightGear Keyboard Shortcut Reference

I just wanted to have a list of keys can be used in FlightGear but found only the short Reference. I realized that key shortcuts is an xml file so easy to change and not good to publish a static one on the net while anybody can change it anytime easily. So here is a command to get it under linux anytime on your own machine. First please change directory to the one contains keyboard.xml. Gutsy have it under /usr/share/games/FlightGear $ awk 'BEGIN {name="";desc="";spec="";} \ /.*<\/name>/{ name=$0; spec="";desc="";} \ /.*<\/desc>/ { desc=$0 ; line=spec " " name " = " desc; print gensub("<[^>]*>([^<>]*)<\/[^>]*>","\\1","g",gensub("\ \ +","\ ","g", line)) ;} \ /<mod-.*>/ { spec=gensub("<mod-(.*)>","\\1 + ","g",$0); } \ ' keyboard.xml Output is something like: Ctrl-A = Toggle...

Insufficient Disk Space reported under wine

Did you try to install/setup any Windows Application - actually a Game what else could be necessary - and got a message that you do not have enough free space on your drive meanwhile you had lot of free space on the chosen mounted partition? You will learn the problem and hopefully the solution too. (Of course I suppose it is not the real situation you have no enough space. If so do not read ahead.) The problem is that wine does not check the amount of free space on the mounted partition corresponds to the selected directory but reports the free on the root of the directory the partition mounted to . ;( Probably it is not clean so here is an example: Let say you have / only and something is mounted as /mnt/part1 If you directly select /mnt/part1 during installation wine will check free space in fact on / and does not calculate free on the partition mounted under /mnt/part1. How to solve it you may ask? It is easy. Start winecfg and create a new drive with the directory you want to use....

Ubuntu Gutsy 64bit Wine misses ssl support so Google Picasa can not sign in.

Today I have realized that Picasa - I am using "windows version" of picasa under wine - can not sign me in - means no web upload is possible - from my home machine (Ubuntu Gutsy 64bit) and wine showed the following error: fixme:win:FlashWindowEx 0x33afd4 fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (10000): STUB fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT not supported on protocol 1 fixme:wininet:NETCON_init can't use SSL, not compiled in. I was a bit surprised since Picasa on my office notebook (Ubuntu Feisty 32bit) worked fine. So checked the error and decided to recompile wine and see if ssl is really not compiled in. First I downloaded the source and dependencies needed to compile. # apt-get build-dep wine I would mention that it will download a lot. Then downloaded wine source too into a temporary directory and tried to compile. # mkdir /tmp/wine_build # cd /tmp/wine_build # apt-get source wine # cd wine-0.9.45 # ...

Line6 PodXT Linux Driver 0.7.2 is incompatible with kernel >= 2.6.22

I have updated my Ubuntu Feisty to Gutsy some weeks ago because of a problem booting up from raid . Upgrade solved the issue but brought some others. One of the most serious to me was that the Linux Line6 PodXt driver could not be compiled anymore. The error I got was: make default make -C /lib/modules/2.6.22-12-generic/build SUBDIRS=/home/user1/workspace/line6usb-0.7.2 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.22-12-generic' CC [M] /home/user1/workspace/line6usb-0.7.2/pcm.o /home/user1/workspace/line6usb-0.7.2/pcm.c: In function ‘snd_pod_trigger’: /home/user1/workspace/line6usb-0.7.2/pcm.c:40: warning: implicit declaration of function ‘snd_pcm_group_for_each’ /home/user1/workspace/line6usb-0.7.2/pcm.c:40: error: expected ‘;’ before ‘{’ token /home/user1/workspace/line6usb-0.7.2/pcm.c:33: warning: unused variable ‘err’ /home/user1/workspace/line6usb-0.7.2/pcm.c:32: warning: unused variable ‘s’ make[2]: *** [/home/user1/workspace/line6usb-0.7....