https://bugzilla.novell.com/show_bug.cgi?id=399039
User dl9pf@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=399039#c1
--- Comment #1 from Jan-Simon Möller 2008-06-10 13:55:45 MDT ---
Copied docs from svn to /srv/www/docs - above message is gone, but next error:
Processing SourceController#package_meta (for ::ffff:192.168.10.246 at
2008-06-10 21:28:45) [PUT]
Parameters: {"project"=>"software_from_lire", "action"=>"package_meta",
"package"=>"tk", "controller"=>"source"}
checking schema map for controller 'source', action 'package_meta'
schema_file: package
schema_path: /srv/www/docs/api/frontend/package.xsd
trying to validate against schema '/srv/www/docs/api/frontend/package.xsd'
validation tmpfile:
/srv/www/obs/frontend/tmp/opensuse_frontend_validator.3678.0
validation succeeded
AUTH:
no authentication string was sent
Rendering status
errorcode 'unknown' - Authentication required
Rendering status (401)
Filter chain halted as
[#] rendered_or_redirected.
Completed in 0.01613 (61 reqs/sec) | Rendering: 0.00138 (8%) | DB: 0.00000 (0%)
| 401 Unauthorized [http://192.168.10.246/source/software_from_lire/tk/_meta]
add validation mapping: "source", :filelist => :directory
add validation mapping: "source", :index => :directory
add validation mapping: "source", :packagelist => :directory
add validation mapping: "source", :project_meta => :project
add validation mapping: "source", :package_meta => :package
add validation mapping: "source", :pattern_meta => :pattern
Processing SourceController#package_meta (for ::ffff:192.168.10.246 at
2008-06-10 21:28:45) [PUT]
Parameters: {"project"=>"software_from_lire", "action"=>"package_meta",
"package"=>"tk", "controller"=>"source"}
checking schema map for controller 'source', action 'package_meta'
schema_file: package
schema_path: /srv/www/docs/api/frontend/package.xsd
trying to validate against schema '/srv/www/docs/api/frontend/package.xsd'
validation tmpfile:
/srv/www/obs/frontend/tmp/opensuse_frontend_validator.3676.1
validation succeeded
AUTH: BasicQWRtaW46b3BlbnN1c2U=
SQL (0.001153) SHOW TABLES
User Columns (0.002451) SHOW FIELDS FROM `users`
User Load (0.000937) SELECT * FROM `users` WHERE (login = 'Admin') LIMIT 1
USER found: Admin
User Admin initialised
User's source backend <:>, rpm backend: <:>
DbProject Load (0.000906) SELECT * FROM `db_projects` WHERE (name = BINARY
'software_from_lire') LIMIT 1
initializing model Package
Package.find( "tk", {:project=>"software_from_lire"} )
prepared find args: ["tk", {:name=>"tk", :project=>"software_from_lire"}]
[BSSQL] find( Package, ["tk", {:name=>"tk", :project=>"software_from_lire"}] )
retrieving target_uri for model ':package'
retrieving option hash for model ':package'
[BSSQL] query_from_options: {:name=>"tk", :project=>"software_from_lire"}
[BSSQL] query_from_options: query is: '@name='tk' and
@project='software_from_lire''
DbPackage Columns (0.002067) SHOW FIELDS FROM `db_packages`
[BSSQL] join string: ", db_projects"
[BSSQL] find conditions: ["db_packages.name LIKE BINARY ? AND
db_packages.db_project_id = db_projects.id AND db_projects.name = ?", "tk",
"software_from_lire"]
DbPackage Load (0.001006) SELECT db_packages.* FROM `db_packages` ,
db_projects WHERE (db_packages.name LIKE BINARY 'tk' AND
db_packages.db_project_id = db_projects.id AND db_projects.name =
'software_from_lire')
[BSSQL] query @name='tk' and @project='software_from_lire' returned no objects
User Admin wants to create a package in software_from_lire
Join Table Columns (0.001616) SHOW FIELDS FROM `roles_users`
Role Load (0.000840) SELECT * FROM `roles` INNER JOIN roles_users ON
roles.id = roles_users.role_id WHERE (roles_users.user_id = 1 )
Role Columns (0.001524) SHOW FIELDS FROM `roles`
Join Table Columns (0.001647) SHOW FIELDS FROM `groups_users`
Group Load (0.000741) SELECT * FROM `groups` INNER JOIN groups_users ON
groups.id = groups_users.group_id WHERE (groups_users.user_id =1 )
Join Table Columns (0.001612) SHOW FIELDS FROM `roles_static_permissions`
StaticPermission Load (0.000984) SELECT * FROM `static_permissions` INNER
JOIN roles_static_permissions ON static_permissions.id =
roles_static_permissions.static_permission_id WHERE
(roles_static_permissions.role_id = 1 )
StaticPermission Columns (0.001422) SHOW FIELDS FROM `static_permissions`
add_person: role: "maintainer"
Save Package
XML <package name='tk' project='software_from_lire'>
<title>Graphical User Interface Toolkit for Tcl</title>
<description>Tk is a graphical user interface toolkit that takes developing
desktop
applications to a higher level than conventional approaches. Tk is the
standard GUI not only for Tcl, but for many other dynamic languages,
and can produce rich, native applications that run unchanged across
Windows, Mac OS X, Linux and more.
</description>
<devel project='home:rmax:Factory'/>
<person role='maintainer' userid='dl9pf'/><person role='maintainer'
userid='Admin'/></package>
[BSSQL] saving object
SQL (0.000300) BEGIN
DbPackage Load (0.001068) SELECT pack.*
FROM db_packages pack
LEFT OUTER JOIN db_projects pro ON pack.db_project_id = pro.id
WHERE pro.name = BINARY 'software_from_lire' AND pack.name = BINARY 'tk'
CACHE (0.000000) SELECT * FROM `db_projects` WHERE (name = BINARY
'software_from_lire') LIMIT 1
DbProject Columns (0.001882) SHOW FIELDS FROM `db_projects`
DbPackage Create (0.000760) INSERT INTO `db_packages` (`develproject_id`,
`name`, `updated_at`, `activity_index`, `db_project_id`, `title`, `url`,
`description`, `created_at`, `update_counter`) VALUES(NULL, 'tk', NULL, 1000,
5, NULL, NULL, NULL, NULL, 0)
DbProject Load (0.000873) SELECT * FROM `db_projects` WHERE (name = BINARY
'home:rmax:Factory') LIMIT 1
SQL (0.153402) ROLLBACK
DbPackage::SaveError (value of develproject has to be a existing project
(project 'home:rmax:Factory' does not exist)):
/app/models/db_package.rb:77:in `store_axml'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in
`transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:80:in
`transaction'
/app/models/db_package.rb:70:in `store_axml'
/app/models/db_package.rb:42:in `store_axml'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in
`transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:80:in
`transaction'
/app/models/db_package.rb:32:in `store_axml'
/srv/www/obs/common/lib/activexml/transport.rb:230:in `save'
/srv/www/obs/common/lib/activexml/base.rb:89:in `save'
/app/controllers/source_controller.rb:428:in `package_meta'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in
`send'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in
`perform_action_without_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in
`call_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in
`perform_action_without_benchmark'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in
`perform_action_without_caching'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in
`perform_action'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in
`cache'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in
`cache'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in
`perform_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in
`send'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in
`process_without_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in
`process_without_session_management_support'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in
`process'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in
`process'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in
`handle_request'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in
`dispatch'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in
`dispatch_cgi'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in
`dispatch'
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:101:in
`process_request'
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:149:in
`with_signal_handler'
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in
`process_request'
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in
`process_each_request'
/usr/lib/ruby/vendor_ruby/1.8/fcgi.rb:612:in `each_cgi'
/usr/lib/ruby/vendor_ruby/1.8/fcgi.rb:609:in `each'
/usr/lib/ruby/vendor_ruby/1.8/fcgi.rb:609:in `each_cgi'
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in
`process_each_request'
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in
`process!'
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in
`process!'
/public/dispatch.fcgi:24
Rendering status
errorcode 'package_save_error' - error saving package: value of develproject
has to be a existing project (project 'home:rmax:Factory' doesnot exist)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.