Hi Yeti,
Thanks for the advice! I tried this, but gwy.gwy_app_file_load() seems
to segfault for me (Gwyddion 2.45 on ubuntu 16.04 64-bit), no matter
which files I used (I also tried samples.gwy rather than my own):
mark@laptop-mark:~/Downloads$ python
Python 2.7.11+ (default, Apr 17 2016, 14:00:29)
[GCC 5.3.1 20160413] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gwy
>>> C = gwy.gwy_app_file_load('samples.gwy')
(python:27272): GwyApp-CRITICAL **: _gwy_app_log_start_message_capture:
assertion 'log_setup.capturing_from == G_MAXUINT' failed
Segmentation fault (core dumped)
Coming back to the original question, can I use gwy.gwy_file_save() or
do I have to use gwy_app_file_save_as()?
Regards,
Mark
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users