Artemis can't open project file and crashes
Hello, I wonder if anyone can help me. Artemis (version 0.9.25) is unable to open the most recent project files that I have created and just crashes. These files also can't be opened on a different computer. I get the following message in the dartemis log file: You must define a method name at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\vendor\lib\Class\MOP\Mixin\HasMethods.pm line 96 Class::MOP::Mixin::HasMethods::has_method('Class::MOP::Class::Immutable::Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0xb49ab58)', '') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\Atoms.pm line 424 Demeter::Atoms::parse_line('Demeter::Atoms=HASH(0x10140bd0)', ' :') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\Atoms.pm line 447 Demeter::Atoms::parse_line('Demeter::Atoms=HASH(0x10140bd0)', 'space = I 41/a m d :2') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\Atoms.pm line 382 Demeter::Atoms::read_inp('Demeter::Atoms=HASH(0x10140bd0)') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\Atoms.pm line 198 Demeter::Atoms::__ANON__('Demeter::Atoms=HASH(0x10140bd0)', 'C:\Users\mhammer1\AppData\Roaming\demeter\stash\_dem_aaczdzkl\feff\qynwh\atoms.inp', 'C:\Users\mhammer1\AppData\Roaming\demeter\stash\_dem_aaczdzkl\feff\racrw\atoms.inp') called at accessor Demeter::Atoms::file (defined at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\Atoms.pm line 202) line 10 Demeter::Atoms::file('Demeter::Atoms=HASH(0x10140bd0)', 'C:\Users\mhammer1\AppData\Roaming\demeter\stash\_dem_aaczdzkl\feff\qynwh\atoms.inp') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\UI\Atoms\Xtal.pm line 667 Demeter::UI::Atoms::Xtal::open_file('Demeter::UI::Atoms::Xtal=HASH(0x1afa1b38)', 'C:\Users\mhammer1\AppData\Roaming\demeter\stash\_dem_aaczdzkl\feff\qynwh\atoms.inp') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\UI\Artemis.pm line 1388 Demeter::UI::Artemis::make_feff_frame('Wx::Frame=HASH(0x1522a180)', 'C:\Users\mhammer1\AppData\Roaming\demeter\stash\_dem_aaczdzkl\feff\qynwh\atoms.inp', 'CuCr2O4_I41-amd2_2006190') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\UI\Artemis\Project.pm line 351 Demeter::UI::Artemis::Project::read_project('HASH(0xf7cdf60)') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\UI\Artemis.pm line 996 Demeter::UI::Artemis::OnMenuClick('Wx::Frame=HASH(0x1522a180)', 'Wx::CommandEvent=SCALAR(0x15dc4558)') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\UI\Artemis.pm line 440 Demeter::UI::Artemis::__ANON__('Wx::Frame=HASH(0x1522a180)', 'Wx::CommandEvent=SCALAR(0x15dc4558)') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\bin\dartemis.bat line 50 eval {...} at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\bin\dartemis.bat line 50 So I guess I need to define a method name? What could it be and how do I define it? Thank you for your help (in advance!) Best wishes, Michelle *Michelle Hammerton Msc.* University of Amsterdam http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Here are some hints on writing an actionable bug report: http://bruceravel.github.io/demeter/documents/SinglePage/bugs.html In general, it is wise to provide enough information (like, say, the project file causing the problem) that the problem can be reproduced elsewhere. If you won't offer enough that the problem can be reproduced, it is unreasonable to expect a useful response. That said, I think I know your problem I suspect the problem is in the CIF or atoms.inp file that you are using. The ":2" in your space group symbol "I 41/a m d :2" is non-standard notation. Well, "non-standard" in the sense of not understood by Demeter. You have two choices: 1. Edit your atoms input data to remove the ":d", throw away your current project file, and start over again. 2. Try the preview release of Demeter 0.9.26 at http://bruceravel.github.io/demeter/#windows. Dealing gracefully with ":1" and ":2" notation is a thing that I've tried to fix. See the Atoms section of http://bruceravel.github.io/demeter/Changes.html#orgheadline7 B On 08/11/2017 05:54 AM, Michelle Hammerton wrote:
Hello,
I wonder if anyone can help me. Artemis (version 0.9.25) is unable to open the most recent project files that I have created and just crashes. These files also can't be opened on a different computer. I get the following message in the dartemis log file:
You must define a method name at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\vendor\lib\Class\MOP\Mixin\HasMethods.pm line 96 Class::MOP::Mixin::HasMethods::has_method('Class::MOP::Class::Immutable::Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0xb49ab58)', '') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\Atoms.pm line 424 Demeter::Atoms::parse_line('Demeter::Atoms=HASH(0x10140bd0)', ' :') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\Atoms.pm line 447 Demeter::Atoms::parse_line('Demeter::Atoms=HASH(0x10140bd0)', 'space = I 41/a m d :2') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\Atoms.pm line 382 Demeter::Atoms::read_inp('Demeter::Atoms=HASH(0x10140bd0)') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\Atoms.pm line 198 Demeter::Atoms::__ANON__('Demeter::Atoms=HASH(0x10140bd0)', 'C:\Users\mhammer1\AppData\Roaming\demeter\stash\_dem_aaczdzkl\feff\qynwh\atoms.inp', 'C:\Users\mhammer1\AppData\Roaming\demeter\stash\_dem_aaczdzkl\feff\racrw\atoms.inp') called at accessor Demeter::Atoms::file (defined at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\Atoms.pm line 202) line 10 Demeter::Atoms::file('Demeter::Atoms=HASH(0x10140bd0)', 'C:\Users\mhammer1\AppData\Roaming\demeter\stash\_dem_aaczdzkl\feff\qynwh\atoms.inp') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\UI\Atoms\Xtal.pm line 667 Demeter::UI::Atoms::Xtal::open_file('Demeter::UI::Atoms::Xtal=HASH(0x1afa1b38)', 'C:\Users\mhammer1\AppData\Roaming\demeter\stash\_dem_aaczdzkl\feff\qynwh\atoms.inp') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\UI\Artemis.pm line 1388 Demeter::UI::Artemis::make_feff_frame('Wx::Frame=HASH(0x1522a180)', 'C:\Users\mhammer1\AppData\Roaming\demeter\stash\_dem_aaczdzkl\feff\qynwh\atoms.inp', 'CuCr2O4_I41-amd2_2006190') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\UI\Artemis\Project.pm line 351 Demeter::UI::Artemis::Project::read_project('HASH(0xf7cdf60)') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\UI\Artemis.pm line 996 Demeter::UI::Artemis::OnMenuClick('Wx::Frame=HASH(0x1522a180)', 'Wx::CommandEvent=SCALAR(0x15dc4558)') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\lib\Demeter\UI\Artemis.pm line 440 Demeter::UI::Artemis::__ANON__('Wx::Frame=HASH(0x1522a180)', 'Wx::CommandEvent=SCALAR(0x15dc4558)') called at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\bin\dartemis.bat line 50 eval {...} at C:\Users\mhammer1\AppData\Roaming\DemeterPerl\perl\site\bin\dartemis.bat line 50
So I guess I need to define a method name? What could it be and how do I define it? Thank you for your help (in advance!)
Best wishes,
Michelle
/Michelle Hammerton Msc./ University of Amsterdam
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
-- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Science Group at NSLS-II Building 743, Room 114 Upton NY, 11973 Homepage: http://bruceravel.github.io/home/ Software: https://github.com/bruceravel Demeter: http://bruceravel.github.io/demeter/
participants (2)
-
Bruce Ravel
-
Michelle Hammerton