For questions on interpreting existing error messages that you have encountered, as well as writing and managing messages, assertions and checks for your own functions.

learn more… | top users | synonyms

0
votes
0answers
27 views

“NotebookPredictions” [on hold]

I have deleted Mathematica user folder, as well as reinstalled Mathematica, but I keep getting error message: The front end encountered an error while processing a "NotebookPredictions" packet. What ...
0
votes
1answer
36 views

Easy NMinimize does not converge

I try to minimize the following for a>0: f[a_] := Gamma[3]*a^(-3)*(Integrate[Exp[-u]*(u - a)*1/u, {u, a, Infinity}])^(-1) I put in ...
4
votes
1answer
95 views

How can I prevent a Plot expression from evaluating points forbidden by its RegionFunction?

I just ran into this and it had me scratching my head for a good while. Say I have a function which may produce error messages for certain inputs, like e.g. ...
1
vote
2answers
81 views

Getting messages Rest::norest and Divide::indet from ContourPlot3D

Ok I don't know if it's a bug or what, but here's what I found: If I use this function: ...
0
votes
1answer
26 views

Union::normal: Nonatomic expression expected when using Uncompress

I saved a expresion to a file like this Export["file.dat",Compress@myExpression]; Then (i don't know why) when I import the file i get the compressed expresion ...
0
votes
0answers
67 views

Caching RecursionLimit::reclim error

I am learning how to catch exceptions, RecursionLimit::reclim in particular. To see how it works, I came up with the following example: ...
2
votes
0answers
51 views

Locate Blow-up in NDSolve with Whenevent

At some point I get this error: ...
0
votes
1answer
43 views

Problem with Label in a Do loop, “nolabel” [closed]

Can someone tell me why this code doesn't work and how to fix it ? Thanks. ...
1
vote
1answer
37 views

FindFit::nrlnum What am I doing wrong?

I have a model called qobs: ...
0
votes
1answer
43 views

How to save numbers that are in Mathematica messages

I have a program that calls FindDistributionParameters and I get the Mathematica message FindMaximum::eit each time I call the function. The message is FindMaximum::eit: The algorithm does not ...
1
vote
2answers
52 views

CDF of TransformedDistribution Not Returned And No Error Message Produced

I am unable to get Mathematica to return the CDF of a distribution produced by TransformedDistribution. It "executes" for 6 hours on my machine and then returns a blank plot. Could someone execute the ...
0
votes
0answers
26 views

Reading Error Message from Mathematica using Mathlink C++

I am developing an UI on Visual Studio C++ and communicating with Mathematica using Mathlink. I create a function via Mathlink and in that function, I coded in such a way that it gives a message ...
0
votes
0answers
50 views

INTERNAL SELF-TEST ERROR: Printing|c|3616

Every time, when I open the Mathematica V9, the messages window always shows the following: INTERNAL SELF-TEST ERROR: Printing|c|3616 Information:GetDefaultPrinterDevice failed with Windows System ...
0
votes
1answer
55 views
0
votes
0answers
67 views
1
vote
1answer
78 views

OpenSQLConnection error

I used to be able to connect to a SQL Server database. I haven't run this program for a few months. I tried it today and it failed, so I went back to try OpenSQLConnection[] and got the following ...
0
votes
1answer
30 views

Error about limit MaxExtraPrecision

After my evaluations I have an error: N::meprec: Internal precision limit $MaxExtraPrecision=50. reached while evaluating ... ...
3
votes
1answer
95 views

Set gives an unexpected error message (Set::partw)

Here is a minimal example: s = 1 /(a + b[3]) + 1 /(2 a + b[3]); s[[1]] = Sum[s[[1]] /. b[3] -> k, {k, 3}] s[[4]] s[[4]] = Sum[s[[4]] /. b[3] -> k, {k, 3}] ...
4
votes
1answer
82 views

Issues with $MachineEpsilon

I'm attempting to add $MachineEpsilon to numbers I am pulling from the domains of 3 interpolating functions. I pulled 3 numbers, and for one of these numbers adding ...
0
votes
1answer
52 views

Export/Copy + Paste a plot from Mathematica Trial Version to TeX editor

I wish to get a view plots from Mathematica trial version into a TeX editor, but cannot seem to do it (unless I print the screen and crop the image which leads to bad quality). Is there a way in which ...
1
vote
0answers
67 views

CountryData -> $Failed

Today I started researching the "Four colours theorem" and to do so I need data, regions for example. I tried using the following line: ...
0
votes
0answers
77 views

Problem with strings imported from PDFs

I am currently working with a list containing around 20 strings which contain around 30,000 characters each. The strings are imported from PDFs and the list containing all the strings is assigned to a ...
6
votes
1answer
114 views

Is it possible to disable assumptions used by FullSimplify for zero testing [closed]

Sometimes when I invoke FullSimplify on a large expression, I get a series of messages like this: ...
1
vote
1answer
83 views

How can I pass in parameters for multiple controls to a function that returns a Manipulate?

For instance, I have a some "commands" that I use regularly, for example: ...
5
votes
2answers
133 views

How to switch off all messages?

How can I want to switch off all messages in a Mathematica session? Quiet[expr] allows me to evaluate expr without messages. ...
1
vote
1answer
108 views

Suppress warnings in ParallelTable

I'm using ParallelTable to evaluate a function that involves NIntegrate. There are a lot of ...
1
vote
1answer
112 views

Why do I get an error message when for this type of recursion?

When I type the following code: mus[] = 0; mus[x__] := First[List[x]] + mus[Rest[List[x]]] What one would think would happen is that if, ...
0
votes
0answers
46 views

Where do Messages generated by Menu commands go?

I've created a custom menu in the Mathematica title bar (by editing MenuSetup.tr) that executes code using KernelExecute. These ...
3
votes
0answers
141 views

Numerically solving a system of PDEs where one function is composed with the other

I'm trying to solve the following system using NDSolve: $$ \begin{align} u_t(x,t) &= u_{xx}(x,t) - v(x,t) \\ v_t(x,t) &= u(v(x,t),t) \end{align} $$ with ...
-1
votes
1answer
92 views

Efficient Table Generation & NDSolve Error

I'm currently working on solving an SEIR model with data from the CDC. I've created a function to calculate the Square difference for the model and want to create a table of values for the 4 variable ...
6
votes
2answers
178 views

Using Read for calling external command does not release file handle

The standard and robust method for piping to/from external commands under Windows is to create a temporary file, save the input into it, pipe it to the command and save its output to a second file. ...
0
votes
1answer
95 views

Problem evaluating results of DSolve (Power::infy)

So, after browsing through older posts to see if anybody else could have had the same problem, I have come to the conclusion that I am stuck. That bothers me, especially because it should be straight ...
1
vote
1answer
76 views
2
votes
1answer
141 views

Mathlink works strangely

I have problem when using mathlink, the source code is quite simple: ...
9
votes
0answers
83 views

How to capture implicit fails in Plot or Show? [duplicate]

How can I make a construct similar to C++ functions: try{} catch{} I want to use it to avoid showing a lot of errors in the plot area when for example one of the ...
0
votes
2answers
147 views

Plotting problem

I was wondering why I keep receiving the error message "Derivative should be a triple of numbers, or scaled form" from the following code ...
3
votes
3answers
255 views

StreamPlot using NDSolve gives error messages

StreamPlot[{x[0], x'[0]} /. NDSolve[{x''[t] == 1, x'[0] == v0, x[0] == x0}, {x, x'}, {t, 0, 1}], {x0, -2, 2}, {v0, -2, 2}] The above code gives me the errors ...
3
votes
2answers
140 views

Need help with exception handling

I have read the docs for Catch, Throw, and friends multiple times, and I confess that I find them utterly incomprehensible... ...
2
votes
1answer
156 views

RevolutionPlot3D: Inconsistency between Mathematica 8/Linux and Mathematica 9/OSX

The following code runs error-free in Mathematica 8.0 under Linux. ...
0
votes
1answer
485 views

Reassign Functions for Graphic Representation [closed]

How might I construct a function of the form Rep[defs,code], graphic[code] and display[code] ...
6
votes
1answer
86 views

Error when putting ??symbol in a cell with another expression

Putting ??symbol in a cell and another expression in a different row of the cell returns the following error: ??symbol 1 + 2 ...
1
vote
1answer
92 views

Error when using FullForm with ?symbol

Information[symbol] shows information about a symbol and is equivalent to ?symbol. ...
1
vote
2answers
222 views

Error using Solve on Matrix Multiplication

I am trying to make a function the will find that value of $x$ in the following equation: $x.a=b$ all values of $x, a, b$ are matrices. The dimensions of $x$ are unknown, but $a$ and $b$ have the ...
0
votes
2answers
80 views

Cases Message Valid Notebook Structure

Note: Spelunking will likely be needed. Execute the following. You should get back and error along the lines of First::first:... This error is unimportant except ...
1
vote
2answers
110 views

Is this integration error from a misuse of Mathematica or is it my poor math skills?

I have input this: Integrate[1, f[t]*Exp[(v/V)*t]] That is $\large\int 1*d(f(t)*e^{\frac{v}{V}*t})$ I expected this output: $\large f(t)*e^{\frac{v}{V}*t} + C$ ...
9
votes
2answers
299 views

Symbolic integration fails while numerical integration succeeds

I am hoping to evaluate the following integral Integrate[((r^3 - 7)^(2/3)*(1 - (r^3 - 7)^(2/3)/r^2))/r^3, {r, 2, Infinity}] but Mathematica informs me that this ...
3
votes
1answer
187 views

Exception/Error handling using returns codes

There is good explanation available for error handling on this and similar links. Here there is information on handling inappropriate input arguments and handling unprocessed functions using ...
7
votes
2answers
238 views

Adding a constant vector to a vector differential equation seems to break NDSolve. Why?

I'm trying to solve a differential equation that's phrased in terms of matrices and vectors. My minimum working example is this: ...
2
votes
0answers
80 views

“LinkOpen::linke : specified file is not a mathlink executable”

The following code runs fine if I run it interactively: ...