Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/ansys/mapdl/core/database/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
from warnings import warn
import weakref

from ansys.api.mapdl.v0 import mapdl_db_pb2_grpc
try:
from ansys.api.mapdl.v0 import mapdl_db_pb2_grpc
except ImportError: # pragma: no cover
raise ImportError(
"Please upgrade the 'ansys.api.mapdl' package to at least v0.5.1."
"You can use 'pip install ansys-api-mapdl --upgrade"
)

import grpc

from ..mapdl_grpc import MapdlGrpc
Expand Down
1 change: 0 additions & 1 deletion src/ansys/mapdl/core/mapdl_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,6 @@ def _download(targets):
targets = rth_files
else:
remote_files_str = "\n".join("\t%s" % item for item in remote_files)
print("\t".join("\n%s" % item for item in ["a", "b", "c"]))
raise FileNotFoundError(
"Unable to locate any result file from the "
"following remote result files:\n\n" + remote_files_str
Expand Down