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
graph display bug #391
Comments
@ZHULOO Does it display if you add |
@mcaceresb : no, it does not display. I think it is because Stata 17 has changed the prompt after graph export. |
@simon-d-s Ah, interesting. That sounds straightforward if that's all it is. Try installing from this branch. If it works then I'll make a PR. |
@mcaceresb unfortunatly, it's not all. it seems that under Stata 17, |
@simon-d-s Ah, well, then I don't think I will fix until I can test this on Stata 17. Might be a while. |
If anyone is on Stata 17 and would like to take a deeper look and submit a Pull Request, that might move things a bit faster. |
Thanks you guys for the discussion, when I run |
First: apologies, my above statement:
... is wrong (it seems that I've created a mess fiddling around simultaneously with Stata 16 and 17...). What is correct, however, is the following:
Obviously this makes it difficult to define For my own use, I adapted |
@simon-d-s Can you try it from this branch? I've made the |
@mcaceresb , sorry for not being clear enough. The main issues stems from The existing code Conversely, if I use So, the problem is that |
@simon-d-s Does it work if you set: |
@mcaceresb It will work, but it will capture both the I've created a PR with a possible solution for disentangling the two. Not sure whether it's a very elegant way of doing it, but it seems to work. @mcaceresb could you cross check with Stata 16? |
Hi, I'm experiencing a similar issue. I work from Atom on Windows 10, Stata 14, kernel version 1.12.2. The graph is created in the cache folder but not displayed and the session gets stuck. I attach the debugging log. I tried to use the simple example from above. Thanks a lot! |
I am having the exact same problem. I used older versions of stata_kernel and Stata 17 without any problems at all. But, today I updated to the new version of stata_kernel, and the graph suddenly wouldn't be displayed and I got stuck... |
@binyamink @izumis007 I had the same problem using the kernel with Stata 17 but this seems to be solved in #394 by @simon-d-s (at least for Stata 17). So you can install the kernel as usual and just replace the stata_session.py file with this version and it should work until we get a new version of the kernel. I actually just created a fork that streamlines this process for myself so you can try that too. |
@gaksaray Thank you for your advice! I'll try it out next week and report back with the results. |
@gaksaray It fixed! Thank you. |
Problem description
This should explain why the current behavior is a problem and why the expected output is a better solution.
Note: Many problems can be resolved by simply upgrading
stata_kernel
to the latest version. Before submitting, please try:and check if your issue is fixed.
Debugging log
If possible, attach the text file located at
where
$HOME
is your home directory. This will help us debug your problem quicker.NOTE: This file includes a history of your session. If you work with restricted data, do not include this file.
Code Sample
Especially if you cannot attach the debugging log, please include a minimal, complete, and verifiable example.
Expected Output
unexpected output
Just display like this,
If you didn't attach the debugging log, please provide:
pip show stata_kernel
in your terminal.)The text was updated successfully, but these errors were encountered: