Closed GoogleCodeExporter closed 8 years ago
python
Python 2.6.6 (r266:84292, Sep 15 2010, 16:00:36)
[GCC 4.4.5 20100909 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import uniconvertor
>>>
>>> uniconvertor.init_uniconv()
>>>
>>> import uniconvertor.app.io
>>>
Original comment by maxim.s.barabash@gmail.com
on 8 Dec 2010 at 6:49
This is not a bug. Before import uniconvertor.app.io you need running
uniconvertor.init_uniconv()
This routine initializes uniconvertor. Unfortunately this issue has been
inherited from Skencil code base. We are going to reimplement it in
uniconvertor 2.0
Original comment by Igor.E.N...@gmail.com
on 8 Dec 2010 at 7:36
OK, I got it.
Maybe I missed something, but I didn't find any documentation on this. May I
suggest to add a little bit of documentation, at least for users who just want
to import the library?
I spent a bunch of time this afternoon trying to figuring out if I was doing
something wrong, and it would have been a real time (and hairs) saver to have
those three lines somewhere, in the README file for example.
Once the module is loaded, it's "relatively" easy to dig in the API using
IPython or something equivalent, but as long as you can't import this, it's a
dead end.
Igor > Thanks for the additional information, good luck for uniconvertor 2.0!
Original comment by j...@multani.info
on 8 Dec 2010 at 9:12
Original issue reported on code.google.com by
j...@multani.info
on 8 Dec 2010 at 2:24