Error in using GraphLab in PyCharm

User 1143 | 1/1/2015, 1:23:43 PM


While using in PyCharm. I got the following error message:

Any idea why this is happening ?

INFO] Start server at: ipc:///tmp/graphlabserver-12878 - Server binary: /usr/local/lib/python2.7/dist-packages/graphlab/unityserver - Server log: /tmp/graphlabserver1420116822.log [INFO] GraphLab Server Version: 1.2.1 PROGRESS: Downloading to /var/tmp/graphlab-graphlab/12878/000000.csv PROGRESS: Finished parsing file PROGRESS: Parsing completed. Parsed 891 lines in 0.023594 secs. show data [INFO] Stopping the server connection. Created new window in existing browser session. Unhandled exception in thread started by <bound method Thread.bootstrap of <Thread(canvas_server, stopped daemon 140191739451136)>> Traceback (most recent call last): File "/usr/lib/python2.7/", line 783, in bootstrap self.bootstrap_inner() File "/usr/lib/python2.7/", line 823, in bootstrapinner (, formatexc())) File "/usr/lib/python2.7/", line 241, in formatexc etype, value, tb = sys.excinfo() AttributeError: 'NoneType' object has no attribute 'excinfo'


please see the attached screenshot for more information.

Thanks! (Great project you have !)

<img src="" alt="" />


User 940 | 1/2/2015, 6:21:27 AM


I'm glad you're enjoying using GraphLab. Thank you for bringing this to our attention. We will investigate and answer your question as soon as possible.

In the meantime, does the code snippet work while within ipython in the terminal?

Thanks for your patience! -Piotr

User 1143 | 1/5/2015, 10:07:27 AM



Any new(s) ?

[Yes, the code is working from ipython terminal]

User 4 | 1/5/2015, 7:31:27 PM

Hi @asd_asd‌, the .show() command does not block execution, so it appears the Python process is exiting prematurely while .show() is still trying to run.

To prevent this from happening, you can run Python in an interactive mode. In PyCharm, click "Run...", "Edit Configurations", then check the box for "Show command line afterwards". This will enable interactive mode for the Python interpreter, similar to a command-line ipython, which should allow .show() to execute normally.

User 1247 | 1/30/2015, 8:43:16 PM

but that option is only available in pycharm 4+ , what is the solution for pycharm 3+

User 4 | 1/31/2015, 12:52:47 AM

@Abhishek, try the fix suggested here:

To be able to run interactive (browser) Canvas, Python has to be run in an interactive mode so that we do not lose our connection to the server.