Tcll
Smash Lord
hahaha I never would've thought getting likes would actually motivate me more
I've just turned on my monitors even though it's still 88F in here (turning night, I'm melting)
if this keeps up, I might just post more about progress regardless if it makes me depressed I'm not making a release :D
(I'll just ignore the depression, thanks for the support)
which btw speaking of progress, I've gotten as far as loading the scripts, libs, and plugins now
of course though, everything is broken XD
scripts are even being loaded as plugins for some reason
at least my watchers work X3
(the threads that automatically reload scripts on change)
EDIT: fixed the mixup issue, still got a few issues to work out though:
that last bit with the NameError is gonna be my biggest hurdle until I get to adding the missing functionality to the Format functions
and I still have to port them to my protected metaclass yet, which is also gonna be a pain since I won't be able to access protected attributes in the properties for initializers.
yes my properties provide initializers that initialize a variable with a value on creation
rather than making a code mess by setting them in __new__, which is actually more difficult to maintain than property defaults...
also yeah, I'm doing a stupid somewhere with plugins and libs
probably not handling packages correctly
also, the text is undergoing major changes, nothing is final
but loading will be more minecraft-like as seen (easier for debugging)
for general use though I will disable verbose info like loaded modules and undocumented functions
EDIT2:
just to notify, I'm working on a separate module loader class to make the script, library, and plugin classes easier to manage
they're quite blocky, and share quite a bit of similar functionality (copied between them)
so yeah, less copied code is more managable
this is pretty much the same thing I've done for objects and datatypes
it'll take a bit but should make things much simpler for me (without changing the complexity for everyone else)
I've just turned on my monitors even though it's still 88F in here (turning night, I'm melting)
if this keeps up, I might just post more about progress regardless if it makes me depressed I'm not making a release :D
(I'll just ignore the depression, thanks for the support)
which btw speaking of progress, I've gotten as far as loading the scripts, libs, and plugins now
of course though, everything is broken XD
scripts are even being loaded as plugins for some reason
at least my watchers work X3
(the threads that automatically reload scripts on change)
EDIT: fixed the mixup issue, still got a few issues to work out though:
Code:
Connected to pydev debugger (build 191.7479.19)
beginning load stage...
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_object.py
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_datatype.py
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_constant.py after required objects UGEObject
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeData_union.py after required objects DataType
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeData_array.py after required objects DataType
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeData_vector.py after required objects DataType
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeData_string.py after required objects DataType
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeFormat_animation.py after required objects UGEObject
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeData_switch.py after required objects DataType
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeData_struct.py after required objects DataType
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeData_s.py after required objects DataType
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeData_u.py after required objects DataType
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_collection.py after required objects UGEObject
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeFormat_vector.py after required objects Collection Constant
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeFormat_material.py after required objects Vector
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeFormat_rig.py after required objects Vector
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_plugin.py after required objects Collection
loading module /media/tcll/https://proxy.duckduckgo.com/iu/?u=http%3A%2F%2Fthessdreviewcdn2.thessdreview1.netdna-cdn.com%2Fwp-content%2Fuploads%2F2017%2F09%2F121A0791.jpg&f=11TB_SG/tcll/Projects/python/UGE/API/ugeFormat_texture.py after required objects Collection
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeFormat_shader.py after required objects Collection Constant
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeFormat_world.py after required objects Collection
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeFormat_bone_anim.py after required objects Vector
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_channels.py after required objects Collection
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_lib.py after required objects Collection
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeData_h.py after required objects DataType
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeFormat_workspace.py after required objects Collection
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_script.py after required objects Collection
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeFormat_mesh.py after required objects Bone Channels
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeFormat_image.py after required objects Vector
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeFormat_scene.py after required objects Collection
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_scope.py after required objects Channels Constant
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeData_f.py after required objects DataType Scope
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeData_file.py after required objects Collection Constant
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeData_deref.py after required objects DataType File
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeData_field.py after required objects DataType
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeFormat_object.py after required objects Primitive
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeFormat_root.py after required objects Scene World Object File Material Image Animation Texture Shader
loading module /media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_data.py after required objects Script Workspace Library Plugin Root Scope
creating context...
NOTICE: undocumented function s8
NOTICE: undocumented function byte
NOTICE: undocumented function s16
NOTICE: undocumented function short
NOTICE: undocumented function s24
NOTICE: undocumented function s32
NOTICE: undocumented function word
NOTICE: undocumented function s64
NOTICE: undocumented function dword
NOTICE: undocumented function s128
NOTICE: undocumented function f8
NOTICE: undocumented function f16
NOTICE: undocumented function half
NOTICE: undocumented function f24
NOTICE: undocumented function f32
NOTICE: undocumented function f64
NOTICE: undocumented function double
NOTICE: undocumented function f128
NOTICE: undocumented function u8
NOTICE: undocumented function ubyte
NOTICE: undocumented function u16
NOTICE: undocumented function ushort
NOTICE: undocumented function u24
NOTICE: undocumented function u32
NOTICE: undocumented function uword
NOTICE: undocumented function u64
NOTICE: undocumented function udword
NOTICE: undocumented function u128
NOTICE: undocumented function Vec2
NOTICE: undocumented function Vec3
NOTICE: undocumented function Vec4
NOTICE: undocumented function h8
NOTICE: undocumented function h16
NOTICE: undocumented function h24
NOTICE: undocumented function h32
NOTICE: undocumented function h64
NOTICE: undocumented function h128
Loading Plugins:
loading plugin: terminal
Unregistered plugin: terminal.py
File "/media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_plugin.py", line 74, in reload
<class 'IsADirectoryError'>: [Errno 21] Is a directory: 'plugins/terminal'
Loading Libraries:
loading library: RVL_IMG
Unregistered script: RVL_IMG.py
loading library: pillow
Unregistered script: pillow.py
loading library: GX2_IMG
File "/media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_lib.py", line 191, in reload
<class 'IsADirectoryError'>: [Errno 21] Is a directory: 'libraries/RVL_IMG'
File "/media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_lib.py", line 191, in reload
<class 'IsADirectoryError'>: [Errno 21] Is a directory: 'libraries/pillow'
Unregistered script: GX2_IMG.py
File "/media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_lib.py", line 191, in reload
<class 'IsADirectoryError'>: [Errno 21] Is a directory: 'libraries/GX2_IMG'
Registering names...
Loading scripts...
loading script: Quake_IQM.py
Traceback (most recent call last):
File "/home/tcll/.IdeaIC2019.1/config/plugins/python-ce/helpers/pydev/pydevd.py", line 1758, in <module>
main()
File "/home/tcll/.IdeaIC2019.1/config/plugins/python-ce/helpers/pydev/pydevd.py", line 1752, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "/home/tcll/.IdeaIC2019.1/config/plugins/python-ce/helpers/pydev/pydevd.py", line 1147, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "/media/tcll/500GB_SG/data/config/idea/config/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/tcll/Projects/python/UGE/test_FORMAT.py", line 5, in <module>
api = API.init()
File "/media/tcll/1TB_SG/tcll/Projects/python/UGE/API/__init__.py", line 530, in __new__
api.context = context = objects.Context(frontends,None,None, '',0 ) # TODO: proxy object across IPC to api.data
File "/media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_data.py", line 141, in __new__
if script[-3:] == '.py': Scripts[script[:-3]]
File "/media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_collection.py", line 205, in __getitem__
return __call__(cl,item,update=True)
File "/media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_collection.py", line 191, in __call__
current = base(getparent(cl),cl,item,Index)
File "/media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_script.py", line 40, in __new__
script.reload()
File "/media/tcll/1TB_SG/tcll/Projects/python/UGE/API/ugeBase_script.py", line 57, in reload
ugeScriptType = ugeScriptType,
NameError: name 'ugeScriptType' is not defined
and I still have to port them to my protected metaclass yet, which is also gonna be a pain since I won't be able to access protected attributes in the properties for initializers.
yes my properties provide initializers that initialize a variable with a value on creation
rather than making a code mess by setting them in __new__, which is actually more difficult to maintain than property defaults...
also yeah, I'm doing a stupid somewhere with plugins and libs
probably not handling packages correctly
also, the text is undergoing major changes, nothing is final
but loading will be more minecraft-like as seen (easier for debugging)
for general use though I will disable verbose info like loaded modules and undocumented functions
EDIT2:
just to notify, I'm working on a separate module loader class to make the script, library, and plugin classes easier to manage
they're quite blocky, and share quite a bit of similar functionality (copied between them)
so yeah, less copied code is more managable
this is pretty much the same thing I've done for objects and datatypes
it'll take a bit but should make things much simpler for me (without changing the complexity for everyone else)
Last edited: