thegooglecodearchive / guiqwt

Automatically exported from code.google.com/p/guiqwt
Other
0 stars 0 forks source link

sift examples : 'Marker' object has no attribute 'setSpacing' #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. launch SIFT examples (/usr/bin/sift)

What is the expected output? What do you see instead?
Testing guiqwt with demonstration example.

What version of the product are you using? On what operating system?
OS : Centos 6.3
Python : 2.6.6
PyQt4 : 4.6.2 (installation from rpm)
PyQwt : 5.2.0 (installation from rpm)
guidata : 1.4.1 (installation from sources)
numpy : 1.4.1 (installation from rpm)
scipy : 0.7.2 (installation from rpm)
PIL : 1.1.7 (installation from sources)

Please provide any additional information below.
Traceback (most recent call last):
  File "/usr/bin/sift", line 3, in <module>
    sift.run()
  File "/usr/lib/python2.6/site-packages/guiqwt/tests/sift.py", line 1271, in run
    window = MainWindow()
  File "/usr/lib/python2.6/site-packages/guiqwt/tests/sift.py", line 1108, in __init__
    curveplot_toolbar)
  File "/usr/lib/python2.6/site-packages/guiqwt/tests/sift.py", line 1031, in __init__
    self.plotwidget = plotwidgetclass()
  File "/usr/lib/python2.6/site-packages/guiqwt/plot.py", line 725, in __init__
    section, show_itemlist, gridparam)
  File "/usr/lib/python2.6/site-packages/guiqwt/plot.py", line 700, in __init__
    section=section, gridparam=gridparam)
  File "/usr/lib/python2.6/site-packages/guiqwt/curve.py", line 1293, in __init__
    self.cross_marker = Marker()
  File "/usr/lib/python2.6/site-packages/guiqwt/shapes.py", line 288, in __init__
    self.markerparam.update_marker(self)
  File "/usr/lib/python2.6/site-packages/guiqwt/styles.py", line 1362, in update_marker
    obj.setSpacing(self.spacing)
AttributeError: 'Marker' object has no attribute 'setSpacing'

Original issue reported on code.google.com by f.arrest...@gmail.com on 28 Jul 2012 at 5:37

GoogleCodeExporter commented 9 years ago
I answer to my issue : PyQwt did not have right version (5.1.1 instead of 
5.2.0).
SIFT example works fine.

Thnaks for your job.

Original comment by f.arrest...@gmail.com on 31 Jul 2012 at 4:41

GoogleCodeExporter commented 9 years ago
Ok, thanks.

Original comment by pierre.raybaut on 7 Nov 2012 at 11:22