I have some initialization code that I would like to run on any newly started kernel, and, following this question, my code starts with a call to Parallelize; on its own, which as I understand it functions to trigger the loading of the Parallel package components.

This was working just fine yesterday, but as of today it returns an error message:

Image::imgarray: The specified argument {{{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,<<100>>},{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,<<100>>},<<47>>,{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
 should be an array of rank 2 or 3 with machine-sized numbers. >>

I imagine this is not a big deal, but I'm still a bit worried about it and if it's fixable I would like to do that. I know that the code in the answer I referenced is undocumented and therefore caveat-worthy, but this behaviour also appears with things as innocuous as

 , {n, 1, 20}]

and that definitely shouldn't be happening, right?

In case it's necessary, I'm running v10.0.2.0 for Linux x86 (64-bit) (December 4, 2014). I had hoped this would go away after a system restart but it persists.

  • $\begingroup$ I have version 10.0 for Windows (64 bits) and the innocuous code gives no error. $\endgroup$ – mattiav27 Apr 21 '17 at 13:32
  • $\begingroup$ Please always use three-digit version numbers. I assume this is 10.0.2? $\endgroup$ – Szabolcs Apr 21 '17 at 13:43
  • $\begingroup$ @Szabolcs Yes, it's 10.0.2 $\endgroup$ – Emilio Pisanty Apr 21 '17 at 13:47
  • $\begingroup$ It's strange and probably something specific to your configuration. I would try to reset Mathematica (i.e. clean up the contents of ~/.Mathematica and remove what I don't need—or rather remove everything except the license, and put back any packages/init files one by one). $\endgroup$ – Szabolcs Apr 21 '17 at 14:47
  • 2
    $\begingroup$ Out of curiosity, do you have the SE-Tools package installed? $\endgroup$ – ilian Apr 21 '17 at 16:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.