Export to GitHub

as3-arduino-connector - issue #30

Error #3500: The extension context does not have a method with the name setupPort.


Posted on Jan 29, 2014 by Happy Ox

What steps will reproduce the problem? 1. Trying to simply do a test compile targeting AIR for desktop 2. 3.

What is the expected output? What do you see instead? ArgumentError: Error #3500: The extension context does not have a method with the name setupPort. at flash.external::ExtensionContext/_call() at flash.external::ExtensionContext/call() at com.quetwo.Arduino::ArduinoConnector/connect()[E:\Apache\dev\SerialANE\src\com\quetwo\Arduino\ArduinoConnector.as:102] What version of the product are you using? On what operating system? Same error on BOTH Mac OS 10.9 and Windows 8 compiling using Flash CS6 IDE

Please provide any additional information below.

A similar error is supposed to affect only Mac compilations, but this affects BOTH mac and Windows

Comment #1

Posted on Feb 5, 2014 by Grumpy Dog

Comment deleted

Comment #2

Posted on Feb 5, 2014 by Grumpy Dog

I've been having this issue as well. I'm running Windows 7 64-bit, with Adobe Flash CC.

Comment #3

Posted on Feb 5, 2014 by Grumpy Dog

I found out what's wrong! All you need to do is install that "pthreadGC2.dll" file mentioned in a different known bug. In v1.5 you also need to install "libgcc_s_dw2-1.dll", which you can get at http://madalgo.au.dk/~jakobt/libgcc_s_dw2-1.dll

Remember to put them in a different folder (not System32) if you have 64-bit. I don't know what to do on Mac OS X though, I've never run into that file extension on Mac OS X, so I'd assume that it's windows-only.

Comment #4

Posted on Jun 20, 2014 by Grumpy Dog

Having the same issue with OSX Mavericks. The getComPorts() method is working well but the connect() method which is calling the ANE's setupPort() method throws this error.

Status: New

Labels:
Type-Defect Priority-Medium