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?

Martin


On Thu, Sep 26, 2013 at 4:02 AM, Jan Hapala <j...@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.)
>
> Jan
>
>
> 2013/9/25 Martin Čech <emulato...@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!
>>
>> best
>>
>> Martin Cech
>>
>>
>>
>>
>>
>> On Wed, Sep 25, 2013 at 9:15 AM, Jan Hapala <j...@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 = false
>>> to 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,
>>> Jan
>>>
>>>
>>> URL:
>>> http://127.0.0.1:8080/user/edit_info?cntrller=user&user_id=f2db41e1fa331b3e
>>> File
>>> '.../eggs/WebError-0.8a-py2.7.egg/weberror/evalexception/middleware.py',
>>> line 364 in respond
>>>   app_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_request
>>>   body = method( trans, **kwargs )
>>> File '.../lib/galaxy/webapps/galaxy/controllers/user.py', line 842 in
>>> edit_info
>>>   trans.sa_session.flush()
>>> File
>>> '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/scoping.py',
>>> line 114 in do
>>> File
>>> '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/session.py',
>>> line 1718 in flush
>>> File
>>> '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/session.py',
>>> line 1789 in _flush
>>> File
>>> '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/unitofwork.py',
>>> line 331 in execute
>>> File
>>> '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/unitofwork.py',
>>> line 475 in execute
>>> File
>>> '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/persistence.py',
>>> line 59 in save_obj
>>> File
>>> '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/persistence.py',
>>> line 485 in _emit_update_statements
>>> File
>>> '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py',
>>> line 1449 in execute
>>> File
>>> '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py',
>>> line 1584 in _execute_clauseelement
>>> File
>>> '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py',
>>> line 1651 in _execute_context
>>> File
>>> '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py',
>>> line 1647 in _execute_context
>>> File
>>> '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/default.py',
>>> line 475 in _init_compiled
>>> File
>>> '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/types.py',
>>> line 626 in process
>>> File '.../lib/galaxy/model/custom_types.py', line 125 in
>>> process_bind_param
>>>   value = 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/
>>>
>>
>>
>
___________________________________________________________
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/

Reply via email to