Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+2)

Whenever I try to brew a potion an exception occurs

Thx for cheaking the game out, please drop me a screenshot. I will try to help and make a bugfix in the future version.

```

I'm sorry, but an uncaught exception occurred.

While running game code:

  File "renpy/common/000statements.rpy", line 671, in execute_call_screen

    store._return = renpy.call_screen(name, *args, **kwargs)

  File "game/40_achlemisttable.rpy", line 26, in execute

  File "game/40_achlemisttable.rpy", line 26, in execute

  File "game/40_achlemisttable.rpy", line 28, in execute

  File "game/40_achlemisttable.rpy", line 52, in execute

  File "game/40_achlemisttable.rpy", line 61, in execute

  File "game/40_achlemisttable.rpy", line 62, in execute

  File "game/40_achlemisttable.rpy", line 63, in execute

  File "game/40_achlemisttable.rpy", line 63, in <module>

OSError: [Errno 9] Bad file descriptor

-- Full Traceback ------------------------------------------------------------

Full traceback:

  File "game/40_achlemisttable.rpyc", line 19, in script

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\ast.py", line 1968, in execute

    self.call("execute")

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\ast.py", line 1950, in call

    return renpy.statements.call(method, parsed, *args, **kwargs)

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\statements.py", line 349, in call

    return method(parsed, *args, **kwargs)

  File "renpy/common/000statements.rpy", line 671, in execute_call_screen

    store._return = renpy.call_screen(name, *args, **kwargs)

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\exports.py", line 3413, in call_screen

    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\ui.py", line 301, in interact

    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\display\core.py", line 2165, in interact

    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\display\core.py", line 2683, in interact_core

    root_widget.visit_all(lambda d : d.per_interact())

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\display\displayable.py", line 431, in visit_all

    d.visit_all(callback, seen)

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\display\displayable.py", line 431, in visit_all

    d.visit_all(callback, seen)

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\display\displayable.py", line 431, in visit_all

    d.visit_all(callback, seen)

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\display\screen.py", line 480, in visit_all

    callback(self)

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\display\core.py", line 2683, in <lambda>

    root_widget.visit_all(lambda d : d.per_interact())

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\display\screen.py", line 491, in per_interact

    self.update()

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\display\screen.py", line 697, in update

    self.screen.function(**self.scope)

  File "game/40_achlemisttable.rpy", line 26, in execute

  File "game/40_achlemisttable.rpy", line 26, in execute

  File "game/40_achlemisttable.rpy", line 28, in execute

  File "game/40_achlemisttable.rpy", line 52, in execute

  File "game/40_achlemisttable.rpy", line 61, in execute

  File "game/40_achlemisttable.rpy", line 62, in execute

  File "game/40_achlemisttable.rpy", line 63, in execute

  File "game/40_achlemisttable.rpy", line 63, in <module>

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\minstore.py", line 80, in print

    _print(*args, **kwargs)

  File "A:\Internet Explorer\the-fall-of-galadriel\thefallofgaladriel-0.1.0-pc\renpy\log.py", line 256, in write

    self.real_file.flush()

OSError: [Errno 9] Bad file descriptor

Windows-10-10.0.22631 AMD64

Ren'Py 8.2.0.24012702

thefallofgaladriel 0.1.0

Tue Jul  9 21:12:44 2024

```

The issue seems related to logfile. I found someone had similar problem here:

https://itch.io/post/5920741

So as suggested by Manka Games, try moving the game out of 'Internet Explorer' folder and make sure your user have write access to the game folder. Let me know if it didn't help:)

It worked! Thank you very much

Cool, happy to help