-
Notifications
You must be signed in to change notification settings - Fork 38
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 converting <_io.TextIOWrapper name='m4.dot' mode='r' encoding='cp1251'> #109
Comments
Maybe try reinstalling expat in your anaconda environment?
Sorry I don’t use windows to I’m not familiar with DLL issues.
…On Fri, Mar 7, 2025 at 12:44 PM SeaMan75 ***@***.***> wrote:
Python: 3.12.7 | packaged by Anaconda, Inc. | (main, Oct 4 2024, 13:17:27)
[MSC v.1929 64 bit (AMD64)], g2d: 1.0.0
Traceback (most recent call last):
File "C:\Users\bgnic\anaconda3\Lib\xml\etree\ElementTree.py", line 1515,
in *init*
from xml.parsers import expat
File "C:\Users\bgnic\anaconda3\Lib\xml\parsers\expat.py", line 4, in
from pyexpat import *
ImportError: DLL load failed while importing pyexpat: Операционная система
не может запустить %1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\bgnic\anaconda3\Lib\xml\etree\ElementTree.py", line 1518,
in *init*
import pyexpat as expat
ImportError: DLL load failed while importing pyexpat: Операционная система
не может запустить %1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\bgnic\anaconda3\Scripts\graphviz2drawio-script.py", line 9,
in
sys.exit(main())
^^^^^^
File "C:\Users\bgnic\anaconda3\Lib\site-packages\graphviz2drawio_*main*_.py",
line 61, in main
*convert_file(in_file, args.program, out_file) File
"C:\Users\bgnic\anaconda3\Lib\site-packages\graphviz2drawio_main*.py",
line 22, in _convert_file
output = convert(to_convert.read(), program)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\bgnic\anaconda3\Lib\site-packages\graphviz2drawio\graphviz2drawio.py",
line 26, in convert
nodes, edges, clusters = parse_nodes_edges_clusters(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\bgnic\anaconda3\Lib\site-packages\graphviz2drawio\models\SvgParser.py",
line 27, in parse_nodes_edges_clusters
parser=ElementTree.XMLParser(target=CommentedTreeBuilder()),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bgnic\anaconda3\Lib\xml\etree\ElementTree.py", line 1520,
in *init*
raise ImportError(
ImportError: No module named expat; use SimpleXMLTreeBuilder instead
—
Reply to this email directly, view it on GitHub
<#109>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFV5TTA4FMC3YRYOR6LHRT2TIALZAVCNFSM6AAAAABYSBTBEOVHI2DSMVQWIX3LMV43ASLTON2WKOZSHEYDGOBZHA2DMMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
[image: SeaMan75]*SeaMan75* created an issue
(hbmartin/graphviz2drawio#109)
<#109>
Python: 3.12.7 | packaged by Anaconda, Inc. | (main, Oct 4 2024, 13:17:27)
[MSC v.1929 64 bit (AMD64)], g2d: 1.0.0
Traceback (most recent call last):
File "C:\Users\bgnic\anaconda3\Lib\xml\etree\ElementTree.py", line 1515,
in *init*
from xml.parsers import expat
File "C:\Users\bgnic\anaconda3\Lib\xml\parsers\expat.py", line 4, in
from pyexpat import *
ImportError: DLL load failed while importing pyexpat: Операционная система
не может запустить %1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\bgnic\anaconda3\Lib\xml\etree\ElementTree.py", line 1518,
in *init*
import pyexpat as expat
ImportError: DLL load failed while importing pyexpat: Операционная система
не может запустить %1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\bgnic\anaconda3\Scripts\graphviz2drawio-script.py", line 9,
in
sys.exit(main())
^^^^^^
File "C:\Users\bgnic\anaconda3\Lib\site-packages\graphviz2drawio_*main*_.py",
line 61, in main
*convert_file(in_file, args.program, out_file) File
"C:\Users\bgnic\anaconda3\Lib\site-packages\graphviz2drawio_main*.py",
line 22, in _convert_file
output = convert(to_convert.read(), program)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\bgnic\anaconda3\Lib\site-packages\graphviz2drawio\graphviz2drawio.py",
line 26, in convert
nodes, edges, clusters = parse_nodes_edges_clusters(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\bgnic\anaconda3\Lib\site-packages\graphviz2drawio\models\SvgParser.py",
line 27, in parse_nodes_edges_clusters
parser=ElementTree.XMLParser(target=CommentedTreeBuilder()),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bgnic\anaconda3\Lib\xml\etree\ElementTree.py", line 1520,
in *init*
raise ImportError(
ImportError: No module named expat; use SimpleXMLTreeBuilder instead
—
Reply to this email directly, view it on GitHub
<#109>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFV5TTA4FMC3YRYOR6LHRT2TIALZAVCNFSM6AAAAABYSBTBEOVHI2DSMVQWIX3LMV43ASLTON2WKOZSHEYDGOBZHA2DMMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Python: 3.12.7 | packaged by Anaconda, Inc. | (main, Oct 4 2024, 13:17:27) [MSC v.1929 64 bit (AMD64)], g2d: 1.0.0
Traceback (most recent call last):
File "C:\Users\bgnic\anaconda3\Lib\xml\etree\ElementTree.py", line 1515, in init
from xml.parsers import expat
File "C:\Users\bgnic\anaconda3\Lib\xml\parsers\expat.py", line 4, in
from pyexpat import *
ImportError: DLL load failed while importing pyexpat: Операционная система не может запустить %1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\bgnic\anaconda3\Lib\xml\etree\ElementTree.py", line 1518, in init
import pyexpat as expat
ImportError: DLL load failed while importing pyexpat: Операционная система не может запустить %1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\bgnic\anaconda3\Scripts\graphviz2drawio-script.py", line 9, in
sys.exit(main())
^^^^^^
File "C:\Users\bgnic\anaconda3\Lib\site-packages\graphviz2drawio_main_.py", line 61, in main
convert_file(in_file, args.program, out_file)
File "C:\Users\bgnic\anaconda3\Lib\site-packages\graphviz2drawio_main.py", line 22, in _convert_file
output = convert(to_convert.read(), program)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bgnic\anaconda3\Lib\site-packages\graphviz2drawio\graphviz2drawio.py", line 26, in convert
nodes, edges, clusters = parse_nodes_edges_clusters(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bgnic\anaconda3\Lib\site-packages\graphviz2drawio\models\SvgParser.py", line 27, in parse_nodes_edges_clusters
parser=ElementTree.XMLParser(target=CommentedTreeBuilder()),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bgnic\anaconda3\Lib\xml\etree\ElementTree.py", line 1520, in init
raise ImportError(
ImportError: No module named expat; use SimpleXMLTreeBuilder instead
The text was updated successfully, but these errors were encountered: