[Bug 764042] Re: natty: checkrestart: line 191, in main: package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]; KeyError: '_[1]'

2012-03-27 Thread Bug Watch Updater
** Changed in: debian-goodies (Debian)
   Status: Unknown = 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/764042

Title:
  natty: checkrestart: line 191, in main: package.initscripts = [ u for
  u in package.initscripts if u not in locals()['_[1]'] ]; KeyError:
  '_[1]'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-goodies/+bug/764042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 764042] Re: natty: checkrestart: line 191, in main: package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]; KeyError: '_[1]'

2012-03-25 Thread Axel Beckert
** Bug watch added: Debian Bug tracker #643977
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643977

** Also affects: debian-goodies (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643977
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/764042

Title:
  natty: checkrestart: line 191, in main: package.initscripts = [ u for
  u in package.initscripts if u not in locals()['_[1]'] ]; KeyError:
  '_[1]'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-goodies/+bug/764042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 764042] Re: natty: checkrestart: line 191, in main: package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]; KeyError: '_[1]'

2012-03-25 Thread Axel Beckert
This has been fixed in debian-goodies 0.56 and since 0.59 is in Precise,
this should be fixed in Precise.

** Changed in: debian-goodies (Ubuntu)
   Status: Triaged = 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/764042

Title:
  natty: checkrestart: line 191, in main: package.initscripts = [ u for
  u in package.initscripts if u not in locals()['_[1]'] ]; KeyError:
  '_[1]'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-goodies/+bug/764042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 764042] Re: natty: checkrestart: line 191, in main: package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]; KeyError: '_[1]'

2012-03-03 Thread Sebastian Bugiu
Yep I just got it also today! The thing is it worked. Last time I used
it was maybe a week ago at most. Now it doesn't work anymore. Could it
be some recent update? I have to mention I haven't restarted the system
in over 100 days now and can't restart it to test if maybe some updates
got mangled.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/764042

Title:
  natty: checkrestart: line 191, in main: package.initscripts = [ u for
  u in package.initscripts if u not in locals()['_[1]'] ]; KeyError:
  '_[1]'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-goodies/+bug/764042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 764042] Re: natty: checkrestart: line 191, in main: package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]; KeyError: '_[1]'

2012-03-03 Thread Kenyon Ralph
On 2012-03-04T00:09:16-, Sebastian Bugiu 764...@bugs.launchpad.net wrote:
 Yep I just got it also today! The thing is it worked. Last time I used
 it was maybe a week ago at most. Now it doesn't work anymore. Could it
 be some recent update? I have to mention I haven't restarted the system
 in over 100 days now and can't restart it to test if maybe some updates
 got mangled.

It's the lsof output that causes this bug with checkrestart, not the
package upgrades. Try my patch from comment #4.

-- 
Kenyon Ralph

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/764042

Title:
  natty: checkrestart: line 191, in main: package.initscripts = [ u for
  u in package.initscripts if u not in locals()['_[1]'] ]; KeyError:
  '_[1]'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-goodies/+bug/764042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 764042] Re: natty: checkrestart: line 191, in main: package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]; KeyError: '_[1]'

2011-11-29 Thread Kenyon Ralph
On 2011-11-29T07:46:17-, Laurent Bonnaud laurent.bonn...@inpg.fr wrote:
 I have two Ubuntu oneiric systems and this bug only shows up on one of
 them.  I wonder what could explain that.

The bug doesn't occur all the time. I think it depends on the state of
the system, that is, the input to checkrestart. So it probably will
occur on your other system eventually.

-- 
Kenyon Ralph

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/764042

Title:
  natty: checkrestart: line 191, in main: package.initscripts = [ u for
  u in package.initscripts if u not in locals()['_[1]'] ]; KeyError:
  '_[1]'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-goodies/+bug/764042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 764042] Re: natty: checkrestart: line 191, in main: package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]; KeyError: '_[1]'

2011-11-28 Thread Laurent Bonnaud
I have two Ubuntu oneiric systems and this bug only shows up on one of
them.  I wonder what could explain that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/764042

Title:
  natty: checkrestart: line 191, in main: package.initscripts = [ u for
  u in package.initscripts if u not in locals()['_[1]'] ]; KeyError:
  '_[1]'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-goodies/+bug/764042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 764042] Re: natty: checkrestart: line 191, in main: package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]; KeyError: '_[1]'

2011-11-13 Thread Kenyon Ralph
Nope, I still see this problem on oneiric, and my patch still fixes it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/764042

Title:
  natty: checkrestart: line 191, in main: package.initscripts = [ u for
  u in package.initscripts if u not in locals()['_[1]'] ]; KeyError:
  '_[1]'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-goodies/+bug/764042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 764042] Re: natty: checkrestart: line 191, in main: package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]; KeyError: '_[1]'

2011-10-30 Thread Kenyon Ralph
I'm not seeing this problem (the Python exception on line 191 of
checkrestart) at the moment with Ubuntu oneiric and debian-goodies 0.55.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/764042

Title:
  natty: checkrestart: line 191, in main: package.initscripts = [ u for
  u in package.initscripts if u not in locals()['_[1]'] ]; KeyError:
  '_[1]'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-goodies/+bug/764042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 764042] Re: natty: checkrestart: line 191, in main: package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]; KeyError: '_[1]'

2011-07-19 Thread Daniel T Chen
** Changed in: debian-goodies (Ubuntu)
   Status: New = Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/764042

Title:
  natty: checkrestart: line 191, in main: package.initscripts = [ u for
  u in package.initscripts if u not in locals()['_[1]'] ]; KeyError:
  '_[1]'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-goodies/+bug/764042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 764042] Re: natty: checkrestart: line 191, in main: package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]; KeyError: '_[1]'

2011-06-10 Thread Han Boetes
I think that Kenyon Ralph's patch fixes the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/764042

Title:
  natty: checkrestart: line 191, in main: package.initscripts = [ u for
  u in package.initscripts if u not in locals()['_[1]'] ]; KeyError:
  '_[1]'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-goodies/+bug/764042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 764042] Re: natty: checkrestart: line 191, in main: package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]; KeyError: '_[1]'

2011-04-21 Thread Kenyon Ralph
I'm not sure why line 191 had an error for me, I didn't really
investigate how it works, but replacing it with a simpler method of
removing duplicates fixes the problem:

package.initscripts = list(set(package.initscripts))

Attached is a patch with that change, against the debian-goodies 0.55
version of checkrestart. I added a similar line to remove duplicate init
script listings, which can happen when checkrestart finds that openssh-
client and openssh-server both need to be restarted, /etc/init.d/ssh
will be listed twice, for example. Also, I did a whitespace-cleanup
using emacs.

Note that this usage of set() requires python = 2.5.
http://docs.python.org/faq/programming.html#how-do-you-remove-
duplicates-from-a-list

** Patch added: checkrestart-rmdupes-fix.diff
   
https://bugs.launchpad.net/ubuntu/+source/debian-goodies/+bug/764042/+attachment/2078959/+files/checkrestart-rmdupes-fix.diff

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/764042

Title:
  natty: checkrestart: line 191, in main: package.initscripts = [ u for
  u in package.initscripts if u not in locals()['_[1]'] ]; KeyError:
  '_[1]'

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs