Page 1 of 1

Blender 2.80 s3o import

Posted: 29 Apr 2019, 06:34
by sanguinariojoe
Thanks to Darloth we have a new version of the Blender s3o importer, compatible with both Blender 2.7x and 2.80!

https://github.com/sanguinariojoe/blender_s3o_import

Re: Blender 2.80 s3o import

Posted: 28 Mar 2020, 03:56
by Fenlig
Any luck updating this to 2.82, don't seem to want to enable for me

Code: Select all

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\modules\addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\s3o_import.py", line 64
    raise NameError, 'Not a Spring unit file: \'' + self.magic + '\''
                   ^
SyntaxError: invalid syntax

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\modules\addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\s3o_import.py", line 64
    raise NameError, 'Not a Spring unit file: \'' + self.magic + '\''
                   ^
SyntaxError: invalid syntax

Re: Blender 2.80 s3o import

Posted: 30 Mar 2020, 17:23
by Anarchid
I opened an issue with your bug report here.

Here's a response to that:
I would say you are actually using an outdated version... Indeed, if you take a look of the failing line it is just a comment:

https://github.com/sanguinariojoe/blend ... ort.py#L64

Many things can failed... I suggest you completely remove the module from blender, check you have the latest version (git pull origin master), and install again...

Please let me know!