To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/51ad1612-158c-44f6-90ae-181185183d18%40chromium.org.--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
The example needs python. ..have you installed it....check what are it's dependency and install it.....
I have used a very old example but it may be changed and improved now. Â
Sent from LG
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/CAKfOme0-r0SA8q4Yh%2Bkn4dr%3DYXWWS%3DTf8FNASonWZj1Uy53Eog%40mail.gmail.com.
By error it looks like it has not found the native host.I don't know about linux environment as I use windows. ...
  Did you place the json file in proper place. ...are you doing this manually?
    If you have not already done it, I will suggest using install.sh script provided with the example to install the host properlySent from LG
On Feb 19, 2014 6:52 AM, "Vidya Pawar" <vidyap...@gmail.com> wrote:When I step into the port.postMessage() function it gives me errorUncaught Error: Attempting to use a disconnected port object"When I run the native-messaging-host-example.py , it pop-ups the window it mean there is no issue with the Native application.While communicating I am getting the above error.You have any idea?Thanks and Regards,-Vidya
On Tue, Feb 18, 2014 at 12:54 PM, Vidya Pawar <vidyap...@gmail.com> wrote:Hi Rajesh,yes I have installed Python 2.7.6 on Windows and my Linux system has Python 2.7.3The documentation did not mention any other dependencies.
Thanks and Regards,-Vidya
---Vidya---Vidya
Can you run the same file without extension. ...how do you run that file? Paste the command here. ..
If you see the Windows version. ...bat file...here it runs the file with python comand. ...but that's Windows requirement...
You can try same thing. ..i. e write a shell script file which will run the Python file.and then use this file in path in json.
If this does not help then chrome devs or the author of that example can help you.
Sent from LG
That's great Vidya ,that you solved the problem . No idea how others did not face this problem. You should report this to the author. ...
Sent from LG
Vidya, take look at this discussion which I had when I developed native host for windows. .you can use the same. ..it just has basic code of reading and writing. ...I did not completely update the code in post. ...but you can use the same style to write as was used to read....i. e use cout.write etc....also you have to use some jsonlibrary to parse etc.
Sent from LG
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/51ad1612-158c-44f6-90ae-181185183d18%40chromium.org.
---Vidya
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/CAKfOme0-r0SA8q4Yh%2Bkn4dr%3DYXWWS%3DTf8FNASonWZj1Uy53Eog%40mail.gmail.com.
---------Vidya---Vidya---Vidya-Vidya-Vidya-Vidya---Vidya---Vidya
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/5b45df10-1ac2-4dad-8cd7-afe6b1fe077a%40chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsubscribe...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/51ad1612-158c-44f6-90ae-181185183d18%40chromium.org.
---Vidya
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsubscribe...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/CAKfOme0-r0SA8q4Yh%2Bkn4dr%3DYXWWS%3DTf8FNASonWZj1Uy53Eog%40mail.gmail.com.
---------Vidya---Vidya---Vidya-Vidya-Vidya-Vidya---Vidya---Vidya
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/5b45df10-1ac2-4dad-8cd7-afe6b1fe077a%40chromium.org.
---Vidya