[opensuse-buildservice] obs-api-0.9.99-3.1.noarch.rpm missing files /srv/www/docs !!!
Hi, there are missing files inside "obs-api-0.9.99-3.1.noarch.rpm". complete dir "/srv/www/docs" is missing. Kind regards Chris --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Monday 07 July 2008 00:03:18 Christian wrote:
Hi,
there are missing files inside "obs-api-0.9.99-3.1.noarch.rpm". complete dir "/srv/www/docs" is missing.
Where do you see this directory refered ? bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi Adrian, have a look inside obs-api-0.9.1. I upgraded my local obs to 0.9.99. Then I wanted to create a new package "osc meta pkg -e home:Admin gpg". I could edit the meta information, but after saving it could not be uploaded to api (error 500). I frontent log I found Processing SourceController#package_meta (for 192.168.101.7 at 2008-07-06 21:27:12) [PUT] Parameters: {"project"=>"home:Admin", "action"=>"package_meta", "package"=>"gpg", "controller"=>"source"} checking schema map for controller 'source', action 'package_meta' schema_file: package RuntimeError (Suse::Validation: unable to read schema file '/srv/www/docs/api/frontend/package.rng' or .xsd: file not found): /lib/opensuse/validator.rb:127:in `initialize' /lib/opensuse/validator.rb:50:in `new' /lib/opensuse/validator.rb:50:in `validate_incoming_xml' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:469:in `send!' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:469:in `call' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:441:in `run' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:716:in `run_before_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:695:in `call_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib64/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action' /usr/lib64/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' /usr/lib64/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:101:in `process_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:149:in `with_signal_handler' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in `process_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in `process_each_request' /usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:612:in `each_cgi' /usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:609:in `each' /usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:609:in `each_cgi' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in `process_each_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in `process!' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in `process!' /public/dispatch.fcgi:24 Adrian Schröter schrieb:
On Monday 07 July 2008 00:03:18 Christian wrote:
Where do you see this directory refered ?
bye adrian
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Monday 07 July 2008 10:33:21 Christian wrote:
Hi Adrian,
have a look inside obs-api-0.9.1. I upgraded my local obs to 0.9.99. Then I wanted to create a new package "osc meta pkg -e home:Admin gpg". I could edit the meta information, but after saving it could not be uploaded to api (error 500). I frontent log I found
What does grep SCHEMA_LOCATION /srv/www/obs/./frontend/config/environments/production_slave.rb and grep rails_mode /etc/lighttpd/vhosts.d/obs.conf say ?
Processing SourceController#package_meta (for 192.168.101.7 at 2008-07-06 21:27:12) [PUT] Parameters: {"project"=>"home:Admin", "action"=>"package_meta", "package"=>"gpg", "controller"=>"source"} checking schema map for controller 'source', action 'package_meta' schema_file: package
RuntimeError (Suse::Validation: unable to read schema file '/srv/www/docs/api/frontend/package.rng' or .xsd: file not found): /lib/opensuse/validator.rb:127:in `initialize' /lib/opensuse/validator.rb:50:in `new' /lib/opensuse/validator.rb:50:in `validate_incoming_xml'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filter s.rb:469:in `send!'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filter s.rb:469:in `call'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filter s.rb:441:in `run'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filter s.rb:716:in `run_before_filters'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filter s.rb:695:in `call_filters'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filter s.rb:689:in `perform_action_without_benchmark'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchm arking.rb:68:in `perform_action_without_rescue' /usr/lib64/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchm arking.rb:68:in `perform_action_without_rescue'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue .rb:199:in `perform_action_without_caching'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/cachin g.rb:678:in `perform_action'
/usr/lib64/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connecti on_adapters/abstract/query_cache.rb:33:in `cache'
/usr/lib64/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_ca che.rb:8:in `cache'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/cachin g.rb:677:in `perform_action'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.r b:524:in `send'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.r b:524:in `process_without_filters'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filter s.rb:685:in `process_without_session_management_support'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/sessio n_management.rb:123:in `process'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.r b:388:in `process'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispat cher.rb:171:in `handle_request'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispat cher.rb:115:in `dispatch'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispat cher.rb:126:in `dispatch_cgi'
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispat cher.rb:9:in `dispatch' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:101:in `process_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:149:in `with_signal_handler' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in `process_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in `process_each_request' /usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:612:in `each_cgi' /usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:609:in `each' /usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:609:in `each_cgi' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in `process_each_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in `process!' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in `process!' /public/dispatch.fcgi:24
Adrian Schröter schrieb:
On Monday 07 July 2008 00:03:18 Christian wrote:
Where do you see this directory refered ?
bye adrian
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi Adrian, Adrian Schröter schrieb:
On Monday 07 July 2008 10:33:21 Christian wrote:
Hi Adrian,
have a look inside obs-api-0.9.1. I upgraded my local obs to 0.9.99. Then I wanted to create a new package "osc meta pkg -e home:Admin gpg". I could edit the meta information, but after saving it could not be uploaded to api (error 500). I frontent log I found
What does
grep SCHEMA_LOCATION /srv/www/obs/./frontend/config/environments/production_slave.rb
and
grep rails_mode /etc/lighttpd/vhosts.d/obs.conf
say ? I'm using development_base.rb bacause I wasn't able to get production running.
now I changed development_base.rb there still was: APIDOCS_LOCATION = "../../docs/api/html/" SCHEMA_LOCATION = File.expand_path("#{RAILS_ROOT}/../../docs/api/frontend")+"/" now replaced with: APIDOCS_LOCATION = File.expand_path("#{RAILS_ROOT}/public/apidocs/html")+"/" SCHEMA_LOCATION = File.expand_path("#{RAILS_ROOT}/public/schema")+"/" Thank you :) Chris --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-07-07 10:56:49 +0200, Adrian Schröter wrote:
On Monday 07 July 2008 10:33:21 Christian wrote:
Hi Adrian,
have a look inside obs-api-0.9.1. I upgraded my local obs to 0.9.99. Then I wanted to create a new package "osc meta pkg -e home:Admin gpg". I could edit the meta information, but after saving it could not be uploaded to api (error 500). I frontent log I found
What does
grep SCHEMA_LOCATION /srv/www/obs/./frontend/config/environments/production_slave.rb
and
grep rails_mode /etc/lighttpd/vhosts.d/obs.conf
say ?
Processing SourceController#package_meta (for 192.168.101.7 at 2008-07-06 21:27:12) [PUT] Parameters: {"project"=>"home:Admin", "action"=>"package_meta", "package"=>"gpg", "controller"=>"source"} checking schema map for controller 'source', action 'package_meta' schema_file: package
RuntimeError (Suse::Validation: unable to read schema file '/srv/www/docs/api/frontend/package.rng' or .xsd: file not found): /lib/opensuse/validator.rb:127:in `initialize' /lib/opensuse/validator.rb:50:in `new' /lib/opensuse/validator.rb:50:in `validate_incoming_xml'
Btw. it seems that the validation is broken since r1898. I don't know if this is intended or happened by accident. Anyway I attached a patch for this (note this might cause some problems because the schemata seem to be very strict). Marcus
participants (3)
-
Adrian Schröter
-
Christian
-
Marcus Hüwe