IllegalParameterError--variable names may not contain spaces

Posted on
Tue Jul 15, 2014 12:02 am
tornado offline
User avatar
Posts: 104
Joined: Jun 30, 2014

IllegalParameterError--variable names may not contain spaces

Hi there,

I'm getting a Cynical Network Error. I was using your Cynical Network plugin (FANTASTIC THANK YOU THANK YOU THANK YOU!) for Indigo tonight and it was/is working swimmingly, with the exception that I’m getting the following errors after running my “Dim lights’ command (which works by the way). The reason I found this set of errors was that my recognized input command doesn’t seem to be working so I wanted to dig deeper to find the cause and saw these exceptions.

Any suggestions on this? I'm running Cynical Network 1.6.1 and I have tried reloading the plugin (uncheck, recheck). This is the log that followed:

Thanks in advance

Code: Select all
Stopped plugin "Cynical Network 1.6.1"
  Enabling plugin "Cynical Network 1.6.1"
  Starting plugin "Cynical Network 1.6.1" (pid 51157)
  Cynical Network                 API version 1.16
  Cynical Network Error           module ir.gcache.gcnet not found
  Started plugin "Cynical Network 1.6.1"
  Cynical Network                 mapping device "HWI" 70956455(outgoing)
  Cynical Network                 HWI starting
  Cynical Network                 HWI is now idle
  Cynical Network                 HWI connecting to 10.0.1.222
  Cynical Network                 plugin starting asyn operation
  Cynical Network                 HWI is now connected
  Cynical Network                 HWI configured for 0 input event(s)
  Cynical Network Error           in runConcurrentThread: Traceback (most recent call last):
  File ".../Server Plugin/cyin/debugging.py", line 46, in diagnostic_log
    yield
  File ".../Server Plugin/cyin/debugging.py", line 56, in diagnose_call
    return method(*args, **kwargs)
  File ".../Server Plugin/cyin/asynplugin.py", line 52, in runConcurrentThread
    self.run()
  File ".../Server Plugin/asyn/inject.py", line 49, in run
    asyn.Controller.run(self)
  File ".../Server Plugin/asyn/controller.py", line 91, in run
    item._can_read()
  File ".../Server Plugin/asyn/selectable.py", line 212, in _can_read
    self._scan(input)
  File ".../Server Plugin/asyn/scan.py", line 53, in _scan
    result = self.scan.scan(self._rbuf, self.callout)
  File ".../Server Plugin/asyn/scan.py", line 108, in scan
    callout(ctx, *m.groups())
  File ".../Server Plugin/asyn/core.py", line 140, in callout
    results = [cb(ctx, *args) for cb in list(self._callbacks)]   # latch callback list
  File "plugin.py", line 140, in _event
    self.lastinput_var = matches[0]
  File ".../Server Plugin/cyin/attr.py", line 358, in __set__
    indigo.variable.updateValue(self._variable(obj), str(value))
  File ".../Server Plugin/cyin/attr.py", line 352, in _variable
    return cyin.variable(self._vname(obj), default=self.more("default", ""), folder=self.more("folder"))
  File ".../Server Plugin/cyin/core.py", line 114, in variable
    value=default, folder=make_folder(indigo.variables, folder))
ValueError: IllegalParameterError -- variable names may not contain spaces

Posted on
Tue Jul 15, 2014 11:05 am
matt (support) offline
Site Admin
User avatar
Posts: 21421
Joined: Jan 27, 2003
Location: Texas

Re: IllegalParameterError--variable names may not contain sp

Do you have any variable names in Indigo's variable window that have spaces in them?

Image

Posted on
Mon Jul 21, 2014 3:57 pm
tornado offline
User avatar
Posts: 104
Joined: Jun 30, 2014

Re: IllegalParameterError--variable names may not contain sp

Yes I did. The space was actually in the Last Line Read variable part of the plugin. I had misinterpreted that to be "what would be the last line that you receive from the serial console" and i had put in "LS> " which had the space.

Thanks for the followup.
Attachments
Screen Shot 2014-07-21 at 2.55.48 PM.png
note the variable name is now correctly formatted
Screen Shot 2014-07-21 at 2.55.48 PM.png (52.07 KiB) Viewed 1174 times

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests