| Anonymous | Login | Signup for a new account | 2025-11-13 21:01 UTC |
| My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0001562 | Zandronum | [All Projects] Bug | public | 2013-10-29 12:05 | 2018-09-30 22:43 | ||||
| Reporter | afullo | ||||||||
| Assigned To | Blzut3 | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | Linux | OS | Ubuntu | OS Version | 12.04 x86-64 | ||||
| Product Version | 1.2 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0001562: Zandronum on Ubuntu does not pass PWADs while path contains spaces | ||||||||
| Description | 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. 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. | ||||||||
| Attached Files | |||||||||
Notes |
|
|
Zalewa (developer) 2013-10-29 22:02 |
Confirmed in Zandronum 1.2. Following command line won't load udmx.wad:/usr/bin/zandronum -iwad /home/test/.zandronum/doom2.wad -file '/home/test/Katalog ze spacja/udmx.wad' |
|
skyrimguy (reporter) 2013-10-30 00:51 edited on: 2013-10-30 01:31 |
I can also reproduce the problem with the latest version of ZDoom (2.8pre-237-g7dbf4ec) on Linux. This problem also applies to IWADs. |
|
afullo (reporter) 2013-10-30 09:48 |
If I am not wrong, I see from skyrimguy's link that the use of \ into command line (regardless of the fact that by acting with a purely graphical procedure, i.e. by opening Doomseeker via interface and selecting the server from the list as usual, without the need of opening a terminal, the backslash is inserted or not), does not fix. |
|
Edward-san (developer) 2013-10-30 18:35 edited on: 2013-10-30 18:43 |
This is not a zdoom/zandronum bug but a linux feature. When you want to invoke the folder with the space, you should use '\ ' in place of the space in the folder name. Like this: /usr/bin/zandronum -iwad /home/test/.zandronum/doom2.wad -file /home/test/Katalog\ ze\ spacja/udmx.wad Also, when you write a command in the terminal, if you press twice the 'tab' key, you should be able to autocomplete/see the list of the file names. [edit]just saw the other comments ... strange. I'll test it. [edit2]I can't reproduce if I run zandronum from /usr/games/zandronum folder. Sounds like a linking problem ... |
|
Torr Samaho (administrator) 2013-10-30 18:59 |
Quote from Zalewa AFAIK this is simply not the proper way to feed a path with spaces to a Linux binary. Spaces should be escaped like Edward-san said. |
|
skyrimguy (reporter) 2013-10-30 20:46 edited on: 2013-10-30 21:10 |
Solution: Edit /usr/bin/zandronum and change $*
to "$@"
save change and try the following: Folder names:
IWAD: doom2.wad PWAD: hr2final.wad
it should work now. |
|
Blzut3 (administrator) 2013-10-30 22:49 |
Quote from Torr Samaho Anything that tells the command line tokenizer that a parameter has a space in it will work. Be it double quotes (evaluates variables), single quotes (in case your path has $ characters in it), or escaping. I've issued an update to the packages with skyrimguy's suggestion. (On a related note: while having spaces in a path isn't a technical problem, but I would still recommend kicking the habit. If one gets into advanced terminal usage they will make life difficult.) |
|
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
| Supporters: | No one explicitly supports this issue yet. |
| Opponents: | No one explicitly opposes this issue yet. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2013-10-29 12:05 | afullo | New Issue | |
| 2013-10-29 22:02 | Zalewa | Note Added: 0007489 | |
| 2013-10-30 00:51 | skyrimguy | Note Added: 0007490 | |
| 2013-10-30 00:58 | skyrimguy | Note Edited: 0007490 | View Revisions |
| 2013-10-30 01:14 | skyrimguy | Note Edited: 0007490 | View Revisions |
| 2013-10-30 01:31 | skyrimguy | Note Edited: 0007490 | View Revisions |
| 2013-10-30 09:48 | afullo | Note Added: 0007491 | |
| 2013-10-30 18:35 | Edward-san | Note Added: 0007493 | |
| 2013-10-30 18:36 | Edward-san | Note Edited: 0007493 | View Revisions |
| 2013-10-30 18:43 | Edward-san | Note Edited: 0007493 | View Revisions |
| 2013-10-30 18:43 | Edward-san | Note Edited: 0007493 | View Revisions |
| 2013-10-30 18:59 | Torr Samaho | Note Added: 0007494 | |
| 2013-10-30 20:46 | skyrimguy | Note Added: 0007495 | |
| 2013-10-30 20:50 | skyrimguy | Note Edited: 0007495 | View Revisions |
| 2013-10-30 21:09 | skyrimguy | Note Edited: 0007495 | View Revisions |
| 2013-10-30 21:10 | skyrimguy | Note Edited: 0007495 | View Revisions |
| 2013-10-30 22:49 | Blzut3 | Note Added: 0007496 | |
| 2013-10-30 22:49 | Blzut3 | Status | new => resolved |
| 2013-10-30 22:49 | Blzut3 | Resolution | open => fixed |
| 2013-10-30 22:49 | Blzut3 | Assigned To | => Blzut3 |
| 2018-09-30 22:43 | Blzut3 | Status | resolved => closed |
| Copyright © 2000 - 2025 MantisBT Team |