[chiplotle-discuss] Chiplotle v.0.4 is out!

V!ctor Adan vctradn at gmail.com
Mon Apr 16 20:33:20 EDT 2012


Hello Amintore,

Interesting, I don't get this error. I don't know why you're getting it just yet but I know how to fix it. Try this 

>>> from chiplotle.tools.plottertools.instantiate_virtual_plotter import instantiate_virtual_plotter

I assume you cannot call instantiate_virtual_plotter() immediately after

>>> from chiplotle import *

either?


Victor.



On Mon, Apr 16, 2012 at 11:09:19AM +0200, amintore fanfani wrote:
> In data lunedì 02 aprile 2012 03:44:10, douglas repetto ha scritto:
> > Hello Plotters,
> > 
> > After a long time of alternating between coding and hibernating, we finally
> > have a new release of Chiplotle.
> 
> great!
> we all love new stuff!
> 
> 
> > There are some important interface changes that make this version 0.4
> > non-backward compatible with v 0.3. So if you've got a lot of code written
> > against v 0.3, things will break!
> 
> and yes, they do break for me:
> 
> In [1]: from chiplotle import *
> 
> In [2]: from chiplotle.tools.plottertools import instantiate_virtual_plotter
> 
> In [3]: plotter =  instantiate_virtual_plotter(type="HP7550A")
> ---------------------------------------------------------------------------
> TypeError                                 Traceback (most recent call last)
> 
> /home/emiliano/<ipython console> in <module>()
> 
> /usr/local/lib/python2.6/dist-packages/Chiplotle-0.4.0-
> py2.6.egg/chiplotle/tools/plottertools/instantiate_virtual_plotter.pyc in 
> instantiate_virtual_plotter(left_bottom, right_top, type)                                          
>      28 
>      29    ser = VirtualSerialPort(left_bottom, right_top)
> ---> 30    plotter = instantiate_plotter_from_id(ser, which_plotter)
>      31    #plotter = getattr(plotters, which_plotter)(ser)
> 
>      32    print "\nInstantiated plotter %s:" % plotter
> 
> TypeError: 'module' object is not callable
> 
> In [4]: 
> 
> 
> ...what am i missing?
> 
> 
> > Documentation is partially updated but incomplete and progress.
> 
> documentation still refers to the old chiplotle 0.3.0 style
> 
> 
> 
> > As always, please let us know if you find any bug or issue, and enjoy!
> 
> bye!
> 
> Emiliano
> _______________________________________________
> chiplotle-discuss mailing list
> chiplotle-discuss at music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/chiplotle-discuss


More information about the chiplotle-discuss mailing list