mail[bug #21716] A RelaxError occurs when trying to save the state just after deleting the current data pipe.


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d Auvergne on February 23, 2014 - 22:19:
URL:
  <http://gna.org/bugs/?21716>

                 Summary: A RelaxError occurs when trying to save the state
just after deleting the current data pipe.
                 Project: relax
            Submitted by: bugman
            Submitted on: Sun 23 Feb 2014 09:19:15 PM UTC
                Category: relax's source code
Specific analysis category: None
                Priority: 3 - Low
                Severity: 2 - Minor
                  Status: None
             Assigned to: bugman
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 3.1.5
         Discussion Lock: Any
        Operating System: All systems

    _______________________________________________________

Details:

The following relax script demonstrates the problem:

=====
pipe.create('a', 'mf')
pipe.create('b', 'mf')
pipe.delete('b')
state.save('x')
=====


This executes as:

=====
relax> pipe.create(pipe_name='a', pipe_type='mf', bundle=None)

relax> pipe.create(pipe_name='b', pipe_type='mf', bundle=None)

relax> pipe.delete(pipe_name='b')

relax> state.save(state='x', dir=None, compress_type=1, force=False)
Opening the file 'x.bz2' for writing.
RelaxError: No data pipes currently exist.  Please use the pipe.create user
function first.
=====


Although the current pipe is unset, there is still information in the relax
data store which should be saved - the entire of the 'a' data pipe!




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21716>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/




Related Messages


Powered by MHonArc, Updated Mon Feb 24 11:00:09 2014