Welcome to TeX.SX! No error here, with TeX Live 2017.
– egregOct 31 '17 at 11:28

Works okay for me (on miktex) but such things depends sometimes on external ghostscripts. What happen if you use crop=false? And is your miktex up-to-date? Did you check with the update manager in user and admin mode?
– Ulrike FischerOct 31 '17 at 12:03

With crop = false I get exactly the same thing. When I want to update, the manager check pst-pdf et auto-pst-pdf as "absolete (to be removed)" . But i don't want that. I use MikeTek 2.9 64 bit. Other people told me evrything is OK. So frustrating.
– IdefixOct 31 '17 at 14:29

I don't get a message about obsolete packages but I would let miktex remove the packages. Perhaps it has rearranged something.
– Ulrike FischerOct 31 '17 at 16:23

1 Answer
1

I install a new fresh ditribution of MiKTeK (a basic one), I made a compile to get the packages I need, I got errors (different from the first time, no more error with Ghostcript for instance) and then I did all the updates suggested. A first update for Asymptote if I remember well, and maybe two or three more already selected (it was not possible at first to select the other packages). And then a second update for all the packages.

.. then it works

Fine .. but I still can't understand why before it was working when I type myself the commands and not when it is was done with the auxiliary compilation of auto-pst-pdf (which is supposed to do exactely the same).