I had a BIRT report working until I did an upgrade. While I was trying hard to find the root of the problem, I thought I should try the debug option, I had never done this. I thought it would be easy. I set up my breakpoints and clicked Run->Debug Report but the following exception was thrown:
Caused by: java.io.FileNotFoundException: /rptComparativo.rptdesign.html (Permission denied)
I found the solution here.
Right click the Report in the Navigator Window (Open it if necessary) and select Debug As->Debug Configurations… You should have a debug configuration created for you with a name like “New_configuration”, make sure that Temp Folder is “/tmp” and click Debug. Once you start debug from this window, you should be able to do it from the Run->Debug Report menu in subsequent occasions.

I’m using GWT and SmartGWT in multiple projects. Since I had to reinstall Eclipse and all its plugins, Google Plugin for Eclipse included, I got an upgraded GWT SDK.
Many projects I have were failing to run with the following exception:

No source code is available for type com.google.web.bindery.event.shared.EventBus

I found the solution here.

You can’t use GWT 2.3 yet.

I had to change from Ubuntu to openSUSE, at first everything seems to work smooth until I found this little glitches. I’ve tried just to copy my Eclipse installation from the backup to my brand new OS but it didn’t work so I had to install it again (uncompress it).
One of my worst headaches is solving project dependency but fortunately I found a way to ease this process.
With the migration I moved my files from /home/vladimir to /home/cirovladimir,  my eclipse workspace included. This led me to an error when I was trying to run the ant file I use to solve dependencies. The error description wasn’t very helpful, it just said “Linked Resource does not exist!”. I found this post which proposed to use the development version of ant4eclipse instead of the stable release, so I did it. I tried again and this time the error was more clear “The linked resource ‘/home/vladimir/Projects/Eclipse/tsj.estadisticas.model/src/tsj’ in project ‘tsj.estadisticas.web’ does not exist.”. This allowed me to spot the problem and change the path in the hidden file “.project” -which contained the references- accordingly.

I thought it would be easier to share a folder in openSUSE 11.4 but I had no luck.
OpenSUSE 11.4 comes with samba client and samba server packages already installed, I checked them just to be sure.
I tried to share a folder with right click in Nautilus but there didn’t exist an option. You need to install a package called nautilus-share and logout for changes to take effect. After succesfully installing this, I tried again with no success, it showed me an error which said:

‘net usershare’ returned error 255: net usershare: usershares are currently disabled

You can enable user shares through YaST, just go to Samba Server in the Network Services Group and in the tab “Shares” down below check the “Allow Users To Share Their Directories” and “Allow Guest Access”.
I tried once again just to found out another error:

‘net usershare’ returned error 255: net usershare add: cannot convert name “Everyone” to a SID. The connection was refused. Maybe smbd is not running.

I tried to start the samba service by hand but couldn’t do it. I was almost giving me up when I found this.
The solution was to open YaST and launch the “AppArmor Control Panel” in the “Novell AppArmor” group. Click “Configure” in the “Configure Profile Modes” section and toggle the “usr.sbin.smbd” and “usr.sbin.nmbd” profiles from “enforce” to “complain” and restart your computer.
Now you should be able to right click a folder and share it.
If you still have permission issues when trying to access from Windows, you can configure the share through YaST->Samba Server, after adding the share, select it and click Edit, then add the options

force user -> your_user
force group -> users

I’ve just changed from Ubuntu to openSUSE (because Unity sucks) so I had to reinstall eclipse and its plugins, BIRT included. This caused an error whenever I tried to preview a report with parameters:

Can’t load library: /tmp/swtlib-32/libswt-mozilla-gtk.so

It seems that the only thing I nedeed to do was to add the xulrunner package through YaST and it worked. I found the solution here.

I had a report which connects to an Oracle Database through JDBC to get data. Since I reinstalled eclipse and BIRT, my JDBC configuration was lost. Therefore when I tried to preview my report the following error was thrown:

Table TBL_EXPEDIENTES_ASIGNADOS:
An exception occurred during processing. Please see the following message for details:
Cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc.
    org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot load JDBC Driver class: oracle.jdbc.OracleDriver

The only way I’ve found to manage your JDBC drivers is to open the new datasource dialog and select “JDBC Datasource”, put whatever name you like and press next. You should see a button with the label “Manage Drivers…”. Then you could add the ojdbc6.jar or whatever JDBC driver you need.

Today I wanted to create a desktop entry (shortcut) for my Eclipse installation. I had to create the file “/usr/share/applications/eclipse.desktop” which is located in a system directory, so I needed privileges to create such file. Since I came from Ubuntu the first thing I tried was to run the command “sudo gedit” which throwed me the error:

(gedit:9901): Gtk-WARNING **: cannot open display:

I assumed it was due to the fact that another user (root) can not access my display, so I’ve tried the command “gksudo gedit” which, to my surprise, doesn’t exist on OpenSUSE. The last thing I tried before heading to the internet was changing to root with the command “su” and then running gedit which, again throwed an error:

GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)

I was almost giving me up until I found this thread. In openSUSE you should use xdg-su instead of gksudo.
So, finally the command I ran was

xdg-su -c gedit

this worked for me!

Note: I discovered recently that you could run “gnomesu gedit” which, I think, is more easy to remember

Acabo de instalar openSUSE y uno de los primeros problemas que noté es que no me aparecía el ícono para administrar las redes (nm-applet).

Para hacerlo funcionar lo que hice fue abrir YaST->NetworkDevices->Network Settings y en la pestaña de Global Options active la casilla “User Controlled with NetworkManager”, con esto ya apareció el ícono incluso después de reiniciar mi máquina.

Fuentes:
networkmanager-will-not-start-automatically

opensuse-11-4-networkmanager-not-working-properly

Para instalar VirtualBox, lo primero que tenemos que hacer es descargarlo de aqui.Tambien descarga el “Extension Pack” para tener los controladores de USB 2.0

 

Una vez que se haya descargado hay que ejecutarlo, ya sea que le des doble clic o hayas seleccionado abrir el archivo al descargarlo. Despues de instalarlo, agrega el “Extension Pack” llendo a File->Preferences->Extensions

Si agregas una nueva máquina y te marca un error diciendote que debes ejecutar el comando: /etc/init.d/vboxdrv setup
Y además, después de ejecutarlo te marca algún error, tienes que instalar los paquetes: kernel-source, kernel-devel, kernel-desktop-devel, kernel-default-devel
Yo tuve que reiniciar mi pc para que funcionará el comando.

Al reiniciar mi máquina también me pasó que ya no abría el VirtualBox, el problema es que mi usuario no había sido agregado al grupo “vboxusers”, puedes verificar esto con el comando “groups” en una terminal.
Me agregué mediante YaST->User and Group Management, seleccioné mi usuario y le di clic en Edit->Details, luego active la casilla del grupo “vboxusers” en la casilla de Additional Groups, finalmente reinicie mi sesión y listo, ya pude abrir el VirtualBox y utilizar mi máquina virtual!

Suerte!

Seguir

Get every new post delivered to your Inbox.

Únete a otros 195 seguidores