{"action":"created","issue":{"url":"https://api.github.com/repos/TRIQS/triqs/issues/216","labels_url":"https://api.github.com/repos/TRIQS/triqs/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/TRIQS/triqs/issues/216/comments","events_url":"https://api.github.com/repos/TRIQS/triqs/issues/216/events","html_url":"https://github.com/TRIQS/triqs/issues/216","id":71685245,"number":216,"title":"How to run the green function example","user":{"login":"pdelamora","id":9806443,"avatar_url":"https://avatars.githubusercontent.com/u/9806443?v=3","gravatar_id":"","url":"https://api.github.com/users/pdelamora","html_url":"https://github.com/pdelamora","followers_url":"https://api.github.com/users/pdelamora/followers","following_url":"https://api.github.com/users/pdelamora/following{/other_user}","gists_url":"https://api.github.com/users/pdelamora/gists{/gist_id}","starred_url":"https://api.github.com/users/pdelamora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdelamora/subscriptions","organizations_url":"https://api.github.com/users/pdelamora/orgs","repos_url":"https://api.github.com/users/pdelamora/repos","events_url":"https://api.github.com/users/pdelamora/events{/privacy}","received_events_url":"https://api.github.com/users/pdelamora/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-04-28T19:51:21Z","updated_at":"2015-06-22T06:25:11Z","closed_at":null,"body":"I am trying to run the \r\n- Manipulating local Green’s functions\r\n\r\nand I do not know what this means;\r\n- from pytriqs.gf.local import GfReFreq, Omega, Wilson, inverse\r\n\r\nso I write in the terminal;\r\n- from ../TRIQS/build/pytriqs/gf/local import GfReFreq, Omega, Wilson, inverse\r\n\r\nand I get;\r\n- from: can't read /var/mail/../TRIQS/build/pytriqs/gf/local\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/TRIQS/triqs/issues/comments/114017601","html_url":"https://github.com/TRIQS/triqs/issues/216#issuecomment-114017601","issue_url":"https://api.github.com/repos/TRIQS/triqs/issues/216","id":114017601,"user":{"login":"aichhorn","id":1140921,"avatar_url":"https://avatars.githubusercontent.com/u/1140921?v=3","gravatar_id":"","url":"https://api.github.com/users/aichhorn","html_url":"https://github.com/aichhorn","followers_url":"https://api.github.com/users/aichhorn/followers","following_url":"https://api.github.com/users/aichhorn/following{/other_user}","gists_url":"https://api.github.com/users/aichhorn/gists{/gist_id}","starred_url":"https://api.github.com/users/aichhorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aichhorn/subscriptions","organizations_url":"https://api.github.com/users/aichhorn/orgs","repos_url":"https://api.github.com/users/aichhorn/repos","events_url":"https://api.github.com/users/aichhorn/events{/privacy}","received_events_url":"https://api.github.com/users/aichhorn/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T06:25:11Z","updated_at":"2015-06-22T06:25:11Z","body":"Do you mean with 'no output' that you see no figure on your screen? The problem could be that python/pytriqs closes all windows when it exists. So if you want to keep the figures open, then you have to run the script in a way that pytriqs does not exit:\r\npytriqs -i script.py\r\nThen, after all commands in the script were executed, you keep a python shell open, and with it all windows hopefully.\r\nThe behavior of matplotlib also depends a little bit on the graphics frontend that you are using. Do you get an error message related to the frontend, or nothing?"}}