SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Eric E. <ems...@ob...> - 2008年12月30日 23:12:35
sorry, I just found the simple way out and so I am answering my own post: use
Agg instead of GtkAgg...
sorry for the dummy question and the inconvenience,
and have a nice end of 2008
cheers
> I am trying to run a relatively large code, which includes some calls to and
> import from pylab/matplotlib, on a remote machine: the part of the code I am
> running is NOT performing any plot so there is no direct access to a display.
> Unfortunately it still crashes with something like:
> 
> ---> 40 cursors.MOVE : gdk.Cursor(gdk.FLEUR),
> 41 cursors.HAND : gdk.Cursor(gdk.HAND2),
> 42 cursors.POINTER : gdk.Cursor(gdk.LEFT_PTR),
> 
> RuntimeError: could not create GdkCursor object
> 
> when it tries to reach the display when importing pylab I guess.
> 
> I am now doing this from my laptop from a non-fixed IP and there is no easy way
> for me to forward the display (loging e.g. with ssh -X), or to just isolate the
> pylab part of the code (lots of files, lots of lines, etc).
> 
> I am desperately trying to run this long calculation on that remote machine (and
> do it while my laptop is off, using "screen") because I need a lot of memory and
> CPU.... How can I overpass this easily (just allowing for the code not to crash
> with that initialisation and go on with the rest) ???
> 
> thanks for any input there
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /