ID 337502 - AttributeError when attempting to import a session script

Follow


Problem summary
AttributeError when attempting to import a session script.

Customer reported version
4.0v2
Customer reported platform
centos7

Steps to reproduce

1) Launch Mari and open Example Head project

2) Click File > Sessions > Import Channels

3) Drag 'Color' onto geo
Result: Receive an AttributeError as 'NoneType' object has no attribute 'mariObject'
 
*Error is also returned when you click File > Sessions > Import Session

Workaround
n/a

Reproduced by support
Tested with example file provided:
Mari 4.0v2 - Windows 10 - CentOS7
Mari 4.0v1 - Windows 10 - CentOS7
Mari 3.3v1 - Windows 10 - OSX 10.12.6 - CentOS7
Mari 3.2v1 - Windows 10 - OSX 10.12.6 - CentOS7
Mari 3.1v3 - Windows 10 - OSX 10.12.6 - CentOS7
Mari 3.1v1 - Windows 10 - OSX 10.12.6 - CentOS7
Mari 3.0v4 - Windows 10 - OSX 10.12.6 - CentOS7
Mari 3.0v1 - Windows 10 - OSX 10.12.6 - CentOS7

Earliest version tested
Mari 3.0v1

Expected behaviour
Import channel from session script
Actual behaviour
Receive attribute error

    We're sorry to hear that

    Please tell us why