Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4221471 By: lianos
Hi, I was actually going to post this message as a plea for help, but as I was trying to write it out, I've solved my problem -- let this be a lesson for people who have reservations about "talking about their problems" ;-) The problem was that I was migrating a project I've been working on over to Eclipse + PyDev. My code requires access to X11 since it can (at times) require an import of pylab/matplotlib in order to, well, draw figures. I was trying to set up an "External Tool" configuration to run the unittests (via nose) that lie in my test directory, but it kept dying something fierce before it could run them since importing pylab tried to connect to my x11 display and it just wasn't getting it. If you run into this problem, set up a "DISPLAY" variable in the "Environment" tab of your "External Tool" (or Run Configuration, for that matter) with the appropriate display value, for instance, I have: Variable -> DISPLAY Value -> :0.0 And it all works now. ... the more you know ... -steve ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Pydev-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pydev-users
