View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005004 | Spring engine | General | public | 2015-12-07 22:22 | 2018-10-31 16:03 |
| Reporter | abma | Assigned To | gajop | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | no change required | ||
| Product Version | 100.0 | ||||
| Summary | 0005004: (try to) disallow duplicate SpringData dirs | ||||
| Description | http://pastebin.com/Gw2d8399 this shouldn't work, but does: SpringData = U:\bin\Spring\Data;U:\bin\Spring\Data\ | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
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) |
|
|
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. |
| 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 |