albertzl / artisan

Automatically exported from code.google.com/p/artisan
GNU General Public License v3.0
0 stars 0 forks source link

can not make an cup profile #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. push the menu 'Roast -> Cup Profile
2.
3.

What is the expected output? What do you see instead?
Traceback (most recent call last):

No window dialog appears, but
i can see following terminal message:

  File "/usr/share/artisan/artisan.py", line 5893, in flavorchart
    dialog = flavorDlg(self)
  File "/usr/share/artisan/artisan.py", line 8533, in __init__
    aw.qmc.flavorchart()
  File "/usr/share/artisan/artisan.py", line 1756, in flavorchart
    self.ax1.fill_between(angles,0,self.flavors, facecolor='green', alpha=0.1, interpolate=True)
  File "/usr/lib/pymodules/python2.6/matplotlib/axes.py", line 6038, in fill_between
    collection = mcoll.PolyCollection(polys, **kwargs)
  File "/usr/lib/pymodules/python2.6/matplotlib/collections.py", line 666, in __init__
    Collection.__init__(self,**kwargs)
  File "/usr/lib/pymodules/python2.6/matplotlib/collections.py", line 108, in __init__
    self.update(kwargs)
  File "/usr/lib/pymodules/python2.6/matplotlib/artist.py", line 621, in update
    raise AttributeError('Unknown property %s'%k)
AttributeError: Unknown property interpolate

What version of the product are you using? On what operating system?

I use the voltcraft k204 (center 309) on a ubuntu 10.04 (netbook) and a desktop 
Kubuntu 10.10.
On both systems i have the same problem with the same terminal message.

Please provide any additional information below.

Original issue reported on code.google.com by parou...@web.de on 22 Apr 2011 at 9:56

GoogleCodeExporter commented 9 years ago
The linux build seems to use an older version of matplotlib < 1.0.x. This is 
not compatible with the CupProfile dialog. I patched this dialog to work also 
with older versions of matplotlib. However, I would like to suggest to upgrade 
the lib in the Linux build.

Original comment by luther.m...@gmail.com on 22 Apr 2011 at 9:15

GoogleCodeExporter commented 9 years ago
found same problem in the HTML-Report.
similar terminal message

Original comment by parou...@web.de on 22 Apr 2011 at 10:15

GoogleCodeExporter commented 9 years ago
Could you give us the exact terminal message for this HTML-Report case such 
that we see some line numbers?

Thanks
M.

Original comment by luther.m...@gmail.com on 23 Apr 2011 at 1:55

GoogleCodeExporter commented 9 years ago
terminal message for the HTML-Report:

Traceback (most recent call last):
  File "artisan.py", line 5509, in htmlReport
    self.qmc.flavorchart()
  File "artisan.py", line 1756, in flavorchart
    self.ax1.fill_between(angles,0,self.flavors, facecolor='green', alpha=0.1, interpolate=True)
  File "/usr/lib/pymodules/python2.6/matplotlib/axes.py", line 6038, in fill_between
    collection = mcoll.PolyCollection(polys, **kwargs)
  File "/usr/lib/pymodules/python2.6/matplotlib/collections.py", line 666, in __init__
    Collection.__init__(self,**kwargs)
  File "/usr/lib/pymodules/python2.6/matplotlib/collections.py", line 108, in __init__
    self.update(kwargs)
  File "/usr/lib/pymodules/python2.6/matplotlib/artist.py", line 621, in update
    raise AttributeError('Unknown property %s'%k)
AttributeError: Unknown property interpolate

Original comment by parou...@web.de on 23 Apr 2011 at 7:03

GoogleCodeExporter commented 9 years ago
Ok. So it is the very same issue. This is now solved in code such that Artisan 
will automatically detect older versions of matplotlib and deactivate this 
axis.fill feature. Not sure when the next Linux binary including this fix will 
be released..

Original comment by luther.m...@gmail.com on 23 Apr 2011 at 7:21

GoogleCodeExporter commented 9 years ago
I use now a new trunk-version of artisan with typing 'python artisan.py' in 
terminal window.
Both problems are fixed.

thank you.

Original comment by parou...@web.de on 27 Apr 2011 at 6:47

GoogleCodeExporter commented 9 years ago
Thanks for reporting and testing.

Original comment by luther.m...@gmail.com on 27 Apr 2011 at 7:20