Nice Charts Error with Inkscape 0.91

This is NOT a support forum. You are welcome to discuss software issues here, but all issues should be reported on Launchpad if you want them fixed.
[email protected]
Posts: 3
Joined: Mon Feb 16, 2015 10:14 am

Nice Charts Error with Inkscape 0.91

Postby [email protected] » Mon Feb 16, 2015 10:32 am

I've just found the Nice Charts extension for Inkscape, but trying to use it, even with direct input values that match its example apples:3,bananas:5, it gives an error:

Traceback (most recent call last):
File "nicechart.py", line 577, in <module>
effect.affect()
File "C:\Program Files (x86)\Inkscape\share\extensions\inkex.py", line 268, in affect
self.effect()
File "nicechart.py", line 185, in effect
width = inkex.unittouu(svg.get('width'))
AttributeError: 'module' object has no attribute 'unittouu'


This would be a very useful extension if it worked, and was extended further.

Can anyone help resolve this error?

Thanks

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Nice Charts Error with Inkscape 0.91

Postby ragstian » Mon Feb 16, 2015 11:13 am

Hi.

Where did you find the extension? Please post link.

It has to be modified to work with Inkscape 0.91.
Can have a go at it once I find it!
Last edited by ragstian on Sat Feb 28, 2015 3:21 am, edited 2 times in total.
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: Nice Charts Error with Inkscape 0.91

Postby hulf2012 » Mon Feb 16, 2015 11:14 am

Hello:
It is related to this:
http://wiki.inkscape.org/wiki/index.php ... ing_change

If you have some knowledge of python, you can change the code yourself

Or contact the developers of that extension and ask (pollite ) for an update...

... Do you have the link to the source code of that extension?...

mmm... It would be better if you change your username in this forum... Your email could be used for spammers... just saying

Greetings
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

[email protected]
Posts: 3
Joined: Mon Feb 16, 2015 10:14 am

Re: Nice Charts Error with Inkscape 0.91

Postby [email protected] » Mon Feb 16, 2015 11:39 am

Hi,

Thanks for the replies. I found the extension through these forums http://www.inkscapeforum.com/viewtopic.php?f=28&t=13449#p51770.

It's downloadable at:

https://launchpad.net/nicecharts and
https://bazaar.launchpad.net/~chsterz/nicecharts/Github/files

Thanks for the pointer about the username - I couldn't get the registration to work until I used the email, but I'll try to change that.

Regards
Mike
I

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Nice Charts Error with Inkscape 0.91

Postby ragstian » Mon Feb 16, 2015 12:18 pm

Hi.

I have edited and tested the nicechart.py file.

The file is attached as nicechart.zip, unzip (and overwrite) your existing nicechart.py file
nicechart.zip
(4.8 KiB) Downloaded 279 times
Last edited by ragstian on Sat Feb 28, 2015 3:21 am, edited 1 time in total.
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

[email protected]
Posts: 3
Joined: Mon Feb 16, 2015 10:14 am

Re: Nice Charts Error with Inkscape 0.91

Postby [email protected] » Mon Feb 16, 2015 6:07 pm

Hi Ragnar,

Thanks for the updated file and the extremely quick responses!

Now I can see NiceCharts in action I can see it's more basic than I expected, but a nice start. I'll add this to the suggested features board for incorporating into the main Inkscape but with the addition of a file browser, colour scheme picker, and axes to start.

Thank you once again
Mike


Return to “Discuss Software Issues”