Package: python2.3-forgetsql
Version: 0.5.1-3
Severity: normal

The --option or the -o switch make the forgetsql-generate command hang:

[EMAIL PROTECTED]:~$ forgetsql-generate -o adsf
sys:1: DeprecationWarning: Non-ASCII character '\xf8' in file 
/usr/bin/forgetsql-generate on line 6, but no encoding declared; see 
http://www.python.org/peps/pep-0263.html for details
Traceback (most recent call last):
  File "/usr/bin/forgetsql-generate", line 257, in ?
     main()
  File "/usr/bin/forgetsql-generate", line 196, in main
     sys.stdout = open(output, "w")
NameError: global name 'output' is not defined

The solution is to replace the line,

196c196
<             sys.stdout = open(options.output, "w")
---
>             sys.stdout = open(output, "w")


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=es_AR, LC_CTYPE=es_AR (charmap=ISO-8859-1)

Versions of packages python2.3-forgetsql depends on:
ii  python2.3                     2.3.5-6    An interactive high-level object-o

Versions of packages python2.3-forgetsql recommends:
ii  python2.3-mysqldb             1.2.1c3-1  A Python interface to MySQL
pn  python2.3-pgsql               <none>     (no description available)
ii  python2.3-psycopg             1.1.18-1   Python 2.3 module for PostgreSQL

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to