@Blender_Dumbass I cloned the repo and gave a look into the code but I didn’t do much as I don’t have a lot of free time.
Just two things:
I noticed that you’re using python 2 and not python 3. Is it really necessary? because support will be dropped in 1 year ( https://pythonclock.org/ ), nearly all libraries have been ported to python3. Also blender uses python3, so if you want some more integration in the future you’ll face some problems.
I could try an port it if possible, it would be a good exercise to learn more, but it’s up to you.
For the GTK library, a simple “pip install PyGTK” is enough to bring that to windows. In case it isn’t installed, I can suggest handling the “ImportError” exception and making it execute the command. Alternatively, it’s possible to make an install script that checks if those scripts are installed before deploying the program with the icon on the desktop and everything?
Python 3 is way too confusing to me… I like writing files and sending strings of bites over sockets using ord(x) or simply ASCII characters. In python 3 for some reason I need to do some buffering shit.
I love the old print that is easier to type then new print()
I do use some python3 tho in the modules. There is this file get_start_end_frame.py
it’s written on python 3 code. But just out of necessity. I just don’t like python 3 too much.
FIRST YOU NEED TO FIND OUT WHAT ARE THE MISSING MODULE FOR REAL
some of them can be installed already ( this text appears if at least 1 is missing )
Open terminal ( CTRL-T )
try running python python
it should give you
Python 2.7.12 (default, Nov 20 2017, 18:23:56)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
try importing each module separatelly
If it exists already ( already installed ) it will give you nothing >>> import os
But if it’s not installed it will give an error message
EXAMPLE:
>>> import blender_dumbass
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named blender_dumbass
>>>
INSTALLING MISSING ONES
install python-pip to your computer sudo apt-get install python-pip
Interesting. You just found a bug in the datetime module.
The only thing I can do to resolve it. Is to make Try: Except: Thingy over in that peace of code. But probably then something will break.
Do you have the whole project, or just the blender-organizer.py?
Because it was trying to open a file named project.progress in the same folder as it. And parse from it the date.
Also what is your machine date parameter. Maybe it does some problem if the date is not correct.