I already tried three version: macports, build from sources and the bundled
version. All have this problem. So, I guess it has to do with the way emacs
interacts with my Python, but I don't know how to debug it.
Is there no one here that is a python/orgmode ninja that can give me a hand
here?
Tha
Switch to an emacs that doesn't have this bug on your system. Try
Homebrew-installed versions (although I know you aren't supposed to mix brew
and macports, and I think you use macports).
-k.
On 2015-06-02 at 01:49, Dror Atariah wrote:
> No ideas? Please, I really don't know how to tackle t
No ideas? Please, I really don't know how to tackle this. Thanks.
--
Dror Atariah, PhD
Sent from mobile; excuse my brevity.
On May 26, 2015 8:39 PM, "Dror Atariah" wrote:
>
>
> On Tue, May 26, 2015 at 4:02 PM, Ken Mankoff wrote:
>
>>
>>
>> Where you see everything printed twice. I notice that
On Tue, May 26, 2015 at 4:02 PM, Ken Mankoff wrote:
>
>
> Where you see everything printed twice. I notice that in addition, you have
>
> > r/folders/kz/1c2cxn1x60n_t5p2j1p02b18gn/T/py6499_X0''', 'exec'));
>
> at the top of your buffer, and I do not. I think the "exec" might be
> causing ever
On Tue, May 26, 2015 at 4:02 PM, Ken Mankoff wrote:
>
> On 2015-05-26 at 09:26, Dror Atariah wrote:
> >> #+BEGIN_SRC python :session with_matplotlib :results file :exports both
> >> import matplotlib
> >> matplotlib.use('Agg')
> >> import matplotlib.pyplot as plt
> >> fig=plt.figure(figsize=(3,2
On 2015-05-26 at 09:18, Dror Atariah wrote:
> On Tue, May 26, 2015 at 3:49 AM, Ken Mankoff wrote:
>> On 2015-05-25 at 14:22, Dror Atariah wrote:
>> > Following is the section of my =init.el= that deals with org-mode (if you
>> > need more, let me know):
>>
>> If the bug exists with "emacs -Q",
On 2015-05-26 at 09:26, Dror Atariah wrote:
>> #+BEGIN_SRC python :session with_matplotlib :results file :exports both
>> import matplotlib
>> matplotlib.use('Agg')
>> import matplotlib.pyplot as plt
>> fig=plt.figure(figsize=(3,2))# 4
>> plt.plot([1,3,2])
On Mon, May 25, 2015 at 8:30 PM, John Kitchin
wrote:
> With emacs -Q, and this org file:
>
> #+BEGIN_SRC emacs-lisp
> (org-babel-do-load-languages
> 'org-babel-load-languages
> '((emacs-lisp . t)
>(python . t)))
> #+END_SRC
>
> #+RESULTS:
>
> #+BEGIN_SRC python :session with_matplotlib :res
On Tue, May 26, 2015 at 3:15 PM, Ken Mankoff wrote:
>
> On 2015-05-26 at 09:11, Dror Atariah wrote:
> > I use emacs that come from MacPorts, so for -Q option I start it using:
> > /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs -Q
>
> Consider using different compilation options, and/or a
On Tue, May 26, 2015 at 3:49 AM, Ken Mankoff wrote:
>
> Nick Dokos removed from Cc.
>
> On 2015-05-25 at 14:22, Dror Atariah wrote:
> > I tried to evaluate the problematic file using =emacs -Q= and the problem
> > is the same.
>
> Sorry I can't help much. It works on my system.
>
> The only diff
On 2015-05-26 at 09:11, Dror Atariah wrote:
> I use emacs that come from MacPorts, so for -Q option I start it using:
> /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs -Q
Consider using different compilation options, and/or a different Emacs.app
package. It seems like that might be the ea
On Mon, May 25, 2015 at 8:30 PM, John Kitchin
wrote:
> With emacs -Q, and this org file:
>
> #+BEGIN_SRC emacs-lisp
> (org-babel-do-load-languages
> 'org-babel-load-languages
> '((emacs-lisp . t)
>(python . t)))
> #+END_SRC
>
> #+RESULTS:
>
> #+BEGIN_SRC python :session with_matplotlib :res
Nick Dokos removed from Cc.
On 2015-05-25 at 14:22, Dror Atariah wrote:
> I tried to evaluate the problematic file using =emacs -Q= and the problem
> is the same.
Sorry I can't help much. It works on my system.
The only difference I see is my python version:
#+BEGIN_SRC python :session backgr
With emacs -Q, and this org file:
#+BEGIN_SRC emacs-lisp
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)
(python . t)))
#+END_SRC
#+RESULTS:
#+BEGIN_SRC python :session with_matplotlib :results file :exports both
import matplotlib
matplotlib.use('Agg')
import matpl
On Mon, May 25, 2015 at 7:29 PM, Ken Mankoff wrote:
>
> On 2015-05-25 at 13:25, Dror Atariah wrote:
> > I am sorry for reposting, but I'm still in the dark. Am I the only one
> who
> > experience this kind of issue?
>
> Don't know.
>
> > Did someone managed to reproduce the problem?
>
> I could
On 2015-05-25 at 13:25, Dror Atariah wrote:
> I am sorry for reposting, but I'm still in the dark. Am I the only one who
> experience this kind of issue?
Don't know.
> Did someone managed to reproduce the problem?
I could not reproduce it.
> Does anyone see this message? :)
Yes.
I'm on Mac
I am sorry for reposting, but I'm still in the dark. Am I the only one who
experience this kind of issue? Did someone managed to reproduce the
problem? Does anyone see this message? :)
On Sat, May 23, 2015 at 8:49 PM, Dror Atariah wrote:
> I am still helpless here. Any idea how to debug the prob
I am still helpless here. Any idea how to debug the problem? I would be
happy to provide any kind of help, but I just cannot do it myself.
Further findings:
1) I don't think that matplotlib changes Python's '_', since the tmp file
that contains the content of '_' is correct.
2) Somehow, emacs/orgm
Obviously, I have the directory in place, and the file is actually saved
properly in it. The version is use is:
Org-mode version 8.2.10 (8.2.10-40-gc763fa-elpaplus @
/Users/drorata/.emacs.d/elpa/org-plus-contrib-20150504/)
Finally, here is the output that I have in the python interactive session:
Dror Atariah writes:
> How can I solve this problem?
I should have added: ... after I create the "images" directory.
I don't think the savefig() can do that.
Dror Atariah writes:
> Consider the following example (from the documentation):
>
> ---8<---8<---8<---8<---8<---8<---8<---8<---8<---
> #+begin_src python :session :results file
> import matplotlib
> matplotlib.use('Agg')
> import matplotlib.pyplot as plt
>
Consider the following example (from the documentation):
---8<---8<---8<---8<---8<---8<---8<---8<---8<---
#+begin_src python :session :results file
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
fig=plt.figure(figsize=(3,2))
plt.plot
22 matches
Mail list logo