Jan,It works for me with the newest galaxy-central version. I registered new user without a problem having the pbkdf2 turned off.What version are you using now?MartinOn Thu, Sep 26, 2013 at 4:02 AM, Jan Hapala <jan@hapala.cz> wrote:
Ahoj Martine,thanks for your response. That was a pretty stupid mistake, hard to notice even though I program in Python.However, this has not solved my problem, I get the same error. (I have also made sure that it is in the right section.)Jan2013/9/25 Martin Čech <emulatorer@gmail.com>
Ahoj Honzo,Python is case-sensitive. Use 'use_pbkdf2 = False' and make sure you put it under the '[app:main]' section in the config file.Enjoy Galaxy!bestMartin CechOn Wed, Sep 25, 2013 at 9:15 AM, Jan Hapala <jan@hapala.cz> wrote:
___________________________________________________________Hi,I need to run Galaxy with ProFTPd, therefore I need to disable the PBKDF2 encryption of the passwords (as stated here http://dev.list.galaxyproject.org/disable-PBKDF2-revert-to-SHA1-td4661274.html).However, when I do add this line:use_pbkdf2 = falseto the universe_wsgi.ini, restart Galaxy, submit the form for the password change (or register as a new user) I get an error "_hashlib.HASH object has no attribute __getitem__".I got the same result with a version as of Jul 2 and the most recent tag (10411:c42567f43aa7, Aug 19).I would be much grateful for your suggestions!Regards,JanFile '.../eggs/WebError-0.8a-py2.7.egg/weberror/evalexception/middleware.py', line 364 in respondapp_iter = self.application(environ, detect_start_response)File '.../eggs/Paste-1.7.5.1-py2.7.egg/paste/recursive.py', line 84 in __call__return self.application(environ, start_response)File '.../eggs/Paste-1.7.5.1-py2.7.egg/paste/httpexceptions.py', line 633 in __call__return self.application(environ, start_response)File '.../lib/galaxy/web/framework/base.py', line 132 in __call__return self.handle_request( environ, start_response )File '.../lib/galaxy/web/framework/base.py', line 190 in handle_requestbody = method( trans, **kwargs )File '.../lib/galaxy/webapps/galaxy/controllers/user.py', line 842 in edit_infotrans.sa_session.flush()File '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/scoping.py', line 114 in doFile '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/session.py', line 1718 in flushFile '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/session.py', line 1789 in _flushFile '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/unitofwork.py', line 331 in executeFile '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/unitofwork.py', line 475 in executeFile '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/persistence.py', line 59 in save_objFile '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/persistence.py', line 485 in _emit_update_statementsFile '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py', line 1449 in executeFile '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py', line 1584 in _execute_clauseelementFile '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py', line 1651 in _execute_contextFile '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py', line 1647 in _execute_contextFile '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/default.py', line 475 in _init_compiledFile '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/types.py', line 626 in processFile '.../lib/galaxy/model/custom_types.py', line 125 in process_bind_paramvalue = value[0:self.impl.length]StatementError: '_hashlib.HASH' object has no attribute '__getitem__' (original cause: TypeError: '_hashlib.HASH' object has no attribute '__getitem__') 'UPDATE galaxy_user SET update_time=%(update_time)s, password=%(password)s WHERE galaxy_user.id = %(galaxy_user_id)s' [{u'galaxy_user_id': 1, 'password': <sha1 HASH object @ 0x7338bc0>}]
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/
To search Galaxy mailing lists use the unified search at:
http://galaxyproject.org/search/mailinglists/