techartorg / MXSPyCOM

A modern version of MXSCOM, to allow for editing & execution of 3ds Max MaxScript and Python files from external code editors.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

issue with current project and release

elpie89 opened this issue · comments

Hi, I get the last version and I made some test
running a simple print "hello world" on test file
give me back

Error; filename: E:\Repository\mproject\src\test.py
-- Runtime error: 
Traceback (most recent call last):
AttributeError: 'module' object has no attribute 'suppress'

I wanted to try to open the visual studio project but it is not pushed
So I created mine importing the csproj of the repository

But I have this error back
image

tested with visual studio 2017 and pycharm

my bad you are no longer using visual studio, I thought was an error, I will use vscode to open the project

I see the problem. In a brain-dead moment I forgot to switch my thinking from Python 3.x to Python 2.7. There is no suppress( ) method in the contextlib module in Python 2.7.

This issue has been fixed. Please grab the new 1.11 release.

https://github.com/techartorg/MXSPyCOM/releases/tag/1.11