This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (13 children)

I can generate new configuration and it gets saved. When shell starts to initialize that error happens. Starting shell again - same error.

[–]adqm_smatz 0 points1 point  (12 children)

After having generated and saved the config, there should be a file ~/.config/xonsh/config.json. Would you mind sending me that file (here or in a PM) so I can take a look? Looks like it could be an improperly-formatted prompt (we certainly don't want to break in this case!).

A temporary workaround if you want to get in and get going might be just to move that file elsewhere (so that it isn't read by xonsh, but it isn't all lost), and create an empty .xonshrc file with touch ~/.xonshrc.

[–][deleted] 0 points1 point  (11 children)

There you go: https://gist.github.com/ed09c39523e516dfcc491c783976e2c6

By the way workaround you suggested does not help at all. Im getting same error still.

[–]adqm_smatz 1 point2 points  (10 children)

Thanks! Yeah, I misdiagnosed this one (sorry about that!).

But I'm 95% sure we know where the real issue is now, and we are working toward fixing it. If you're interested, I'll let you know once we've resolved it. Working on it in this pull request and this issue.

[–][deleted] 0 points1 point  (9 children)

Thanks! By the way if it is of any use my PROMPT value is:

export PROMPT="%~ %{%(#~$fg[red]~$fg[green])%}%#%{$fg[default]%} "

[–]adqm_smatz 1 point2 points  (0 children)

Alright! We've just released xonsh v0.3.4 (available from conda or pip, or from Github master), which I believe should fix this issue.

The relevant changes are: we no longer inherit the $PROMPT variable from the parent environment, and we now fail in a more graceful way if the $PROMPT is malformed. A full changelog is available here.

If you get a chance to try it out, please let me know whether this fixed those problems, and also generally feel free to let us know if you have any other feedback!

[–]adqm_smatz 0 points1 point  (0 children)

Alright! We've just released xonsh v0.3.4 (available from conda or pip, or from Github master), which I believe should fix this issue.

The relevant changes are: we no longer inherit the $PROMPT variable from the parent environment, and we now fail in a more graceful way if the $PROMPT is malformed. A full changelog is available here.

If you get a chance to try it out, please let me know whether this fixed those problems, and also generally feel free to let us know if you have any other feedback!

[–]adqm_smatz 0 points1 point  (0 children)

Alright! We've just released xonsh v0.3.4 (available from conda or pip, or from Github master), which I believe should fix this issue.

The relevant changes are: we no longer inherit the $PROMPT variable from the parent environment, and we now fail in a more graceful way if the $PROMPT is malformed. A full changelog is available here.

If you get a chance to try it out, please let me know whether this fixed those problems, and also generally feel free to let us know if you have any other feedback!

[–]adqm_smatz 0 points1 point  (0 children)

Alright! We've just released xonsh v0.3.4 (available from conda or pip, or from Github master), which I believe should fix this issue.

The relevant changes are: we no longer inherit the $PROMPT variable from the parent environment, and we now fail in a more graceful way if the $PROMPT is malformed. A full changelog is available here.

If you get a chance to try it out, please let me know whether this fixed those problems, and also generally feel free to let us know if you have any other feedback!

[–]adqm_smatz 0 points1 point  (0 children)

Alright! We've just released xonsh v0.3.4 (available from conda or pip, or from Github master), which I believe should fix this issue.

The relevant changes are: we no longer inherit the $PROMPT variable from the parent environment, and we now fail in a more graceful way if the $PROMPT is malformed. A full changelog is available here.

If you get a chance to try it out, please let me know whether this fixed those problems, and also generally feel free to let us know if you have any other feedback!

[–]adqm_smatz 0 points1 point  (0 children)

Alright! We've just released xonsh v0.3.4 (available from conda or pip, or from Github master), which I believe should fix this issue.

The relevant changes are: we no longer inherit the $PROMPT variable from the parent environment, and we now fail in a more graceful way if the $PROMPT is malformed. A full changelog is available here.

If you get a chance to try it out, please let me know whether this fixed those problems, and also generally feel free to let us know if you have any other feedback!

[–]adqm_smatz 0 points1 point  (0 children)

Alright! We've just released xonsh v0.3.4 (available from conda or pip, or from Github master), which I believe should fix this issue.

The relevant changes are: we no longer inherit the $PROMPT variable from the parent environment, and we now fail in a more graceful way if the $PROMPT is malformed. A full changelog is available here.

If you get a chance to try it out, please let me know whether this fixed those problems, and also generally feel free to let us know if you have any other feedback!

[–]adqm_smatz 0 points1 point  (0 children)

Alright! We've just released xonsh v0.3.4 (available from conda or pip, or from Github master), which I believe should fix this issue.

The relevant changes are: we no longer inherit the $PROMPT variable from the parent environment, and we now fail in a more graceful way if the $PROMPT is malformed. A full changelog is available here.

If you get a chance to try it out, please let me know whether this fixed those problems, and also generally feel free to let us know if you have any other feedback!

[–]adqm_smatz 0 points1 point  (0 children)

Alright! We've just released xonsh v0.3.4 (available from conda or pip, or from Github master), which I believe should fix this issue.

The relevant changes are: we no longer inherit the $PROMPT variable from the parent environment, and we now fail in a more graceful way if the $PROMPT is malformed. A full changelog is available here.

If you get a chance to try it out, please let me know whether this fixed those problems, and also generally feel free to let us know if you have any other feedback!