View Issue Details

IDProjectCategoryView StatusLast Update
0005004Spring engineGeneralpublic2018-10-31 16:03
Reporterabma Assigned Togajop  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Product Version100.0 
Summary0005004: (try to) disallow duplicate SpringData dirs
Descriptionhttp://pastebin.com/Gw2d8399


this shouldn't work, but does:

SpringData = U:\bin\Spring\Data;U:\bin\Spring\Data\
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Jools

2015-12-08 00:53

reporter   ~0015365

Last edited: 2015-12-08 00:58

Here's a relevant infolog: http://pastebin.com/96iS2BsV

to the problem i described in #sy

The problem is not the SpringData = U:\bin\Spring\Data;U:\bin\Spring\Data\, it is because I have several spring versions installed, it looks like this:

Spring 98:
C:\Spring
<--- this contains the springsettings.cfg
 in this file there is: SpringData = U:\bin\Spring\Data

Spring 100:
U:\bin\Spring\Data\engine\100.0\

Spring data directory (maps, games etc):
U:\bin\Spring\Data
<--- this contains the springsettings.cfg
 in this file there is: SpringData = U:\bin\Spring\Data, and all other things too

I start spring from notepad++, in this case: U:\bin\Spring\Data\engine\100.0\spring.exe

It doesn't happen if I start spring 98 in C:\Spring.

The errors that I get are lines with:
Error: Found a "U:\bin\Spring\Data\engine\100.0\packages\b0ea87740fc1f75bda313c090b936bee.sdp" already in "U:\bin\Spring\Data\packages\b0ea87740fc1f75bda313c090b936bee.sdp", ignoring.

I put a symlink (in windows a directory junction type) from games, maps etc from

U:\bin\Spring\Data\engine\100.0\ to U:\bin\Spring\Data\

So the files themselves are the same ones, they are just accessed twice. But maybe I can just remove those symlinks, I think they might not be needed (it finds the stuff anyway)

gajop

2018-10-31 16:03

developer   ~0019456

Spring already disallows duplicate DataDirs so there is nothing to do here (https://github.com/spring/spring/blob/develop/rts/System/FileSystem/DataDirLocater.cpp#L163-L176).

It seems to me the actual issue is what Jools described in his comment, what appears to be symlink misconfiguration.
Falls out of scope of the engine imo.

Issue History

Date Modified Username Field Change
2015-12-07 22:22 abma New Issue
2015-12-08 00:53 Jools Note Added: 0015365
2015-12-08 00:58 Jools Note Edited: 0015365
2018-10-31 16:03 gajop Assigned To => gajop
2018-10-31 16:03 gajop Status new => closed
2018-10-31 16:03 gajop Resolution open => no change required
2018-10-31 16:03 gajop Note Added: 0019456