springlobby / springlobby

SpringLobby is a free cross-platform lobby client for the Spring RTS project
https://springlobby.springrts.com
GNU General Public License v2.0
81 stars 45 forks source link

downloads don't work when HOMEDIR is on UNC path #184

Closed moobyfr closed 10 years ago

moobyfr commented 10 years ago

Hi, with version 0.180 and spring 96, there is something strange on maps/game download. I use a regular (i.e.nonadmin user) on windows 7. If I want to download a map or a game, nothing comes. If I create in my HOMEDIR "My Documents\My games\spring{maps,games}", DL works , files are present. but springlobby still don't see them If I move these files in c:\ProgramData\Spring\maps there are visible by springlobby and usuable by spring.

So I think that maps/games should go in C:\ProgramData\spring directly

I have more errors to report, but that's related to my Active Directory and profile redirections:

"Warning: Could not create directory //server.domain.net: No such file or directory" where server.domain.net is a share where my profile is stored, but this is non-blocking

abma commented 10 years ago

i guess thats causing these problems: "Warning: Could not create directory //server.domain.net: No such file or directory" where server.domain.net is a share where my profile is stored, but this is non-blocking"

for some reason spring/springlobby has a problem with files in a UNC folder.

abma commented 10 years ago

does spring see the files when you move them to My Documents\My games\spring{maps,games} ?

if not its imo a spring bug.

whats the output of help->system info in springlobby?

abma commented 10 years ago

does it work with springlobby 0.185?

moobyfr commented 10 years ago

sorry, didn't have time to try, it's a computer at work. I'll try this week again

moobyfr commented 10 years ago

systeminfo for non portable mode (no "My games"):

LobbyWriteDir (C:\Users\e.blindauer\AppData\Roaming\SpringLobby\)
    WX: yes POSIX: yes TRY: yes
TempStorage (C:\Users\EE633~1.BLI\AppData\Local\Temp)
    WX: yes POSIX: yes TRY: yes
CachePath (C:\Users\e.blindauer\AppData\Roaming\SpringLobby\cache\)
    WX: yes POSIX: yes TRY: yes
CurrentUsedDataDir (C:\ProgramData\Spring\)
    WX: yes POSIX: yes TRY: yes
ExecutableFolder (C:\Program Files (x86)\Spring)
    WX: no POSIX: yes TRY: no
Portable mode: no
Config: C:\Users\e.blindauer\AppData\Roaming\SpringLobby\springlobby.conf ( writable)
current uikeys.txt: C:\ProgramData\Spring\uikeys.txt
Version SpringLobby 0.186 (win x32)
Compiled with wxWidgets 2.9.5
Started with: 
C:\Program Files (x86)\Spring\springlobby.exe 

systeminfo for portable mode:

LobbyWriteDir (C:\Users\e.blindauer\AppData\Roaming\SpringLobby\)
    WX: yes POSIX: yes TRY: yes
TempStorage (C:\Users\EE633~1.BLI\AppData\Local\Temp)
    WX: yes POSIX: yes TRY: yes
CachePath (C:\Users\e.blindauer\AppData\Roaming\SpringLobby\cache\)
    WX: yes POSIX: yes TRY: yes
CurrentUsedDataDir (\\vfiler-ad-pers.xxx\e.blindauer\Documents\My Games\Spring\)
    WX: yes POSIX: yes TRY: yes
ExecutableFolder (C:\Program Files (x86)\Spring)
    WX: no POSIX: yes TRY: no
Portable mode: no
Config: C:\Users\e.blindauer\AppData\Roaming\SpringLobby\springlobby.conf ( writable)
current uikeys.txt: \\vfiler-ad-pers.xxx\e.blindauer\Documents\My Games\Spring\uikeys.txt

The entry "open Spring DataDir " opens the right directory (ProgramData\Spring in non-portable, and My Games\Spring in portable mode

In portable mode, springlobby let me download a map (or a mod) and it goes in My Games\Spring\maps (game) directory, but springlobby stills show the cross for indicating a 'not found' map) In non-portable mode, it seems to fail downloading the map. how can I debug more where it tries to save the map ?

abma commented 10 years ago

springlobby downloads to: \vfiler-ad-pers.xxx\e.blindauer\Documents\My Games\Spring\

are there files in the subfolder maps, packages, pool, games?

if so, what does happen when you directly start spring.exe? does it list some maps/games?

abma commented 10 years ago

note to myself: very likely related to this: http://springrts.com/phpbb/viewtopic.php?f=11&t=31822&p=555654

moobyfr commented 10 years ago

The folders have been created by myself in \vfiler-ad-pers.xxx\e.blindauer\Documents\My Games\Spring\ (i.e games and maps) when I used 0.180. I tried to launch spring itself: It doesn't see maps/games in \vfiler-ad-pers.xxx\e.blindauer\Documents\My Games\Spring{maps,games}. It only see maps/games if I move them to c:\programdata\spring{maps,games}

abma commented 10 years ago

can you please try the development version? http://springlobby.info/temp/builds/abma/sl_master.zip

i've fixed #199, maybe this bug is fixed as well.