# SPE Exception exceptions.TypeError: "'NoneType'

**URL:** <https://www.debian-fr.org/t/spe-exception-exceptions-typeerror-nonetype/20093>\
**Category:** Programmation\
**Created:** [Février 20, 2016, 7:31 UTC](https://www.debian-fr.org/t/spe-exception-exceptions-typeerror-nonetype/20093 "2016-02-20T19:31:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![damdam](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/d/9dc877/32.png) [@damdam](https://www.debian-fr.org/u/damdam)\
**Post date:** [Février 20, 2016, 7:31 UTC](https://www.debian-fr.org/t/spe-exception-exceptions-typeerror-nonetype/20093/1 "2016-02-20T19:31:37Z")

</div>

Bonjour

Je débute en programmation sous python.  
J’utilise actuellement drpython mais je préfère SPE.  
Le problème c’est qu’avec SPE mes programmes ne ce lance pas.

Quand je le lance SPE dans un terminal il me dit

[code]damien@damien:~$ spe

SPE v0.8.4.h ©2003-2008 [www.stani.be](http://www.stani.be)

If spe fails to start:

- type “python [SPE.py](http://SPE.py) --debug \> debug.txt 2\>&1” at the command prompt  
(or if you use tcsh: “python [SPE.py](http://SPE.py) --debug \>& debug.txt”)
- send debug.txt with some info to [spe.stani.be](http://spe.stani.be)[at][gmail.com](http://gmail.com)

Blender support disabled (run SPE inside Blender to enable).  
Encrypted debugging enabled.

Launching single instance application (with xml-rpc server) …  
18:58:12: Deleted stale lock file ‘/home/damien/SPE 0.8.4.hdamien’.

(python:4181): Gdk-CRITICAL \*\*: gdk\_draw\_drawable: assertion `src != NULL’ failed

Thank you for using SPE, please donate to support further development.  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xb1633ec\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xb16362c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xb163f2c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa49266c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa47f6cc\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xb163cec\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xb16374c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xb163aac\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa47f22c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa47ff2c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa47846c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa47fdec\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa485dcc\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa47fb2c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa4928ac\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa47f52c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa4899ac\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa49278c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa47f82c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xb163e0c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xb16398c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xb163bcc\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xb16386c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xb16350c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa47f3ac\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa47fc6c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa49254c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa47f98c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa478c4c\> ignored  
Exception exceptions.TypeError: “‘NoneType’ object is not callable” in \<wx.lib.pubsub.\_NodeCallback instance at 0xa47f10c\> ignored  
[/code]

J’ai cherché longtemps une solution mais sans résultat.

---

<div class="post-metadata">

**Author:** ![damdam](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/d/9dc877/32.png) [@damdam](https://www.debian-fr.org/u/damdam)\
**Post date:** [Février 20, 2016, 8:11 UTC](https://www.debian-fr.org/t/spe-exception-exceptions-typeerror-nonetype/20093/2 "2016-02-20T20:11:30Z")

</div>

personne??

---

<div class="post-metadata">

**Author:** ![damdam](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/d/9dc877/32.png) [@damdam](https://www.debian-fr.org/u/damdam)\
**Post date:** [Février 20, 2016, 8:20 UTC](https://www.debian-fr.org/t/spe-exception-exceptions-typeerror-nonetype/20093/3 "2016-02-20T20:20:00Z")

</div>

Bon

A force de chercher et de rechercher j’ai fini par trouver une solution.

Dans le fichier /usr/share/spe/\_spe/SPE.py  
il faut remplacer la ligne la “MIN\_WX\_VERSION = ‘2.5.4.1’” par “MIN\_WX\_VERSION = ‘2.8’”

Et voila le tour est joué
