-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Gdk-CRITICAL **: gdk_cursor_new_for_display: assertion 'GDK_IS_DISPLAY (display)' failed; TypeError: constructor returned NULL #187
Comments
@joyofdata addressed this in his blog post: I have personally never run into this issue on EC2. |
Hello Luke, |
Hi Saneesh, are you not using SSH to start the DIGITS server? You may want to have a look at @jashmenn's solution on BVLC/caffe#861 (comment). Can you try adding these two lines at the top of your /home/ubuntu/digits/tools/parse_folder.py:
|
Now I could login through ssh and my issue is solved! Now, access the site and create the dataset! |
Thanks Saneesh, out of curiosity, would you mind trying this:
I am interested to know whether this works. Thanks! |
Hello gheinrich, |
@gheinrich I did not have luck with modifying parse_folder.py. However, commit 28b7fee should fix the gtk3 backend issue completely. |
@lukeyeager I ran into this issue on a fresh Ubuntu 14.04 LTS HVM install on AWS EC2 g2.2xlarge instance |
I also had an issue with this; to resolve i simply used a virtual framebuffer, and everything worked without a problem. On ubuntu: |
works for me |
christopher5106 method works! thank you! |
Solution to 'GDK_IS_DISPLAY (display)' failed It seems that the error is a minor error during the ssh connection from a computer to another computer. While I run the test application of class_activation_maps.py (keras examples), it shows the same error. $ python3 class_activation_maps.py /home/nvidia/Downloads/galaxy.jpg (image_ocr.py:1257): Gdk-CRITICAL **: 19:44:35.690: gdk_cursor_new_for_display: assertion 'GDK_IS_DISPLAY (display)' failed Using TensorFlow backend. However, while I run the following both the commands and the application. It can successfully show the splendid galaxy makeup. $ echo $DISPLAY Using TensorFlow backend. Notes: Another solution is to describe the above-metioned commands in bashrc. Cheers, Mike |
Hello,
I have successfully configured DIGITS in AWS with the supported system like Ubuntu 14.04, CUDA 7.0, GPU etc.
When I trying create the dataset through the browser, the following error is showing:
How can I fix this issue?
The text was updated successfully, but these errors were encountered: