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

raise ValueError, "mtl file doesn't start with newmtl stmt" #2

Open
PiseyYou opened this issue Aug 7, 2019 · 1 comment
Open

raise ValueError, "mtl file doesn't start with newmtl stmt" #2

PiseyYou opened this issue Aug 7, 2019 · 1 comment

Comments

@PiseyYou
Copy link

PiseyYou commented Aug 7, 2019

the code seems to compile in python2, I change the code print type to python3, but the error occur, something need to change?

Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "ar_demo.py", line 12, in
import BAR4Py.objloader as objloader
File "/home/pisey/anaconda3/envs/robosense/AR-BXT-AR4Python/demo/BAR4Py/objloader.py", line 14
raise ValueError, "mtl file doesn't start with newmtl stmt"
^
SyntaxError: invalid syntax

@BryceQing
Copy link

You should use python3 grammar that add ():

raise (ValueError, "mtl file doesn't start with newmtl stmt")

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