Jump to content

Installation error I do not understand


Recommended Posts

I've received a debug file containing the following error message, and I have no idea why. The mod folder is named AmaureasPCPortraits, and there is a folder named Portraits.


Here's the debug message:

Install Component [Amaurea's PC Portraits]?
[I]nstall, or [N]ot Install or [Q]uit? 
Installing [Amaurea's PC Portraits]
Creating 1 directory
Copying 1 file ...
ERROR: error loading [AmaureasPCPortraits/Portraits]
Stopping installation because of error.

ERROR Installing [Amaurea's PC Portraits], rolling back to previous state
[AmaureasPCPortraits/backup/0/UNSETSTR.0] SET_STRING uninstall info not found
Will uninstall   0 files for [SETUP-AMAUREASPCPORTRAITS.TP2] component 0.
Unable to Unlink [AmaureasPCPortraits/backup/0/MAPPINGS.0]: Unix.Unix_error(1, "unlink", "AmaureasPCPortraits/backup/0/MAPPINGS.0")Uninstalled	  0 files for [SETUP-AMAUREASPCPORTRAITS.TP2] component 0.

And here's the entire tp2.

BACKUP ~AmaureasPCPortraits/backup~
AUTHOR ~Amaurea (content)  / berelinde (code) ~
 AT_NOW ~VIEW AmaureasPCPortraits/Readme-AmaureasPCPortraits.txt~

BEGIN ~Amaurea's PC Portraits~
 MKDIR ~Portraits~
 COPY ~AmaureasPCPortraits/Portraits~ ~Portraits~

Link to comment
A folder called Portraits already exists?
Doesn't matter. If the folder exists, WeiDU does nothing and moves on.


I'd make sure there's actually a folder "Portraits" inside "AmaureasPCPortraits" and that the user didn't do something stupid like copy the contents of the "AmaureasPCPortraits" folder into the BG2 directory (instead of copying the folder itself).


IIRC, WeiDU now creates a backup hierarchy, so there's no guarantee that the folder was there (it'll just create the folder, then backup, then 0).

Link to comment


This topic is now archived and is closed to further replies.

  • Create New...