Cannot add server device

Posted on
Sun May 13, 2012 5:55 pm
bunnyboy offline
Posts: 7
Joined: Sep 10, 2009

Cannot add server device

Using Indigo 5.1.1, Security Spy 2.1.3, and the SecuritySpy Plugin 1.0.0 I cannot add the first server device. After entering in the address/port/user/pass there is red text that says "Error validating fields" however none of them are red.

The log says:

Code: Select all
  Error (client)                  CreateXmlValuesDictFromPaxFieldReps() caught exception: IllegalParameterError -- illegal character in XML tag name or value
  Cynical SecuritySpy Error       in validateIOMConfigUi: Traceback (most recent call last):
  File ".../Server Plugin/cyin/debugging.py", line 32, in diagnostic_log
    yield
  File ".../Server Plugin/cyin/plug.py", line 303, in call_entry
    return method(*args, **kwargs)
  File ".../Server Plugin/cyin/plug.py", line 226, in validateIOMConfigUi
    return self._ui._check_ui(values)
  File ".../Server Plugin/cyin/configui.py", line 79, in _check_ui
    self._check_fields()
  File ".../Server Plugin/cyin/configui.py", line 99, in _check_fields
    value = self._ui_values[name]
KeyError: 'key password not found in dict'


Reloading or disabling/enabling the plugin does not seem to change anything.

Posted on
Tue May 15, 2012 10:25 pm
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: Cannot add server device

CreateXmlValuesDictFromPaxFieldReps() caught exception: IllegalParameterError -- illegal character in XML tag name or value

That's the smoking gun here; Indigo didn't like an XML tag whose value started with an underscore (id="_s1"). That must have changed since I put out version 1.0.0.

No problem; version 1.0.1 posted and fixes this problem. Thanks for reporting it.

Cheers
-- perry

Posted on
Wed May 16, 2012 8:47 am
jay (support) offline
Site Admin
User avatar
Posts: 18255
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Cannot add server device

XML attribute values must start with an alphanumeric (at least in the Cocoa XML frameworks). Rather than having a client crash, we started checking for it in beta 9 (9/22/2011).

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sun May 20, 2012 5:12 pm
bunnyboy offline
Posts: 7
Joined: Sep 10, 2009

Re: Cannot add server device

Thanks, that worked! Now I just need to figure out what to do with it... :)

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests