0
$\begingroup$

Why does saving a .m file in version 10 generate this error? Nothing appears when I click on the link. But it happens everytime I save a file and then the file is renamed to untitled-n file.

INTERNAL SELF-TEST ERROR: FileNotify|c|305
Click here to find out if this problem is known, and to help improve the Wolfram System by reporting it to Wolfram Research.

model1 = {
m1->
{
{
{ul'[t]==k1ps(100-ul[t])/(km1+(100-ul[t]))-k2pul[t]/(km2+ul[t])-k5pul[t]um[t]/(km5+ul[t])},
{um'[t]==k3p
uc[t](100-um[t])/(km3+(100-um[t]))-k4pum[t]/(km4+um[t])},
{uc'[t]==k6pul[t](100-uc[t])/(km6+(100-uc[t]))-k7p*uc[t]/(km7+uc[t])} },
{ul[0]==0.,um[0]==0.,uc[0]==0.0},
{k1p, km1, k2p, km2, k5p, km5, k3p, km3, k4p, km4, k6p, km6, k7p, km7},
{ul,um,uc}
}
}; #&/@{model1}>>"~/Documents/models.m" test=<<"~/Documents/models.m";

$\endgroup$
6
  • $\begingroup$ Do you mind sharing a Minimal Code Example with the community, reproducing the one error? $\endgroup$
    – user9660
    Commented Mar 18, 2015 at 15:10
  • $\begingroup$ @Lou, Sure the code above is an example that I just want to save... using standard methods, File->Save sort of things... $\endgroup$
    – tarhawk
    Commented Mar 18, 2015 at 15:22
  • $\begingroup$ I don't know how to respond to m_goldberg... $\endgroup$
    – tarhawk
    Commented Mar 18, 2015 at 15:25
  • $\begingroup$ Try to set your Dir with SetDirectory@NotebookDirectory[] and check your export Coding. $\endgroup$
    – user9660
    Commented Mar 18, 2015 at 15:31
  • $\begingroup$ Setting the Directory works and saving works for the first iteration... However the I discovered that the problem occurs on the subsequent saves. I've sent a note to wolfram to further investigate. Thanks for the reply @Lou $\endgroup$
    – tarhawk
    Commented Mar 19, 2015 at 16:30

1 Answer 1

1
$\begingroup$

Please run the following.

Directory[]

Next run the following

NotebookSave[Notebook[{}], FileNameJoin[{Directory[], "savetest.m"}]]

If you receive an error I would try reinstalling Mathematica.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.