[ase-users] Python 2+3 compatible ase-gui
Gaël Donval
G.Donval at bath.ac.uk
Thu Jan 12 11:19:53 CET 2017
Hi,
> Thanks. GVFS-SFTP support sounds very cool, but what is it?
Sorry about that: in a nutshell, this allows anyone using GTK's file
chooser to see and use remote SSH/SFTP filesystems as local
directories. So I can spawn ase2-gui locally and seamlessly access HPC
cluster files without having to invoke any mount magic beforehand.
This comes in handy particularly when working from a laptop and moving
around: GVFS only tries to connect to the remote resources upon request
*not* each time the computer starts, it handles connectivity loss and
resumption quite well, it automatically uses SSH keys if available and
it requires no complicated setups (really, you just have to type
sftp://hpc_cluster [maybe after pressing Ctrl+l] in the file chooser
and bookmark that).
(More generally, GVFS handles the so-called virtual filesystems (FTP,
SFTP, WebDAV, SMB, MTP, etc.) in a transparent manner. If you use
Nautilus as a file browser on Linux, GVFS is already what you use to
access remote resources. If that rings a bell, GVFS is more or less the
GLib equivalent to FUSE.)
>
> The external viewers should work again now. I can't reproduce the
> other
> two.
Yes indeed. You may want to add `avogadro2` to the mix as `avogadro`
will be deprecated soon.
> What exactly are you doing to get those bugs? Sounds like a
> matplotlib problem.
Well, about matplotlib, I may have used a traj file instead of gpw
files. I'll have to try again soon (and will report on Gitlab).
About the play/stop buttons: I just open a traj file containing many
structures. When I use the slider and any other button, all is working
well. But when I press "Play", I get nothing (really nothing) and when
I press "Stop", I get this:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in
_bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 1182, in run
self.function(*self.args, **self.kwargs)
File
"/home/ggd21/Documents/Projects/GPAW/code/ase/ase/gui/movie.py",
line 89, in step
delta = int(self.skip.value + 1)
File "/home/ggd21/Documents/Projects/GPAW/code/ase/ase/gui/ui.py",
line 210, in value
x = self.widget.get().replace(',', '.')
File "/usr/lib/python3.6/tkinter/__init__.py", line 3669, in get
return self.tk.call(self._w, 'get')
RuntimeError: main thread is not in main loop
>
> Keep the bug reports coming - here or on GitLab - it's up to you.
> But,
> please use latest master for testing.
commit 9c43aa1263bd028f48931a1add6fc487eb0408d1 on master, capt'n!
Gaël
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3199 bytes
Desc: not available
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20170112/079790b1/attachment.bin>
More information about the ase-users
mailing list