weird mneisa/escript problem in r13
Garry Hodgson
garry@REDACTED
Tue Nov 3 05:45:48 CET 2009
i am using mnesia from within some escript code, and i cannot get
it to work on both r13b01 and r13b02-2. the error occurs when i call
mnesia:create_schema( [Node] ). i specify an mnesia dir on line 2 of
the escript code using one of:
1) %%! -mnesia dir '"test/bunderl"'
2) %%! -mneisa dir "test/bunderl"
when i use version 1, it works on r13b01, but fails on r13b02-2 with:
{"Cannot create Mnesia dir",
"/home/garry/admin/\"test/bunderl\"", enoent}}
and yes, the appropriate dirs exist, and it fails the same if i clean
it out between runs. i am running it from /home/garry/admin, and
test/bundle exists and is writable and all that.
when i use version 2, it works on r13b02-2, but fails on r13b01 with:
=ERROR REPORT==== 2-Nov-2009::23:28:06 ===
application_controller: bad term: test/bunderl
escript: exception throw: {create_failed,bunderl@REDACTED,
{application_load_error,
{bad_environment_value,"test/bunderl"}}}
am i doing something wrong, or is there a bug in one or the other of
these releases?
--
Garry Hodgson
Lead Member of Technical Staff
AT&T Chief Security Office (CSO)
"This e-mail and any files transmitted with it are AT&T property, are
confidential, and are intended solely for the use of the individual or
entity to whom this e-mail is addressed. If you are not one of the named
recipient(s) or otherwise have reason to believe that you have received
this message in error, please notify the sender and delete this message
immediately from your computer. Any other use, retention, dissemination,
forwarding, printing, or copying of this e-mail is strictly prohibited."
More information about the erlang-questions
mailing list