You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to serve an existing catalog from filesystem, I've noticed a few times that if an underlying call inside tiled serve config ... fails (for instance: tiled catalog init --if-not-exist), the details of that error don't bubble out to the console. Instead, you get a generic error from subprocess:
subprocess.CalledProcessError: Command
'['/path/to/env/bin/python3.9', '-m', 'tiled', 'catalog', 'init', '--if-not-exists', 'catalog.db']' returned non-zero exit status 1.
A savvy user will know to run that command alone and find out that the SQLite catalog version doesn't match the local tiled version, but it save a debugging step (and potentially a confusing one for a novice user) if the stderr output from the subprocess call was printed to the console. Are there any downsides to doing this or issues it would cause?
The text was updated successfully, but these errors were encountered:
pbeaucage
changed the title
Print output from errors coming from subprocesses in tiled serve config
Print output from errors coming from subprocesses in tiled serve config?
Oct 7, 2024
While trying to serve an existing catalog from filesystem, I've noticed a few times that if an underlying call inside
tiled serve config ...
fails (for instance:tiled catalog init --if-not-exist
), the details of that error don't bubble out to the console. Instead, you get a generic error from subprocess:A savvy user will know to run that command alone and find out that the SQLite catalog version doesn't match the local tiled version, but it save a debugging step (and potentially a confusing one for a novice user) if the stderr output from the subprocess call was printed to the console. Are there any downsides to doing this or issues it would cause?
The text was updated successfully, but these errors were encountered: