Re: [O] export image generated by python code.

2012-05-02 Thread Khoroshyy Petro
Hi Darlan. Thanks for you response. I am aware of the working folder differences and use absolute path in my scripts. I have found a workaround in this mailing list: http://lists.gnu.org/archive/html/emacs-orgmode/2011-06/msg00156.html This solves my problem with inline images in results. Have not

Re: [O] export image generated by python code.

2012-04-30 Thread Darlan Cavalcante Moreira
Remember that when you execute the code via "C-c C-c" it is run in a temporary file which is not in the same folder as the org file from where it was generated from. Maybe you are reading some data from a file and Python is not able to locate the file when run with "C-c C-c". Put ":results output

[O] export image generated by python code.

2012-04-30 Thread Khoroshyy Petro
Hi all. After some struggle, I can see inline pictures in my org file. The problem was python execution. If I execure the code in python-mode shell, it generates a picture. I the code executed via C-c C-c, the output picture file is empty. I still do not know how to solve it. And I have encounter