Python Plugin

TheAndyRoid

New Member
Could you give more details? Perhaps a log or mini dump so I can attempt to help/fix?
Some possible causes off the top of my head.
It only works in 32bit OBS.
Have you installed Python 2.7.8 32bit and ensured that it is added to the path (ticked the box during install)

*Update*
I've created a new release which will check if `Python27` is on the system PATH. Should stop the instant crash I think you were having.

 
Last edited:

Totte

New Member
This does not work for me for some reason. It should be correctly installed but I can't see it when trying to add a source.
 

dodgepong

Administrator
Community Helper
It isn't a source plugin, it's a wrapper for the OBS API so you can create sources using Python.
 

Helton leal

New Member
Hi TheAndyRoid, I've installed the plugin and when I try to add a python to the scene, I get this error:

  1. Traceback (most recent call last):
  2. File "C:/Users/H_DANILO/AppData/Roaming/OBS/pluginData/Python\DefaultGUI.py", line 19, in <module>
  3. from Tkinter import *
  4. ImportError: No module named 'Tkinter'

  5. During handling of the above exception, another exception occurred:

  6. Traceback (most recent call last):
  7. File "C:/Users/H_DANILO/AppData/Roaming/OBS/pluginData/Python\DefaultGUI.py", line 22, in <module>
  8. from tkinter import *
  9. File "C:\Python34\Lib\tkinter\__init__.py", line 36, in <module>
  10. from tkinter import _fix
  11. File "C:\Python34\Lib\tkinter\_fix.py", line 65, in <module>
  12. import _tkinter
  13. ImportError: DLL load failed: %1 is not a valid Win32 application.
 

TheAndyRoid

New Member
tkinter is included in the Windows installer as it's the default GUI package for Python.
Could you check that Python is 32 bit.
A quick search shows that this is a common-ish error with conflicting 32/64bit binary's.
You might need to do a clean install of Python 32 bit.
 

kennygomdori

New Member
Could we possibly get a version for the 64-bit version of OBS?
I would appreciate that a lot. An awesome project anyways. :)
 
Top