[SOLVED] lint error
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
[SOLVED] lint error
Hi, I have a problem with one of my projects. I can launch it normally, I can build distribution normally, but when a use Lint... Error:
"Launching the project failed. Please ensure that your project launches normally before running this command."
It's not the classical error with wrong code line, so that I can start looking for solution. It's inside the Ren'py Launcher and I'm scared of what kind of consequences it may have in the future.
"Launching the project failed. Please ensure that your project launches normally before running this command."
It's not the classical error with wrong code line, so that I can start looking for solution. It's inside the Ren'py Launcher and I'm scared of what kind of consequences it may have in the future.
Last edited by M0ti on Sun Jun 01, 2014 7:20 pm, edited 1 time in total.
- Asceai
- Eileen-Class Veteran
- Posts: 1258
- Joined: Fri Sep 21, 2007 7:13 am
- Projects: a battle engine
- Contact:
Re: lint error
Try creating a new project and copying your old project's game directory into it, then see if that works.
- Asceai
- Eileen-Class Veteran
- Posts: 1258
- Joined: Fri Sep 21, 2007 7:13 am
- Projects: a battle engine
- Contact:
Re: lint error
Check the files 'traceback.txt' and 'log.txt' which should appear in the game's base directory after running lint and having lint fail. That should tell you what might be causing problems. There are some situations that can cause stuff that was previously okay (and was compiled to .rpyc while okay) to not work now. Lint needs to recompile everything to work, so it's something broken that's just currently working because you haven't changed the script in a while.
Re: lint error
Hi,
I finally found some time, looked for what you recommended to me and found this in traceback.txt:
I tried some stuff and found out, that when i hide all play music and play sound statements, it works fine. But I still don't what to do with my discovery. As I said, all other projects are working fine.
I finally found some time, looked for what you recommended to me and found this in traceback.txt:
Code: Select all
I'm sorry, but an uncaught exception occurred.
After initialization, but before game start.
File "renpy/common/000statements.rpy", line 111, in lint_play_music
if not isinstance(file, list):
TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Users\Emil\Desktop\PSP\Renpy\renpy-6.15.7-sdk\renpy\bootstrap.py", line 285, in bootstrap
renpy.main.main()
File "C:\Users\Emil\Desktop\PSP\Renpy\renpy-6.15.7-sdk\renpy\main.py", line 319, in main
if not renpy.arguments.post_init():
File "C:\Users\Emil\Desktop\PSP\Renpy\renpy-6.15.7-sdk\renpy\arguments.py", line 229, in post_init
return commands[command]()
File "C:\Users\Emil\Desktop\PSP\Renpy\renpy-6.15.7-sdk\renpy\lint.py", line 590, in lint
check_user(node)
File "C:\Users\Emil\Desktop\PSP\Renpy\renpy-6.15.7-sdk\renpy\lint.py", line 274, in check_user
node.call("lint")
File "C:\Users\Emil\Desktop\PSP\Renpy\renpy-6.15.7-sdk\renpy\ast.py", line 1611, in call
renpy.statements.call(method, parsed, *args, **kwargs)
File "C:\Users\Emil\Desktop\PSP\Renpy\renpy-6.15.7-sdk\renpy\statements.py", line 144, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 111, in lint_play_music
if not isinstance(file, list):
TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types
Windows-post2008Server-6.2.9200
Ren'Py 6.17.6.512
Bozi skript 0.0
- Asceai
- Eileen-Class Veteran
- Posts: 1258
- Joined: Fri Sep 21, 2007 7:13 am
- Projects: a battle engine
- Contact:
Re: lint error
It looks like you're redefining 'list' somewhere. Do you have any variables called 'list' or anything like that?
Re: lint error
yes, this was really the case. Thank you very very much. Without you and other people on this forum I would ended with creating visual novels a long time ago.
Who is online
Users browsing this forum: No registered users


