[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
** No longer affects: weather-indicator/3.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
** Changed in: weather-indicator/3.0 Status: Incomplete = Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
This bug was fixed in the package indicator-weather - 11.11.28-0ubuntu1.2 --- indicator-weather (11.11.28-0ubuntu1.2) precise-proposed; urgency=high * debian/postinst: Drop manually installation and compilation of gschema file. When built against = 2.32-1, python-distutils-extra automatically finds and installs the gschema file leading the postinst script to fail as it isn't where it expects it to be (LP: #1032887). indicator-weather (11.11.28-0ubuntu1.1) precise-proposed; urgency=low * debian/patches/dont_block_on_sun_times.patch: - If Earthtools.org is down, report 'Unknown' rather than blocking on sunset and sunrise times (LP: #964365). * debian/patches/fix_flurries.patch: - Fixes flurries condition being marked as 'Unknown' (LP: #928596). * debian/patches/fix_pid_checking.patch: - Correctly preform .pid file matching so we can restart after a crash (LP: #926433). -- Andrew Starr-Bochicchio a.star...@gmail.com Sat, 04 Aug 2012 10:40:24 -0400 ** Changed in: indicator-weather (Ubuntu Precise) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
** Changed in: weather-indicator/3.0 Status: Invalid = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
The proposed release fixed this bug and installs cleanly. I tested using this method: # check the indicator is not running ps -ef | grep indicator-weather paul 12866 9323 0 11:32 pts/800:00:00 grep indicator-weather # find a suitable test process PID that does not exist but where the digits are part of an existing process PID ls /proc | grep 42 1242 2429 8442 # create a false indicator pid file with that pid echo 42 /tmp/indicator-weather-$UID.pid # start the indicator # with the bug version, the indicator will not start indicator-weather /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed import gobject._gobject Another instance of this program is already running # with the new versions, the indicator starts fine indicator-weather # Attempting to start a second instance new version does fails as it should -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
** Description changed: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
** Branch linked: lp:~ubuntu-branches/ubuntu/precise/indicator-weather /precise-proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
I have confirmed Neal's experience with the package failing to install, with the same error message. I can't quite work my head around what is happening but if you build a .deb from the new source, the file indicator-weather.gschema.xml is already located in the correct directory and so the copy in debian/postinst fails and is probably not needed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
Hello Paul, or anyone else affected, Accepted indicator-weather into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/indicator- weather/11.11.28-0ubuntu1.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: indicator-weather (Ubuntu Precise) Status: Triaged = Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
It seems that this bug has been fixed: $ killall -i -9 indicator-weather Signal indicator-weath(2503) ? (y/N) y $ cat /tmp/indicator-weather-1000.pid 2503 $ indicator-weather /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed import gobject._gobject So there is still a complaint, but I think that's another bug. But the install was not smooth. I got these error messages during the apt-get update: Setting up indicator-weather (11.11.28-0ubuntu1.1) ... Installing indicator-specific icons... Installing indicator dconf schema... cp: cannot stat `/usr/share/indicator-weather/indicator-weather.gschema.xml': No such file or directory dpkg: error processing indicator-weather (--configure): subprocess installed post-installation script returned error exit status 1 ... Errors were encountered while processing: indicator-weather [master fd875bc] committing changes in /etc after apt run Author: neal neal@rf 3 files changed, 3 insertions(+), 3 deletions(-) E: Sub-process /usr/bin/dpkg returned an error code (1) So I'm guessing that should be fixed, but don't really know what it is, so I haven't changed the verification-needed tag. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
** Also affects: indicator-weather (Ubuntu Precise) Importance: Undecided Status: New ** Changed in: indicator-weather (Ubuntu Precise) Status: New = Triaged ** Changed in: indicator-weather (Ubuntu) Status: Confirmed = Triaged ** Changed in: indicator-weather (Ubuntu) Importance: Undecided = Medium ** Changed in: indicator-weather (Ubuntu Precise) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
** Changed in: indicator-weather (Ubuntu) Status: Triaged = In Progress ** Changed in: indicator-weather (Ubuntu) Assignee: (unassigned) = Andrew Starr-Bochicchio (andrewsomething) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
This bug was fixed in the package indicator-weather - 12.07.30-0ubuntu1 --- indicator-weather (12.07.30-0ubuntu1) quantal; urgency=low * New upstream release. - If Earthtools.org is down, report 'Unknown' rather than blocking on sunset and sunrise times (LP: #964365). - Correctly preform .pid file matching so we can restart after a crash (LP: #926433). - Fixed flurries condition being marked as 'Unknown' (LP: #928596). - Km in the units tab now written in full as kilometres (LP: #952661). * debian/control: Bump standards version to 3.9.3, no changes needed. * debian/postinst: Don't manually install or compile gschema. Distutils.Extras now installs it correctly and an apt trigger compiles it. -- Andrew Starr-Bochicchio a.star...@gmail.com Mon, 30 Jul 2012 16:32:33 -0400 ** Changed in: indicator-weather (Ubuntu) Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
** Branch linked: lp:ubuntu/indicator-weather -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
Debdiff for SRU in bug #964365 ** Description changed: + --- SRU Justification --- + + [IMPACT] + + When indicator-weather crashes (which is unfortunately fairly often for + some users), it sometimes leaves behind a pid file in /tmp. The current + pid file checking can sometimes match pids that match part of some other + process number. This can cause users to not be able to restart the + program after a crash. This fix requires that the pid number matches + exactly. + + [TESTCASE] + + Run indicator-weather and wait for a crash. + + Restart indicator-weather. + + With the version in precise, it can sometimes not be restarted with this + error: + + /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed + import gobject._gobject + Another instance of this program is already running + + With the version in precise-proposed, it will always restart. + + For extra points, try to start a second instance of indicator-weather. + With both versions, this should fail. + + [Regression Potential] + + Very little. It is a one line change. If there was an issue, it would + only display in the same circumstances as this bug, trying to restart + after a crash. + + --- + Description: Ubuntu 11.10 Release: 11.10 indicator-weather: - Installed: 11.05.31-0ubuntu2.1 - Candidate: 11.05.31-0ubuntu2.1 - Version table: - *** 11.05.31-0ubuntu2.1 0 - 500 http://gb.archive.ubuntu.com/ubuntu/ oneiric-updates/universe amd64 Packages - 100 /var/lib/dpkg/status - 11.05.31-0ubuntu2 0 - 500 http://gb.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages + Installed: 11.05.31-0ubuntu2.1 + Candidate: 11.05.31-0ubuntu2.1 + Version table: + *** 11.05.31-0ubuntu2.1 0 + 500 http://gb.archive.ubuntu.com/ubuntu/ oneiric-updates/universe amd64 Packages + 100 /var/lib/dpkg/status + 11.05.31-0ubuntu2 0 + 500 http://gb.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages Expect the indicator to start when run, but it does not but gives the following error message: /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed - import gobject._gobject + import gobject._gobject Another instance of this program is already running At some stage I assume the indicator crashed and left a file in /tmp called indicator-weather-500.pid. The log file ~/.cache/indicator- weather.log shows extra messages, just that another instances is running. I checked the process list and no instance was running. Once the .pid file had been deleted, the indicator started and ran as normal. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 926433] Re: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true.
** Changed in: weather-indicator/2.0 Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926433 Title: indicator-weather refuses to start, saying Another instance of this program is already running when that is not true. To manage notifications about this bug go to: https://bugs.launchpad.net/weather-indicator/+bug/926433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs