Blender 2.80 s3o import

Blender 2.80 s3o import

Share and discuss visual creations and creation practices like texturing, modelling and musing on the meaning of life.

Moderators: MR.D, Moderators

Post Reply
sanguinariojoe
Posts: 26
Joined: 19 Apr 2016, 21:11

Blender 2.80 s3o import

Post 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
Fenlig
Posts: 1
Joined: 28 Mar 2020, 03:53

Re: Blender 2.80 s3o import

Post 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
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: Blender 2.80 s3o import

Post 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!
Post Reply

Return to “Art & Modelling”