Bug 1015177 - Handle vmcores uploaded with spaces in the name
Summary: Handle vmcores uploaded with spaces in the name
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: retrace-server
Version: el6
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Michal Toman
QA Contact: Fedora Extras Quality Assurance
Keywords: TestCaseProvided
: 1025123 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2013-10-03 14:59 UTC by Dave Wysochanski
Modified: 2015-03-23 00:42 UTC (History)
6 users (show)

Clone Of:
Last Closed: 2014-08-15 18:58:04 UTC

Attachments (Terms of Use)

Description Dave Wysochanski 2013-10-03 14:59:10 UTC
Description of problem:
Today we can't queue vmcores if a space is in the name.  This is a special case and probably low priority but it would be good if it can be handled, or there is some workaround.

Version-Release number of selected component (if applicable):

How reproducible:
Probably every time but unsure.

Steps to Reproduce:
1. Upload a vmcore to ftp site with a space in the name.  Example: "

Actual results:
Trying to queue it from 'manager' gives "There is no such task"

Expected results:
Able to queue the vmcore from the 'manager' page same as other vmcores.

Additional info:
I tried to use "%20" added to the URL but got the same result.

I can provide a example in our local system.

Comment 3 Michal Toman 2013-10-31 07:27:34 UTC
*** Bug 1025123 has been marked as a duplicate of this bug. ***

Comment 4 Michal Toman 2014-02-26 15:15:00 UTC
Fixed in upstream

commit bb57b79f96dc706fcce08510bc080451ab9f027d
Author: Michal Toman <mtoman@redhat.com>
Date:   Wed Feb 26 16:12:32 2014 +0100

    use urllib.quote() instead of urllib.quote_plus()
    the '+' gets double quoted when used within <a> tag, while '%20' does not
    Signed-off-by: Michal Toman <mtoman@redhat.com>

Comment 5 Fedora Update System 2014-02-27 13:46:39 UTC
retrace-server-1.11-1.el6 has been submitted as an update for Fedora EPEL 6.

Comment 6 Fedora Update System 2014-03-01 07:11:39 UTC
Package retrace-server-1.11-1.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing retrace-server-1.11-1.el6'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 8 Dave Wysochanski 2014-03-07 21:07:43 UTC
Looks fixed to me.  I did not upload a vmcore though to the ftp site and try that method.  Submitting a vmcore 'vmcore with spaces' via 'custom core location' worked though.  I did not need to quote the file - just provide the full path with spaces included.

Comment 9 Fedora Update System 2014-07-31 11:52:46 UTC
retrace-server-1.12-2.el6 has been submitted as an update for Fedora EPEL 6.

Comment 11 Fedora Update System 2014-08-15 18:58:04 UTC
retrace-server-1.12-2.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.