if (not my_addr) or self.selfBroadcast:
bits = data.split(str(self.payDelim))
tmperr = 'suffix: ' + bits + '\n'
if commandSize == 2:
tmperr += 'payload: ' + bits + '\n'
if commandSize > 2:
tmperr += 'payload: ' + str(bits[1:]) + '\n'
err = ''
for char in list(tmperr):
if (ord(char) > 127 or ord(char) < 32) and ord(char) != 10:
err += ' **' + hex(ord(char)) + '** '
err += char
err = str(traceback.format_exc()) + '\n' + err
err += 'sender address: ' + str(addr) + '\n'
eg.PrintError('Broadcaster: Data received is outside of the printable range\nsender address: ' + str(addr))
davidmark wrote:Speaking of email (and I'll likely post another thread for this), I would like to be able to send messages asynchronously (e.g. in another thread). Currently relegated to running a second instance of EG to send email "log entries". System sends so many emails that it "hitches" constantly while GMail completes the transaction. Doesn't cause it to miss anything, but found it annoying enough to implement a proxy.
Am in process of encapsulating the core of my system as plugins. Will post when they are ready and will likely have more questions in the interim. Thanks again!
davidmark wrote:Yes, a plugin was what I had in mind. The VoxCommando thing can send async emails, but haven't looked into how open their code is (certainly it uses Python scripts). However, I originally used that thing as a proxy to send emails (via Broadcast) and it was a complete disaster. Sending multiple broadcasts per macro caused constant drops and dupes (e.g. send A, B, C and see something like A, A, C in the "log"). So their related code could only serve as an inspiration.
Thanks again for all the help. Will be trying out your Broadcaster fix this weekend. Will test by sending a non-ASCII character from VC.
Users browsing this forum: No registered users and 2 guests