[SRU] Does not create a tray icon

Bug #42269 reported by Darren Albers
86
Affects Status Importance Assigned to Milestone
azureus (Ubuntu)
Fix Released
Medium
MOTU
Edgy
Fix Released
Undecided
William Grant

Bug Description

When Azureus is configured to minimize to system tray Azureus disappears from view but it is still running.

When running Azureus from console no errors are seen.

Revision history for this message
Carthik Sharma (carthik) wrote :

What version of Azureus are you using?

Is this bug in Ubuntu Dapper Beta?

Please provide error messages if any, or the messages that you can observe after starting Azureus from the command line.

Changed in azureus:
status: Unconfirmed → Needs Info
Revision history for this message
Frode Haugsgjerd (froh) wrote :
Download full text (12.7 KiB)

I see this too.

Ubuntu Dapper Beta

azureus 2.4.0.2-0ubuntu2
j2re1.4 1.4.2.02-1ubuntu3

Enabled logging inside azureus, but nothing was written to the log.

Startup:
froh@tigergut:~$ changeLocale: *Default Language* != English (Norway). Searching without country..
changeLocale: Searching for language English in *any* country..
changeLocale: no message properties for Locale 'English (Norway)' (en_NO), using 'English (default)'

When it closes, this is printed on the terminal.

froh@tigergut:~$ DEBUG::Sun Apr 30 21:47:31 CEST 2006::com.aelitis.azureus.plugins.upnp.UPnPPluginService::removeMapping::351:
  com.aelitis.net.upnp.UPnPException: Invoke of 'urn:schemas-upnp-org:service:WANPPPConnection:1#DeletePortMapping' fails: port out of range:-1
        at com.aelitis.net.upnp.impl.services.UPnPActionInvocationImpl.invoke(UPnPActionInvocationImpl.java:134)
        at com.aelitis.net.upnp.impl.services.UPnPSSWANConnectionImpl.deletePortMapping(UPnPSSWANConnectionImpl.java:373)
        at com.aelitis.azureus.plugins.upnp.UPnPPluginService.removeMapping(UPnPPluginService.java:344)
        at com.aelitis.azureus.plugins.upnp.UPnPPluginService.removeMapping(UPnPPluginService.java:264)
        at com.aelitis.azureus.plugins.upnp.UPnPPlugin.closeDown(UPnPPlugin.java:481)
        at com.aelitis.azureus.plugins.upnp.UPnPPlugin$1.closedownComplete(UPnPPlugin.java:106)
        at org.gudy.azureus2.pluginsimpl.local.PluginInterfaceImpl.closedownComplete(PluginInterfaceImpl.java:600)
        at org.gudy.azureus2.pluginsimpl.local.PluginInitializer.destroyed(PluginInitializer.java:1279)
        at org.gudy.azureus2.core3.global.impl.GlobalManagerImpl$1.dispatch(GlobalManagerImpl.java:107)
        at org.gudy.azureus2.core3.util.ListenerManager.dispatchInternal(ListenerManager.java:359)
        at org.gudy.azureus2.core3.util.ListenerManager.dispatchLoop(ListenerManager.java:435)
        at org.gudy.azureus2.core3.util.ListenerManager$1.runSupport(ListenerManager.java:118)
        at org.gudy.azureus2.core3.util.AEThread.run(AEThread.java:69)
Caused by: java.lang.IllegalArgumentException: port out of range:-1
        at java.net.InetSocketAddress.<init>(InetSocketAddress.java:108)
        at java.net.Socket.<init>(Socket.java:124)
        at com.aelitis.net.upnp.impl.UPnPImpl.performSOAPRequest(UPnPImpl.java:538)
        at com.aelitis.net.upnp.impl.UPnPImpl.performSOAPRequest(UPnPImpl.java:452)
        at com.aelitis.net.upnp.impl.services.UPnPActionInvocationImpl.invoke(UPnPActionInvocationImpl.java:98)
        ... 12 more

DEBUG::Sun Apr 30 21:47:31 CEST 2006::com.aelitis.azureus.plugins.upnp.UPnPPluginService::removeMapping::351:
  com.aelitis.net.upnp.UPnPException: Invoke of 'urn:schemas-upnp-org:service:WANPPPConnection:1#DeletePortMapping' fails: port out of range:-1
        at com.aelitis.net.upnp.impl.services.UPnPActionInvocationImpl.invoke(UPnPActionInvocationImpl.java:134)
        at com.aelitis.net.upnp.impl.services.UPnPSSWANConnectionImpl.deletePortMapping(UPnPSSWANConnectionImpl.java:373)
        at com.aelitis.azureus.plugins.upnp.UPnPPluginService.removeMapping...

Revision history for this message
Darren Albers (dalbers) wrote :

Carthik I am running azureus-2.4.0.2-0ubuntu2 with JRE1.5 from Sun. I tried it with gcj and the same issue is there.

Unfortunately like I said earlier, running azureus from a console gives no errors when I minimize to the systemtray. Azureus is still running just not visible, in fact if I run Azureus from another console it sees the the other version running and brings that one back to the front.

Running the standard tarball from the azureus webpage works fine.

Did I open this bug in the wrong place? Should it have been opened here?:
https://launchpad.net/distros/ubuntu/dapper/+source/azureus/+bugs

Thanks!

Revision history for this message
Matt MacLeod (mmacleod) wrote :

There's definitely no icon with either the Sun JVM and gcj. It always appeared fine with debian packages I used in the past.

Revision history for this message
Joel Stanley (shenki) wrote :

I see this with azureus from dapper universe, azureus 2.4.0.2-0ubuntu2. Fresh install from 29042006 desktop cd.

Major issue for users, as the application 'dissapears' after minimizing, when minamize to tray is enabled.

Revision history for this message
Darren Albers (dalbers) wrote :

I think we have answered any outstanding questions and enough people have added comments that this should be set to confirmed. Is that possible?

Thanks!

Revision history for this message
Frode Haugsgjerd (froh) wrote :

Confirmed by several users.

Changed in azureus:
status: Needs Info → Confirmed
Carthik Sharma (carthik)
Changed in azureus:
assignee: nobody → motu
Revision history for this message
Tim Fuchs (tim-fuchs) wrote :

I think the problem is that the Azureus icon is simply not in the package or it is in the wrong place.

There IS a place in the systray (maybe 1 or 2 pixel) where you can right click and the Azureus menu appears.

The main window is missing the icon too.

Revision history for this message
Alan Tam (at) wrote :

This bug does not appear in Debian azureus 2.4.0.2-1

Revision history for this message
Eduardo Cereto (dudus) wrote :

I agree with Tim. Azureus is there on systray, but the icon just doesn't show up, or shouw up as an 2 pixels wide invisible pic.

Revision history for this message
Eduardo Cereto (dudus) wrote :

Under /usr/share/ there are 2 azureus icons. They're Azureus.png and Azureus.torrent.png. So they are just not linked rigth from the app or they're on the wrong place.

Revision history for this message
Samuel Krieg (samyboy1) wrote :

Quick workaround :

Instead of using the whole tarball from the azureus website, you just need to extract the Azureus2.jar file and replace it with the packaged one in /usr/share/java/ .

Revision history for this message
Benjamin Prosnitz (aetherane) wrote : Re: [Bug 42269] Re: Does not create a tray icon

isn't the Azureus2.jar file in /usr/share/java? - so how could you replace
it with the one in /usr/share/java
(note: I'm probably being stupid)

On 6/19/06, Samuel Krieg <email address hidden> wrote:
>
> Quick workaround :
>
> Instead of using the whole tarball from the azureus website, you just
> need to extract the Azureus2.jar file and replace it with the packaged
> one in /usr/share/java/ .
>
> --
> Does not create a tray icon
> https://launchpad.net/bugs/42269
>

Revision history for this message
Alwin Garside (yogarine) wrote : Re: Does not create a tray icon

I think he means you should replace the file in /usr/share/java/ with the original one from the Azureus site.

Revision history for this message
Eric Bartels (ebartels) wrote :

The problem effects azureus 2.5.0 in edgy too. I downloaded the source to take a look. The problem is that many of the icons are corrupted.

Take a look at: azureus-2.5.0.0/azureus/org/gudy/azureus2/ui/icons/a16.png

That is the icon that should be showing up in the systray, but it's been corrupted somehow. There are a bunch of em in there that are not right.

running file :
a16.png: PNG image data, CORRUPTED

You can quickly seen which ones by firing up nautilus and taking a look at the above mentioned folder. The ones that aren't showing thumbnails are the problems. Check subfolders, too. For instance, all PNGs in the imagebutton folder are not right.

I replaced these icons with ones from upstream and rebuilt the package, and that fixed the problem.

So, looks like someone needs to grab upstream again and repackage.

Revision history for this message
John Dong (jdong) wrote :

Eric is correct in his analysis. Many of the org/gudy/azureus2/ui/icons are corrupted. A simple find+xargs to replace *.png with copies from Azureus sourcecode, and a recompile fixes this bug.

Seems like the orig.tar.gz is corrupt and needs to be re-done. I am gonna do that and see if it still works.

Revision history for this message
John Dong (jdong) wrote :

http://buntudot.org/people/~jdong/azureus-edgy/

I have replaced the corrupt .png's with correct ones and published my results above. There I have source packages, and also binary .debs with those changes so people can test and verify that it works.

Please consider for edgy-updates.

Revision history for this message
Rafał Widełka (rwidelka) wrote :

azureus_2.5.0.0-0ubuntu3_all.deb works for me. thanks

Revision history for this message
Scott Sweeny (ssweeny) wrote :

Confirmed... fixes the problem here too.

Revision history for this message
Matthew Haughton (snafu109) wrote :

Marking this as confirmed in Ubuntu Edgy as well.

Changed in azureus:
status: Unconfirmed → Confirmed
Revision history for this message
Dan Bishop (danbishop) wrote :

Works for me too, when will this make it into the repos, it is a pretty serious bug as it really hinders use of azureus.

Revision history for this message
dyntryx (dyntryx) wrote :

Confirmed in Ubuntu Edgy here as well. By downloading directly from Azureus' site, I've resolved this issue as well as others.

Revision history for this message
Tim Rees (timrees1-deactivatedaccount) wrote :

I can confirm this problem occurs with the azureus 2.5.0.0-0ubuntu2 (Edgy) package.

Downloading the latest JAR from the Azureus SourceForge page corrected it.

Revision history for this message
dnissley (dnissley) wrote :

Why haven't John Dong's packages for azureus2.5.0.0-0ubuntu3 been added to edgy-updates yet? They fix the problem.

Revision history for this message
William Grant (wgrant) wrote :

SRU team: can you please accept/reject this SRU proposal for Edgy? I would include a patch, but PNGs don't diff well. It just consists of switching of some PNGs in the upstream tarball.

Changed in azureus:
assignee: nobody → william.grant
status: Confirmed → In Progress
Revision history for this message
StefanPotyra (sistpoty) wrote :

Hi,

the feisty version doesn't appear to be fixed yet, please upload a fix to feisty first.

I'm also a little bit concerned to replace the upstream tarball for edgy. I've been looking at jdong's source package, but FWIW this fix won't work, since we cannot have an upstream tarball with the same version and a different md5sum than the older one.

I see two possibilities to fix edgy though:
1) make a new orig-tarball with a newer upstream version (e.g. 2.5.0.0fixed1). That should however be aligned to a fix for feisty.
2) fixing the issue by replacing the broken png's during build (e.g. with uuencoded pngs or supplying xpm's and converting them to png).

I'd strongly advise to take route 2), but I'd also like to hear other opinions about this.

Cheers,
   Stefan.

Revision history for this message
William Grant (wgrant) wrote :

Indeed, it is not yet fixed in Feisty... I'll upload it now.

I forgot to note in this bug report that I repacked the tarball and gave it a new version (2.5.0.0repack1), so that's not a problem. I see little benefit in taking route 2), as it's just even more hackish, and a whole lot messier.

Revision history for this message
Reinhard Tartler (siretart) wrote :

William, please paste the changes here as soon as the fixed package enters feisty

Revision history for this message
William Grant (wgrant) wrote :

Uploaded fix to Feisty.

Changed in azureus:
status: Confirmed → Fix Released
Revision history for this message
William Grant (wgrant) wrote :
Revision history for this message
StefanPotyra (sistpoty) wrote :

what's the difference between your and jdongs changelog entry? maybe you could put in only one changelog entry ;).

+1.

Revision history for this message
William Grant (wgrant) wrote :

jdong repacked the upstream tarball, but didn't change the version. I changed the version, so it will actually upload properly. Both changes are acknowledged in my changelog entry.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Looks sane, +1.

Revision history for this message
Steve Kowalik (stevenk) wrote :

This also looks sane, +1.

Revision history for this message
Daniel T Chen (crimsun) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 24 Dec 2006 11:36:04 +1100
Source: azureus
Binary: azureus-gcj azureus
Architecture: source
Version: 2.5.0.0repack1-0ubuntu1~proposed1
Distribution: edgy-proposed
Urgency: low
Maintainer: Shaun Jackman <email address hidden>
Changed-By: William Grant <email address hidden>
Description:
 azureus - BitTorrent client
 azureus-gcj - BitTorrent client (native code)
Changes:
 azureus (2.5.0.0repack1-0ubuntu1~proposed1) edgy-proposed; urgency=low
 .
   [ John Dong ]
   * Fix original packaging (closes Malone 42269 and several duplicates)
     - Replaced all .png's in .orig.tar.gz with copies from Azureus sources
 .
   [ William Grant ]
   * Repack the original tarball with the fixes and a new version number.
Files:
 774c8b87d79c7856c8c303958a2de9f5 853 net optional azureus_2.5.0.0repack1-0ubuntu1~proposed1.dsc
 92749c49ac7c83b3eabafb5393726eae 3963794 net optional azureus_2.5.0.0repack1.orig.tar.gz
 5598cf83bdef8cb209039e7b05fbfcc8 67692 net optional azureus_2.5.0.0repack1-0ubuntu1~proposed1.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD4DBQFFvY56e9GwFciKvaMRAtbEAJi7FaTcyIQpR4qmYQSC9e6iF4HxAJwKS/0I
ycOKA3U8z1qkaIpMYf8BCw==
=rF3i
-----END PGP SIGNATURE-----

Revision history for this message
Martin Pitt (pitti) wrote :

I cannot accept the current edgy-proposed upload:

 azureus (2.5.0.0repack1-0ubuntu1~proposed1) edgy-proposed; urgency=low

because

   azureus | 2.5.0.0repack1-0ubuntu1 | feisty/universe | source, all

I. e. the edgy-updates version would be the same as in feisty. Please either upload a newer version into feisty first, or use a smaller version number for edgy (like -0ubuntu0.6.10). If you want to go with the latter case, I will reject the current upload so that you can do a new upload into edgy-proposed.

Changed in azureus:
status: In Progress → Needs Info
Revision history for this message
Martin Pitt (pitti) wrote :

Daniel advised me to remove the first upload, looking at second upload now.

Changed in azureus:
status: Needs Info → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

azureus/2.5.0.0repack1-0ubuntu0.6.10~proposed1 accepted into edgy-proposed, please go ahead with QA testing.

Changed in azureus:
status: In Progress → Fix Committed
Revision history for this message
William Grant (wgrant) wrote :

This upload cannot make it into edgy-updates until it is tested by a number of people. If this bug affects you, please test the package in edgy-proposed, as it will speed things along.

Revision history for this message
John Pye (jdpipe) wrote :

So where do I go to get edgy-proposed packages?

Revision history for this message
Brian Murray (brian-murray) wrote : Re: [Bug 42269] Re: [SRU] Does not create a tray icon

Proposed is another repository you could add in your
/etc/apt/sources.list file similar to updates or backports. Does that
answer your question?

Revision history for this message
John Pye (jdpipe) wrote :

I'd like to be able to just download the package without signing up for
the whole repository. Is there not just a webpage like
http://packages.ubuntu.com?

Revision history for this message
Brian Murray (brian-murray) wrote :

It looks you could manually download it from the archive:

http://archive.ubuntu.com/ubuntu/pool/universe/a/azureus/

There is one package labelled proposed.

Revision history for this message
John Dong (jdong) wrote :

+1 on edgy-proposed version

Revision history for this message
Kateikyoushii (kateikyoushii) wrote :

Tested the edgy proposed version, the fixes worked.

Revision history for this message
Andy Branscomb (droolingsheep) wrote :

Edgy proposed works for me to (kubuntu)

Revision history for this message
William Grant (wgrant) wrote :

We need two further successful tests in order to get this update finished. Please test this if it affects you.

Revision history for this message
Rafał Widełka (rwidelka) wrote :

Edgy proposed works for me too

Revision history for this message
William Grant (wgrant) wrote :

Uploaded to edgy-updates.

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into edgy-updates. Please do not forget to use -v when building the -updates source .changes next time, though.

Changed in azureus:
status: Fix Committed → Fix Released
Revision history for this message
Joshua Ochs (diamondsw) wrote :

Just installed Azureus today on Edgy and experienced the problems as described above. Why is the Edgy package either unfixed or broken again?

Revision history for this message
Joshua Ochs (diamondsw) wrote :

Nevermind - repository problems. All is fine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.