error @ freenas 8, rsync client, WEEK_CHOICES

Status
Not open for further replies.

erkko

Cadet
Joined
Aug 2, 2011
Messages
1
FreeNAS-8.0.1-BETA2-i386

whenever i de-select some days from system > rsyncs > *, the ui fails to display page with all rsync jobs. sorry, an error occured... freenas 8 classic.

fortunately enough, /var/log/lighttpd.access.log displays this event as "GET /system/rsyncs/ HTTP/1.1" 500 197951

visiting such an url with browser, content like this is displayed:



AttributeError at /system/rsyncs/
'module' object has no attribute 'WEEK_CHOICES'
Request Method: GET
Request URL: https://myfreenashostname/system/rsyncs/
Django Version: 1.3
Exception Type: AttributeError
Exception Value:
'module' object has no attribute 'WEEK_CHOICES'
Exception Location: /usr/local/www/freenasUI/system/models.py in get_human_dayweek, line 476
Python Executable: /usr/local/bin/python
Python Version: 2.7.1
Python Path:
['/usr/local/www/freenasUI',
'/usr/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/South-0.7.3-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/flup-1.0.2-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/python_ldap-2.3.13-py2.7-freebsd-8.2-RELEASE-i386.egg',
'/usr/local/lib/python27.zip',
'/usr/local/lib/python2.7',
'/usr/local/lib/python2.7/plat-freebsd8',
'/usr/local/lib/python2.7/lib-tk',
'/usr/local/lib/python2.7/lib-old',
'/usr/local/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/site-packages',
'/usr/local/www']


whenever i re-select all days in all 18 of my rsync client jobs, this behaviour disappears and listing-view for all rsyncs in web-ui works again.

no mention of such fix in release notes about beta3 nor beta4. any hardcore fixes, i could use meanwhile?

e



PS. same **** goes on with cronjobs:

de-selecting some of weekdays and...

"GET /system/cronjobs/?dojo.preventCache=1312306289020 HTTP/1.1" 500


AttributeError at /system/cronjobs/
'module' object has no attribute 'WEEK_CHOICES'
Request Method: GET
Request URL: http://itsstillmyfreenashostname/system/cronjobs/?dojo.preventCache=1312306289020sdf
Django Version: 1.3
Exception Type: AttributeError
Exception Value:
'module' object has no attribute 'WEEK_CHOICES'
Exception Location: /usr/local/www/freenasUI/system/models.py in get_human_dayweek, line 321
Python Executable: /usr/local/bin/python
Python Version: 2.7.1
Python Path:
['/usr/local/www/freenasUI',
'/usr/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/South-0.7.3-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/flup-1.0.2-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/python_ldap-2.3.13-py2.7-freebsd-8.2-RELEASE-i386.egg',
'/usr/local/lib/python27.zip',
'/usr/local/lib/python2.7',
'/usr/local/lib/python2.7/plat-freebsd8',
'/usr/local/lib/python2.7/lib-tk',
'/usr/local/lib/python2.7/lib-old',
'/usr/local/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/site-packages',
'/usr/local/www']
Server time: Tue, 2 Aug 2011 20:33:21 +0300





PPS. ... just tried BETA4 in virtualbox, cronjobs and rsync-client-jobs do look like weekdays can be de-selected at will.
sry, did search this forum and support-trac and release-notes before asking.
case closed.
thanks.
 
Status
Not open for further replies.
Top