Custom Query (241 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (82 - 84 of 241)

Ticket Owner Reporter Resolution Summary
#37 Malte Marquarding ttsutsum@… fixed reader.read error
Description

when I tried reader.read I got an error saying 'integrations' is used before assignment. (Note: since I am running ASAP2.0 from CASA new framework the output shown below may be different as the standard ASAP. I am also using python2.4.3.)

ttsutsum@minor[data]|7> scan=r.read()


exceptions.UnboundLocalError? Traceback (most recent call last)

/export/home/minor/alma/asaptest/data/<console>

/usr/lib/python2.4/site-packages/asap/asapreader.py in read(self)

56 from asap import scantable 57 from asap import asaplog

---> 58 if integrations is None:

59 integrations = [-1] 60 asaplog.push("Reading integrations from disk...")

UnboundLocalError?: local variable 'integrations' referenced before assignment

/usr/lib/python2.4/site-packages/asap/asapreader.py(58)read()

-> if integrations is None: ---

Tak Tsutsumi

#39 Malte Marquarding Erik M. wontfix reports illegal unit string for using scantable on multiple files - and a request.
Description

ASAP> s=scantable("../Data_MPCOR/2006-05-03_2100-M136.rpf","../Data_MPCOR/2006-05-03_2348-M136.rpf","../Data_MPCOR/2006-05-04_0524-M136.rpf") Auto averaging integrations Importing ../Data_MPCOR/2006-05-03_2100-M136.rpf...


Traceback (most recent call last):

File "<console>", line 1, in ? File "/usr/local/lib/python2.3/site-packages/asap/scantable.py", line 66, in init

self._fill([filename],unit, average)

File "/usr/local/lib/python2.3/site-packages/asap/scantable.py", line 1510, in _fill

self.set_fluxunit(unit)

RuntimeError?: Unit::check Illegal unit string '../Data_MPCOR/2006-05-04_0524-M136.rpf'


The file "../Data_MPCOR/2006-05-04_0524-M136.rpf" contains ok data, I can run scantable on it separately, with success.


I'm not sure of the best way to load in multiple files. At the moment, there is a problem with averaging multiple scans together so I'm using scantable. depending on the limitations, I'd suggest that having a limit of only 4 files is not very useful for those needing to average many files together. I have >10 files that I need to avaerage together, for example.

#40 Malte Marquarding juergen.ott@… fixed binary release assumes libboost_python-1.32, fails to run without it
Description

I downloaded

ftp://ftp.atnf.csiro.au/pub/software/asap/asap_linux.tar.bz2

on 2006-05-25

I was installing asap on Debian etch (testing) and received the following error message:

Loading ASAP...
------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/local/lib/python2.3/site-packages/asap/__init__.py", line
276, in ?
    from asap._asap import Log as _asaplog
ImportError: libboost_python-gcc-mt-1_32.so.1.32.0: cannot open shared
object file: No such file or directory

WARNING: Loading of asap failed.

------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 1, in ?
NameError: name 'welcome' is not defined

WARNING: Failure executing code: 'print welcome()'

ASAP>

I do have /usr/lib/libboost_python-gcc-mt-1_33_1.so.1.33.1

I also have the unversioned symlink /usr/lib/libboost_python.so - see here

  ls -l /usr/lib/libboost*
  lrwxrwxrwx 1 root root     36 2006-05-25 20:54 /usr/lib/libboost_python-gcc-1_33_1.so ->
      libboost_python-gcc-1_33_1.so.1.33.1
  -rw-r--r-- 1 root root 268716 2006-03-23 04:09 /usr/lib/libboost_python-gcc-1_33_1.so.1.33.1
  lrwxrwxrwx 1 root root     39 2006-05-25 20:54 /usr/lib/libboost_python-gcc-mt-1_33_1.so ->
      libboost_python-gcc-mt-1_33_1.so.1.33.1
  -rw-r--r-- 1 root root 268716 2006-03-23 04:09 /usr/lib/libboost_python-gcc-mt-1_33_1.so.1.33.1
  lrwxrwxrwx 1 root root     32 2006-05-25 20:54 /usr/lib/libboost_python.so ->
      libboost_python-gcc-mt-1_33_1.so

Is it not possible to have the code use different versions of this library?

Note: See TracQuery for help on using queries.