Bug#398337: emma: Impossible to create a new connection

2006-11-14 Thread Manolo Díaz

Piotr Ozarowski escribió:

tags 398337 + pending patch
thanks

Sorry, I added all my connections in 0.4 and didn't test adding new
connections in 0.5. Attached patch fixes this bug. I will try to upload
new package today.




So much better now :)
Thanks.

Regards,
Manolo


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



Bug#398337: emma: Impossible to create a new connection

2006-11-13 Thread Manolo Díaz
Package: emma
Version: 0.5-1
Severity: important



-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (101, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)

Versions of packages emma depends on:
ii  python2.4.3-11   An interactive high-level object-o
ii  python-central0.5.9  register and build utility for Pyt
ii  python-glade2 2.8.6-6GTK+ bindings: Glade support
ii  python-gtk2   2.8.6-6Python bindings for the GTK+ widge
ii  python-mysqldb1.2.1-p2-4 A Python interface to MySQL

emma recommends no packages.

-- no debconf information

Hi, 

creation of new connections fails with:

Traceback (most recent call last):
  File /usr/lib/python2.4/site-packages/emmalib/__init__.py, line 
2288, in on_ cw_apply
self.add_mysql_host(*data)
TypeError: add_mysql_host() takes exactly 7 arguments (8 given)



Best regards,
Manolo


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



Bug#398337: emma: Impossible to create a new connection

2006-11-13 Thread Piotr Ozarowski
tags 398337 + pending patch
thanks

Sorry, I added all my connections in 0.4 and didn't test adding new
connections in 0.5. Attached patch fixes this bug. I will try to upload
new package today.
-- 
:wq!
--- emma-0.5.orig/emmalib/__init__.py
+++ emma-0.5/emmalib/__init__.py
@@ -2284,7 +2284,7 @@
if not data[0]:
self.connection_window.hide()
return
-   data.append(False)
+   #data.append(False)
self.add_mysql_host(*data)
else:
for n in self.cw_props:


pgp1p2ZGQEqMp.pgp
Description: PGP signature