Giter VIP home page Giter VIP logo

Comments (3)

mperrin avatar mperrin commented on June 2, 2024

Comment by josePhoenix
Thursday Oct 09, 2014 at 20:02 GMT


After installing Python 2.6.9 through conda, and master from josephoenix/poppy and josephoenix/webbpsf, this is the error I was getting:

$ python
Python 2.6.9 |Continuum Analytics, Inc.| (unknown, Jan 10 2014, 13:33:57)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import webbpsf
WebbPSF log messages of level INFO and above will be shown.
WebbPSF log outputs will be directed to the screen.
>>> webbpsf.Instrument('NIRCam')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/jlong/src/webbpsf/webbpsf/webbpsf_core.py", line 1288, in Instrument
    if name == 'nircam': return NIRCam()
  File "/Users/jlong/src/webbpsf/webbpsf/webbpsf_core.py", line 871, in __init__
    self.detector=self.detector_list[0]
  File "/Users/jlong/src/webbpsf/webbpsf/webbpsf_core.py", line 262, in detector
    self._detector = DetectorGeometry(self.name, siaf_aperture_name, shortname=detname)
  File "/Users/jlong/src/webbpsf/webbpsf/webbpsf_core.py", line 1343, in __init__
    self.mysiaf = SIAF(instr=self.instrname, basepath=os.path.join( utils.get_webbpsf_data_path(), self.instrname) )
  File "/Users/jlong/src/webbpsf/webbpsf/jwxml.py", line 576, in __init__
    for entry in self._tree.getroot().iter('SiafEntry'):
AttributeError: iter
>>>

from webbpsf.

mperrin avatar mperrin commented on June 2, 2024

Comment by mperrin
Wednesday Nov 05, 2014 at 23:31 GMT


Just a comment here I agree with all of the above, and we should just update the docs to say >= 2.7.

from webbpsf.

mperrin avatar mperrin commented on June 2, 2024

Comment by josePhoenix
Wednesday Dec 10, 2014 at 15:59 GMT


Closed by #27

from webbpsf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.