# PShape Error Fatal Error :1:1:

**URL:** <https://discourse.processing.org/t/pshape-error-fatal-error-1/32285>\
**Category:** Coding Questions\
**Created:** [September 16, 2021, 9:14am UTC](https://discourse.processing.org/t/pshape-error-fatal-error-1/32285 "2021-09-16T09:14:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomLeVeritable](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@TomLeVeritable](https://discourse.processing.org/u/TomLeVeritable)\
**Post date:** [September 16, 2021, 9:14am UTC](https://discourse.processing.org/t/pshape-error-fatal-error-1/32285/1 "2021-09-16T09:14:42Z")

</div>

Hi I’m trying to use Pshape with this code

```auto
PShape planet;

void setup(){
  size(600,600);
  planet = loadShape("sphere.svg");
}

void draw(){
  background(0);
  shape(planet, 250,250,150,100);
}

```

and I’ve got this error

> \<org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Contenu non autorisé dans le prologue.\>

---

<div class="post-metadata">

**Author:** ![hotfooted](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hotfooted/32/3670_2.png) [@hotfooted](https://discourse.processing.org/u/hotfooted)\
**Post date:** [September 16, 2021, 10:39am UTC](https://discourse.processing.org/t/pshape-error-fatal-error-1/32285/2 "2021-09-16T10:39:31Z")

</div>

it’s possible there is either a problem with your svg or the limited support for svg files is preventing you from loading the file. it looks more likely it is the former and it’s probably worth trying another svg

---

<div class="post-metadata">

**Author:** ![TomLeVeritable](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@TomLeVeritable](https://discourse.processing.org/u/TomLeVeritable)\
**Post date:** [September 23, 2021, 8:18am UTC](https://discourse.processing.org/t/pshape-error-fatal-error-1/32285/3 "2021-09-23T08:18:45Z")

</div>

I tried with another svg and its works thanks its was because the other svg i has an errror during the encoding thx
