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

1
vote
2answers
145 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: ...
1
vote
1answer
48 views

Warning and Errors during Compile

I defined a compiled function cf = Compile[{{x, _Integer}, {n, _Integer}}, z = (n^x); Binomial[n, #]* StirlingS2[x, #] *(#!)/z & /@ Range[x]]; and I ...
1
vote
2answers
62 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 ...
1
vote
1answer
345 views

What does the Error Message in DSolve really mean?

Having this ordinary non linear differential equation $$y'-x^2 (y+1)\cdot (y+2)^2= 0$$ with the boundary condition $y(4)=2$. When trying to solve this one with Mathematica by using ...
1
vote
1answer
651 views

Plotting a complex function [duplicate]

What does it mean if this message appears: {Im[(1-E^Times[<<3>>] f)/(1-Power[<<2>>] f)]-0,Im[(1-E^Times[<<3>>] f)/(1-Power[<<2>>] f)]-0} must be a list of equalities or ...
1
vote
2answers
98 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: ...
1
vote
1answer
72 views

FindFit::nrlnum What am I doing wrong?

I have a model called qobs: ...
1
vote
1answer
95 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 ...
1
vote
1answer
188 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, ...
1
vote
1answer
90 views
1
vote
2answers
235 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 ...
1
vote
1answer
152 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 ...
1
vote
1answer
67 views

Incompatibility of Row and TeXForm

In Mathematica 7 Row and TeXForm work harmoniously: ...
1
vote
0answers
94 views

Failure of CountryData due to connectivity?

Today I started researching the "Four colours theorem" and to do so I need data, regions for example. I tried using the following line: ...
1
vote
1answer
112 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: ...
1
vote
0answers
70 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 ...
0
votes
2answers
89 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 ...
0
votes
1answer
52 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. ...
0
votes
2answers
46 views

How to output (anything) if any error happens

I have long code which goes through iteration process. some times I get error messages. I want to get the iteration numbers (or any kind of output indications) when errors happen. for example, how ...
0
votes
1answer
2k 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 ...
0
votes
1answer
63 views
0
votes
1answer
82 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 ...
0
votes
1answer
490 views

Reassign Functions for Graphic Representation [closed]

How might I construct a function of the form Rep[defs,code], graphic[code] and display[code] ...
0
votes
2answers
59 views

Update: Interpolation error message? [closed]

I have the following data that needs to be analyzed : data = ToExpression@Import["http://pastebin.com/raw.php?i=8XKGYvSy", "Data"]; I have 6 sets of coordinates ...
0
votes
2answers
178 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 ...
0
votes
1answer
299 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, ...
0
votes
1answer
37 views

Restarting Mathematica causes an animation to fail to run [duplicate]

I've tried animating two different sets of 3D plots. Interestingly, one plot will always work, regardless of whether I restart Mathematica, yet another plot will only work in its current Mathematica ...
0
votes
1answer
33 views

Assigning a given value if a function returns an error [duplicate]

This question has to do with error handling, I guess. I am using Brent's Method in order to numerically find the root of a function. This is just an example of what I am doing: ...
0
votes
1answer
24 views

How to output local variables when error message is generated without interrupting evaluation?

I am running a calculation to generate a dataset. I use several iterations to sweep over a parameter space. A few times an error message is generated (which is not the problem per se). Is it possible ...
0
votes
1answer
70 views

Problems with For statement

I'm trying to iterate some expression through for loop: ...
0
votes
2answers
81 views

How to fix this error : SetDelayed::write: Tag Plus in (<<1>>)[x_] is Protected.?

I don't get the meaning of the sign <<>> and also from which line the error is coming as I have a program of more than 30 lines with many defined functions without using "Module" . Is not there ...
0
votes
1answer
31 views

error message DSolve::“bvnul”

...
0
votes
1answer
88 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
1answer
62 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 ...
0
votes
1answer
42 views

Error about limit MaxExtraPrecision

After my evaluations I have an error: N::meprec: Internal precision limit $MaxExtraPrecision=50. reached while evaluating ... ...
0
votes
1answer
102 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 ...
0
votes
1answer
143 views

Error messages when using NInverseFourierTransform

I have two functions that I need to inverse Fourier transform and I was trying to get Mathematica to help me. I tried simply using theInverseFourierTransform ...
0
votes
1answer
344 views

Getting Internal Self-Test Error

I have two questions related to this simple code: ...
0
votes
0answers
45 views

How to handle infeasible points in FindRoot?

I am calling FindRoot[f[x,y],{{x,xInit,xMin,xMax},{y,yInit,yMin,yMax}}] where for some points {x,y}, ...
0
votes
0answers
28 views

Error message LinkObject::linkd when calling TextRecognize

I am getting the message LinkObject::linkd: "Unable to communicate with closed link LinkObject["E:\Program Files\Wolfram ...
0
votes
0answers
46 views

Geometric Transformation not working - degenerate points?

I've successfully used FindGeometricTransformation to project the simplex triangle onto the x-y plane: ...
0
votes
0answers
11 views

“No file exists for resource PasteTemplateString”

I am running Mathematica on a Raspberry Pi and the above error message comes up virtually every time I press ctrl + shift + K to view the suggested functions and ...
0
votes
0answers
31 views

Data Fitting with xerrors and yerrors using findfit [duplicate]

I'm trying to fit data with xerror and yerror using "Findfit", so i'm trying the same form than in tuto : ...
0
votes
1answer
69 views

Trouble fitting an explicitly complex model with the TransformedFit package

This is follow up from a previous question in which @Oleksandr R. suggested the use of a package he developed for splitting a model and data into real and imaginary parts to avoid a problem with ...
0
votes
1answer
60 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 ...
0
votes
0answers
121 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: ...
0
votes
0answers
36 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
75 views
0
votes
0answers
86 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 ...