Monitor layout can't save/load

Hi everyone !

Since few days we have a issue with the Monitor Layouts.
Our Deadline version is: 7.0.2.3 R

When we try to create a new layout and saving it, we can’t reload it. The monitor’s console give us this error:

2015-05-29 17:12:05: Traceback (most recent call last): 2015-05-29 17:12:05: File "DeadlineMonitor\UI\Forms\MonitorDockWidget.py", line 373, in restoreWidgetState 2015-05-29 17:12:05: File "DeadlineMonitor\UI\DisplayWidgets\JobListWidget.py", line 22, in restoreWidgetState 2015-05-29 17:12:05: File "DeadlineMonitor\UI\DisplayWidgets\FilterListWidget.py", line 78, in restoreWidgetState 2015-05-29 17:12:05: UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in position 5089: ordinal not in range(128) 2015-05-29 17:12:05: Traceback (most recent call last): 2015-05-29 17:12:05: File "DeadlineMonitor\UI\Forms\MainWindow.py", line 752, in loadSettings 2015-05-29 17:12:05: AttributeError: 'NoneType' object has no attribute 'split'

This happens on several workstations. We try to save the layout from the menu “View” and also from the Repository Options > Monitor Settings > Monitor Layout.
Is there something we doing wrong or a way to resolve this issue ?

Hey Yann,

I looked it up and this is kind of a weird Unicode character that the Python end is trying to encode:
fileformat.info/info/unicode … /index.htm

Do you have filters set in this layout, and if so, what language is the text for that filter? I have a feeling we may not support storing filters that are outside of the usual ASCII character set.

I’ll try throwing in some snowmen (http://www.fileformat.info/info/unicode/char/2603/index.htm) and see what happens

Update:
Snowmen in our job filter name seems to have worked great in 7.2 beta… Can you give me some steps to reproduce?

Hey Edwin !

We haven’t any weird filter. They have always worked fine before something happen…

After you said that the filter may be the cause of this issue, I found that a new user have been created, few weeks ago, with a “é” character.
I deleted this user, relaunched the monitor and saved again my layout and now it works fine !!

To be sure that the user name created this problem, I try to create a new user named “éàè”. I relaunched the monitor and saved my layout again: when I try to reload it, the console give me the same error !

2015-05-29 19:06:13: Traceback (most recent call last): 2015-05-29 19:06:13: File "DeadlineMonitor\UI\Forms\MonitorDockWidget.py", line 373, in restoreWidgetState 2015-05-29 19:06:13: File "DeadlineMonitor\UI\DisplayWidgets\JobListWidget.py", line 22, in restoreWidgetState 2015-05-29 19:06:13: File "DeadlineMonitor\UI\DisplayWidgets\FilterListWidget.py", line 78, in restoreWidgetState 2015-05-29 19:06:13: UnicodeEncodeError: 'ascii' codec can't encode characters in position 5155-5157: ordinal not in range(128) 2015-05-29 19:06:13: Traceback (most recent call last): 2015-05-29 19:06:13: File "DeadlineMonitor\UI\Forms\MainWindow.py", line 752, in loadSettings 2015-05-29 19:06:13: AttributeError: 'NoneType' object has no attribute 'split'