ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> Tclplugin-core
Tclplugin-core
Re: [Tclplugin-core] using policy javascript
by Taguchi Takeshi other posts by this author
Jan 19 2004 4:48AM messages near this date
[Tclplugin-core] using policy javascript | Re: [Tclplugin-core] can not input text/entry widget.
Hi, all.

I've red log files carefully.
and I found something probrems.

~/plugD.log say 'pnExecute GetURL ...' command has executed.
But there are no records in web server-side log.
And then, I've terminated browser, (then, remote-wishd went
to down), web server has recieved GET method from GetURL.

I think this means socket from remote-wishd to web server
never flushed.

I can not find the point which sent http request.
Is the function struct NPNetscapeFuncs.geturl?
If yes, I think this is a probrem in the browser mozilla.

Thanks.

At Mon, 01 Dec 2003 13:04:37 +0900,
Taguchi Takeshi wrote:
>  
>  Hi, all.
>  
>  I've try to excute following tclet using FreeBSD version plugin
>  and Activestate's Tcl DevKit.
>  
>  this tclet is stored in localhost, so I've accessed as follwing
>  URL:
>    http://localhost/test/test.html.
>  test.html contains <embed> tag which link to this tclet.
>  
>  BEGIN>--8<CUT HERE>8---
>  #!/usr/local/bin/wish8.4
>  policy javascript
>  text .text -wrap char 
>  .text insert end [::browser::getURL http://localhost:80/index.html]
>  pack .text
>  END>---8<CUT HERE>8---
>  
>  Offcause, config/plugin.cfg has following lines:
>  
>  section trustedJavascriptURLs
>      ... snip ...
>      allow http://localhost:80/*
>      ... snip ...
>  
>  But I've got following error from both plugins.
>  
>  BEGIB>---8<CUT HERE>8---
>  An error occured during execution of this Tclet:
>  error
>  Stack trace:
>  error
>      invoked from within
>  "ReturnError $res"
>      (procedure "::safe::InterpInvokeAlias" line 31)
>      invoked from within
>  "::browser::getURL http://localhost:80/index.html"
>      invoked from within
>  ".text insert end [::browser::getURL http://localhost:80/index.html]"
>      ("uplevel" body line 4)
>      invoked from within
>  "uplevel #0 {#!/usr/local/bin/wish8.4
>  policy javascript
>  text .text -wrap char 
>  .text insert end [::browser::getURL http://localhost:80/index.html]
>  pack..."
>  END>---8<CUT HERE>8---
>  
>  What sould I do?
>  
>  Thanks.
>  ---
>  T.Taguchi.
>  
>  
>  -------------------------------------------------------
>  This SF.net email is sponsored by: SF.net Giveback Program.
>  Does SourceForge.net help you be more productive?  Does it
>  help you create better code?  SHARE THE LOVE, and help us help
>  YOU!  Click Here: http://sourceforge.net/donate/
>  _______________________________________________
>  Tclplugin-core mailing list
>  Tclplugin-core@[...].net
>  https://lists.sourceforge.net/lists/listinfo/tclplugin-core
>  


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Tclplugin-core mailing list
Tclplugin-core@[...].net
https://lists.sourceforge.net/lists/listinfo/tclplugin-core
Thread:
Taguchi Takeshi
Taguchi Takeshi

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved