close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#576 closed defect (fixed)

BDBOpen can not be used without a Structure Name of field register

Reported by: César Pérez Álvarez Owned by: Víctor de Buen Remiro
Priority: normal Milestone:
Component: SetAlgebra Version: 1.1.6
Severity: major Keywords:
Cc:

Description

Hi,
when i try to use BDBOpen with a plain text file without a stucture like this

test.txt


Campo 1;Campo 1;Campo 1;Campo 1
2;4;;t
2;e;r;
3;;f;e

Campo3;Campo3;Campo3;


Tol makes this error

ERROR: [1] [Stack Manager FATAL]
Cannot push unnamed structures.

when I can read file with this

Text pathCSV = "test.txt";
Set dataCSV = BDBOpen(pathCSV, 0, ";", "", "");
Real regNum = dataCSV->RegNumber;
Set tabla = For(1, regNum, Set(Real k){ BDBReg(dataCSV, regNum) });

The description of the function says that if we do not want to use a Struct we can pass the "" string.

Change History (5)

comment:1 Changed 17 years ago by César Pérez Álvarez

Summary: BDBOpen can not use without a Field StructureBDBOpen can not be used without a Field Structure

Please modify summmary with this "BDBOpen can not be used without a Structure Name of field register"

comment:2 Changed 17 years ago by Víctor de Buen Remiro

Summary: BDBOpen can not be used without a Field StructureBDBOpen can not be used without a Structure Name of field register

comment:3 Changed 17 years ago by Víctor de Buen Remiro

Owner: changed from danirus to Víctor de Buen Remiro

comment:4 Changed 16 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: newclosed

Problem has been solved

Thanks for reporting and sorry for delay

comment:5 Changed 16 years ago by Víctor de Buen Remiro

(In [665]) Ensuring Struct name is not empty String
Fixes #576

Note: See TracTickets for help on using tickets.