Skip to content

JSON file for PPTX templates does not work #279

Open
@margalva

Description

@margalva

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

Attached, JSON file for a PPTX export. It contains PPTX templates.
When trying to load it in the server, no error is returned, and nothing happens. When you try in the template editor, it pops up an error message:

Image

Please add support for the PPTX and PPTX slide template types.

pptx_export.json

📝 Steps to reproduce

Load the attached JSON file. It doesn't create the report template

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

No response

🐍 Which Python version are you using?

3.9

📦 Installed packages

D:\tmp\pocs_pptx>python -m pip freeze
accessible-pygments==0.0.5
aiohappyeyeballs==2.4.3
aiohttp==3.10.10
aiosignal==1.3.1
alabaster==0.7.16
ansys-api-dbu==0.3.8
ansys-api-geometry==0.4.27
ansys-api-pyensight==0.4.1
ansys-dpf-core==0.13.0
ansys-dpf-post==0.9.0
ansys-dynamicreporting-core @ file:///C:/Users/mgalvagn/Downloads/ansys-dynamicreporting-core-artifacts/ansys_dynamicreporting_core-0.10.0.dev0-py3-none-any.whl
ansys-geometry-core==0.8.1
ansys-pyensight-core==0.8.8
ansys-sphinx-theme==1.1.1
ansys-tools-path==0.7.1
ansys-tools-visualization-interface==0.8.1
anyio==4.4.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asgiref==3.8.1
asttokens==2.4.1
async-lru==2.0.4
async-timeout==4.0.3
attrs==23.2.0
Babel==2.15.0
backports.tarfile==1.2.0
beartype==0.19.0
beautifulsoup4==4.12.3
black==25.1.0
bleach==6.1.0
build==1.2.1
CacheControl==0.14.1
cachetools==5.5.0
certifi==2024.7.4
cffi==1.16.0
cfgv==3.4.0
charset-normalizer==3.3.2
cleo==2.1.0
click==8.1.7
codespell==2.4.1
colorama==0.4.6
comm==0.2.2
contourpy==1.3.0
coverage==7.6.0
crashtest==0.4.1
cycler==0.12.1
debugpy==1.8.2
decorator==5.1.1
defusedxml==0.7.1
distlib==0.3.8
Django==4.2.14
django-guardian==2.4.0
djangorestframework==3.15.2
docker==7.1.0
docutils==0.21.2
dulwich==0.21.7
exceptiongroup==1.0.0
executing==2.0.1
fastjsonschema==2.20.0
filelock==3.15.4
flexcache==0.3
flexparser==0.4
fonttools==4.54.1
fqdn==1.5.1
frozenlist==1.5.0
google-api-core==2.21.0
google-api-python-client==2.149.0
google-auth==2.35.0
google-auth-httplib2==0.2.0
googleapis-common-protos==1.65.0
grpcio==1.67.1
grpcio-health-checking==1.67.1
h11==0.14.0
httpcore==1.0.5
httplib2==0.22.0
httpx==0.27.0
identify==2.6.0
idna==3.7
imagesize==1.4.1
importlib_metadata==8.1.0
iniconfig==2.0.0
installer==0.7.0
ipdb==0.13.13
ipykernel==6.29.5
ipython==8.26.0
ipywidgets==8.1.3
isoduration==20.11.0
isort==6.0.0
jaraco.classes==3.4.0
jaraco.context==5.3.0
jaraco.functools==4.0.1
jedi==0.19.1
Jinja2==3.1.4
jinja2-time==0.2.0
json5==0.9.25
jsonpointer==3.0.0
jsonschema==4.23.0
jsonschema-specifications==2023.12.1
jupyter==1.0.0
jupyter-console==6.6.3
jupyter-events==0.10.0
jupyter-lsp==2.2.5
jupyter_client==8.6.2
jupyter_core==5.7.2
jupyter_server==2.14.2
jupyter_server_terminals==0.5.3
jupyterlab==4.2.4
jupyterlab_pygments==0.3.0
jupyterlab_server==2.27.3
jupyterlab_widgets==3.0.11
keyring==24.3.1
kiwisolver==1.4.7
lxml==5.3.0
make==0.1.6.post2
markdown-it-py==3.0.0
MarkupSafe==2.1.5
matplotlib==3.9.2
matplotlib-inline==0.1.7
mdurl==0.1.2
mistune==3.0.2
more-itertools==10.3.0
msgpack==1.1.0
multidict==6.1.0
mypy-extensions==1.0.0
nbclient==0.10.0
nbconvert==7.16.4
nbformat==5.10.4
nest-asyncio==1.6.0
nh3==0.2.18
nodeenv==1.9.1
notebook==7.2.1
notebook_shim==0.2.4
numpy==1.25.1
numpydoc==1.8.0
overrides==7.7.0
packaging==24.1
pandas==2.2.3
pandocfilters==1.5.1
parso==0.8.4
pathspec==0.12.1
patsy==0.5.6
pdf2image==1.17.0
pexpect==4.9.0
pillow==10.4.0
Pint==0.24.4
pkginfo==1.10.0
platformdirs==4.2.2
pluggy==1.5.0
poetry==1.8.4
poetry-core==1.9.1
poetry-plugin-export==1.8.0
pooch==1.8.2
pre_commit==4.0.1
prometheus_client==0.20.0
prompt_toolkit==3.0.47
propcache==0.2.0
proto-plus==1.24.0
protobuf==5.27.2
psutil==6.0.0
psycopg==3.2.4
psycopg-binary==3.2.4
ptyprocess==0.7.0
pure_eval==0.2.3
pyasn1==0.6.1
pyasn1_modules==0.4.1
pycparser==2.22
pydata-sphinx-theme==0.15.4
Pygments==2.18.0
pyparsing==3.2.0
pypng==0.20220715.0
pyproject_hooks==1.1.0
pytest==8.3.3
pytest-cov==6.0.0
python-dateutil==2.9.0.post0
python-json-logger==2.0.7
python-pptx==0.6.19
pytz==2024.1
pyvista==0.44.1
pywin32==306
pywin32-ctypes==0.2.2
pywinpty==2.0.13
PyYAML==6.0.1
pyzmq==26.0.3
qtconsole==5.5.2
QtPy==2.4.1
RapidFuzz==3.10.1
readme_renderer==43.0
referencing==0.35.1
requests==2.32.3
requests-toolbelt==1.0.0
rfc3339-validator==0.1.4
rfc3986==2.0.0
rfc3986-validator==0.1.1
rich==13.7.1
rpds-py==0.19.0
rsa==4.9
scipy==1.14.0
scooby==0.10.0
semver==3.0.4
Send2Trash==1.8.3
shellingham==1.5.4
six==1.16.0
sniffio==1.3.1
snowballstemmer==2.2.0
soupsieve==2.5
Sphinx==8.0.2
sphinx-copybutton==0.5.2
sphinx-gallery==0.18.0
sphinxcontrib-applehelp==1.0.8
sphinxcontrib-devhelp==1.0.6
sphinxcontrib-htmlhelp==2.0.6
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.8
sphinxcontrib-serializinghtml==1.1.10
sqlparse==0.5.1
stack-data==0.6.3
statsmodels==0.14.2
tabulate==0.9.0
terminado==0.18.1
tinycss2==1.3.0
toml==0.10.2
tomli==2.0.1
tomlkit==0.13.2
tornado==6.4.1
tqdm==4.66.5
traitlets==5.14.3
trame==3.7.0
trame-client==3.4.0
trame-server==3.2.3
trame-vtk==2.8.14
trame-vuetify==2.8.1
trove-classifiers==2024.10.21.16
twine==5.1.1
types-python-dateutil==2.9.0.20240316
typing_extensions==4.12.2
tzdata==2024.1
tzlocal==5.2
uri-template==1.3.0
uritemplate==4.1.1
urllib3==1.26.10
virtualenv==20.27.1
vtk==9.3.1
wcwidth==0.2.13
webcolors==24.6.0
webencodings==0.5.1
websocket-client==1.8.0
websockets==14.2
whatsonpypi==0.3.7
widgetsnbextension==4.0.11
wslink==2.2.1
XlsxWriter==3.2.0
yarl==1.17.1
zipp==3.19.2

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions