Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: '<' not supported between instances of 'NoneType' and 'NoneType' #184

Open
KamiDuck opened this issue May 22, 2022 · 1 comment

Comments

@KamiDuck
Copy link

While trying to convert several matlab files to python I got the following error. I cannot for the life of me figure out where it is going wrong.

c:\users\balun\anaconda3\lib\site-packages\ply\lex.py:760: FutureWarning: Possible nested set at position 65
c = re.compile('(?P<%s>%s)' % (fname, _get_regex(f)), self.reflags)
c:\users\balun\anaconda3\lib\site-packages\ply\lex.py:498: FutureWarning: Possible nested set at position 118
lexre = re.compile(regex, reflags)
Traceback (most recent call last):
File "c:\users\balun\anaconda3\lib\site-packages\smop\main.py", line 66, in main
G = resolve.resolve(stmt_list)
File "c:\users\balun\anaconda3\lib\site-packages\smop\resolve.py", line 51, in resolve
G = as_networkx(t)
File "c:\users\balun\anaconda3\lib\site-packages\smop\resolve.py", line 39, in as_networkx
if u.lexpos < v.lexpos:
TypeError: '<' not supported between instances of 'NoneType' and 'NoneType'
Errors: 1

@Rohanjos97
Copy link

I'm also facing the same issue. @KamiDuck, did you find any workaround for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants