Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when simulating into an MS with a BITFLAG column #108

Open
SpheMakh opened this issue Mar 10, 2021 · 0 comments
Open

Crash when simulating into an MS with a BITFLAG column #108

SpheMakh opened this issue Mar 10, 2021 · 0 comments
Labels

Comments

@SpheMakh
Copy link
Contributor

The error below goes away when I removed the BITFLAG column. Looks like an undefined variable in /usr/lib/python2.7/dist-packages/Cattery/Meow/MSUtils.py line 926

# 2021-03-10 12:45:57: Running meqtree-pipeliner.py  --mt 4 -c /stimela_mount/code/tdlconf.profiles [sim] ms_sel.ddid_index=0 ms_sel.field_index=0 ms_sel.msname=/stimela_mount/msdir/meerkat-hydra-selfcal.ms sim_mode="sim only" ms_sel.input_column=DATA ms_sel.output_column=MODEL_POINTS me.use_smearing=0 ms_sel.tile_size=256 /usr/local/lib/python3.6/dist-packages/Cattery/Siamese/turbo-sim.py =_simulate_MS
# Traceback (most recent call last):
#   File "/usr/lib/python2.7/dist-packages/Cattery/Meow/MSUtils.py", line 926, in _select_new_ms
#     self.flagsets = get_flagsets(ms);
#   File "/usr/lib/python2.7/dist-packages/Cattery/Meow/MSUtils.py", line 1465, in get_flagsets
#     fs.load(ms);
#   File "/usr/lib/python2.7/dist-packages/Cattery/Meow/MSUtils.py", line 1491, in load
#     print "Warning: unexpected type (%s) for %s keyword of BITFLAG column, ignoring"%(type(order),kw);
# UnboundLocalError: local variable 'order' referenced before assignment
# Traceback (most recent call last):
#   File "/usr/lib/python2.7/dist-packages/Timba/TDL/Compile.py", line 225, in run_forest_definition
#     define_func(ns,**args);
#   File "/usr/local/lib/python3.6/dist-packages/Cattery/Siamese/turbo-sim.py", line 179, in _define_forest
#     raise RuntimeError("MS not set up in compile-time options");
# RuntimeError: MS not set up in compile-time options
# Traceback (most recent call last):
#   File "/usr/bin/meqtree-pipeliner.py", line 147, in <module>
#     module,ns,msg = Compile.compile_file(mqs,script,config=section);
#   File "/usr/lib/python2.7/dist-packages/Timba/TDL/Compile.py", line 304, in compile_file
#     predef_args=predef_args,define_args=define_args,postdef_args=postdef_args);
#   File "/usr/lib/python2.7/dist-packages/Timba/TDL/Compile.py", line 294, in run_forest_definition
#     raise TDL.CumulativeError(*ns.GetErrors());
# CumulativeError:
#  [  1] MS not set up in compile-time options
# ### Starting meqserver
# ### Attaching to configuration file /stimela_mount/code/tdlconf.profiles
# ### Loading config section sim
# ### Setting option ms_sel.ddid_index=0
# ### Setting option ms_sel.field_index=0
# ### Setting option ms_sel.msname=/stimela_mount/msdir/meerkat-hydra-selfcal.ms
# ### Setting option sim_mode=sim only
# ### Setting option ms_sel.input_column=DATA
# ### Setting option ms_sel.output_column=MODEL_POINTS
# ### Setting option me.use_smearing=0
# ### Setting option ms_sel.tile_size=256
# ### Compiling /usr/local/lib/python3.6/dist-packages/Cattery/Siamese/turbo-sim.py
@SpheMakh SpheMakh added the bug label Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant