I'm almost sure that is a compatibility problem with the construct package. Try installing the 2.5.3 version of construct (not the most recent one) and try again.

Cheers,

Franco


-------- Original Message --------
Subject: [casper] corr problem; has something changed?
From: "'kuiper' via casper@lists.berkeley.edu"
To: LIST CASPER
CC:


In a miniconda environment I get this error

(DSSserver) kuiper@crux1:~$ python
Python 2.7.15 |Anaconda, Inc.| (default, Oct 10 2018, 21:32:13)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import corr
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/miniconda2/envs/DSSserver/lib/python2.7/site-packages/corr/__init__.py", line 11, in <module>
    import cn_conf, katcp_wrapper, log_handlers, corr_functions, bf_functions, corr_wb, corr_nb, corr_ddc, scroll, katadc, iadc, termcolors, rx, sim, snap, threaded
  File "/usr/local/miniconda2/envs/DSSserver/lib/python2.7/site-packages/corr/corr_wb.py", line 13, in <module>
    construct.Flag('tvgsel_noise'),             # 20
TypeError: 'Flag' object is not callable

It does not occur in the non-conda, system environment.  Why is that, and what do I do about it?

Thanks

Tom

--
You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/a363af1e-cf23-4cfb-4412-d8892b2e676b%40jpl.nasa.gov.

--
You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/o6spb6cbaz5ehm3251-ysj0tu-rlveqc-lqx5s1xdg2xb-914en2-h4sr4bnvjaf-so85n2oxln99rv6l7ughjk1g-cozz856oam9su8frkr-2mjjnpl3gus6-h9e2t75s7arkq4vjy-m2s34o-8f9h49.1566010766069%40email.android.com.

Reply via email to