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

Error: AttributeError: 'Text' object has no attribute 'set_pos' #4

Open
besi opened this issue Mar 25, 2023 · 0 comments
Open

Error: AttributeError: 'Text' object has no attribute 'set_pos' #4

besi opened this issue Mar 25, 2023 · 0 comments

Comments

@besi
Copy link

besi commented Mar 25, 2023

Hello I wanted to give this script a shot and I ran in the following error:

Please note that I'm using Python3

python3 --version
Python 3.9.6
z ruler # go to my working directory
Successfully installed ezdxf-1.0.2 pyparsing-3.0.9 typing-extensions-4.5.0
WARNING: You are using pip version 21.2.4; however, version 23.0.1 is available.
You should consider upgrading via the '/Library/Developer/CommandLineTools/usr/bin/python3 -m pip install --upgrade pip' command.
➜  Ruler python3 -m dxf_ruler_generator 7

Traceback (most recent call last):
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/besi/Fablab/Ruler/dxf_ruler_generator.py", line 74, in <module>
    run()
  File "/Users/besi/Fablab/Ruler/dxf_ruler_generator.py", line 50, in run
    msp.add_text(
AttributeError: 'Text' object has no attribute 'set_pos'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant