[Bug 1878935] Re: pythonpy displays Python deprecation warning when run

2020-05-15 Thread Daniel Franklin
** Description changed:

  The program pythonpy displays a deprecation warning before the expected
  output every time it is run.
  
  Expected:
  
  > py "43 - 1"
  42
  
  Actual:
  
  > py "43 - 1"
  /usr/bin/py:16: DeprecationWarning: Using or importing the ABCs from 
'collections' instead of from 'collections.abc' is deprecated since Python 3.3, 
and in 3.9 it will stop working
    from collections import Iterable
  42
  
  This can be fixed by slightly editing one line (see attached patch).
  
  The source listed both at packages.ubuntu.com and pypi.org (see
- ) points to a deleted GitHub repo that
- was last updated three years ago (see
+ ) points to a deleted GitHub repo
+ that was last updated three years ago (see
  
).
  
  While I'm on Pop!_OS, my understanding is that this package comes from
  Ubuntu and thus this is where I should file this.
  
  System version:
  
  Description:  Pop!_OS 20.04 LTS
  Release:  20.04
  
  Package version:
  
  pythonpy:
    Installed: 0.4.11b-3
    Candidate: 0.4.11b-3
    Version table:
   *** 0.4.11b-3 500
  500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 
Packages
  500 http://us.archive.ubuntu.com/ubuntu focal/universe i386 
Packages
  100 /var/lib/dpkg/status
  
  System python3 version (referred to by the shebang of pythonpy):
  
- Python 3.7.4
+ Python 3.7.4

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

Title:
  pythonpy displays Python deprecation warning when run

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pythonpy/+bug/1878935/+subscriptions

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

[Bug 1878935] [NEW] pythonpy displays Python deprecation warning when run

2020-05-15 Thread Daniel Franklin
Public bug reported:

The program pythonpy displays a deprecation warning before the expected
output every time it is run.

Expected:

> py "43 - 1"
42

Actual:

> py "43 - 1"
/usr/bin/py:16: DeprecationWarning: Using or importing the ABCs from 
'collections' instead of from 'collections.abc' is deprecated since Python 3.3, 
and in 3.9 it will stop working
  from collections import Iterable
42

This can be fixed by slightly editing one line (see attached patch).

The source listed both at packages.ubuntu.com and pypi.org (see
) points to a deleted GitHub repo that
was last updated three years ago (see
).

While I'm on Pop!_OS, my understanding is that this package comes from
Ubuntu and thus this is where I should file this.

System version:

Description:Pop!_OS 20.04 LTS
Release:20.04

Package version:

pythonpy:
  Installed: 0.4.11b-3
  Candidate: 0.4.11b-3
  Version table:
 *** 0.4.11b-3 500
500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 
Packages
500 http://us.archive.ubuntu.com/ubuntu focal/universe i386 Packages
100 /var/lib/dpkg/status

System python3 version (referred to by the shebang of pythonpy):

Python 3.7.4

** Affects: pythonpy (Ubuntu)
 Importance: Undecided
 Status: New

** Patch added: "pythonpy-0.4.11-deprecation_warning.patch"
   
https://bugs.launchpad.net/bugs/1878935/+attachment/5372152/+files/pythonpy-0.4.11-deprecation_warning.patch

** Description changed:

  The program pythonpy displays a deprecation warning before the expected
  output every time it is run.
  
  Expected:
  
- > py "43 - 1"
- 42
+ > py "43 - 1"
+ 42
  
  Actual:
  
- > py "43 - 1"
- /usr/bin/py:16: DeprecationWarning: Using or importing the ABCs from 
'collections' instead of from 'collections.abc' is deprecated since Python 3.3, 
and in 3.9 it will stop working
-   from collections import Iterable
- 42
+ > py "43 - 1"
+ /usr/bin/py:16: DeprecationWarning: Using or importing the ABCs from 
'collections' instead of from 'collections.abc' is deprecated since Python 3.3, 
and in 3.9 it will stop working
+   from collections import Iterable
+ 42
  
  This can be fixed by slightly editing one line (see attached patch).
  
  The source listed both at packages.ubuntu.com and pypi.org (see
  ) points to a deleted GitHub repo that
  was last updated three years ago (see
  
).
  
  While I'm on Pop!_OS, my understanding is that this package comes from
  Ubuntu and thus this is where I should file this.
  
  System version:
  
- Description:  Pop!_OS 20.04 LTS
- Release:  20.04
+ Description:  Pop!_OS 20.04 LTS
+ Release:  20.04
  
  Package version:
  
- pythonpy:
-   Installed: 0.4.11b-3
-   Candidate: 0.4.11b-3
-   Version table:
-  *** 0.4.11b-3 500
- 500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 
Packages
- 500 http://us.archive.ubuntu.com/ubuntu focal/universe i386 
Packages
- 100 /var/lib/dpkg/status
+ pythonpy:
+   Installed: 0.4.11b-3
+   Candidate: 0.4.11b-3
+   Version table:
+  *** 0.4.11b-3 500
+ 500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 
Packages
+ 500 http://us.archive.ubuntu.com/ubuntu focal/universe i386 
Packages
+ 100 /var/lib/dpkg/status
+ 
+ System python3 version (referred to by the shebang of pythonpy):
+ 
+ Python 3.7.4

** Summary changed:

- Pythonpy displays deprecation warning with system python version 3.7.4
+ pythonpy displays Python deprecation warning when run

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

Title:
  pythonpy displays Python deprecation warning when run

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pythonpy/+bug/1878935/+subscriptions

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

[Bug 807416] Re: Security bug in xml-security-c may require rebuilding of this package

2011-07-27 Thread Joshua Daniel Franklin
I'd love to see this security update synced from debian.

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

Title:
  Security bug in xml-security-c may require rebuilding of this package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shibboleth-sp2/+bug/807416/+subscriptions

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


[Bug 807414] Re: Buffer overflow bugs CVE-2011-2516

2011-07-27 Thread Joshua Daniel Franklin
I'd love to see this security update synced from debian.

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

Title:
  Buffer overflow bugs CVE-2011-2516

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xml-security-c/+bug/807414/+subscriptions

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


[Bug 706570] Re: JAVA_OPTS defined in /etc/init.d/tomcat6 do not propagate to startup

2011-01-23 Thread Joshua Daniel Franklin
Reuben, it's not obvious in the init script but the proper place is
/etc/default/tomcat6 which includes a JAVA_OPT line, which actually
clobber the one in the init script due to the if -z JAVA_OPT. This
actually bit me recently due to a tomcat update.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
https://bugs.launchpad.net/bugs/706570

Title:
  JAVA_OPTS defined in /etc/init.d/tomcat6 do not propagate to startup

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 706570] Re: JAVA_OPTS defined in /etc/init.d/tomcat6 do not propagate to startup

2011-01-23 Thread Joshua Daniel Franklin
Reuben, it's not obvious in the init script but the proper place is
/etc/default/tomcat6 which includes a JAVA_OPT line, which actually
clobber the one in the init script due to the if -z JAVA_OPT. This
actually bit me recently due to a tomcat update.

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

Title:
  JAVA_OPTS defined in /etc/init.d/tomcat6 do not propagate to startup

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


[Bug 575303] Re: tomcat6 has two webapps/ directories

2010-05-05 Thread Joshua Daniel Franklin
version 6.0.24-2ubuntu1, out of the lucid main repos today.

Get:1 http://ftp.osuosl.org/pub/ubuntu/ lucid/main tomcat6
6.0.24-2ubuntu1 [30.1kB]

-- 
tomcat6 has two webapps/ directories
https://bugs.launchpad.net/bugs/575303
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 575303] Re: tomcat6 has two webapps/ directories

2010-05-05 Thread Joshua Daniel Franklin
Also, by the way usr/share/tomcat6/webapps/ is inside data.tar.gz in the
deb, and the postinst has this weird line:

cp -r /usr/share/tomcat6/webapps/default_root
/var/lib/tomcat6/webapps/ROOT

Could we include as /var/lib/tomcat6/webapps/ROOT in data.tar.gz and
leave off /usr/share/tomcat6/webapps/?

I haven't looked at how this happens from upstream, maybe there
something I'm missing.

-- 
tomcat6 has two webapps/ directories
https://bugs.launchpad.net/bugs/575303
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 575303] Re: tomcat6 has two webapps/ directories

2010-05-05 Thread Joshua Daniel Franklin
version 6.0.24-2ubuntu1, out of the lucid main repos today.

Get:1 http://ftp.osuosl.org/pub/ubuntu/ lucid/main tomcat6
6.0.24-2ubuntu1 [30.1kB]

-- 
tomcat6 has two webapps/ directories
https://bugs.launchpad.net/bugs/575303
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 575303] Re: tomcat6 has two webapps/ directories

2010-05-05 Thread Joshua Daniel Franklin
Also, by the way usr/share/tomcat6/webapps/ is inside data.tar.gz in the
deb, and the postinst has this weird line:

cp -r /usr/share/tomcat6/webapps/default_root
/var/lib/tomcat6/webapps/ROOT

Could we include as /var/lib/tomcat6/webapps/ROOT in data.tar.gz and
leave off /usr/share/tomcat6/webapps/?

I haven't looked at how this happens from upstream, maybe there
something I'm missing.

-- 
tomcat6 has two webapps/ directories
https://bugs.launchpad.net/bugs/575303
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 575303] [NEW] tomcat6 has two webapps/ directories

2010-05-04 Thread Joshua Daniel Franklin
Public bug reported:

Binary package hint: tomcat6

tomcat6 creates both /usr/share/tomcat6/webapps/ and
/var/lib/tomcat6/webapps/ for some reason. Since the
CATALINA_BASE=/var/lib/tomcat6 the first /usr/share is not used at all
and it confused me!  Please remove  /usr/share/tomcat6/webapps/  from
the tomcat6 package.


default ubuntu page:
Tomcat6 veterans might be pleased to learn that this system instance of Tomcat 
is installed with CATALINA_HOME in /usr/share/tomcat6  and CATALINA_BASE in 
/var/lib/tomcat6, following the rules from 
/usr/share/doc/tomcat6-common/RUNNING.txt.gz.

from RUNNING.txt.gz:
When you use $CATALINA_BASE, Tomcat will calculate all relative references for
files in the following directories based on the value of $CATALINA_BASE instead
of $CATALINA_HOME:

** Affects: tomcat6 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
tomcat6 has two webapps/ directories
https://bugs.launchpad.net/bugs/575303
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 575303] [NEW] tomcat6 has two webapps/ directories

2010-05-04 Thread Joshua Daniel Franklin
Public bug reported:

Binary package hint: tomcat6

tomcat6 creates both /usr/share/tomcat6/webapps/ and
/var/lib/tomcat6/webapps/ for some reason. Since the
CATALINA_BASE=/var/lib/tomcat6 the first /usr/share is not used at all
and it confused me!  Please remove  /usr/share/tomcat6/webapps/  from
the tomcat6 package.


default ubuntu page:
Tomcat6 veterans might be pleased to learn that this system instance of Tomcat 
is installed with CATALINA_HOME in /usr/share/tomcat6  and CATALINA_BASE in 
/var/lib/tomcat6, following the rules from 
/usr/share/doc/tomcat6-common/RUNNING.txt.gz.

from RUNNING.txt.gz:
When you use $CATALINA_BASE, Tomcat will calculate all relative references for
files in the following directories based on the value of $CATALINA_BASE instead
of $CATALINA_HOME:

** Affects: tomcat6 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
tomcat6 has two webapps/ directories
https://bugs.launchpad.net/bugs/575303
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 410379] Re: Tomcat security configuration error prevents proper logging when used with Sun's JVM

2009-10-13 Thread Joshua Daniel Franklin
For what it's worth, you can apt-get install jsvc 
and then use a simple init script to run apache.org tomcat
as tomcat user not root. We have been doing this for many 
years to run tomcat and other custom java apps as 
servers. A simple example jsvc init script is here:
http://staff.washington.edu/joshuadf/java/

Note that you will need to get tomcat security updates from
apache.org yourself.

-- 
Tomcat security configuration error prevents proper logging when used with 
Sun's JVM
https://bugs.launchpad.net/bugs/410379
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 410379] Re: Tomcat security configuration error prevents proper logging when used with Sun's JVM

2009-10-13 Thread Joshua Daniel Franklin
For what it's worth, you can apt-get install jsvc 
and then use a simple init script to run apache.org tomcat
as tomcat user not root. We have been doing this for many 
years to run tomcat and other custom java apps as 
servers. A simple example jsvc init script is here:
http://staff.washington.edu/joshuadf/java/

Note that you will need to get tomcat security updates from
apache.org yourself.

-- 
Tomcat security configuration error prevents proper logging when used with 
Sun's JVM
https://bugs.launchpad.net/bugs/410379
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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