Hello,

when I go to the user preferences and try to change the default permissions for new histories, I always get the following error (full message in attachment):


Error - <type 'exceptions.TypeError'>: set_default_permissions() takes exactly 3 non-keyword arguments (2 given)
URL: http://solweb2.immunbio.mpg.de/user/set_default_permissions
File '/galaxy/galaxy_server/eggs/Paste-1.6-py2.6.egg/paste/exceptions/errormiddleware.py', line 143 in __call__
  app_iter = self.application(environ, start_response)
File '/galaxy/galaxy_server/eggs/Paste-1.6-py2.6.egg/paste/recursive.py', line 80 in __call__
  return self.application(environ, start_response)
File '/galaxy/galaxy_server/eggs/Paste-1.6-py2.6.egg/paste/httpexceptions.py', line 632 in __call__
  return self.application(environ, start_response)
File '/galaxy/galaxy_server/lib/galaxy/web/framework/base.py', line 145 in __call__
  body = method( trans, **kwargs )
TypeError: set_default_permissions() takes exactly 3 non-keyword arguments (2 given)

I would greatly appreciate any help to solve this problem. Thanks in advance!

Best regards,
Sarah
10.1.5.190 - - [08/Jul/2011:09:36:14 +0200] "POST /user/set_default_permissions 
HTTP/1.1" 500 - 
"http://solweb2.immunbio.mpg.de/user/set_default_permissions?cntrller=user"; 
"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 
Fedora/3.6.17-1.fc14 Firefox/3.6.17"
Error - <type 'exceptions.TypeError'>: set_default_permissions() takes exactly 
3 non-keyword arguments (2 given)
URL: http://solweb2.immunbio.mpg.de/user/set_default_permissions
File 
'/galaxy/galaxy_server/eggs/Paste-1.6-py2.6.egg/paste/exceptions/errormiddleware.py',
 line 143 in __call__
  app_iter = self.application(environ, start_response)
File '/galaxy/galaxy_server/eggs/Paste-1.6-py2.6.egg/paste/recursive.py', line 
80 in __call__
  return self.application(environ, start_response)
File '/galaxy/galaxy_server/eggs/Paste-1.6-py2.6.egg/paste/httpexceptions.py', 
line 632 in __call__
  return self.application(environ, start_response)
File '/galaxy/galaxy_server/lib/galaxy/web/framework/base.py', line 145 in 
__call__
  body = method( trans, **kwargs )
TypeError: set_default_permissions() takes exactly 3 non-keyword arguments (2 
given)


CGI Variables
-------------
  CONTENT_LENGTH: '-1'
  CONTENT_TYPE: 'application/x-www-form-urlencoded'
  HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
  HTTP_ACCEPT_CHARSET: 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
  HTTP_ACCEPT_ENCODING: 'gzip,deflate'
  HTTP_ACCEPT_LANGUAGE: 'en-us,en;q=0.5'
  HTTP_CONNECTION: 'Keep-Alive'
  HTTP_COOKIE: 
'galaxysession=f611411aa8a0c665b61db8293a8ea068714c7d705211c2d710c72adcfca0d053c2f647fee2d5d9cd'
  HTTP_HOST: 'solweb2.immunbio.mpg.de'
  HTTP_REFERER: 
'http://solweb2.immunbio.mpg.de/user/set_default_permissions?cntrller=user'
  HTTP_USER_AGENT: 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) 
Gecko/20110428 Fedora/3.6.17-1.fc14 Firefox/3.6.17'
  HTTP_X_FORWARDED_FOR: '10.1.5.190'
  HTTP_X_FORWARDED_HOST: 'solweb2.immunbio.mpg.de'
  HTTP_X_FORWARDED_SERVER: 'solweb2'
  ORGINAL_HTTP_HOST: 'localhost:8081'
  ORGINAL_REMOTE_ADDR: '127.0.0.1'
  PATH_INFO: '/user/set_default_permissions'
  REMOTE_ADDR: '10.1.5.190'
  REQUEST_METHOD: 'POST'
  SERVER_NAME: '0.0.0.0'
  SERVER_PORT: '8081'
  SERVER_PROTOCOL: 'HTTP/1.1'


Configuration
-------------
  __file__: '/galaxy/galaxy_server/universe_wsgi.webapp.ini'
  admin_users: 'di...@immunbio.mpg.de'
  allow_library_path_paste: 'False'
  allow_user_creation: 'True'
  allow_user_dataset_purge: 'True'
  allow_user_deletion: 'True'
  apache_xsendfile: 'True'
  bugs_email: 'di...@immunbio.mpg.de'
  cookie_path: '/'
  database_connection: 'postgres://user:password@localhost/galaxy'
  database_engine_option_server_side_cursors: 'True'
  database_engine_option_strategy: 'threadlocal'
  datatypes_config_file: 'datatypes_conf.xml'
  debug: 'False'
  enable_api: 'True'
  enable_job_running: 'False'
  enable_pages: 'True'
  enable_tracks: 'True'
  error_email_to: 'di...@immunbio.mpg.de'
  external_service_type_config_file: 'external_service_types_conf.xml'
  external_service_type_path: 'external_service_types'
  file_path: 'database/files'
  fulltext_max_size: '200'
  fulltext_noindex_filetypes: 
'bam,sam,wig,bigwig,fasta,fastq,fastqsolexa,fastqillumina,fastqsanger'
  gbrowse_display_sites: 
'wormbase,tair,modencode_worm,modencode_fly,local_mouse,local_human,local_fly'
  genetrack_display_sites: 'main,test'
  here: '/galaxy/galaxy_server'
  id_secret: 'MPI-IE'
  job_working_directory: 'database/job_working_directory'
  len_file_path: 'tool-data/shared/ucsc/chrom'
  library_import_dir: '/galaxy/galaxy_server/data'
  local_job_queue_workers: '15'
  log_actions: 'True'
  log_events: 'True'
  log_level: 'DEBUG'
  new_file_path: 'database/tmp'
  new_user_dataset_access_role_default_private: 'False'
  nglims_config_file: 'tool-data/nglims.yaml'
  require_login: 'False'
  set_metadata_externally: 'True'
  smtp_server: 'mail.immunbio.mpg.de'
  static_cache_time: '360'
  static_dir: '/galaxy/galaxy_server/static/'
  static_enabled: 'True'
  static_favicon_dir: '/galaxy/galaxy_server/static/favicon.ico'
  static_images_dir: '/galaxy/galaxy_server/static/images'
  static_scripts_dir: '/galaxy/galaxy_server/static/scripts/'
  static_style_dir: '/galaxy/galaxy_server/static/june_2007_style/blue'
  tool_config_file: 'tool_conf.xml'
  tool_data_path: 'tool-data'
  tool_path: 'tools'
  ucsc_display_sites: 'main,archaea,ucla'
  upstream_gzip: 'False'
  use_interactive: 'False'
  use_lint: 'False'
  use_memdump: 'False'
  use_nglims: 'False'
  use_profile: 'False'
  wiki_url: 'http://bitbucket.org/galaxy/galaxy-central/wiki'


WSGI Variables
--------------
  application: <paste.recursive.RecursiveMiddleware object at 0x6d80d50>
  paste.cookies: (<SimpleCookie: 
galaxysession='f611411aa8a0c665b61db8293a8ea068714c7d705211c2d710c72adcfca0d053c2f647fee2d5d9cd'>,
 
'galaxysession=f611411aa8a0c665b61db8293a8ea068714c7d705211c2d710c72adcfca0d053c2f647fee2d5d9cd')
  paste.expected_exceptions: [<class 'paste.httpexceptions.HTTPException'>]
  paste.httpexceptions: <paste.httpexceptions.HTTPExceptionHandler object at 
0x4f9f3d0>
  paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 
0x28f9550>
  paste.recursive.forward: <paste.recursive.Forwarder from />
  paste.recursive.include: <paste.recursive.Includer from />
  paste.recursive.include_app_iter: <paste.recursive.IncluderAppIter from />
  paste.recursive.script_name: ''
  paste.throw_errors: True
  webob._parsed_post_vars: (MultiDict([('DATASET_MANAGE_PERMISSIONS_in', '1'), 
('DATASET_ACCESS_out', '1'), ('update_roles_button', 'Save')]), <FakeCGIBody at 
7503350 viewing MultiDict([('DA...e')])>)
  webob._parsed_query_vars: (MultiDict([]), '')
  wsgi process: 'Multithreaded'
------------------------------------------------------------

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/

Reply via email to