c = CurrentImage[]

returns an image. Now I try:


it gives:

FindFaces::imginv: Expecting an image or graphics instead of c.

and c becomes empty.

Executing again

c = CurrentImage[]

gives the cryptic error:

$AbortedGeneral::cdir: Cannot set current directory to ~/.

Things start to spiral down from here, culminating in a hung kernel, then "Licensing problem" (??)

Anyone has an idea what is happening? This issue is reproducible in a new instance of Mathematica 11.

  • $\begingroup$ Your codes runs fine for me running V11 under OSX 10.10.5. Make sure to try it in a fresh kernel and could you provide the details of OS. $\endgroup$ – Quantum_Oli Aug 23 '16 at 10:55
  • $\begingroup$ "and c becomes empty." <- Does your kernel crash? Do the numbers in the cell labels (In[1], In[2], ...) reset to 1? If yes, that indicates a crash. $\endgroup$ – Szabolcs Aug 23 '16 at 11:10
  • $\begingroup$ Also try turning off the suggestions bar in Preferences -> Interface and see if that fixes it. $\endgroup$ – Szabolcs Aug 23 '16 at 11:10
  • $\begingroup$ Trying again with a fresh kernel first gives an under-exposed photo and the message $\endgroup$ – user42530 Aug 24 '16 at 1:59

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.