We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Could this be due to the version of Python I am running?
data = svg2data("test.svg")
Traceback (most recent call last):
File ~\AppData\Roaming\Python\Python311\site-packages\IPython\core\interactiveshell.py:3505 in run_code exec(code_obj, self.user_global_ns, self.user_ns)
Cell In[6], line 1 data = svg2data("test.svg")
File D:\Users\Nick\Documents\Python\svg2data.py:49 in init child = pass_transformation(child)
File D:\Users\Nick\Documents\Python\svg2data.py:233 in pass_transformation child = pass_transformation(child)
File D:\Users\Nick\Documents\Python\svg2data.py:213 in pass_transformation parent_matrix = transform2matrix(parent_transform)
File D:\Users\Nick\Documents\Python\svg2data.py:169 in transform2matrix matrix = ast.literal_eval(matrix_string)
File C:\Program Files\Python311\Lib\ast.py:64 in literal_eval node_or_string = parse(node_or_string.lstrip(" \t"), mode='eval')
File C:\Program Files\Python311\Lib\ast.py:50 in parse return compile(source, filename, mode, flags,
File :1 [1 0 0 1 8 8] ^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Could this be due to the version of Python I am running?
data = svg2data("test.svg")
Traceback (most recent call last):
File ~\AppData\Roaming\Python\Python311\site-packages\IPython\core\interactiveshell.py:3505 in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
Cell In[6], line 1
data = svg2data("test.svg")
File D:\Users\Nick\Documents\Python\svg2data.py:49 in init
child = pass_transformation(child)
File D:\Users\Nick\Documents\Python\svg2data.py:233 in pass_transformation
child = pass_transformation(child)
File D:\Users\Nick\Documents\Python\svg2data.py:213 in pass_transformation
parent_matrix = transform2matrix(parent_transform)
File D:\Users\Nick\Documents\Python\svg2data.py:169 in transform2matrix
matrix = ast.literal_eval(matrix_string)
File C:\Program Files\Python311\Lib\ast.py:64 in literal_eval
node_or_string = parse(node_or_string.lstrip(" \t"), mode='eval')
File C:\Program Files\Python311\Lib\ast.py:50 in parse
return compile(source, filename, mode, flags,
File :1
[1 0 0 1 8 8]
^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
The text was updated successfully, but these errors were encountered: