Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141976 - open azureus you might get an error
Summary: open azureus you might get an error
Status: RESOLVED DUPLICATE of bug 126822
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-28 00:38 UTC by Carlos Velez Baez
Modified: 2006-07-28 02:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
azureus-file-not-found-fix (azureus-filenotfoundfix.patch,636 bytes, patch)
2006-07-28 00:40 UTC, Carlos Velez Baez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Velez Baez 2006-07-28 00:38:59 UTC
" could not be opened: not a file
Comment 1 Carlos Velez Baez 2006-07-28 00:40:11 UTC
Created attachment 92895 [details, diff]
azureus-file-not-found-fix

Now, when you open azureus you might get an error:
Code:

" could not be opened: not a file



the last line, if you get the error, should be:
Code:

java -cp $(java-config -p systray4j,azureus-bin 2>/dev/null) -Djava.library.path="${AZDIR}" org.gudy.azureus2.ui.swt.Main "$1"


change it to this:
Code:

if [ "$1" == "" ]; then
java -cp $(java-config -p systray4j,azureus-bin 2>/dev/null) -Djava.library.path="${AZDIR}" org.gudy.azureus2.ui.swt.Main
else
java -cp $(java-config -p systray4j,azureus-bin 2>/dev/null) -Djava.library.path="${AZDIR}" org.gudy.azureus2.ui.swt.Main "$1"
fi
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-28 02:03:06 UTC

*** This bug has been marked as a duplicate of 126822 ***