Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I open textext, the following error is reported. Is it because of variable type ? #23

Closed
feima0011 opened this issue May 13, 2018 · 3 comments
Assignees
Labels
duplicate This issue or pull request already exists
Milestone

Comments

@feima0011
Copy link

Traceback (most recent call last):
File "textext.py", line 1086, in
effect.affect()
File "/usr/share/inkscape/extensions/inkex.py", line 283, in affect
self.effect()
File "textext.py", line 205, in effect
current_scale *= self.uutounit(1, "pt")
TypeError: unsupported operand type(s) for *=: 'NoneType' and 'float'

@jcwinkler
Copy link
Member

This seems to be a duplicate of issue #15. It is already fixed in the release/0.8 branch. For a quick solution I recommend to open your textext.py and changes the one line according to commit c55d578. (The part of the code can be found in the function def get_old(self):).

Does this fix your problem?

@jcwinkler jcwinkler self-assigned this May 13, 2018
@jcwinkler jcwinkler added the duplicate This issue or pull request already exists label May 13, 2018
@jcwinkler jcwinkler added this to the 0.8 milestone May 13, 2018
@jcwinkler
Copy link
Member

I cherry-picked commit c55d578 into the releases/0.7 branch.

Download link for fixed textext.py to replace installed file from version 0.7.2: textext.py

@jcwinkler
Copy link
Member

Fixed in release 0.7.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants