Only one user on a system can use indicator-weather due to the duplicate instance check

Bug #730378 reported by John S. Gruber
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Weather Indicator
Fix Released
Low
Unassigned
indicator-weather (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

No doubt obvious to the authors, perhaps intended.

I often have multiple userid's logged in simultaneously that have different set-ups. Because of the duplicate check only the first to log in can have indicator-weather. It would be nice if the duplicate check could include userid in the filename or some such unless there is a reason to limit the app to one per computer.

Between this and lp# 720030 it took me awhile to figure out what was happening.

Reference: patch for lp #707681

Thanks for the good work, and good luck.

Changed in weather-indicator:
importance: Undecided → Low
milestone: none → cloudy
status: New → Confirmed
Changed in indicator-weather (Ubuntu):
status: New → Confirmed
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Now pid file are stored in ~/.cache folder - this should solve the issue, though I could not test it.
Check 'Unstable builds' PPA in Weather Indicator Team for a new version with the fix

Changed in weather-indicator:
status: Confirmed → Fix Committed
Revision history for this message
John S. Gruber (jsjgruber) wrote : Re: [Bug 730378] Re: Only one user on a system can use indicator-weather due to the duplicate instance check

Thanks, Vadim. I'm testing it now. I confirm it does allow two
userid's to run indicator-weather simultaneously.

Changed in weather-indicator:
status: Fix Committed → Fix Released
Changed in indicator-weather (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-weather - 11.03.20+repack-0ubuntu1

---------------
indicator-weather (11.03.20+repack-0ubuntu1) natty; urgency=low

  * New upstream release.
   - Fix unsafe tempfile handling (LP: #720112).
   - Fix gconf related crashers (LP: #723557).
   - Fix TypeError in getHumidex() (LP: #730287).
   - Allow two userid's to run indicator-weather
     simultaneously (LP: #730378).
   - Fix night icon showing during daytime (LP: #715657).
   - Fix indicator invisible on first run (LP: #720030).
   - Fix AttributeError in __find_city_by_code() (LP: #733681).
   - Fix AttributeError when clicking "Forecast" if there is
     no network connection (LP: # 730193).
  * debian/control:
   - Drop depends on python-simplejson, python-gconf,
     python-pymetar, and python-gweather.
   - Add depends on python-desktopcouch-records and
     python-pywapi.
  * Drop all old patches, applied upstream.
  * 01_lp_738804.patch: Fix crash on city names with spaces.
  * debian/rules:
   - Tweak get-orig-source target for new upstream
     directory naming.
   - Don't compress AUTHORS and COPYING. Needed for
     about dialog.
  * debian/indicator-weather.install: Install AUTHORS
    and COPYING files to /usr/share/doc/indicator-weather
    to fix crash in about dialog.
  * debian/indicator-weather.lintian-overrides: Overide
    lintian warning about extra copyright file.
 -- Andrew Starr-Bochicchio <email address hidden> Sun, 20 Mar 2011 22:16:35 -0400

Changed in indicator-weather (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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