Questions tagged [error]

Questions seeking help understanding error messages and fixing errors.

Filter by
Sorted by
Tagged with
4
votes
1answer
382 views

CreateCOMObject doesn't work on home edition

I can call an application named "PinPoint.Plate" with Visual Basic, Python and Mathematica version 8 but not with version 9. I can still call Excel though. How can I fix this? This is what I did: <...
0
votes
1answer
1k views

Evaluating FindRoot at different starting points on a grid

I'm trying to evaluate the roots of a complex function at different starting points on a grid using Do[Do[FindRoot[g[z], {z, j + k*I}], {j, 10}], {k, 10}]. However, ...
10
votes
1answer
1k 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 ...
2
votes
1answer
170 views

Differences between ParametricPlot3D and NIntegrate

I have a function $f : \mathbb{R} \rightarrow \mathbb{R}^3$ defined in a rather nasty way in mathematica however it's a smooth function and what not. I am interested in $f'[t]$ and when I run it ...
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.0 or later The following has no solution: FindRoot[x == 1, {x, 0.25, 0, 0.5}] And Mathematica ...
5
votes
2answers
938 views

How can I get WhenEvent to recognize criterion I specify?

Using NDSolve I want to solve a differential equation till a quantity which is a function of the dependent variables reaches a certain value. My functions and criteria are complicated, but I am able ...
2
votes
2answers
1k views

Solving set of non-linear simultaneous equations gives PolynomialGCD::lgrexp error - what next?

I'm trying to solve a set of six simultaneous non-linear equations to get a numerical answer using NSolve: ...
4
votes
1answer
564 views

Differential Equations with Matrices

I'm trying to implement the differential equation of a Cellular Neural Network in Mathematica as seen below: ...
1
vote
0answers
80 views

Consistently annoying error messages in Mathematica 9 [duplicate]

Possible Duplicate: Strange ::usage behavior in v9 Has anyone had any issues with a function, let's call it Function, which worked in Mathematica 8 getting the error message StringMatchQ::strse: ...
6
votes
1answer
1k views

How can I deal with an NDSolve::ivone message regarding boundary values?

I have a question regarding the error message: ...
3
votes
1answer
347 views

Font Issues: “Like Resource 58” error

I'm running Mathematica 9.0.0 on a Macbook Air with OSX 10.6.8 and I've recently started having issues with the font in the program. All special characters are being replaced with other characters in ...
2
votes
0answers
122 views

StringMatchQ error messages printed to console while main notebook is sitting idle [duplicate]

Possible Duplicate: Strange ::usage behavior in v9 I'm currently finishing up a Mathematica vector calculus package (MMA9.0 on Mac Os X), but have had a persistent problem that I haven't been ...
23
votes
2answers
3k views

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

The following function is defined for Real input: ...
-1
votes
1answer
249 views

Manipulate code creates error messages when file is opened

When I open the file containing the following code I get a series of error messages. Once I evaluate the cell with the code the error messages disappear. What is Mathematica doing when it opens a ...
3
votes
1answer
14k views

How do I troubleshoot when I get a Part::partd or a Part::partw error?

Mathematica has produced the following error message: Part::partd: Part specification ... is longer than depth of object? What is partd? I think I may have ...
12
votes
1answer
379 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 ...
2
votes
1answer
543 views

How can I remove unnecessary warning messages?

I updated Mathematica,CdfPlayer to new Version (9). I made a simple Application in Mathematica 9 and deployed into ...
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 ...
5
votes
1answer
266 views

What's wrong with this code to create a matrix?

Here is my code: ...
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 ...
1
vote
2answers
255 views

Error changing edge thickness in a GraphPlot

I'm having some problems with the Mathematica graphics inspector. I want to make a graph with the following code: ...
13
votes
2answers
526 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 ...
5
votes
1answer
217 views

Dealing with errors and resuming the code after one

How can I write my Mathematica code so that it resumes at a specific place if any Message is displayed during the execution of an expression? For example, in Visual ...
14
votes
2answers
2k 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. ...
34
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 ...
3
votes
2answers
1k views

Problem with NDsolve for a system of equations

I want to solve a system of differential equations which is not very complicated, but I cannot handle the problem with mathematica!! Please have a look at the problem and result and help me with your ...
2
votes
1answer
2k views

How to find local minima of a multivariate function with singularity?

I am working on a logistic regression problem which requires minimizing a cost function J[{theta0, theta1, theta2}, X, y] to find the optimal value for fitting ...
26
votes
4answers
30k 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....
1
vote
1answer
6k views

Stategies to avoid NIntegrate::slwcon error

I am trying to numerically evaluate an integral whose integrand depends on two parameters, say $(a,b)$ and when $b\gg 1$ I suspect (although it's not guaranteed) that the integrand is very small. Thus ...
2
votes
1answer
315 views

Fighting Less::nord at the root: Any unintended consequences?

After being plagued too much by Less::nord and companions, I've decided to try to fight it at the root: The comparison operators. I noticed that typically, the bad ...
2
votes
1answer
619 views

Skip one step of the loop if there is an NIntegrate::eincr message

Is there a possibility of skipping one step of a loop if in this step there appears an error like NIntegrate::eincr? After skipping, the loop should go to the next ...
4
votes
1answer
6k views

NonlinearModelFit::cvmit: Failed to converge to the requested accuracy or precision within 100 iterations

I have got a problem in my program with NonlinearModelFit: ...
3
votes
1answer
324 views

Printing a success message if no errors have yet been thrown in the current session

I plan to run a lengthy Mathematica script on a Linux terminal (by "a Linux terminal," I mean that I have text output only -- no GUI), using the program math. To ...
2
votes
1answer
1k views

FindRoot Infinite expression 1/0 encountered error

I have 1 equation in 1 variable, which when I use Plot, looks like this: ...
5
votes
3answers
547 views

ComplexInfinity/Indeterminate error when evaluating derivative

Motivation: I want to find the coefficients for the polynomial that is obtained when one adds together the first $n$ natural numbers to the power of $a$; that is, when you consider $1^{a} + 2^{a} + \...
1
vote
1answer
833 views

Getting Internal Self-Test Error

I have two questions related to this simple code: ...
3
votes
3answers
718 views

How can `SquareWave` be used as the input in `OutputResponse`?

I'd like to compute the response of a TransferFunctionModel when driven by a SquareWave. Here's a simple example, ...
20
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 ...
2
votes
2answers
868 views

How to set the initial condition? (to make IC and BC consistent)

I want to find the initial condition which fits mixed boundary condition of Phi[r, Theta, t]. The original initial condition in text is Phi[r, Theta, 0] == 1 . ...
15
votes
1answer
10k 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 ...
7
votes
2answers
3k views

FeynArts not working properly

So I have installed all FeynArts folders (from 3.5 to 3.7) with FeynCalc 8.0.1., and none of it is working properly :\ First I load the path to specific FeynArts package (3.5 for instance), then, by: ...
18
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 ...
6
votes
1answer
543 views

Mathematica Opens Each Session With Beep

First off, I am using Mathematica 8.0 and Mac OS X 10.7.4. Recently, when starting a new Mathematica session, I am confronted with an error beep and message window stating "The file you tried to open ...
4
votes
1answer
541 views

Error Interpretation in NIntegrate

I am using a recursion algorithm developed by Migdal for Lattice Field Theory, and I have the following code: ...
11
votes
1answer
30k 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?
5
votes
1answer
122 views

Strange Tilt on error notification

I was testing the source code of the answers to this question. And when I tried this response and maxed out most of the manipulators, this is what I got. What went wrong that the errors are tilted. ...
4
votes
1answer
779 views

Inconsistent initial and boundary conditions

I have a 4th order nonlinear PDE with the following BCs and IC: ...
2
votes
1answer
156 views

Strange setting in FormatValues[MakeExpression]

My system is: 8.0 for Mac OS X x86 (64-bit) (October 5, 2011) When I start Mathematica and call FormatValues[MakeExpression] I get the following output: ...
5
votes
2answers
303 views

“Not a valid Filling specification” error

I have a function, which plots the given function array f. This is a part of the function: ...
21
votes
6answers
18k 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: ...