OK, i need to do a bit more debugging but i’m now struggling.
I’m running freebsd as you know and all my tests so far are in a jail. in order for me to test the scripts out i want to just copy the directory from my laptop to the jail. not so simple… had to set up ssh… which borked as i screwed the permissions. anyway… i made a brand new jail, install platformio on it, configured the remote. all is great. then it borks when i try to compile using remote… its done it three times now at the same point…
this is on the server
2016-11-12 16:54:41 [info] Successfully connected
2016-11-12 16:54:41 [info] Authenticating
2016-11-12 16:54:41 [info] Successfully authorized
2016-11-12 16:55:24 [info] Remote command received: run
Unhandled Error
Traceback (most recent call last):
File "/root/.platformio/packages/pysite-pioplus/twisted/python/log.py", line 101, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/root/.platformio/packages/pysite-pioplus/twisted/python/log.py", line 84, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/root/.platformio/packages/pysite-pioplus/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/root/.platformio/packages/pysite-pioplus/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "/root/.platformio/packages/pysite-pioplus/twisted/internet/posixbase.py", line 597, in _doReadOrWrite
why = selectable.doRead()
File "/root/.platformio/packages/pysite-pioplus/twisted/internet/tcp.py", line 208, in doRead
return self._dataReceived(data)
File "/root/.platformio/packages/pysite-pioplus/twisted/internet/tcp.py", line 214, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/root/.platformio/packages/pysite-pioplus/twisted/spread/banana.py", line 249, in dataReceived
gotItem(item)
File "/root/.platformio/packages/pysite-pioplus/twisted/spread/banana.py", line 173, in gotItem
self.callExpressionReceived(item)
File "/root/.platformio/packages/pysite-pioplus/twisted/spread/banana.py", line 136, in callExpressionReceived
self.expressionReceived(obj)
File "/root/.platformio/packages/pysite-pioplus/twisted/spread/pb.py", line 575, in expressionReceived
method(*sexp[1:])
File "/root/.platformio/packages/pysite-pioplus/twisted/spread/pb.py", line 896, in proto_message
self._recvMessage(self.localObjectForID, requestID, objectID, message, answerRequired, netArgs, netKw)
File "/root/.platformio/packages/pysite-pioplus/twisted/spread/pb.py", line 940, in _recvMessage
self._sendAnswer(netResult, requestID)
File "/root/.platformio/packages/pysite-pioplus/twisted/spread/pb.py", line 948, in _sendAnswer
self.sendCall(b"answer", requestID, netResult)
File "/root/.platformio/packages/pysite-pioplus/twisted/spread/pb.py", line 596, in sendCall
self.sendEncoded(exp)
File "/root/.platformio/packages/pysite-pioplus/twisted/spread/banana.py", line 322, in sendEncoded
self._encode(obj, encodeStream.write)
File "/root/.platformio/packages/pysite-pioplus/twisted/spread/banana.py", line 335, in _encode
self._encode(elem, write)
File "/root/.platformio/packages/pysite-pioplus/twisted/spread/banana.py", line 364, in _encode
"byte string is too long to send (%d)" % (len(obj),))
twisted.spread.banana.BananaError: byte string is too long to send (1048576)
2016-11-12 16:56:27 [warn] Connection is lost to PIO Remote Cloud. Reconnecting
2016-11-12 16:56:30 [info] Successfully connected
2016-11-12 16:56:30 [info] Authenticating
2016-11-12 16:56:30 [info] Successfully authorized
this is on the client
➜ MyMelvanimate git:(master) ✗ platformio remote run -r -e bedroom
PlatformIO Plus (https://pioplus.com) v0.5.1
[Sat Nov 12 16:56:01 2016] Processing bedroom (build_flags: -Wl,-Tesp8266.flash.4m.ld -DWS2812_FOUR_COLOR, lib_install: 13, 547, 89, board_f_cpu: 160000000L, platform: espressif8266, upload_speed: 230400, board: esp12e, framework: arduino, board_flash_mode: qio, upload_port: /dev/cu.usbserial, board_f_flash: 80000000L)
-----------------------------------------------------------------------------------------------------------
LibraryManager: Installing id=13
Downloading [####################################] 100%
Unpacking [####################################] 100%
Adafruit GFX Library @ 1.1.5 has been successfully installed!
LibraryManager: Installing id=547
Downloading [####################################] 100%
Unpacking [####################################] 100%
NeoPixelBus @ 2.2.4 has been successfully installed!
LibraryManager: Installing id=89
Downloading [####################################] 100%
Unpacking [####################################] 100%
PubSubClient @ 2.6 has been successfully installed!
PackageManager: Installing toolchain-xtensa @ ~1.40802.0
Downloading [##----------------------------------] 7% 00:00:47Agent has been terminated
➜ MyMelvanimate git:(master) ✗
each time in the toolchain thing