[PyQt] Previous bundle (4.3.3) for windows?

2008-05-21 Thread Carlos
Short question:
Would it be possible to get the previous bundle package for windows
(PyQt-Py2.5-gpl-4.3.3-2.exe) available somewhere?

Longer version and justification:
1.- The new bundled package  for windows (PyQt-Py2.5-gpl-4.4.2-1.exe )
does not include PyQwt .
2.- PyQt-Py2.5-gpl-4.3.3-2.exe did include PyQwt, but is not available
now from any place that I know of
3.- PyQwt developer will need some days before being able to release
an installer that works with the new package (see the following thread
http://sourceforge.net/mailarchive/forum.php?thread_name=20080521070158.190ae3c4%40zombie.grenoble.cnrs.frforum_name=pyqwt-users
)

So,  suggested in the mentioned thread, it would be very nice to make
the  PyQt-Py2.5-gpl-4.3.3-2.exe file available somewhere so that PyQwt
windows users are not left with the only choice of using PyQt4.2 (!).

Gerard (the PyQwt maintainer), kindly offers to host the file in his
webpage (as he does with previous PyQt versions).


Thanks!
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


[PyQt] ImportError on QtGui. PyQt4.4 commercial

2008-05-21 Thread Darryl Wallace

Hello,

I've just installed:

Qt4.4,
SIP 4.7.5
PyQt 4.4

On Ubuntu 8.04.

Everything installed fine.  But now upon attempting to import QtGui I 
get the following error:


from PyQt4 import QtGui
Traceback (most recent call last):
 File stdin, line 1, in module
ImportError: /usr/lib/python2.5/site-packages/PyQt4/QtGui.so: undefined 
symbol: sipNm_QtGui_QLCDNumber


Any ideas?

Thanks,
Darryl
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] PyQt 4.4.2 GPL installer / Silent install not really silent...

2008-05-21 Thread Phil Thompson
On Wednesday 21 May 2008 13:45:42 [EMAIL PROTECTED] wrote:
 BTW, I still get the missing dll error (MSVCP80.DLL) when running
 Python/PyQt scripts with the 4.4.2 release.

Which is MSVC 2005 isn't it? As Python is built with MSVC 2003 and PyQt and Qt 
are built with MinGW then I don't see how that can happen.

Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


[PyQt] Re: ImportError on QtGui. PyQt4.4 commercial

2008-05-21 Thread Phil Thompson
On Wednesday 21 May 2008 13:42:08 Darryl Wallace wrote:
 Hello,

 I've just installed:

 Qt4.4,
 SIP 4.7.5
 PyQt 4.4

 On Ubuntu 8.04.

 Everything installed fine.  But now upon attempting to import QtGui I
 get the following error:

 from PyQt4 import QtGui
 Traceback (most recent call last):
   File stdin, line 1, in module
 ImportError: /usr/lib/python2.5/site-packages/PyQt4/QtGui.so: undefined
 symbol: sipNm_QtGui_QLCDNumber

 Any ideas?

 Thanks,
 Darryl

No.

Did you have Ubuntu's PyQt4 installed? Did you overwrite it?

Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] Issues with PyKDE4 and i18n API

2008-05-21 Thread Chusslove Illich
 [: Chusslove Illich, 2008-04-18 :]
 KDE 4 i18n API [...] For the same semantics to be fully supported by the
 Python bindings, some special care is needed.

Any deliberations regarding this matter?

-- 
Chusslove Illich (Часлав Илић)


pgpI5Qj1TWlSD.pgp
Description: PGP signature
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Re: ImportError on QtGui. PyQt4.4 commercial

2008-05-21 Thread Darryl Wallace

Phil Thompson wrote:

On Wednesday 21 May 2008 13:42:08 Darryl Wallace wrote:
  

Hello,

I've just installed:

Qt4.4,
SIP 4.7.5
PyQt 4.4

On Ubuntu 8.04.

Everything installed fine.  But now upon attempting to import QtGui I
get the following error:

from PyQt4 import QtGui
Traceback (most recent call last):
  File stdin, line 1, in module
ImportError: /usr/lib/python2.5/site-packages/PyQt4/QtGui.so: undefined
symbol: sipNm_QtGui_QLCDNumber

Any ideas?

Thanks,
Darryl



No.

Did you have Ubuntu's PyQt4 installed? Did you overwrite it?

Phil
  
I previously had installed PyQt -x11-4.3.3 GPL, which I had just 
overwritten.  All other modules are imported fine.


I am going to manually clean out the folder and try to install the 
latest commercial release of 4.4.2.  I will let you know if I have more 
troubles.


Darryl

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] configuring pykde4, error

2008-05-21 Thread Darren Dale
On Tuesday 20 May 2008 03:29:14 pm Jim Bublitz wrote:
 On Tuesday 20 May 2008 10:47, Darren Dale wrote:
  At that point, I get another can't use default assignment operator
  error:

 I'm not sure what's causing that error, which seems to be the basic problem
 (other than having an updated configure.py). I haven't downloaded the
 latest KDE yet, but will have to do that and see if I can reproduce the
 problem.

  If I comment out //%Include kencodingdetector.sip, configure.py fails:

 ...

  Generating the C++ source for the kdeui module...
  sip: KEncodingDetector::AutoDetectScript is undefined
  Error: Unable to create the C++ code.
  ---
 
  Is there something else I should try at this point?

 KCodecAction (sip/kdeui/kcodecaction.sip) depends on KEncodingDetector.

 You can either comment out the KEncodingDetector references in
 kcodecaction.sip or comment out that sip file in sip/kdeui/kdeuimod.sip.in.

I did the latter. Then I needed to comment out additional lines in 
sip/kdecore/kdecoremod.sip.in:

//%Include kcharsets.sip
//%Include kcmdlineargs.sip
//%Include klockfile.sip

At that point, I got an error that I have not been able to work around:

g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -march=k8 -mtune=k8 -pipe 
-fomit-frame-pointer -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB 
-DQT_GUI_LIB -I. -I../extra/kde404 -I/usr/kde/4.0/include 
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtNetwork 
-I/usr/kde/4.0/include/sonnet -I/usr/include/python2.5 
-I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/X11R6/include -o 
sipkdecoreKTimeZoneSource.o sipkdecoreKTimeZoneSource.cpp
/usr/kde/4.0/include/ktimezone.h: In member function 'KTimeZoneSource 
KTimeZoneSource::operator=(const KTimeZoneSource)':
/usr/kde/4.0/include/ktimezone.h:1224: error: non-static const 
member 'KTimeZoneSourcePrivate* const KTimeZoneSource::d', can't use default 
assignment operator
sipkdecoreKTimeZoneSource.cpp: In function 'void assign_KTimeZoneSource(void*, 
const void*)':
sipkdecoreKTimeZoneSource.cpp:167: note: synthesized method 'KTimeZoneSource 
KTimeZoneSource::operator=(const KTimeZoneSource)' first required here
make[1]: *** [sipkdecoreKTimeZoneSource.o] Error 1
make[1]: Leaving directory `/home/share/packages/PyKDE4-4.0.2-1/kdecore'
make: *** [all] Error 2

configure.py fails if I comment out //%Include ktimezone.sip. I tried to find 
a work around similar to the one you suggested for KEncodingDetector, but was 
not successful. I also tried to understand what is actually causing 
these can't use default assignment operator errors, but unfortunately I 
don't have enough experience yet with C/C++ to follow the discussions I found 
on google. Sorry.

Darren
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


[PyQt] eric4 segfault after upgrading to SIP-4.7.6/PyQT4-4.4.2

2008-05-21 Thread Darren Dale
This morning I updated SIP to version 4.7.6 and PyQt4 to version 4.4.2 on a 
64bit gentoo linux system. When I launch eric4, I get a segfault that looks 
like it is originating from QScintilla:


2008-05-21, 10:31:43

type 'exceptions.TypeError':
argument 1 of QsciLexerPython() has an invalid type

  File /usr/lib64/python2.5/site-packages/eric4/eric4.py, line 243, in 
module
main()
  File /usr/lib64/python2.5/site-packages/eric4/eric4.py, line 228, in main
mainWindow = UserInterface(loc, splash, pluginFile)
  File /usr/lib64/python2.5/site-packages/eric4/UI/UserInterface.py, line 
227, in __init__
self.__createLayout(debugServer)
  File /usr/lib64/python2.5/site-packages/eric4/UI/UserInterface.py, line 
697, in __createLayout
self.shell = Shell(debugServer, self.viewmanager, self.shellDock)
  File /usr/lib64/python2.5/site-packages/eric4/QScintilla/Shell.py, line 
156, in __init__
self.__bindLexer()
  File /usr/lib64/python2.5/site-packages/eric4/QScintilla/Shell.py, line 
218, in __bindLexer
self.lexer = Lexers.getLexer(self.language, self)
  
File /usr/lib64/python2.5/site-packages/eric4/QScintilla/Lexers/__init__.py, 
line 71, in getLexer
return LexerPython(parent)
  
File 
/usr/lib64/python2.5/site-packages/eric4/QScintilla/Lexers/LexerPython.py, 
line 29, in __init__
QsciLexerPython.__init__(self, parent)


Version Numbers:
  Python 2.5.2
  Qt 4.4.0
  PyQt4 4.4.2
  sip 4.7.6
  QScintilla 2.2
  eric4 4.2-snapshot-20080519 (r2161)

Platform: linux2
2.5.2 (r252:60911, May 21 2008, 08:44:06)
[GCC 4.2.3 (Gentoo 4.2.3 p1.0)]


I checked the types of self that is passed to QsciLexerPython.__init__(self, 
parent). self is class 'QScintilla.Lexers.LexerPython.LexerPython', looks 
like that is what eric4 expects. I tried reinstalling qscintilla and eric4, 
there was no change. Can anyone confirm this? I installed PyQt4-4.4.2 and 
eric-4.1.4 or the eirc-4.2 snapshot on windows, on that system eric4 runs 
without a segfault.

Thanks,
Darren
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] eric4 segfault after upgrading to SIP-4.7.6/PyQT4-4.4.2

2008-05-21 Thread Detlev Offenbach
Hi,

did you regenerate the QScintilla2 Python bindings AFTER updating PyQt4? That 
is a common error.

Regards,
Detlev

On Mittwoch, 21. Mai 2008, Darren Dale wrote:
 This morning I updated SIP to version 4.7.6 and PyQt4 to version 4.4.2 on a
 64bit gentoo linux system. When I launch eric4, I get a segfault that looks
 like it is originating from QScintilla:

 ---
- 2008-05-21, 10:31:43
 ---
- type 'exceptions.TypeError':
 argument 1 of QsciLexerPython() has an invalid type
 ---
- File /usr/lib64/python2.5/site-packages/eric4/eric4.py, line 243, in
 module
 main()
   File /usr/lib64/python2.5/site-packages/eric4/eric4.py, line 228, in
 main mainWindow = UserInterface(loc, splash, pluginFile)
   File /usr/lib64/python2.5/site-packages/eric4/UI/UserInterface.py, line
 227, in __init__
 self.__createLayout(debugServer)
   File /usr/lib64/python2.5/site-packages/eric4/UI/UserInterface.py, line
 697, in __createLayout
 self.shell = Shell(debugServer, self.viewmanager, self.shellDock)
   File /usr/lib64/python2.5/site-packages/eric4/QScintilla/Shell.py, line
 156, in __init__
 self.__bindLexer()
   File /usr/lib64/python2.5/site-packages/eric4/QScintilla/Shell.py, line
 218, in __bindLexer
 self.lexer = Lexers.getLexer(self.language, self)

 File
 /usr/lib64/python2.5/site-packages/eric4/QScintilla/Lexers/__init__.py,
 line 71, in getLexer
 return LexerPython(parent)

 File
 /usr/lib64/python2.5/site-packages/eric4/QScintilla/Lexers/LexerPython.py
, line 29, in __init__
 QsciLexerPython.__init__(self, parent)

 ---
- Version Numbers:
   Python 2.5.2
   Qt 4.4.0
   PyQt4 4.4.2
   sip 4.7.6
   QScintilla 2.2
   eric4 4.2-snapshot-20080519 (r2161)

 Platform: linux2
 2.5.2 (r252:60911, May 21 2008, 08:44:06)
 [GCC 4.2.3 (Gentoo 4.2.3 p1.0)]


 I checked the types of self that is passed to
 QsciLexerPython.__init__(self, parent). self is class
 'QScintilla.Lexers.LexerPython.LexerPython', looks like that is what eric4
 expects. I tried reinstalling qscintilla and eric4, there was no change.
 Can anyone confirm this? I installed PyQt4-4.4.2 and eric-4.1.4 or the
 eirc-4.2 snapshot on windows, on that system eric4 runs without a segfault.

 Thanks,
 Darren
 ___
 PyQt mailing listPyQt@riverbankcomputing.com
 http://www.riverbankcomputing.com/mailman/listinfo/pyqt



-- 
Detlev Offenbach
[EMAIL PROTECTED]
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] eric4 segfault after upgrading to SIP-4.7.6/PyQT4-4.4.2

2008-05-21 Thread Darren Dale
On Wednesday 21 May 2008 11:17:16 am Detlev Offenbach wrote:
 Hi,

 did you regenerate the QScintilla2 Python bindings AFTER updating PyQt4?
 That is a common error.

Oh, thank you. My mistake, I'm sorry for adding noise.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] eric4 segfault after upgrading to SIP-4.7.6/PyQT4-4.4.2

2008-05-21 Thread Detlev Offenbach
On Mittwoch, 21. Mai 2008, Darren Dale wrote:
 On Wednesday 21 May 2008 11:17:16 am Detlev Offenbach wrote:
  Hi,
 
  did you regenerate the QScintilla2 Python bindings AFTER updating PyQt4?
  That is a common error.

 Oh, thank you. My mistake, I'm sorry for adding noise.

Never mind, you're not the first one. Maybe this should be highlighted in 
really bold letters on the PyQt4 or QScintilla site.

Detlev
-- 
Detlev Offenbach
[EMAIL PROTECTED]
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] configuring pykde4, error

2008-05-21 Thread Jim Bublitz
On Wednesday 21 May 2008 07:04, Darren Dale wrote:
 On Tuesday 20 May 2008 03:29:14 pm Jim Bublitz wrote:
  On Tuesday 20 May 2008 10:47, Darren Dale wrote:
   At that point, I get another can't use default assignment operator
   error:
 
  I'm not sure what's causing that error, which seems to be the basic
  problem (other than having an updated configure.py). I haven't downloaded
  the latest KDE yet, but will have to do that and see if I can reproduce
  the problem.
 
   If I comment out //%Include kencodingdetector.sip, configure.py fails:
 
  ...
 
   Generating the C++ source for the kdeui module...
   sip: KEncodingDetector::AutoDetectScript is undefined
   Error: Unable to create the C++ code.
   ---
  
   Is there something else I should try at this point?
 
  KCodecAction (sip/kdeui/kcodecaction.sip) depends on KEncodingDetector.
 
  You can either comment out the KEncodingDetector references in
  kcodecaction.sip or comment out that sip file in
  sip/kdeui/kdeuimod.sip.in.

 I did the latter. Then I needed to comment out additional lines in
 sip/kdecore/kdecoremod.sip.in:

 //%Include kcharsets.sip
 //%Include kcmdlineargs.sip
 //%Include klockfile.sip

 At that point, I got an error that I have not been able to work around:

 g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -march=k8 -mtune=k8
 -pipe -fomit-frame-pointer -Wall -W -D_REENTRANT -DQT_NO_DEBUG
 -DQT_CORE_LIB -DQT_GUI_LIB -I. -I../extra/kde404 -I/usr/kde/4.0/include
 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui
 -I/usr/include/qt4/QtNetwork -I/usr/kde/4.0/include/sonnet
 -I/usr/include/python2.5 -I/usr/share/qt4/mkspecs/default
 -I/usr/include/qt4 -I/usr/X11R6/include -o sipkdecoreKTimeZoneSource.o
 sipkdecoreKTimeZoneSource.cpp
 /usr/kde/4.0/include/ktimezone.h: In member function 'KTimeZoneSource
 KTimeZoneSource::operator=(const KTimeZoneSource)':
 /usr/kde/4.0/include/ktimezone.h:1224: error: non-static const
 member 'KTimeZoneSourcePrivate* const KTimeZoneSource::d', can't use
 default assignment operator
 sipkdecoreKTimeZoneSource.cpp: In function 'void
 assign_KTimeZoneSource(void*, const void*)':
 sipkdecoreKTimeZoneSource.cpp:167: note: synthesized method
 'KTimeZoneSource KTimeZoneSource::operator=(const KTimeZoneSource)' first
 required here make[1]: *** [sipkdecoreKTimeZoneSource.o] Error 1
 make[1]: Leaving directory `/home/share/packages/PyKDE4-4.0.2-1/kdecore'
 make: *** [all] Error 2

 configure.py fails if I comment out //%Include ktimezone.sip. I tried to
 find a work around similar to the one you suggested for KEncodingDetector,
 but was not successful. I also tried to understand what is actually causing
 these can't use default assignment operator errors, but unfortunately I
 don't have enough experience yet with C/C++ to follow the discussions I
 found on google. Sorry.

It's either a change in gcc or a change in the KDE source (note that the 
errors are coming from the KDE h file, not from PyKDE). You're getting into 
files now that are useful (most of the previous stuff wasn't esp needed for 
most people), and just playing whack-a-mole. It's likely to continue until 
there isn't anything of PyKDE left to compile.

I'll have to upgrade/download and see if I can set up the same environment and 
reproduce the errors you're getting (and then fix them, of course). It's 
going to take a while to accomplish all of that, but I will get back to you.

Jim
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] PyQt 4.4.2 GPL installer / Silent install not really silent...

2008-05-21 Thread Python(x,y)
2008/5/21 Phil Thompson [EMAIL PROTECTED]:

 On Wednesday 21 May 2008 13:45:42 [EMAIL PROTECTED] wrote:
  BTW, I still get the missing dll error (MSVCP80.DLL) when running
  Python/PyQt scripts with the 4.4.2 release.

 Which is MSVC 2005 isn't it?


Absolutely.


 As Python is built with MSVC 2003 and PyQt and Qt
 are built with MinGW then I don't see how that can happen.


Neither do I, but it is clearly happening only with 4.4.x releases of PyQt
GPL installer (I did some tests).




 Phil

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] PyQt app not displaying icons from ui file

2008-05-21 Thread Thorsten Kampe
Hi,

I've got a rather weird issue with a (more or less proof of concept for 
me) application. The program used to work fine but I did not start it 
for more about six months.

Now (maybe not directly connected) after updating to PyQt 4.4 I can't 
see any icons in this app on Linux while on Windows everything is still 
perfect as before. The icons are loaded from a Qt Designer generated ui 
file. Other things from this ui file (like tool and status tip) also 
display fine.

What can I do to troubleshoot the issue? I already reverted back to a 
previous version that loads the icons from a qrc file (the same as the 
one that's used for the ui version) and this also works fine.

I don't get any errors.


Thorsten

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] PyQt app not displaying icons from ui file

2008-05-21 Thread Gustavo A. Díaz
This is supposed to be fixed with PyQt4.4.2 if i am not wrong, cause same
problem was happening to me, was reported here in the ML, and was fixed in
that release.
Maybe you should try to build that one.

Cheers.

-- 
Gustavo A. Díaz
GDNet Projects
www.gdnet.com.ar


2008/5/21, Thorsten Kampe [EMAIL PROTECTED]:

 Hi,

 I've got a rather weird issue with a (more or less proof of concept for
 me) application. The program used to work fine but I did not start it
 for more about six months.

 Now (maybe not directly connected) after updating to PyQt 4.4 I can't
 see any icons in this app on Linux while on Windows everything is still
 perfect as before. The icons are loaded from a Qt Designer generated ui
 file. Other things from this ui file (like tool and status tip) also
 display fine.

 What can I do to troubleshoot the issue? I already reverted back to a
 previous version that loads the icons from a qrc file (the same as the
 one that's used for the ui version) and this also works fine.

 I don't get any errors.


 Thorsten

 ___
 PyQt mailing listPyQt@riverbankcomputing.com
 http://www.riverbankcomputing.com/mailman/listinfo/pyqt




-- 
Gustavo A. Díaz
GDNet Projects
www.gdnet.com.ar
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt