Re: [Ifeffit] Unable to Import Data In Athena

2020-09-03 Thread Ravel, Bruce

Aha!  Attached log file.  Sorry.  Didn't notice that on my phone :(

I concur with Matt about Larch.

And at the risk of irking Matt, you could try forcing the use of 
Ifeffit.  While maybe not the best choice, it would isolate problems 
with Demeter from problems with Larch and your python installation.

B





On 9/3/20 11:00 AM, Matt Newville wrote:
> Hi Angshuman,
> 
> The logfileyou attached says that Athena is using Larch and that is 
> where the error is coming from.
> A few comments on that:
>    a) it looks like it is using Python 2.7 which actually has not been 
> supported for xraylarch for some time now (well over a year)
>    b) that the `pyfai` module is not installed, which should not be 
> required but is what is causing the actual error.
> 
> Having `pyfai` not installed should not cause an error, but this all 
> suggests that your xraylarch installation is quite all.
> I would suggest reinstalling xraylarch using Python3 and see if that 
> fixes the problem.
> 
> 
> 
> On Thu, Sep 3, 2020 at 8:57 AM Angshuman Gupta  > wrote:
> 
> Dear sir,
> I am new to this mailing list and excuse me if the question had
> already been asked. I am not able to import data in the Athena
> software. I tried to import some of the examples data like
> Fe_lepidocrocite.000 in the Fe standards folder while importing the
> data I encountered an error (screenshot has been attached along with
> the log file generated in the terminal).
> I am using Linux Mint 18.3 Sylvia OS and perl 5, version 22,
> subversion 1 (v5.22.1).
> I followed the instruction for installation here
> 
> "https://bruceravel.github.io/demeter/documents/SinglePage/demeter_nonroot.html
> 
> "
> I will be thankful if you could suggest something to getting rid of
> this issue.
> Thank you
> Angshuman Gupta
> PhD scholar
> IIT Bombay
> ___
> 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
> 
> 
> 
> --Matt
> 
> ___
> 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   bra...@bnl.gov

  National Institute of Standards and Technology
  Synchrotron Science Group at NSLS-II
  Lead Beamline Scientist, 6BM (BMM)
  Building 743, Room 114
  Upton NY, 11973

  Homepage:http://bruceravel.github.io/home/
  Beamline:https://www.bnl.gov/ps/beamlines/beamline.php?r=6-BM
  Software:https://github.com/bruceravel
  Demeter: http://bruceravel.github.io/demeter/

___
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


Re: [Ifeffit] [Ext] Unable to Import Data In Athena

2020-09-03 Thread Carlo Segre
Hi Angshuman:

WIthout seeing the data file, it is hard to say but my guess is that there
is something in the header of the file before the data that athena is not
able to parse and since there is no filter for that specific file, it
complains.  Try removing all the header information before the data columns
start and see if that helps.  YOu can then start to put back the header
lines one by oneto find the problem.  It could be as simple as having had
the user type in something ina comment line that begins with a number.

Carlo

On Thu, Sep 3, 2020 at 8:57 AM Angshuman Gupta 
wrote:

> Dear sir,
> I am new to this mailing list and excuse me if the question had already
> been asked. I am not able to import data in the Athena software. I tried to
> import some of the examples data like Fe_lepidocrocite.000 in the Fe
> standards folder while importing the data I encountered an error
> (screenshot has been attached along with the log file generated in the
> terminal).
> I am using Linux Mint 18.3 Sylvia OS and perl 5, version 22, subversion 1
> (v5.22.1).
> I followed the instruction for installation here "
> https://bruceravel.github.io/demeter/documents/SinglePage/demeter_nonroot.html
> "
> I will be thankful if you could suggest something to getting rid of this
> issue.
> Thank you
> Angshuman Gupta
> PhD scholar
> IIT Bombay
> ___
> 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
>


-- 
Carlo U. Segre -- Duchossois Leadership Professor of Physics
Director, Center for Synchrotron Radiation Research and Instrumentation
Illinois Institute of Technology
Voice: 312.567.3498Fax: 312.567.3494
se...@iit.edu   http://phys.iit.edu/~segre   se...@debian.org
___
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


Re: [Ifeffit] Unable to Import Data In Athena

2020-09-03 Thread Ravel, Bruce


I do not recognize that error message.  I would need to see what is 
written underneath the details button and/or what is written in green 
text in the terminal window behind Athena.

B


On 9/3/20 9:56 AM, Angshuman Gupta wrote:
> Dear sir,
> I am new to this mailing list and excuse me if the question had already 
> been asked. I am not able to import data in the Athena software. I tried 
> to import some of the examples data like Fe_lepidocrocite.000 in the Fe 
> standards folder while importing the data I encountered an error 
> (screenshot has been attached along with the log file generated in the 
> terminal).
> I am using Linux Mint 18.3 Sylvia OS and perl 5, version 22, subversion 
> 1 (v5.22.1).
> I followed the instruction for installation here 
> "https://bruceravel.github.io/demeter/documents/SinglePage/demeter_nonroot.html
>  
> "
> I will be thankful if you could suggest something to getting rid of this 
> issue.
> Thank you
> Angshuman Gupta
> PhD scholar
> IIT Bombay
> 
> ___
> 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   bra...@bnl.gov

  National Institute of Standards and Technology
  Synchrotron Science Group at NSLS-II
  Lead Beamline Scientist, 6BM (BMM)
  Building 743, Room 114
  Upton NY, 11973

  Homepage:http://bruceravel.github.io/home/
  Beamline:https://www.bnl.gov/ps/beamlines/beamline.php?r=6-BM
  Software:https://github.com/bruceravel
  Demeter: http://bruceravel.github.io/demeter/

___
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


Re: [Ifeffit] Unable to Import Data In Athena

2020-09-03 Thread Matt Newville
On Thu, Sep 3, 2020 at 10:11 AM Ravel, Bruce  wrote:

>
> Aha!  Attached log file.  Sorry.  Didn't notice that on my phone :(
>
> I concur with Matt about Larch.
>
> And at the risk of irking Matt, you could try forcing the use of
> Ifeffit.  While maybe not the best choice, it would isolate problems
> with Demeter from problems with Larch and your python installation.
>

You can use ifeffit.  It is just not supported and has known limitations
and problems that will not ever be fixed.
___
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


Re: [Ifeffit] Unable to Import Data In Athena

2020-09-03 Thread Matt Newville
Hi Angshuman,

The logfile you attached says that Athena is using Larch and that is where
the error is coming from.
A few comments on that:
  a) it looks like it is using Python 2.7 which actually has not been
supported for xraylarch for some time now (well over a year)
  b) that the `pyfai` module is not installed, which should not be required
but is what is causing the actual error.

Having `pyfai` not installed should not cause an error, but this all
suggests that your xraylarch installation is quite all.
I would suggest reinstalling xraylarch using Python3 and see if that fixes
the problem.



On Thu, Sep 3, 2020 at 8:57 AM Angshuman Gupta 
wrote:

> Dear sir,
> I am new to this mailing list and excuse me if the question had already
> been asked. I am not able to import data in the Athena software. I tried to
> import some of the examples data like Fe_lepidocrocite.000 in the Fe
> standards folder while importing the data I encountered an error
> (screenshot has been attached along with the log file generated in the
> terminal).
> I am using Linux Mint 18.3 Sylvia OS and perl 5, version 22, subversion 1
> (v5.22.1).
> I followed the instruction for installation here "
> https://bruceravel.github.io/demeter/documents/SinglePage/demeter_nonroot.html
> "
> I will be thankful if you could suggest something to getting rid of this
> issue.
> Thank you
> Angshuman Gupta
> PhD scholar
> IIT Bombay
> ___
> 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
>


--Matt
___
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