DomoPad Mobile Client Error
DomoPad Mobile Client Error
Hi,
I'm starting to get a lot of errors regarding a character. I guess it might depend on that I'm from Sweden and sometimes uses the characters å,ä and ö. I have made sure that none of the phones are uses that character. But I don't know where to look further?
Anyone who has any idea of whats wrong? I don't really notice any problems though
DomoPad Mobile Client Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/DomoPad Mobile Client.indigoPlugin/Contents/Server Plugin/RPFramework/RPFrameworkPlugin.py", line 709, in runConcurrentThread
File "plugin.py", line 139, in handleUnknownPluginCommand
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 1281, in urlencode
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xe4' in position 2: ordinal not in range(128)
DomoPad Mobile Client Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
I'm starting to get a lot of errors regarding a character. I guess it might depend on that I'm from Sweden and sometimes uses the characters å,ä and ö. I have made sure that none of the phones are uses that character. But I don't know where to look further?
Anyone who has any idea of whats wrong? I don't really notice any problems though
DomoPad Mobile Client Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/DomoPad Mobile Client.indigoPlugin/Contents/Server Plugin/RPFramework/RPFrameworkPlugin.py", line 709, in runConcurrentThread
File "plugin.py", line 139, in handleUnknownPluginCommand
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 1281, in urlencode
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xe4' in position 2: ordinal not in range(128)
DomoPad Mobile Client Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
- RogueProeliator
- Posts: 2538
- Joined: Tue Nov 13, 2012 3:54 pm
- Location: Baton Rouge, LA
Re: DomoPad Mobile Client Error
That would be a slight issue with my handling of unicode (non-US alphabetic) characters. The plugin is actually handling it okay, but then it is failing when passing it along to an outside library which does not support them. My fault, I should have converted the names before handing it off -- I'll make a change and get a new version out to fix it shortly.
Adam
Adam
Re: DomoPad Mobile Client Error
Tnx for the fast response.
As of right now I'm not sure if there is any problem that has any affect on my system.
Skickat från min HTC One_M8 via Tapatalk
As of right now I'm not sure if there is any problem that has any affect on my system.
Skickat från min HTC One_M8 via Tapatalk
- torstein89
- Posts: 17
- Joined: Sat Sep 03, 2016 2:22 am
Re: DomoPad Mobile Client Error
Thanks both Andarv, for feedback on this issue, and Adam for making a fix! I've also encountered problems with Norwegian special characters and made quick fix by just typing non special letters in my push notifications.
Sent from my SM-G930F using Tapatalk
Sent from my SM-G930F using Tapatalk
Re: DomoPad Mobile Client Error
Hi Adam,
I just upgraded your plugin to v2.1.0 and think I encountered a similar error with non-US characters as previously. Is it possible to fix or should I continue renaming my devices =) I'm half way there but it's kind of nice having my notifications in swedish instead of english.
/Anders
I just upgraded your plugin to v2.1.0 and think I encountered a similar error with non-US characters as previously. Is it possible to fix or should I continue renaming my devices =) I'm half way there but it's kind of nice having my notifications in swedish instead of english.
Code: Select all
Z-Wave Error Error in plugin execution:
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/serialinterface.py", line 501, in startCommThread
self.processCommThread()
File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/serialinterface.py", line 700, in processCommThread
self.logError(str(exc))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 17: ordinal not in range(128)/Anders
- RogueProeliator
- Posts: 2538
- Joined: Tue Nov 13, 2012 3:54 pm
- Location: Baton Rouge, LA
Re: DomoPad Mobile Client Error
Foreign characters should be completely supported for push notifications... I just sent myself my test notification with several non-English characters and they came through successfully. Therefore, could you please turn debugging to high, restart the plugin, and re-send that notification that is failing? We should be able to get you fixed up as it must just be a small (different than before) bug somewhere...
Re: DomoPad Mobile Client Error
Hi,
Just reporting back that the problem seem to to be gone, most likely it was something I did which caused it to malfunction. To be precise it occurred at the start up of the plugin so I don't think it had anything to do with notification or anything.
Tanx again,
Anders
Just reporting back that the problem seem to to be gone, most likely it was something I did which caused it to malfunction. To be precise it occurred at the start up of the plugin so I don't think it had anything to do with notification or anything.
Tanx again,
Anders
- RogueProeliator
- Posts: 2538
- Joined: Tue Nov 13, 2012 3:54 pm
- Location: Baton Rouge, LA
Re: DomoPad Mobile Client Error
Oh, I just noticed something... hadn't paid attention before, but that error is not coming from Domotics Pad plugin, it is from Z-Wave.Just reporting back that the problem seem to to be gone, most likely it was something I did which caused it to malfunction. To be precise it occurred at the start up of the plugin so I don't think it had anything to do with notification or anything.
Re: DomoPad Mobile Client Error
Aha, yes I see that to now. It was an overall sloppy bug report...
I'll have to check the logg and see what happened before and after.
I'll have to check the logg and see what happened before and after.
Re: DomoPad Mobile Client Error
Don't know what happened when I posted that error logg, it had nothing to do with your plugin... My mind obviously didn't connect the dots correctly... As you pointed out It was something in the Zwave interface that failed.
The reason I posted was because I upgraded to 2.1.0 and doing so I got a few red lines in the logg, but as stated above it works without any problems and doesn't generate any errors any more.
This was one of them.
/
Anders
The reason I posted was because I upgraded to 2.1.0 and doing so I got a few red lines in the logg, but as stated above it works without any problems and doesn't generate any errors any more.
This was one of them.
Code: Select all
2017-02-14 21:56:49.183 Domotics Pad Mobile Client Error Error in plugin execution:
Traceback (most recent call last):
File "plugin.py", line 88, in startup
self.socketServer = ThreadedTCPServer((host, port), ThreadedTCPRequestHandler)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 420, in __init__
self.server_bind()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 434, in server_bind
self.socket.bind(self.server_address)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
error: [Errno 48] Address already in use/
Anders
- RogueProeliator
- Posts: 2538
- Joined: Tue Nov 13, 2012 3:54 pm
- Location: Baton Rouge, LA
Re: DomoPad Mobile Client Error
That will occasionally happen when upgrading if it fails to shut down the old plugin fast enough... nothing to worry about although I generally do a restart on the plugin after the upgrade if I get that message. I do have some changes to come down the line that should help prevent that in the future, though as you have seen there aren't really any significant side effects.The reason I posted was because I upgraded to 2.1.0 and doing so I got a few red lines in the logg, but as stated above it works without any problems and doesn't generate any errors any more.
Adam