Opened 12 years ago

Closed 12 years ago

#263 closed defect (worksforme)

RuntimeError: Couldn't convert frequency frame.

Reported by: py08ja@… Owned by: Malte Marquarding
Priority: high Milestone: ASAP 4.0
Component: General Version: 1.0
Severity: major Keywords:
Cc:

Description (last modified by Malte Marquarding)

Hi all,

I'm running ubuntu 11.04 and am having problems running asap.

When I attempted to run: $ sudo asap_update_data

I received the following error:

Traceback (most recent call last):
  File "/usr/local/bin/asap_update_data", line 5, in <module>
    pkg_resources.run_script('asap==4.0.0', 'asap_update_data')
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 467, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1194, in run_script
    raise ResolutionError("No script named %r" % script_name)
pkg_resources.ResolutionError: No script named 'asap_update_data'

I assume this is the problem as when I then run ASAP after a few commands I get to a Runtime error:

ASAP>file ='2008-03-12_0932-M999.rpf'

ASAP>s = scantable (file, average=True)
Found ATMOPRA data.
Auto averaging integrations
Importing 2008-03-12_0932-M999.rpf...

ASAP>print s
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)

/home/jack/<ipython console> in <module>()

/usr/lib/pymodules/python2.7/asap/scantable.pyc in __str__(self)
    438     def __str__(self):
    439         tempFile = tempfile.NamedTemporaryFile()
--> 440         Scantable._summary(self, tempFile.name)
    441         tempFile.seek(0)
    442         asaplog.clear()

RuntimeError: Couldn't convert frequency frame.

This has been fixed in the past by doing sudo asap_update_data which I can't do.

Thanks for any help

Jack

Change History (2)

comment:1 Changed 12 years ago by Malte Marquarding

Description: modified (diff)

comment:2 Changed 12 years ago by Malte Marquarding

Resolution: worksforme
Status: newclosed

The next release will use a more traditional 'python setup.py install' mechanism so this should work.

Note: See TracTickets for help on using tickets.