Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 940403 Details for
Bug 1145295
Specifying kernel version during vmcore submission results in 'Internal Server Error'
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Don't treat a string as an object
0001-manager.wsgi-Don-t-treat-a-string-as-an-object.patch (text/plain), 1.17 KB, created by
Harshula Jayasuriya
on 2014-09-23 11:06:14 UTC
(
hide
)
Description:
Don't treat a string as an object
Filename:
MIME Type:
Creator:
Harshula Jayasuriya
Created:
2014-09-23 11:06:14 UTC
Size:
1.17 KB
patch
obsolete
>From d93dd3e8a7b00823541b7cec4431a11841ea363c Mon Sep 17 00:00:00 2001 >From: Harshula Jayasuriya <harshula@redhat.com> >Date: Tue, 23 Sep 2014 11:49:00 +1000 >Subject: [PATCH] manager.wsgi: Don't treat a string as an object > >Error: > Traceback (most recent call last): > File "/usr/share/retrace-server/manager.wsgi", line 125, in application > arch = kernelver.arch > AttributeError: 'str' object has no attribute 'arch' > >Grab the arch from kernelver before it's made into a string. >--- > src/manager.wsgi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/src/manager.wsgi b/src/manager.wsgi >index fcd4b7e..d1765f3 100644 >--- a/src/manager.wsgi >+++ b/src/manager.wsgi >@@ -121,8 +121,8 @@ def application(environ, start_response): > except Exception as ex: > return response(start_response, "403 Forbidden", _("Please use VRA format for kernel version (e.g. 2.6.32-287.el6.x86_64)")) > >- kernelver = str(kernelver) > arch = kernelver.arch >+ kernelver = str(kernelver) > > if "notify" in get: > task.set_notify(filter(None, set(n.strip() for n in get["notify"][0].replace(";", ",").split(",")))) >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1145295
: 940403