[PyKDE] ANNOUNCING PyQwt-sip34_20020807 - some problems on Win32
Peter Lipa
porl3141 at hotmail.com
Thu Sep 19 04:09:01 BST 2002
Hi Gerard,
Thanks for the updated release and your progress on PyCute - looks great
(after a few minutes of testing)!
Here is some feedback:
I built the win32 commercial Qt3.05 version
PyQwt-sip332_20020807-Qt-305.win32-py2.2.exe and corresponding .zip with no
problems at the
compile and packaging steps. (However I have runtime problems which I didn't
have with the previous version - see below).
I only had to uncomment the two lines:
# is this true?
qt_library_name = 'qt-mt305'
extra_version = '-Qt-305'
in the pyqt_support.py (yes, you guesset trolltech's naming convetion
correctly on windows)
I am happy to send you the the binary PyQwt windows installer and zip builds
for the Qt3.0.5 commercial if you want to put them on your website.
For a binary-only release, according the the commercial qt license, I see
no problem with sending you also the qt-mt305.dll (without the souce of
course) so you can run and test the commercial version of the win32 PyQwt
package yourself.
Questions/Suggestions for the build scripts:
1) Could you make the qt_library_name and extra_version variables in the
first lines of the setup.py (as you did with the python dir etc.)?
Just for having all in one place....
2) The setup setup.py bdist or python setup.py bdist_wininst don't put all
the new stuff (incluing PyCute.py !!) into the binary installer exe or zip
files.
So people downloading the binary installer don't get the benefit of your
latest and cutest work - PyCute!
Problems:
The last working version (except PyQwt printing in the examples) on my dev
machine was Qt3.0.4, PyQt 3.3 and your
previous PyQwt version. Now I upgraded to Qt3.0.5, PyQt 3.3.2 (and
corresponding sip) and your current PyQwt-sip34_20020807. We don't have
the new commercial PyQt 3.4 yet (and wait till Qt 3.1 is released for the
next major upgrade cycle) so we are stuck for now with the latest
pre-commercial
PyQt 3.3.2 version.
At runtime, it appears that all examples that don't redraw the QCanvas (i.e.
the one with a draw-once static plot) have EMPTY canvases (even after
resizing or minimizing). The axes, ticks and titels are all drawn, but the
drawing area within the axis is in plain background color with no curvers,
markers or gridlines.(
In the BodeDemo.py one can choose another Damping Factor and then the
interior gets redrawn and shows up fine on the sreen. The examples that get
never redrawn (SimpleDemo.py, plot.py and BodeDemo.py at first startup) have
empty axes interiors. Strangely, the CurveDemo1.py works fine (guess there
are no axes per se). In the cmd window I get a sequence of messages :
QPainter::begin: Another QPainter is already painting this device;
A paint device can only be painted by one QPainter at a time
All this happens running with or without the PyCute shell!
I tried this on 2 independent machines and get the same behavior.
Do you have any idea what the problem might be ??
(I am sure I am linking to the correct Qt dll - have only one in my path;
all PyQt3.3.2 demos and example are working fine)!
Cheers,
Peter Lipa
porl3141 at hotmail.com
----- Original Message -----
From: "Gerard Vermeulen" <gvermeul at grenoble.cnrs.fr>
To: <pykde at mats.gmd.de>
Sent: Wednesday, September 18, 2002 10:25 AM
Subject: [PyKDE] ANNOUNCING PyQwt-sip34_20020807
> PyQwt = FAST and EASY data plotting for Python, Numeric and Qt!
>
> PyQwt is a set of Python bindings for the Qwt C++ class library.
> The Qwt library extends the Qt framework with widgets for
> scientific and engineering applications. It contains QwtPlot,
> a 2d plotting widget, and widgets for data input/output such as
> and QwtCounter, QwtKnob, QwtThermo and QwtWheel.
>
> PyQwt requires and extends PyQt, a set of Python bindings for Qt.
>
> PyQwt requires Numeric. Numeric extends the Python language
> with new data types that make Python an ideal language for
> numerical computing and experimentation (maybe less efficient
> than MatLab, but more expressive).
>
> The home page of PyQwt is http://gerard.vermeulen.free.fr
>
>
> NEW and IMPORTANT FEATURES of PyQwt-sip34_20020807:
>
> 1. includes PyCute -- a QTextEdit based Python shell -- for
> interpreter driven plotting, like many popular scientific
> software packages (SciPy, MatLab, GnuPlot, Mathematica, Maple).
> See the examples: PyCute.py, Pythagoras.py and plot.py.
> PyCute requires Qt >= 3.0.0.
>
> 2. requires PyQt-3.4/sip-3.4 or PyQt-3.3.2/sip-3.3.2.
>
> 3. implements practically all public and protected member
> functions of Qwt-20020807 (fixes a few bugs in Qwt-0.4.1).
>
> 4. compatible with Numeric-22.0 and lower.
>
> 5. HTML documentation with installation instructions and a
> reference listing the Python calls to PyQwt that are different
> from the corresponding C++ calls to Qwt.
>
> 6. Tested on Linux with Qt-3.0.4 and Qt-3.0.5.
>
> 7. Tested on Windows with Qt-2.3.0-NC, PyQt-3.3.2/sip-3.3.2.
> A Windows installer is available for this combination.
>
> 8. More examples: Hans-Peter Jansen finished CPUloadDemo.py,
> contributed CurveDemo3.py, and fixed BodeDemo.py.
>
> Gerard Vermeulen
>
> PS: Due to the the new licensing/release policy for PyQt and sip
> on Windows, you'll have to wait a little bit for a Windows installer
> for Qt-2.3.0-NC and PyQt/sip-3.4.
>
> _______________________________________________
> PyKDE mailing list PyKDE at mats.gmd.de
> http://mats.gmd.de/mailman/listinfo/pykde
>
More information about the PyQt
mailing list