Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#48556 - [sweethome3d] 5.2-1 can not open file paths that contain spaces

Attached to Project: Community Packages
Opened by Alexander Mamzikov (av-mamzikov) - Sunday, 13 March 2016, 06:07 GMT
Last edited by Muflone (muflone) - Sunday, 20 March 2016, 17:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Muflone (muflone)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

If file path contains spaces, sweethome3d can not open it.

Additional info:

package version : 5.2-1

Modifying /usr/bin/sweethome3d solves the problem:

$ diff sweethome3d-old sweethome3d
22c22,23
< APP_ARGS="-open $@"
---
> IFS=:
> APP_ARGS="-open:$@"


Steps to reproduce:

1. Create file, like this: ~/some path/test.sh3d.
2. Execute `sweethome3d ~/some\ path/test.sh3d` or click file in the file manager.
SwettHome3D opens, but the test.sh3d will not be loaded.

This task depends upon

Closed by  Muflone (muflone)
Sunday, 20 March 2016, 17:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in sweethome3d 5.2-2
Comment by Doug Newgard (Scimmia) - Sunday, 13 March 2016, 08:53 GMT
More likely the use of APP_ARGS just needs to be quoted.
Comment by Alexander Mamzikov (av-mamzikov) - Sunday, 13 March 2016, 17:32 GMT
Quoting does not help. By default, bash splits variables in an array by a space.
As result, in the sweethome3d.jar passed several arguments instead of one.

Loading...