Your message dated Wed, 06 Apr 2005 06:03:24 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#302882: fixed in memaid-pyqt 0.2.3-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 3 Apr 2005 14:56:15 +0000
>From [EMAIL PROTECTED] Sun Apr 03 07:56:15 2005
Return-path: <[EMAIL PROTECTED]>
Received: from dsl092-067-036.bos1.dsl.speakeasy.net (syllepsis) [66.92.67.36] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DI6WM-0002uG-00; Sun, 03 Apr 2005 07:56:15 -0700
Received: by syllepsis (Postfix, from userid 1000)
        id C87252FEA3; Sun,  3 Apr 2005 10:56:13 -0400 (EDT)
From: Stephen McCamant <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[EMAIL PROTECTED]>
Date: Sun, 3 Apr 2005 10:56:13 -0400
To: [EMAIL PROTECTED]
Subject: Need to regenerate UI for comparability with PyQt upgrade
X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: memaid-pyqt
Severity: important
Tags: patch
Version: 0.2.3-2

The most recent (3.14) version of PyQt (python-qt3 3.14.1-1) makes an
incompatible change to the arguments to the QSizePolicy constructor:
only enumerated values are allowed, and not the corresponding integer
values. Unfortunately, this breaks interfaces whose .py files were
generated automatically with pyuic from 3.13, since that version used
numeric values.

The symptom of the problem is an error message that looks like this:

Traceback (most recent call last):
  File "/usr/bin/memaid-pyqt", line 50, in ?
    w = MainDlg(filename, item_id)
  File "/usr/lib/python2.3/site-packages/pyqt_memaid/main_dlg.py", line 37, in 
__init__
    MainFrm.__init__(self,parent,name,fl)
  File "/usr/lib/python2.3/site-packages/pyqt_memaid/main_frm.py", line 943, in 
__init__
    
self.question_text.setSizePolicy(QSizePolicy(3,3,0,0,self.question_text.sizePolicy().hasHeightForWidth()))
TypeError: argument 1 of QSizePolicy() has an invalid type

I've appended a suitable patch; I suspect the changes could also be
made in-place in /usr/lib/python2.3/site-packages/pyqt_memaid/ to fix
a broken installation. (Though the easiest workaround is probably just
to downgrade PyQt).

 -- Stephen

--- pyqt_memaid/add_items_frm.py.orig   2005-02-10 12:20:15.000000000 -0500
+++ pyqt_memaid/add_items_frm.py        2005-04-03 10:46:02.160033702 -0400
@@ -2,8 +2,8 @@
 
 # Form implementation generated from reading ui file 'add_items_frm.ui'
 #
-# Created: Thu Feb 10 18:20:15 2005
-#      by: The PyQt User Interface Compiler (pyuic) 3.13
+# Created: Sun Apr 3 10:46:02 2005
+#      by: The PyQt User Interface Compiler (pyuic) 3.14.1
 #
 # WARNING! All changes made in this file will be lost!
 
@@ -29,7 +29,7 @@
         layout1.addWidget(self.textLabel1)
 
         self.categories = QComboBox(0,self,"categories")
-        
self.categories.setSizePolicy(QSizePolicy(3,0,0,0,self.categories.sizePolicy().hasHeightForWidth()))
+        
self.categories.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Fixed,0,0,self.categories.sizePolicy().hasHeightForWidth()))
         self.categories.setEditable(1)
         self.categories.setAutoCompletion(1)
         self.categories.setDuplicatesEnabled(0)
@@ -52,7 +52,7 @@
         layout7.addWidget(self.addViceVersa)
 
         self.grades = QButtonGroup(self,"grades")
-        
self.grades.setSizePolicy(QSizePolicy(5,5,0,0,self.grades.sizePolicy().hasHeightForWidth()))
+        
self.grades.setSizePolicy(QSizePolicy(QSizePolicy.Preferred,QSizePolicy.Preferred,0,0,self.grades.sizePolicy().hasHeightForWidth()))
         self.grades.setAlignment(QButtonGroup.AlignVCenter | 
QButtonGroup.AlignLeft)
         self.grades.setRadioButtonExclusive(0)
         self.grades.setColumnLayout(0,Qt.Vertical)
--- pyqt_memaid/edit_item_frm.py.orig   2005-02-10 12:20:15.000000000 -0500
+++ pyqt_memaid/edit_item_frm.py        2005-04-03 10:45:37.259520186 -0400
@@ -2,8 +2,8 @@
 
 # Form implementation generated from reading ui file 'edit_item_frm.ui'
 #
-# Created: Thu Feb 10 18:20:15 2005
-#      by: The PyQt User Interface Compiler (pyuic) 3.13
+# Created: Sun Apr 3 10:45:37 2005
+#      by: The PyQt User Interface Compiler (pyuic) 3.14.1
 #
 # WARNING! All changes made in this file will be lost!
 
@@ -29,7 +29,7 @@
         layout1.addWidget(self.textLabel1)
 
         self.categories = QComboBox(0,self,"categories")
-        
self.categories.setSizePolicy(QSizePolicy(3,0,0,0,self.categories.sizePolicy().hasHeightForWidth()))
+        
self.categories.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Fixed,0,0,self.categories.sizePolicy().hasHeightForWidth()))
         self.categories.setEditable(1)
         self.categories.setAutoCompletion(1)
         self.categories.setDuplicatesEnabled(0)
--- pyqt_memaid/learning_mode_frm.py.orig       2005-02-10 12:20:15.000000000 
-0500
+++ pyqt_memaid/learning_mode_frm.py    2005-04-03 10:44:54.688642240 -0400
@@ -2,8 +2,8 @@
 
 # Form implementation generated from reading ui file 'learning_mode_frm.ui'
 #
-# Created: Thu Feb 10 18:20:15 2005
-#      by: The PyQt User Interface Compiler (pyuic) 3.13
+# Created: Sun Apr 3 10:44:54 2005
+#      by: The PyQt User Interface Compiler (pyuic) 3.14.1
 #
 # WARNING! All changes made in this file will be lost!
 
@@ -24,7 +24,7 @@
         layout9 = QVBoxLayout(None,0,6,"layout9")
 
         self.buttonGroup1 = QButtonGroup(self,"buttonGroup1")
-        
self.buttonGroup1.setSizePolicy(QSizePolicy(3,3,0,0,self.buttonGroup1.sizePolicy().hasHeightForWidth()))
+        
self.buttonGroup1.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.MinimumExpanding,0,0,self.buttonGroup1.sizePolicy().hasHeightForWidth()))
         self.buttonGroup1.setColumnLayout(0,Qt.Vertical)
         self.buttonGroup1.layout().setSpacing(6)
         self.buttonGroup1.layout().setMargin(11)
@@ -48,7 +48,7 @@
         layout1.addWidget(self.textLabel2)
 
         self.threshold = QSpinBox(self,"threshold")
-        
self.threshold.setSizePolicy(QSizePolicy(0,0,0,0,self.threshold.sizePolicy().hasHeightForWidth()))
+        
self.threshold.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.threshold.sizePolicy().hasHeightForWidth()))
         self.threshold.setMaxValue(5)
         self.threshold.setValue(3)
         layout1.addWidget(self.threshold)
--- pyqt_memaid/main_frm.py.orig        2005-02-10 12:20:15.000000000 -0500
+++ pyqt_memaid/main_frm.py     2005-04-03 10:21:20.308714864 -0400
@@ -2,8 +2,8 @@
 
 # Form implementation generated from reading ui file 'main_frm.ui'
 #
-# Created: Thu Feb 10 18:20:15 2005
-#      by: The PyQt User Interface Compiler (pyuic) 3.13
+# Created: Sun Apr 3 10:21:20 2005
+#      by: The PyQt User Interface Compiler (pyuic) 3.14.1
 #
 # WARNING! All changes made in this file will be lost!
 
@@ -940,7 +940,7 @@
         layout8.addWidget(self.question_label)
 
         self.question_text = QLabel(self.centralWidget(),"question_text")
-        
self.question_text.setSizePolicy(QSizePolicy(3,3,0,0,self.question_text.sizePolicy().hasHeightForWidth()))
+        
self.question_text.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.MinimumExpanding,0,0,self.question_text.sizePolicy().hasHeightForWidth()))
         self.question_text.setPaletteBackgroundColor(QColor(255,255,255))
         self.question_text.setFrameShape(QLabel.LineEditPanel)
         self.question_text.setFrameShadow(QLabel.Sunken)
@@ -954,7 +954,7 @@
         layout8.addWidget(self.textLabel2_2)
 
         self.answer_text = QLabel(self.centralWidget(),"answer_text")
-        
self.answer_text.setSizePolicy(QSizePolicy(3,3,0,0,self.answer_text.sizePolicy().hasHeightForWidth()))
+        
self.answer_text.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.MinimumExpanding,0,0,self.answer_text.sizePolicy().hasHeightForWidth()))
         self.answer_text.setPaletteBackgroundColor(QColor(255,255,255))
         self.answer_text.setFrameShape(QLabel.LineEditPanel)
         self.answer_text.setFrameShadow(QLabel.Sunken)
@@ -969,7 +969,7 @@
 
         self.grades = QButtonGroup(self.centralWidget(),"grades")
         self.grades.setEnabled(0)
-        
self.grades.setSizePolicy(QSizePolicy(5,5,0,0,self.grades.sizePolicy().hasHeightForWidth()))
+        
self.grades.setSizePolicy(QSizePolicy(QSizePolicy.Preferred,QSizePolicy.Preferred,0,0,self.grades.sizePolicy().hasHeightForWidth()))
         self.grades.setAlignment(QButtonGroup.AlignVCenter | 
QButtonGroup.AlignLeft)
         self.grades.setRadioButtonExclusive(0)
         self.grades.setColumnLayout(0,Qt.Vertical)



---------------------------------------
Received: (at 302882-close) by bugs.debian.org; 6 Apr 2005 10:08:19 +0000
>From [EMAIL PROTECTED] Wed Apr 06 03:08:18 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DJ7SM-0003EY-00; Wed, 06 Apr 2005 03:08:18 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DJ7Nc-00028u-00; Wed, 06 Apr 2005 06:03:24 -0400
From: Jarno Elonen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#302882: fixed in memaid-pyqt 0.2.3-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 06 Apr 2005 06:03:24 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: memaid-pyqt
Source-Version: 0.2.3-3

We believe that the bug you reported is fixed in the latest version of
memaid-pyqt, which is due to be installed in the Debian FTP archive:

memaid-pyqt_0.2.3-3.diff.gz
  to pool/main/m/memaid-pyqt/memaid-pyqt_0.2.3-3.diff.gz
memaid-pyqt_0.2.3-3.dsc
  to pool/main/m/memaid-pyqt/memaid-pyqt_0.2.3-3.dsc
memaid-pyqt_0.2.3-3_i386.deb
  to pool/main/m/memaid-pyqt/memaid-pyqt_0.2.3-3_i386.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.
Jarno Elonen <[EMAIL PROTECTED]> (supplier of updated memaid-pyqt 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.7
Date: Wed,  6 Apr 2005 11:29:10 +0300
Source: memaid-pyqt
Binary: memaid-pyqt
Architecture: source i386
Version: 0.2.3-3
Distribution: unstable
Urgency: low
Maintainer: Jarno Elonen <[EMAIL PROTECTED]>
Changed-By: Jarno Elonen <[EMAIL PROTECTED]>
Description: 
 memaid-pyqt - memorization tool with optimal question scheduling
Closes: 302882
Changes: 
 memaid-pyqt (0.2.3-3) unstable; urgency=low
 .
   * Build now always re-generates UI code. (Closes: #302882)
 .
   * Applied upstream patch to fix XML export.
Files: 
 9a0315dbeeb352d986b6a7991d10c27f 632 misc optional memaid-pyqt_0.2.3-3.dsc
 99629b02cd74d176c48645967382262f 3948 misc optional memaid-pyqt_0.2.3-3.diff.gz
 bf16739d847d13dd794520e3b9a6c767 137548 misc optional 
memaid-pyqt_0.2.3-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCU6iUX8r5Ai7f5nARAi6tAJ9JqOgNBxStjj86wWaifL3h/RNOlwCgn6ZF
BGClS9LUrbo62jbxGzJpSBM=
=82UX
-----END PGP SIGNATURE-----


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

Reply via email to