OS: CentOS Linux release 7.6.1810 (Core)
Due to upload bandwidth limitations, I use Gitlab to manage my code and build my game distributions remotely. I was working fine for me last year, but as I try to set it from scratch today (had to rebuild the server), using the latest renpy version, I'm getting these error messages:
Command:
Code: Select all
/usr/local/bin/renpy/renpy.sh /usr/local/bin/renpy/launcher distribute .
From my googling I'm guessing that it's because I'm doing this on a server box with no display and sound devices, but I'm stuck as to how to resolve this. Does Renpy now mandate that my computer has to have audio and video devices in order to build distributions?Scanning project files...
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4555:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4555:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4555:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5034:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM default
Full traceback:
File "/usr/local/bin/renpy/renpy/bootstrap.py", line 314, in bootstrap
renpy.main.main()
File "/usr/local/bin/renpy/renpy/main.py", line 516, in main
renpy.display.core.Interface()
File "/usr/local/bin/renpy/renpy/display/core.py", line 1659, in __init__
renpy.audio.audio.init()
File "/usr/local/bin/renpy/renpy/audio/audio.py", line 823, in init
renpysound.init(renpy.config.sound_sample_rate, 2, bufsize, False, renpy.config.equal_mono)
File "renpysound.pyx", line 383, in renpy.audio.renpysound.init
File "renpysound.pyx", line 98, in renpy.audio.renpysound.check_error
Exception: ALSA: Couldn't open audio device: No such file or directory
After initialization, but before game start.
Exception: ALSA: Couldn't open audio device: No such file or directory
Full traceback:
File "/usr/local/bin/renpy/renpy/bootstrap.py", line 314, in bootstrap
renpy.main.main()
File "/usr/local/bin/renpy/renpy/main.py", line 529, in main
run(restart)
File "/usr/local/bin/renpy/renpy/main.py", line 102, in run
if not renpy.arguments.post_init():
File "/usr/local/bin/renpy/renpy/arguments.py", line 287, in post_init
return commands[command]()
File "game/distribute.rpy", line 1490, in distribute_command
Distributor(p, destination=args.destination, reporter=TextReporter(), packages=packages, build_update=args.build_update, noarchive=args.no_archive, packagedest=args.packagedest)
File "game/distribute.rpy", line 446, in __init__
project.update_dump(force=True, gui=False, compile=project.data['force_recompile'])
File "game/project.rpy", line 300, in update_dump
self.launch(["compile", "--keep-orphan-rpyc" ], wait=True)
File "game/project.rpy", line 281, in launch
interface.error(_("Launching the project failed."), _("Please ensure that your project launches normally before running this command."))
File "game/interface.rpy", line 360, in error
common(_("ERROR"), store.ERROR_COLOR, message=message, submessage=submessage, back=action, **kwargs)
File "game/interface.rpy", line 326, in common
return screen_func("common", title=title, title_color=title_color, message=message, submessage=submessage, back=back, continue_=continue_, **kwargs)
File "/usr/local/bin/renpy/renpy/exports.py", line 2896, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "/usr/local/bin/renpy/renpy/ui.py", line 295, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "/usr/local/bin/renpy/renpy/display/core.py", line 2662, in interact
self.start()
File "/usr/local/bin/renpy/renpy/display/core.py", line 1805, in start
self.set_mode()
File "/usr/local/bin/renpy/renpy/display/core.py", line 2052, in set_mode
raise Exception("Could not set video mode.")
Exception: Could not set video mode.
After initialization, but before game start.
File "game/distribute.rpy", line 1490, in distribute_command
Distributor(p, destination=args.destination, reporter=TextReporter(), packages=packages, build_update=args.build_update, noarchive=args.no_archive, packagedest=args.packagedest)
File "game/distribute.rpy", line 446, in __init__
project.update_dump(force=True, gui=False, compile=project.data['force_recompile'])
File "game/project.rpy", line 300, in update_dump
self.launch(["compile", "--keep-orphan-rpyc" ], wait=True)
File "game/project.rpy", line 281, in launch
interface.error(_("Launching the project failed."), _("Please ensure that your project launches normally before running this command."))
File "game/interface.rpy", line 360, in error
common(_("ERROR"), store.ERROR_COLOR, message=message, submessage=submessage, back=action, **kwargs)
File "game/interface.rpy", line 326, in common
return screen_func("common", title=title, title_color=title_color, message=message, submessage=submessage, back=back, continue_=continue_, **kwargs)
Exception: Could not set video mode.