Closed realjax closed 6 years ago
Please provide an output of pio device list --mdns
in Terminal
I already did, see above. Or is that not what you meant?
Without JSON option
ok, here you go:
Obsolete PIO Core v3.5.1 is used (previous was 3.5.2b5) Please remove multiple PIO Cores from a system: http://docs.platformio.org/page/faq.html#multiple-pio-cores-in-a-system
Type: _companion-link._tcp.local. IP: 192.168.1.221 Port: 58514 Properties: rpVr=120.51; rpBA=5B:14:72:28:D7:3C
Type: _smb._tcp.local. IP: 192.168.1.221 Port: 445
Type: _nfs._tcp.local. IP: 192.168.1.221 Port: 2049
Type: _companion-link._tcp.local. IP: 192.168.1.231 Port: 55007 Properties: rpVr=120.51; rpBA=49:C7:3F:24:1B:57
Type: _googlecast._tcp.local. IP: 192.168.1.191 Port: 8009 Properties: md=Chromecast; ve=05; rs=False; ca=4101; nf=1; cd=F104BBBAB6700319DF3747792A1798F3; bs=FA8FCA70A2F1; rm=False; ic=/setup/icon.png; st=0; id=c74032dc260a2e6530af1a39e93f6c89; fn=Woonkamer
Type: _acp-sync._tcp.local. IP: 169.254.11.211 Port: 5009 Properties: mac=DC:A4:CA:EA:71:6F; bssinfo=AQJkgIYQAAAJ3KTK7agDAVGGCAAAB9ykyu2oAg; nm=AirPort Time Capsule; cu=4dde65b7-ee90-555f-a5a9-f20ee14e9322; ssid=TuiPrint
Type: _airport._tcp.local. IP: 169.254.11.211 Port: 5009 Properties: waMA=DC-A4-CA-EA-71-6F,raMA=DC-A4-CA-ED-A8-03,raM2=DC-A4-CA-ED-A8-02,raNm=TuiPrint,raCh=100,rCh2=1,raSt=0,raNA=0,syFl=0x8A0C,syAP=119,syVs=7.7.9,srcv=77900.2,bjSd=28
Type: _afpovertcp._tcp.local. IP: 169.254.11.211 Port: 548
Type: _adisk._tcp.local. IP: 169.254.11.211 Port: 9 Properties: sys=waMA=DC:A4:CA:EA:71:6F,adVF=0x1010; dk2=adVF=0x1093,adVN=Data,adVU=24c6f2a3-17d5-5fcf-9340-bc59dff5fdf0
Type: _http._tcp.local. IP: 192.168.1.40 Port: 5000 Properties: url=http://192.168.1.40:5000/; path=/; version=1.647; server-id=2b1ed33bfc54cfd69d2aaf5627780c5c; slave-port=1047
Type: _sleep-proxy._udp.local. IP: 169.254.11.211 Port: 50522
Type: _jenkins._tcp.local. IP: 192.168.1.40 Port: 5000 Properties: url=http://192.168.1.40:5000/; path=/; version=1.647; server-id=2b1ed33bfc54cfd69d2aaf5627780c5c; slave-port=1047
Type: _hudson._tcp.local. IP: 192.168.1.40 Port: 5000 Properties: url=http://192.168.1.40:5000/; path=/; version=1.647; server-id=2b1ed33bfc54cfd69d2aaf5627780c5c; slave-port=1047
Type: _arduino._tcp.local. IP: 192.168.1.245 Port: 8266 Properties: tcp_check=no; ssh_upload=no; board=ESP8266_NODEMCU; auth_upload=yes
Type: _ipp._tcp.local. IP: 192.168.1.45 Port: 631 Properties: note=False; URF=CP1,MT1-2-8-9-10-11,OB9,OFU0,PQ3-4-5,RS300-600,SRGB24,W8,DM3,IS1; rp=ipp/printer; ty=Officejet 6500 E710n-z; adminurl=http://HPE7FCC2.local.; Duplex=T; qtotal=1; product=(HP Officejet 6500 E710n-z); Scan=T; priority=60; Color=T; pdl=application/vnd.hp-PCL,image/urf,image/jpeg; txtvers=1
Type: _pdl-datastream._tcp.local. IP: 192.168.1.45 Port: 9100 Properties: note=False; product=(HP Officejet 6500 E710n-z); ty=Officejet 6500 E710n-z; adminurl=http://HPE7FCC2.local.; Duplex=T; qtotal=1; Scan=T; priority=30; Color=T; pdl=application/vnd.hp-PCL,image/urf,image/jpeg; txtvers=1
Type: _workstation._tcp.local. IP: 192.168.1.143 Port: 9
Type: _afpovertcp._tcp.local. IP: 192.168.1.143 Port: 548
Anyone? I tried what is mentioned here: http://docs.platformio.org/page/faq.html#multiple-pio-cores-in-a-system
But it made no difference. Still same problem
I see that you have multiple PIO Cores in a system. Please open SYSTEM terminal (not PIO IDE) and run sudo pip uninstall platformio
Already tried that. Doesn't make a difference.
Please unpack the attached archive, open PIO IDE Terminal, and type
python /path/to/test_mdns.py.zip
Please paste an output on https://hastebin.com
Thanks, output is not much, but here it is: https://hastebin.com/zuravoseri.sql
This is the result from running within the PIO IDE Terminal. Using the 'normal' terminal the output is the same. Probably because of running this command (sudo pip uninstall platformio
)earlier.
You NEED to use PIO IDE Terminal (terminal icon on toolbar), not system terminal.
I DID.
Ivan Kravets notifications@github.com schreef op 12 maart 2018 18:14:03 CET:
You NEED to use PIO IDE Terminal (terminal icon on toolbar), not system terminal.
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/platformio/platformio-core/issues/1381#issuecomment-372389399
-- Verstuurd vanaf mijn Android apparaat met K-9 Mail. Excuseer mijn beknoptheid.
Ok.
Seems to be caused by an Airport time capsule in my network. It displays a weird netbios name \
Type: _smb._tcp.local. IP: 169.254.11.211 Port: 445 Properties: netbios=��r
And multicast DNS chokes on that netbios name. ( see end of my first post:
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa4 in position 0: invalid start byte )
When I switch off the airport, then multicast DNS works fine. I cannot alter the netbios name of the Airport ( of course not, its Apple) so I'm kinda stuck here.
Thanks! I've just made some improvement. Could you open PIO IDE Terminal and type pio upgrade --dev
. Restart IDE. Does it work now?
Thanks, I tried and It said: PlatformIO has been successfully upgraded to 3.5.3a7
But the problem remains after the restart :(
Could you provide TeamViewer access to debug this issue? Please send me ID/Pass to me@ikravets.com
Could you try again pio upgrade --dev
and restart IDE? I did some changes to the code.
Succes!! This worked ! Thanks a bunch Ivan :)
Thank you so much for the report! ;)
Operating system: Macos 10.13.3
PlatformIO Version Home 0.6.1·Core 3.5.2b5
Description of problem
Select devices -> Multicast DNS
Actual Results
Could not load mDNS services
Expected Results
al list of devices
Additional info
The output of the terminal command : pio device list --mdns --json-output
is this:
Error: Traceback (most recent call last): File "/Library/Python/2.7/site-packages/platformio/main.py", line 120, in main cli(None, None, None) File "/Library/Python/2.7/site-packages/click/core.py", line 700, in call return self.main(args, kwargs) File "/Library/Python/2.7/site-packages/click/core.py", line 680, in main rv = self.invoke(ctx) File "/Library/Python/2.7/site-packages/click/core.py", line 1027, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/Library/Python/2.7/site-packages/click/core.py", line 1027, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/Library/Python/2.7/site-packages/click/core.py", line 873, in invoke return ctx.invoke(self.callback, ctx.params) File "/Library/Python/2.7/site-packages/click/core.py", line 508, in invoke return callback(args, **kwargs) File "/Library/Python/2.7/site-packages/platformio/commands/device.py", line 50, in device_list return click.echo(json.dumps(data[single_key] if single_key else data)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 243, in dumps return _default_encoder.encode(obj) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.py", line 207, in encode chunks = self.iterencode(o, _one_shot=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.py", line 270, in iterencode return _iterencode(o, 0) UnicodeDecodeError: 'utf8' codec can't decode byte 0xa4 in position 0: invalid start byte
============================================================