Skip to content
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

RXT_FILE and "graph" #82

Closed
mottosso opened this issue Jul 29, 2019 · 0 comments
Closed

RXT_FILE and "graph" #82

mottosso opened this issue Jul 29, 2019 · 0 comments

Comments

@mottosso
Copy link
Owner

The graph string stored in the RXT file includes invalid string literals, resulting in rez context -g not working.

doc = dict(nodes=d_nodes.items(), edges=d_edges.items())

These produce the string:

"{'nodes': dict_items([((('fillcolor', '#FFFF ...

Which should be:

"{'nodes': [((('fillcolor', '#FFFF ...

This only applies to Python 3, however if Rez was launched from Python 3, into a context with Rez and Python 2, then the RXT file would not be compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant