Questions tagged [warning-messages]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
48
votes
4answers
10k views

Why does MatrixForm affect calculations?

This is a really newbie question, but it has me confused. Why does this code work without // MatrixForm and doesn't work with ...
38
votes
7answers
8k views

Importing a large Excel file

I'm trying to import a simple Excel file containing 94,000 rows and 52 columns of various types, mostly Reals. It's a 38-MB file. I get this super helpful error ...
36
votes
2answers
9k views

Mathematica stuck in “running” for every calculation I attempt, kernel error

Bug introduced in 11.1.1 and fixed in 11.1.1 Bug was caused by a paclet update and fixed by a paclet update. I downloaded Mathematica this morning to do an implicit polar plot. I attempt to run the ...
35
votes
3answers
2k views

No warning when extrapolating with Plot

One of the most annoying "features" of Mathematica is that the Plot family does extrapolation on InterpolatingFunctions without ...
30
votes
4answers
41k views

How do I identify the source of a “Tag times protected” error?

I have some code that looks like Table[ a = 1; b = {2, 3} c = i;, {i, 2} ] which gives an error: Set::write: Tag Times in c {2,3} is Protected....
27
votes
3answers
23k views

General::ivar is not a valid variable when plotting - what actually causes this and how to avoid it?

I was just evaluating a couple of expressions and started to get errors like this: ...
27
votes
5answers
2k views

How to catch complete error message information, including the message text as it would be printed?

If I evaluate this expression: Module[{}, 1/0;0^0]; msg = $MessageList I get: ...
25
votes
2answers
3k views

Using a compiled function inside NIntegrate gives “CompiledFunction::cfsa” message

The following function is defined for Real input: ...
24
votes
3answers
4k views

What is an “INTERNAL SELF-TEST ERROR”?

I got this all the time after updating to 9.0 (OS 10.8.2): That's Clipboard|c|3015 for the benefit of anyone searching. The error went away with 9.0.1, but a version has reappeared (multiple times ...
23
votes
6answers
21k views

How to get rid of warnings when using Solve on an equation with inexact coefficients?

When I solve this equation in Mathematica 8, I can get the right answer, but with some uncomfortable warnings. Equation: ...
22
votes
2answers
9k views

Can Reduce *really* not solve for x here?

Sometimes I get the feeling I'm just flailing blindly with Mathematica. Is solving for $x$ in the equation $$ \frac{\cosh (x/2)}{x} = \sqrt{2} $$ really beyond the scope of Mathematica? I try to ...
21
votes
5answers
1k views

Take screenshot of the entire desktop using Mathematica

Is it possible to get a screenshot of the entire desktop directly in Mathematica? I am on Ubuntu running Mathematica 8. For some reason GUIScreenShot[] fails. But ...
21
votes
1answer
551 views

ClearAll::clloc - “Cannot clear local variable x” in Block[{x}, …] - why?

Block[{x}, ClearAll@x] ClearAll::clloc: Cannot clear local variable x. The documentation just says An error occurs because ClearAll cannot be used with a ...
19
votes
4answers
2k views

Using Position (which requires a pattern) in the same manner as Select (which requires a criterion)

I am using Mathematica7. I have a list of lists (creatively named list in the following sample code) containing data. I would like to find the positions of the ...
18
votes
2answers
1k views

Error “Throw::nocatch: Uncaught Throw[False] returned to top level” given each time I open a new Mathematica 10.1 session

Bug fixed in 10.1.0 via paclet update Since a few days now, each time I open a new Mathematica session I get the small red error popup window with the error messages: ...
18
votes
1answer
1k views

Quiet doesn't work with FindRoot when using Brent method

Bug introduced in 9.0.1 or earlier and persisting through 12.2 The following has no solution: FindRoot[x == 1, {x, 0.25, 0, 0.5}] And Mathematica correctly warns ...
16
votes
1answer
542 views

Plotting the eigenmodes of a cylindrical shell

There are many examples of eigenmodes computations for surfaces with Mathematica, such as: https://www.wolfram.com/mathematica/new-in-10/pdes-and-finite-elements/solve-a-wave-equation-in-2d.html, ...
15
votes
2answers
576 views

How to find a specific error message?

Is there a way to find an existing error message in the System` context, that is used for a certain case? I want to include a message in a custom function that ...
15
votes
2answers
3k views

NIntegrate error bound

I am trying to evaluate a highly oscillatory integral using NIntegrate. I fear that due to limited resources (time and/or memory), I will not be able to evaluate the integral to the desired precision. ...
15
votes
1answer
12k views

How do I prevent NIntegrate::inumr errors within other functions?

I believe this question is best illustrated with a simple example. If I run FunctionInterpolation[NIntegrate[a + b, {a, 0, 1}], {b, 0, 1}] I get errors of the ...
15
votes
1answer
2k views

Finding a Specific Line in a Package

In a package I am developing, I accidentally left this line Protect[ uncompleted prior to running the package. Mathematica produced this error message ...
14
votes
4answers
7k views

What is the cleanest way to prevent divide-by-zero warnings?

If I evaluate {1, 2, 3, 4}/{5, 6, 0, 8}, obviously I get one warning: ...
14
votes
2answers
2k views

How to find out where an error occurs?

I got this error when using Mathematica: ...
14
votes
2answers
873 views

Is FrameTicks broken in 10.1.0?

On my system, Mathematica 10.1.0 under Windows, none of these FrameTicks documentation examples work correctly: ...
13
votes
2answers
3k views

Why is this semicolon in red?

I have a piece of code that works well, but when I put a semicolon after a plotting statement, the semicolon appears in red. What's the error?
13
votes
4answers
6k views

DSolve not finding solution I expected

Try to solve the following ODE via DSolve $$ \left\{\begin{aligned} y'(x)+2 y(x) e^x-y(x)^2 &= e^{2 x}+e^x \\ y'(0) &=1 \end{aligned}\right. $$ The ...
12
votes
3answers
581 views

Why does MatrixFunction with Sinc return this error?

The following: mat = {{1., -3, -2}, {-1, 3, -2}, {0., 0., 0.}} MatrixFunction[Sinc, mat] returns: ...
12
votes
1answer
2k views

What does the message 'This file contains potentially unsafe …' mean and how serious is it?

I had some Mathematica files on over which recently I have faced to this message: However, after searching, I have seen some blogs in Mathematica SE or in somewhere else about that, but I could not ...
12
votes
1answer
771 views

Why does 1 - Exp[-10.0^12] cause an out-of-memory error?

I would like to understand why evaluation of the expression 1 - Exp[-10.0^12] causes an out-of-memory error and how can I prevent such errors when calculating ...
12
votes
1answer
431 views

SymplecticPartitionedRungeKutta shows strange error

Bug introduced in 9.0 and fixed in 11.3.0 or earlier I tried to solve Hamiltonian system ($Q$ is a vector of all generalized coordinates, $P$ - of generalized momentum) $$ \frac{\mathrm{d} Q}{\mathrm{...
12
votes
1answer
396 views

StringMatchQ and Alternatives throws message in init.m

Bug fixed in 11.2.0 The report of this issue, which itself relates to code of my answer here, exposed a behavior I cannot explain. If I use StringMatchQ in ...
12
votes
1answer
1k views

Safe way to put a pattern on the right hand side of a rule

I'm interested in creating a function or rule that generates its own set of rules. For instance, it would take as an input the expression h[m, n] and the indices <...
12
votes
1answer
169 views

Bug with Compile and Log2?

It seems that Log2 in Compile gives numerical errors (CompiledFunction::cfn) if the input is ...
11
votes
3answers
633 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 ...
11
votes
2answers
4k views

Modifying parameters: Set::setps in the part assignment is not a symbol [duplicate]

Ok, this will probably be a silly question, but I can't get my head around it. I'm making a simple module that, given a list and two integers, will swap the position of the elements in the list.(...
11
votes
2answers
3k 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. <...
11
votes
3answers
253 views

Inaccurate result from ImplicitRegion

I'm trying to describe the intersection of two cylinders by an ImplicitRegion (in order to use it in NDSolve later). ...
11
votes
2answers
2k views

How to show error messages in current notebook?

I would like Mathematica to print error messages in current notebook together with output. This is default option in Mathematica, but recently I turned it off somehow. Now, I am getting output in ...
11
votes
1answer
524 views

Compilation of Total with compensated summation

I sometimes obtain an unexpected error when trying to call a compiled version of Total with compensated summation turned on. More specifically I define ...
11
votes
4answers
545 views

Incompatibility of Row and TeXForm

Bug introduced in 9.0 and persisting through 11.0 Update: Since no one has been able to give a reason for this change in behavior or provide a solution I am tagging this as a bug. Please report it ...
11
votes
1answer
39k views

What does “Tag Integer is Protected” message mean?

(Newbie question) For every function I define I get this message: When I close and reopen Mathematica, and re-enter the function definition, I don't get the message anymore. What does it mean?
11
votes
1answer
2k views

Differences between DSolve and NDSolve

I have a question about the difference in the solution between DSolve and NDSolve. I want to solve the Friedmann equation of \...
11
votes
1answer
365 views

Benchmark report seems to be slightly broken in 11.3.0

I am trying to use 11.3 to Benchmark. Something is strange in the opened report. And the Message said, What's up?
11
votes
1answer
752 views

How to use an external GPU to train neural networks in Mathematica?

Taking steps in the uncharted territories of eGPUs, I have installed an NVIDIA GeForce Titan Xp GPU on an eGPU enclosure (Mantiz MZ-02) and have connected it to my laptop (HP Spectre x360 - 15-bl075nr ...
10
votes
5answers
315 views

Overflow with NDSolve

Backslide introduced in 10.0, persisting through 12.1. I am trying to solve the following differential equation and plot the result: ...
10
votes
2answers
1k views

Solving/Reducing equations in $\mathbb{Z}/p\mathbb{Z}$

I was trying to find all the numbers $n$ for which $2^n=n\mod 10^k$ using Mathematica. My first try: Reduce[2^n == n, n, Modulus -> 100] However, I receive ...
10
votes
2answers
1k views

Indeterminate expression 0^0 encountered

I'm new to Wolfram Mathematica so the the question may seem quite simple. I define the following function: ...
10
votes
2answers
859 views

Interpolating an Antiderivative

I'd like to be able to make InterpolatingFunctions for antiderivatives of functions that can't be integrated symbolically. However, the following code returns ...
10
votes
2answers
587 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: ...
10
votes
1answer
2k views

How to switch off messages on all kernels?

I am using ParallelMap for my code,however, it gives some messages that don't affect the evaluation process but fill up the memory and take some more time. So, I ...

1
2 3 4 5
24