skarcha/tests — Issue #12: 13 - 05to06.py faills to convert 
Author: skarcha
Created: 2011-10-17 23:10:54+00:00
State: closed

the conf works on 0.5.6

05t06 Error:
gustavo cherokee # cat /etc/bakcherokee/sites-available/default | 05to06.py
# Cherokee 0.6.x configuration file generated by 05to06.py

# Copyright (C) 2006 Alvaro Lopez Ortega <alvaro@alobbs.com>

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

vserver!default!directory_index = index.php,index.html,index.htm,index.shtml
vserver!default!document_root = /var/www/localhost/htdocs
vserver!vserver!default!user_dir!public_html!directory!/!handler = common
Traceback (most recent call last):
File "/usr/local/bin/05to06.py", line 828, in ?
main()
File "/usr/local/bin/05to06.py", line 825, in main
c.convert()
File "/usr/local/bin/05to06.py", line 821, in convert
self.syn.convert()
File "/usr/local/bin/05to06.py", line 681, in convert
more = self.process_sentence()
File "/usr/local/bin/05to06.py", line 659, in process_sentence
ok = self._process_virtual_server_content ()
File "/usr/local/bin/05to06.py", line 455, in _process_virtual_server_content
more = self._process_virtual_server_content (prefix)
File "/usr/local/bin/05to06.py", line 415, in _process_virtual_server_content
self._process_entry (prefix)
File "/usr/local/bin/05to06.py", line 273, in _process_entry
print "%s!priority = %d" % (prefix, self._vserver_last_priority * 10)
AttributeError: Syntax instance has no attribute '_vserver_last_priority'

i attached the config file

Original link: http://code.google.com/p/cherokee/issues/detail?id=13