Results 1 to 10 of 1109

Hybrid View

  1. #1

    Join Date
    Jan 2018
    Posts
    1
    Credits
    0
    Here's what it says after trying to launch Kamihime_Player
    Code:
    I'm sorry, but an uncaught exception occurred.
    
    While running game code:
      File "game/script.rpy", line 200, in script
        python:
      File "game/script.rpy", line 202, in <module>
        result = ui.interact()
      File "game/script.rpy", line 12, in execute
        screen index:
      File "game/script.rpy", line 12, in execute
        screen index:
      File "game/script.rpy", line 16, in execute
        if selected_character:
      File "game/script.rpy", line 99, in execute
        hbox align(0.5,0.0):
      File "game/script.rpy", line 100, in execute
        for letter in letters:
      File "game/script.rpy", line 101, in execute
        frame align(0.5,0.5):
      File "game/script.rpy", line 102, in execute
        textbutton letter xysize(29,25) action SetVariable('selected_letter',letter) align align_center
    Exception: String '[' ends with an open format operation.
    
    -- Full Traceback ------------------------------------------------------------
    
    Full traceback:
      File "game/script.rpy", line 200, in script
        python:
      File "D:\Visual Novel\Kamihime_Player\renpy\ast.py", line 814, in execute
        renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
      File "D:\Visual Novel\Kamihime_Player\renpy\python.py", line 1719, in py_exec_bytecode
        exec bytecode in globals, locals
      File "game/script.rpy", line 202, in <module>
        result = ui.interact()
      File "D:\Visual Novel\Kamihime_Player\renpy\ui.py", line 285, in interact
        rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
      File "D:\Visual Novel\Kamihime_Player\renpy\display\core.py", line 2526, in interact
        repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
      File "D:\Visual Novel\Kamihime_Player\renpy\display\core.py", line 2793, in interact_core
        root_widget.visit_all(lambda i : i.per_interact())
      File "D:\Visual Novel\Kamihime_Player\renpy\display\core.py", line 495, in visit_all
        d.visit_all(callback)
      File "D:\Visual Novel\Kamihime_Player\renpy\display\core.py", line 495, in visit_all
        d.visit_all(callback)
      File "D:\Visual Novel\Kamihime_Player\renpy\display\core.py", line 495, in visit_all
        d.visit_all(callback)
      File "D:\Visual Novel\Kamihime_Player\renpy\display\screen.py", line 399, in visit_all
        callback(self)
      File "D:\Visual Novel\Kamihime_Player\renpy\display\core.py", line 2793, in <lambda>
        root_widget.visit_all(lambda i : i.per_interact())
      File "D:\Visual Novel\Kamihime_Player\renpy\display\screen.py", line 409, in per_interact
        self.update()
      File "D:\Visual Novel\Kamihime_Player\renpy\display\screen.py", line 578, in update
        self.screen.function(**self.scope)
      File "game/script.rpy", line 12, in execute
        screen index:
      File "game/script.rpy", line 12, in execute
        screen index:
      File "game/script.rpy", line 16, in execute
        if selected_character:
      File "game/script.rpy", line 99, in execute
        hbox align(0.5,0.0):
      File "game/script.rpy", line 100, in execute
        for letter in letters:
      File "game/script.rpy", line 101, in execute
        frame align(0.5,0.5):
      File "game/script.rpy", line 102, in execute
        textbutton letter xysize(29,25) action SetVariable('selected_letter',letter) align align_center
      File "D:\Visual Novel\Kamihime_Player\renpy\ui.py", line 951, in _textbutton
        text = renpy.text.text.Text(label, style=text_style, substitute=substitute, scope=scope, **text_kwargs)
      File "D:\Visual Novel\Kamihime_Player\renpy\text\text.py", line 1328, in __init__
        self.set_text(text, scope, substitute)
      File "D:\Visual Novel\Kamihime_Player\renpy\text\text.py", line 1426, in set_text
        i, did_sub = renpy.substitutions.substitute(i, scope, substitute)
      File "D:\Visual Novel\Kamihime_Player\renpy\substitutions.py", line 232, in substitute
        s = formatter.vformat(s, (), kwargs)
      File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/string.py", line 563, in vformat
      File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/string.py", line 572, in _vformat
      File "D:\Visual Novel\Kamihime_Player\renpy\substitutions.py", line 157, in parse
        raise Exception("String {0!r} ends with an open format operation.".format(s))
    Exception: String '[' ends with an open format operation.
    
    Windows-8-6.2.9200
    Ren'Py 6.99.12.4.2187
    Kamihime_Player 1.0
    Attached Files Attached Files
    Last edited by Mimicry; 01-09-2018 at 06:42 PM.

  2. #2

    Join Date
    Nov 2015
    Posts
    561
    Credits
    163
    Items Thread Title Style ChangeThread Title Style Change
    Seems one of character folders starts with [ symbol.
    Sorry, forgot to mention that it's prohibited bc square brackets is Ren'Py format enclosers.

    Rename folder, for example [Mid Summer Sun] Sol => Sol (Mid Summer Sun) and relaunch 3 and 4 cmd file.

  3. #3
    Unregistered Guest
    yo but do you stop updating for us?
    pls update it again ^^

  4. #4

    Join Date
    Nov 2015
    Posts
    561
    Credits
    163
    Items Thread Title Style ChangeThread Title Style Change
    Btw, if someone has problems with dll - try this one, place into Kamihime_Player\game\Python27 and say if this worked.
    https://drive.google.com/open?id=1Pk...f5Y2C5PsSib3AT

  5. Quote Originally Posted by Eliont View Post
    Btw, if someone has problems with dll - try this one, place into Kamihime_Player\game\Python27 and say if this worked.
    took a while until i could test it as i had been at work.
    After deleteing my dll i had already so the scripts wouldnt run anymore, i copied it into the python folder and the scripts worked again. So this does work to get the scripts running for people that didnt have python installed beforehand

  6. #6
    Unregistered Guest

    How to add characters and fix Python27.dll

    Alright Guys. To all those having trouble, here it is:

    Before you begin any of it, make sure you have Python 2.7 installed which you can download from its official website

    1. Download the Kamihime folder from post #337
    2. Extract the files.
    3. After extracting it, you should have a folder called Kamihime_Player
    4. From there, you go to the folder Kamihime_Player > Kamihime_Player > game
    5. In the folder "game", delete folder Python27.
    6. After deleting Python 27, go to your file explorer > Select This PC or Computer > Open the C: drive > Look for Python27 (Which you should have after you install it) and copy the entire folder.
    7. Paste the Python27 that you copied into the folder "game" in Kamihime_Player.

    That should fix the python27.dll problem

    After that, when downloading character files from other people:
    1) Extract the compress folder
    2) Go to folder Kamihime_Player > Kamihime_Player > game > nutaku and place folder of character in this folder
    3) Run 2_download_assets.cmd
    4) Run 3_build_rpy.cmd
    5) Run 4_write_config.cmd
    6) Launch Kamihime_Player.exe, wait while scripts been recompiled
    7) Watch them.

  7. #7
    Unregistered Guest
    So, I come across a rather interesting dilemma when attempting to Download Assets:

    C:\Users\Contempt\Desktop\Kamihime_Player\Kamihime _Player\game>Python27\python.e
    xe "2_download_assets.py"
    Traceback (most recent call last):
    File "2_download_assets.py", line 1, in <module>
    import requests,json,os,sys,codecs,subprocess,shutil
    ImportError: No module named requests

    C:\Users\Contempt\Desktop\Kamihime_Player\Kamihime _Player\game>pause
    Press any key to continue . . .

    Anybody have any ideas for a solution? As it stands I'm not able to obtain the proper files to actually add any characters.

  8. #8

    Join Date
    Nov 2015
    Posts
    561
    Credits
    163
    Items Thread Title Style ChangeThread Title Style Change
    Quote Originally Posted by Unregistered View Post
    Alright Guys. To all those having trouble, here it is:

    Before you begin any of it, make sure you have Python 2.7 installed which you can download from its official website

    1. Download the Kamihime folder from post #337
    2. Extract the files.
    3. After extracting it, you should have a folder called Kamihime_Player
    4. From there, you go to the folder Kamihime_Player > Kamihime_Player > game
    5. In the folder "game", delete folder Python27.
    6. After deleting Python 27, go to your file explorer > Select This PC or Computer > Open the C: drive > Look for Python27 (Which you should have after you install it) and copy the entire folder.
    7. Paste the Python27 that you copied into the folder "game" in Kamihime_Player.

    That should fix the python27.dll problem

    After that, when downloading character files from other people:
    1) Extract the compress folder
    2) Go to folder Kamihime_Player > Kamihime_Player > game > nutaku and place folder of character in this folder
    3) Run 2_download_assets.cmd
    4) Run 3_build_rpy.cmd
    5) Run 4_write_config.cmd
    6) Launch Kamihime_Player.exe, wait while scripts been recompiled
    7) Watch them.
    it fixes trouble bc installation of python also install python27.dll to system folder.
    But you can also do it by adding dll to python.exe folder by mentioned above

  9. #9
    Unregistered Guest
    yo but did you stop updating for us?
    pls update it again ^^

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •