as discussed..
I intentionally removed rar from my system and Xarchiver prevents me to create rar archives and open them since the rar executable is not found. This is the correct behaviour. Can you please write here what the bug is ? I don't remember what we said in IRC sorry.
the problem is, that i have the unrar executable, but not the rar executable. i can't extract rar files although i should be able to (like zip is needed for creating archives and unzip is needed for extraction) as i have the executable for it. when i try to open rar files, xarchiver tells me, the needed archivers isn't installed. on the other hand, i can chose to create rar files in the "new archive" dialog, although i don't have the rar executable.
>on the other hand, i can chose to create rar files in the "new archive" dialog, >although i don't have the rar executable. Mmm, even with the current svn revision 22194 ?
no, i can't create rar archives anymore now, but i still can't extract rar files.
i looked into the code and tried to open a zip file with xarchiver after removing the "unzip" package, and i got a similar problem i experienced with rar once. i'll try to add a patch which looks for unzip/unrar too and not only for zip and rar. i'll do that tomorrow though, as it's getting late over here ;)
Thank you. I will be glad to apply it !
An user reported me an easy workaround. If you create a soft link to rar, Xarchiver works perfectly. He runs Archlinux also: # cd /usr/bin # ln - s unrar rar
that's not really a good solution though. it "fixes" the issue that prevents xarchiver from opening rar archives, but then rar shows up as a supported archive type in the "new archive" dialog, but when you try to create one, xarchiver shows an error and hangs until you kill it.
better summary
I will be fixing this in the next 0.4.x release.
Fixed rar part in 0.4.1svn
I think this bug can be closed now. unzip is installed by default even in the small distro.