Page 1 of 1

Zandronum on Ubuntu does not pass PWADs while path contains spaces

Posted: Mon Oct 28, 2013 11:02 pm
by afullo
Hi all. Playing on Ubuntu, I simply tried to entering in a server and, after having downloaded all the PWADs required, the execution did not continue after reporting that the server had a certain number of WADs (the ones I just dl) which I, from his perspective, was missing.

Considering I worked in the afternoon on issues related to namepaths concerning another software (lol, an impeccable sense of timing :smile: ), I noticed that the path where he downloaded, also included in the folders in which he would search for WADs, contained some spaces, so I move my files into another folder without them in the name. This fixed the problem.

Is it a known issue, or it could be of some use to know it?

RE: Zandronum on Ubuntu does not pass PWADs while path contains spaces

Posted: Tue Oct 29, 2013 12:07 am
by skyrimguy
Report it at the tracker.

RE: Zandronum on Ubuntu does not pass PWADs while path contains spaces

Posted: Tue Oct 29, 2013 2:07 am
by Ænima
Isn't it a bad idea to have filepaths with spaces anyways? :p

RE: Zandronum on Ubuntu does not pass PWADs while path contains spaces

Posted: Tue Oct 29, 2013 4:51 am
by Dark-Assassin
Regardless, it should always either put the paths in double quotes or escape Spaces and all Quotes in File/Folder names.

RE: Zandronum on Ubuntu does not pass PWADs while path contains spaces

Posted: Tue Oct 29, 2013 12:09 pm
by afullo
Reported: http://zandronum.com/tracker/view.php?id=1562 :)

Sure is better to avoid spacing or use adequate characters for delimitation purposes, but nowadays it has became more usual to be less precise on these matters. We are taking the bad way... :razz:

RE: Zandronum on Ubuntu does not pass PWADs while path contains spaces

Posted: Tue Oct 29, 2013 4:09 pm
by Konar6
That could be a browser problem. Does it work in IDE?

RE: Zandronum on Ubuntu does not pass PWADs while path contains spaces

Posted: Tue Oct 29, 2013 6:45 pm
by Klofkac
Assuming he is on Linux system, and IDE is windows application, he cannot open IDE. At least without wine.

RE: Zandronum on Ubuntu does not pass PWADs while path contains spaces

Posted: Tue Oct 29, 2013 8:04 pm
by Hypnotoad
Just for future reference, the correct term is parse.

/grammar nazi

RE: Zandronum on Ubuntu does not pass PWADs while path contains spaces

Posted: Tue Oct 29, 2013 8:28 pm
by Ænima
parse my arse

RE: Zandronum on Ubuntu does not pass PWADs while path contains spaces

Posted: Tue Oct 29, 2013 8:33 pm
by Konar6
Oh right, I forgot the crucial part about the OS. Well, does it work without Doomseeker by launching the game via command line?

RE: Zandronum on Ubuntu does not pass PWADs while path contains spaces

Posted: Tue Oct 29, 2013 10:03 pm
by Zalewa
Konar6 wrote: Well, does it work without Doomseeker by launching the game via command line?
No.

RE: Zandronum on Ubuntu does not pass PWADs while path contains spaces

Posted: Tue Oct 29, 2013 10:18 pm
by skyrimguy
Konar6 wrote: Oh right, I forgot the crucial part about the OS. Well, does it work without Doomseeker by launching the game via command line?
This problem also applies to IWADs.

Debian Wheezy x86_64

Folder name:

Code: Select all

I   W A D
IWAD: doom2.wad

From the terminal:

It doesn't work

Code: Select all

zandronum -iwad /home/<your username>/.zandronum/I   W A D/doom2.wad

Code: Select all

zandronum -iwad '/home/<your username>/.zandronum/I   W A D/doom2.wad'

Code: Select all

zandronum -iwad "/home/<your username>/.zandronum/I   W A D/doom2.wad"

Code: Select all

zandronum -iwad /home/<your username>/.zandronum/I\ \ \ W\ A\ D/doom2.wad

Code: Select all

zandronum -iwad ~/.zandronum/I   W A D/doom2.wad

Code: Select all

zandronum -iwad ~/.zandronum/I\ \ \ W\ A\ D/doom2.wad

Code: Select all

zandronum -iwad $HOME/.zandronum/I   W A D/doom2.wad

Code: Select all

zandronum -iwad "$HOME/.zandronum/I   W A D/doom2.wad"

Code: Select all

zandronum -iwad $HOME/.zandronum/I\ \ \ W\ A\ D/doom2.wad

Folder name: IWAD
IWAD: doom2.wad

It works!

Code: Select all

zandronum -iwad /home/<your username>/.zandronum/IWAD/doom2.wad

Code: Select all

zandronum -iwad '/home/<your username>/.zandronum/IWAD/doom2.wad'

Code: Select all

zandronum -iwad "/home/<your username>/.zandronum/IWAD/doom2.wad"

Code: Select all

zandronum -iwad ~/.zandronum/IWAD/doom2.wad

Code: Select all

zandronum -iwad $HOME/.zandronum/IWAD/doom2.wad

Code: Select all

zandronum -iwad "$HOME/.zandronum/IWAD/doom2.wad"
Windows 7 Home Premium 64-bit (Virtual Machine)

Folder name:

Code: Select all

I   W A D
IWAD: doom2.wad

It works!

Code: Select all

"C:\Program Files (x86)\Zandronum\zandronum.exe" -iwad "C:\WADS\I   W A D\doom2.wad"
Folder name:

Code: Select all

I   W A D $  & ( )
IWAD: doom2.wad

It works!

Code: Select all

"C:\Program Files (x86)\Zandronum\zandronum.exe" -iwad "C:\WADS\I   W A D $  & ( )\doom2.wad"
Zandronum has no problem with spaces on Windows but can't handle spaces on Linux.

UPDATE
I can also reproduce the problem with the latest version of ZDoom (2.8pre-237-g7dbf4ec) on Linux.

RE: Zandronum on Ubuntu does not pass PWADs while path contains spaces

Posted: Sat Nov 02, 2013 3:59 pm
by Edward-san