We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10024cc commit 2cf5795Copy full SHA for 2cf5795
1 file changed
meshroom/core/graphIO.py
@@ -96,7 +96,10 @@ def serializeHeader(self) -> dict:
96
header: dict[str, Any] = {}
97
header[GraphIO.Keys.ReleaseVersion] = meshroom.__version__
98
header[GraphIO.Keys.FileVersion] = GraphIO.__version__
99
- header[GraphIO.Keys.Username] = getpass.getuser()
+ try:
100
+ header[GraphIO.Keys.Username] = getpass.getuser()
101
+ except Exception:
102
+ header[GraphIO.Keys.Username] = ""
103
header[GraphIO.Keys.NodesVersions] = self._getNodeTypesVersions()
104
if self._graph._hasExplicitCacheDir:
105
# We store the absolute but also the relative cacheDir path (to the scene file)
0 commit comments