Your message dated Thu, 18 Mar 2010 06:17:07 +0000
with message-id <[email protected]>
and subject line Bug#573417: fixed in forgetsql 0.5.1-11
has caused the Debian Bug report #573417,
regarding forgetSQL raises string exceptions in three places (not supported in
python 2.6)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
573417: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573417
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: forgetsql
Version: 0.5.1-10
Severity: normal
Tags: patch upstream
Owner: Morten Werner Forsbring <[email protected]>
Hi,
this was sent to the [email protected] mailinglist. It should be
fixed for the package in Debian as well.
- Werner
Morten Brekkevold <[email protected]> writes:
> Hi all,
>
> forgetSQL is an unmaintained piece of shi^H^Hoftware that NAV versions
> up to 3.5 depend on. While we have removed this dependency from the
> coming NAV 3.6, some will experience warnings when running NAV under
> Python 2.5, and outright failures on Python 2.6, due to problems with
> the forgetSQL module.
>
> The forgetSQL module raises string exceptions in three places, and
> these are deprecated in Python 2.5, and not supported in 2.6. You may
> see error messages such as these:
>
> /var/lib/python-support/python2.5/forgetSQL.py:212: DeprecationWarning:
> raising a string exception is deprecated
> raise "NotFound"
>
> or
>
> File "/var/lib/python-support/python2.6/forgetSQL.py", line 212, in __new__
> raise "NotFound"
>
> TypeError: exceptions must be classes or instances, not str
>
>
> I'm attaching a quick forgetSQL patch I've written to overcome these
> problems until NAV 3.6 has reached a stable release.
--- forgetSQL.py.old 2010-02-24 11:55:01.000000000 +0100
+++ forgetSQL.py 2010-02-24 11:57:32.000000000 +0100
@@ -1,4 +1,4 @@
-
+#-*- coding: iso-8859-1 -*-
__version__ = "0.5.1"
## Distributed under LGPL
@@ -209,18 +209,18 @@
try: # to implement 'goto' in Python.. UGH
if not cls._cache.has_key(args):
# unknown
- raise "NotFound"
+ raise NotFound
(ref, updated) = cls._cache[args]
realObject = ref()
if realObject is None:
# No more real references to it, dead object
- raise "NotFound"
+ raise NotFound
age = time.time() - updated
if age > cls._timeout:
# Too old!
- raise "NotFound"
+ raise NotFound
updated = time.time()
- except "NotFound":
+ except NotFound:
# We'll need to create it
realObject = object.__new__(cls, *args)
ref = weakref.ref(realObject)
--- End Message ---
--- Begin Message ---
Source: forgetsql
Source-Version: 0.5.1-11
We believe that the bug you reported is fixed in the latest version of
forgetsql, which is due to be installed in the Debian FTP archive:
forgetsql_0.5.1-11.debian.tar.gz
to main/f/forgetsql/forgetsql_0.5.1-11.debian.tar.gz
forgetsql_0.5.1-11.dsc
to main/f/forgetsql/forgetsql_0.5.1-11.dsc
python-forgetsql_0.5.1-11_all.deb
to main/f/forgetsql/python-forgetsql_0.5.1-11_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Morten Werner Forsbring <[email protected]> (supplier of updated forgetsql
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 11 Mar 2010 15:30:22 +0100
Source: forgetsql
Binary: python-forgetsql
Architecture: source all
Version: 0.5.1-11
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team
<[email protected]>
Changed-By: Morten Werner Forsbring <[email protected]>
Description:
python-forgetsql - Python module for easy SQL-database access
Closes: 573417
Changes:
forgetsql (0.5.1-11) unstable; urgency=low
.
* Add patch from Morten Brekkevold to change string exceptions not
supported by Python 2.6. (Closes: #573417)
* Updated debian/copyright to new machine-readable format.
* Bumped standards-version to 3.8.4
* Removed deprecated XS-Python-Version in debian/control.
* Changed my lastname.
Checksums-Sha1:
27c12ba262234314d5db0488c3626c4fb1aee927 1356 forgetsql_0.5.1-11.dsc
3f14db7f2a625e0e101b2d2cecdc77e3cfbced9a 4597 forgetsql_0.5.1-11.debian.tar.gz
8383bfa897def7ba83fb1cb626d52b1a306fff40 26416
python-forgetsql_0.5.1-11_all.deb
Checksums-Sha256:
174e59549a377c5f4deb6993bf95248e1373536f4d0854e956dcfd9b90c8bf0a 1356
forgetsql_0.5.1-11.dsc
6a9001a0991d185cfb284ed2ab1895517fceafc4f435d99dd76d43a10ea97569 4597
forgetsql_0.5.1-11.debian.tar.gz
f4cdeeb7a5d5d88974a381e06723de64e0bb21a7aab012e3515ce1bc5e6490a8 26416
python-forgetsql_0.5.1-11_all.deb
Files:
659eac04d71e8bddf1dfff5988a05983 1356 python optional forgetsql_0.5.1-11.dsc
c3a37fe320f19252eb057a5daa6ce5d2 4597 python optional
forgetsql_0.5.1-11.debian.tar.gz
e5595eb7378682b708fb05ca0e2779f6 26416 python optional
python-forgetsql_0.5.1-11_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkuhwyoACgkQw951rgNrq42igQCfQhW/883i/oi+RNGKyroKthNm
TakAn1Emx0pDOuElHPiwqKCJZdUF47Cx
=M9Oq
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team