Mailinglist Archive: opensuse-buildservice (239 mails)

< Previous Next >
[opensuse-buildservice] osc sr and new request implementation
  • From: "Jan-Simon Möller" <dl9pf@xxxxxx>
  • Date: Wed, 27 May 2009 15:14:59 +0200
  • Message-id: <200905271515.00031.dl9pf@xxxxxx>
Hi !

For the records ;)

Environment:
* OBS svn -r 7382
* osc-obs-1.7.0.7382S

(from openSUSE:Tools:Devel)

osc sr create - works

osc sr decline - works

osc sr delete - works


osc sr list
Error: '/home/dl9pf' is not an osc project dir or working copy.

osc sr log 5
'NoneType' object has no attribute 'find'

osc sr show 5
'NoneType' object has no attribute 'find'

osc sr accept 7
Server returned an error: HTTP Error 500: Internal Server Error
undefined local variable or method `target_package' for
#&lt;RequestController:0x7f2563436310&gt;


Also the frontend oopses in the "My Projects" page:
Error Details:
Errorcode: unknown
Message: undefined method `submit' for #<ActiveXML::Node:0x7f56c596e8f8>

Exception from Webclient:
ActionView::TemplateError: undefined method `submit' for
#<ActiveXML::Node:0x7f56c596e8f8>
Stack Trace:

On line #21 of project/_request_table.rhtml

18: <% requests.each do |req| -%>
19: <tr>
20: <td><%= req.method_missing(:id) %></td>
21: <td><%= req.submit.source.project %></td>
22: <td><%= req.submit.source.package %></td>
23: <td><%= req.state.name %></td>
24: <td><%= req.state.who %></td>

/srv/www/obs/common/lib/activexml/node.rb:336:in `method_missing'
app/views/project/_request_table.rhtml:21:in
`_run_erb_47app47views47project47_request_table46rhtml'
/srv/www/obs/common/lib/activexml/node.rb:195:in `each'
/usr/lib64/ruby/1.8/rexml/element.rb:891:in `each'

Just updating to latest HEAD, will report changes as reply to this message.

Best,
Jan-Simon
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups