does mnesia:load_textfile still work ?

Hakan Mattsson hakan@REDACTED
Tue Aug 8 12:09:26 CEST 2000


On Sun, 30 Jul 2000, Luc Taesch wrote:

Luc> i cant make mnesia:load_textfile work.
Luc> 
Luc> the file i use is created from a dump_to_textfile, and is very basic
Luc> 
Luc> i got the message:
Luc> 
Luc> ***table funky already exists, just entering data
Luc> 
Luc> {aborted,{no_exists,funky}}
Luc> 
Luc> and no data are entered, nor table created.
Luc> 
Luc> textfile:{tables,[{funky,[key,val]}]}.
Luc> 
Luc> {funky,k1,v1}.

Try with a textfile containing:

	{tables,[{funky,[{attributes, [key,val]}]}]}.
	{funky,k1,v1}.

or simply:

	{tables,[{funky,[]}]}.
	{funky,k1,v1}.

/Håkan

---
Håkan Mattsson
Ericsson
Computer Science Laboratory
http://www.ericsson.se/cslab/~hakan




More information about the erlang-questions mailing list