Bug#750589: needrestart: Use of uninitialized value path

2014-06-07 Thread Cristian Ionescu-Idbohrn
On Fri, 6 Jun 2014, Thomas Liske wrote: Hi Cristian, Thomas, On python3: $ python3 Python 3.3.5 (default, Mar 22 2014, 13:24:53) [GCC 4.8.2] on linux Type help, copyright, credits or license for more information. import sys put sys.path File stdin, line 1 put sys.path

Bug#750589: needrestart: Use of uninitialized value path

2014-06-07 Thread Thomas Liske
tags 750589 fixed-upstream thanks Re, On 06/07/2014 10:30 AM, Cristian Ionescu-Idbohrn wrote: Isn't that happening because syntax changed frm 2.x to 3.x? 'print(sys.path)' works with both, though: thanks, since I'm not a python guy I was not aware about the syntax changes in python3. Fixed

Bug#750589: needrestart: Use of uninitialized value path

2014-06-06 Thread Thomas Liske
Hi Cristian, On 06/04/2014 11:56 PM, Cristian Ionescu-Idbohrn wrote: If so could you please provide `needrestart -v`? Attached. Thanks! Looking into it: [Core] #9860 is a NeedRestart::Interp::Python File stdin, line 2 print sys.path ^ SyntaxError: invalid syntax Weirrd,

Bug#750589: needrestart: Use of uninitialized value path

2014-06-05 Thread Cristian Ionescu-Idbohrn
On Wed, 4 Jun 2014, Thomas Liske wrote: I'm trying to understand why $path gets an undefined value at all. Here's another example (maybe it helps): The following packages will be upgraded: colord colord-data keyutils krb5-multidev libcolord2 libcolorhug2 libgssapi-krb5-2

Bug#750589: needrestart: Use of uninitialized value $path

2014-06-04 Thread Cristian Ionescu-Idbohrn
Package: needrestart Version: 0.9-1 Severity: normal While upgrading these packages: binutils binutils-dev binutils-doc cups-filters cups-filters-core-drivers glances libcupsfilters1 libfontembed1 otp python-gdbm python-tk I noticed this: Scanning processes... - ..10%

Bug#750589: needrestart: Use of uninitialized value $path

2014-06-04 Thread Thomas Liske
tags 750589 upstream severity 750589 minor thanks Hi Cristian, ist the system still available? If so could you please provide `needrestart -v`? If you were able to find the PID triggering the warnings could you please provide `ls -lha /proc/pid/exec` and the content of /proc/pid/cmdline?

Bug#750589: needrestart: Use of uninitialized value path

2014-06-04 Thread Cristian Ionescu-Idbohrn
On Wed, 4 Jun 2014, Thomas Liske wrote: Hi Cristian, Thomas, ist the system still available? Yes. If so could you please provide `needrestart -v`? Attached. If you were able to find the PID triggering the warnings could you please provide `ls -lha /proc/pid/exec` and the content of