Jump to content

[v35.7] Error Installing Components on original BG/non-EE (schinese translation)


Recommended Posts

Posted (edited)

error message is as follows:

ERROR: Failure("ERROR: charsets were not converted because iconv could not be found in lang/iconv")

 

Spoiler

[weidu_external/lang/STRATAGEMS/SCHINESE/shared.tra] has 34 translation strings
FAILURE:
ERROR: charsets were not converted because iconv could not be found in lang/iconv
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.

ERROR Installing [包括冰风谷增强版中的法师法术], rolling back to previous state
Unable to Unlink [weidu_external/backup/stratagems/1500/OTHER.1500]: Unix.Unix_error(1, "unlink", "weidu_external/backup/stratagems/1500/OTHER.1500")
[weidu_external/backup/stratagems/1500/UNSETSTR.1500] SET_STRING uninstall info not found
Will uninstall  87 files for [STRATAGEMS/SETUP-STRATAGEMS.TP2] component 1500.
  Restoring backed-up [weidu_external/backup/stratagems/1500/spell.ids]
weidu_external/backup/stratagems/1500/spell.ids copied to override/spell.ids, 23930 bytes
  Restoring backed-up [weidu_external/backup/stratagems/1500/CHITIN.KEY]
weidu_external/backup/stratagems/1500/CHITIN.KEY copied to CHITIN.KEY, 590551 bytes
[.\CHITIN.KEY] loaded, 590551 bytes
[.\CHITIN.KEY] 182 BIFFs, 41793 resources
Uninstalled     87 files for [STRATAGEMS/SETUP-STRATAGEMS.TP2] component 1500.
Unable to Unlink [weidu_external/backup/stratagems/1500/READLN.1500]: Unix.Unix_error(20, "unlink", "weidu_external/backup/stratagems/1500/READLN.1500")
Unable to Unlink [weidu_external/backup/stratagems/1500/READLN.1500.TEXT]: Unix.Unix_error(20, "unlink", "weidu_external/backup/stratagems/1500/READLN.1500.TEXT")
ERROR: Failure("ERROR: charsets were not converted because iconv could not be found in lang/iconv")
Please make a backup of the file: SETUP-STRATAGEMS.DEBUG and look for support at: For help troubleshooting installation problems, go to the Sword Coast Stratagems forum at gibberlings3.net.
Using Language [Simplified Chinese (c4_angel/www.trow.cc &  Lewis Liu) - last updated version 35.7]
[Simplified Chinese (c4_angel/www.trow.cc &  Lewis Liu) - last updated version 35.7] has 1 top-level TRA files
[stratagems/lang/schinese/setup.tra] has 262 translation strings

 

Edited by icecool
Posted
9 hours ago, icecool said:

ERROR: Failure("ERROR: charsets were not converted because iconv could not be found in lang/iconv")

It's because SCS has an old version of charset_wrapper.tph. Replacing stratagems\sfo2e\charset_wrapper.tph if via the one from this topic: [tutorial] Slightly streamlined handling of tra files via HANDLE_CHARSETS - Modding How-Tos and Tutorials - The Gibberlings Three (gibberlings3.net) will fix the above issue. 

But then there is a new issue:

Quote

Install Component [Install all spell tweaks (if you don't select this, you will be given a chance to choose by category)]?
nstall, or [N]ot Install or [Q]uit? i

Installing [Install all spell tweaks (if you don't select this, you will be given a chance to choose by category)] [35.7]

Loading SFO 2e...

ERROR Installing [Install all spell tweaks (if you don't select this, you will be given a chance to choose by category)], rolling back to previous state
Will uninstall  56 files for [STRATAGEMS/SETUP-STRATAGEMS.TP2] component 2000.
Uninstalled     56 files for [STRATAGEMS/SETUP-STRATAGEMS.TP2] component 2000.
ERROR: Failure("resource [ui.menu] not found for 'COPY'")
Please make a backup of the file: debugs/SETUP-STRATAGEMS.DEBUG and look for support at: For help troubleshooting installation problems, go to the Sword Coast Stratagems forum at gibberlings3.net.
Using Language [English]

 

Posted (edited)
1 hour ago, AL|EN said:

ERROR: Failure("resource [ui.menu] not found for 'COPY'")

You can fix this by editing sfo2e\lib_sfo.tph, line 874 from this:

		ACTION_IF !lefreut_ui BEGIN

to this:

		ACTION_IF !lefreut_ui && enhanced_edition BEGIN

 

Edited by AL|EN
Posted
3 hours ago, AL|EN said:

It's because SCS has an old version of charset_wrapper.tph.

Almost but not quite, it's actually a newer version that had a bug. (SCS automatically has the latest version of any functions I write, the function library I use is symlinked to it.) 

In any case both these issues are fixed in 35.8 (just out). Thanks for the detective work.

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...