<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Support Site: New Forum Posts</title>
 <link>http://community.activestate.com/rss/forums</link>
 <description>An RSS feed for all forum posts</description>
 <language>en</language>
<item>
 <title>Perl Command Line Help</title>
 <link>http://community.activestate.com/forum-topic/perl-command-line-help</link>
 <description>&lt;p&gt;I&#039;ve installed Active State Perl 5.8.0 on a new PC for a new user.  When running a Perl program from the command prompt, there are 2 command line input&lt;/p&gt;
&lt;p&gt;c:\&amp;gt; script.pl input1 input2&lt;/p&gt;
&lt;p&gt;When running the program is doesn&#039;t recognise any command line input.  This script is running on 10 other PC&#039;s fine.&lt;/p&gt;
&lt;p&gt;So far I&#039;ve:&lt;/p&gt;
&lt;p&gt;Added c:\perl\bin to the PATH environment variable&lt;br /&gt;
Registered .pl files to perl.exe in Windows&lt;br /&gt;
Reinstalled Perl&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/perl-command-line-help#comments</comments>
 <category domain="http://community.activestate.com/forums/activeperl-support-0">ActivePerl Support</category>
 <category domain="http://community.activestate.com/os/windows-2000-pro-server">Windows 2000 Pro / Server</category>
 <pubDate>Thu, 15 May 2008 05:55:49 -0700</pubDate>
 <dc:creator>JaySal</dc:creator>
 <guid isPermaLink="false">2330 at http://community.activestate.com</guid>
</item>
<item>
 <title>python_tutorial.kpf missing from installation</title>
 <link>http://community.activestate.com/forum-topic/python-tutorial-kpf-missing-installation</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&#039;ve just installed Komodo Edit 4 and want to try the Python tutorial.  According to the tutorial I should open a file called python_tutorial.kpf.  However, the only .kpf files in the indicated location are sample_project.kpf and toolbox.kpf.&lt;/p&gt;
&lt;p&gt;A search of my laptop also shows that those are the only two .kpf files on it.&lt;/p&gt;
&lt;p&gt;The file that I downloaded and installed came from downloads.openkomodo.com and is titled Komodo-Edit-4.3.2-1263.msi&lt;/p&gt;
&lt;p&gt;Does anybody know where I can get the missing .kpf or what I must do to install it?&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;
Bielie&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/python-tutorial-kpf-missing-installation#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-support-0">Komodo support</category>
 <category domain="http://community.activestate.com/os/windows">Windows</category>
 <pubDate>Thu, 15 May 2008 05:12:08 -0700</pubDate>
 <dc:creator>bielie</dc:creator>
 <guid isPermaLink="false">2329 at http://community.activestate.com</guid>
</item>
<item>
 <title>Pardo Autocomplete</title>
 <link>http://community.activestate.com/forum-topic/pardo-autocomplete</link>
 <description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is there a way to have autocomplete to work with Prado Framework?&lt;/p&gt;
&lt;p&gt;Including autocomplete on .page files&lt;/p&gt;
&lt;p&gt;Issam&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/pardo-autocomplete#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-extensions-0">Komodo Macros and Extensions</category>
 <category domain="http://community.activestate.com/os/os-x">OS X</category>
 <pubDate>Thu, 15 May 2008 03:43:47 -0700</pubDate>
 <dc:creator>ialameh</dc:creator>
 <guid isPermaLink="false">2328 at http://community.activestate.com</guid>
</item>
<item>
 <title>Fold margin colors</title>
 <link>http://community.activestate.com/forum-topic/fold-margin-colors</link>
 <description>&lt;p&gt;Is there a way to customize the fold margin colors (in komodo 4.3 on winXP 64)?&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/fold-margin-colors#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-support-0">Komodo support</category>
 <category domain="http://community.activestate.com/os/windows">Windows</category>
 <pubDate>Wed, 14 May 2008 10:08:14 -0700</pubDate>
 <dc:creator>airdrik</dc:creator>
 <guid isPermaLink="false">2327 at http://community.activestate.com</guid>
</item>
<item>
 <title>[PATCH] Small fix for bklocal.py:2466</title>
 <link>http://community.activestate.com/forum-topic/patch-small-fix-bklocal-py-2466</link>
 <description>&lt;p&gt;Subversion decided to add a space between &quot;URL:&quot; on my box, which prevents `bk configure` to find the current SCC branch I sit on. I am no pythonistas but attached is a one-liner patch that fixes it.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
  zimbatm&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/patch-small-fix-bklocal-py-2466#comments</comments>
 <category domain="http://community.activestate.com/forums/open-komodo">Open Komodo</category>
 <category domain="http://community.activestate.com/os/debian-ubuntu">Debian / Ubuntu</category>
 <enclosure url="http://community.activestate.com/files/openkomodo-trunk-bklocal-svn.diff_.txt" length="488" type="text/plain" />
 <pubDate>Wed, 14 May 2008 09:14:56 -0700</pubDate>
 <dc:creator>zimbatm</dc:creator>
 <guid isPermaLink="false">2326 at http://community.activestate.com</guid>
</item>
<item>
 <title>remote debugging and interactive shell</title>
 <link>http://community.activestate.com/forum-topic/remote-debugging-and-interactive-shell</link>
 <description>&lt;p&gt;I&#039;m testing out Komodo and am particularly interested in remote debugging.  I&#039;m using the following script to invoke just-in-time debugging.  This runs, hits the exception, and connects remotely to Komodo.  The script comes up in the debugger with the offending line highlight.  However, the interactive shell is not interactive.  If I type &#039;dir()&#039; or anything else, I get no response.&lt;/p&gt;
&lt;p&gt;I&#039;ve tried this running Komodo on a linux box (Redhat Enterprise 5) and a Mac (10.5.2) with the same results.  Am I missing something?  The docs suggest I should get an interactive prompt so I can probe the existing state.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
jay&lt;/p&gt;
&lt;p&gt;from dbgp.client import brkOnExcept&lt;br /&gt;
brkOnExcept(host=&#039;localhost&#039;)&lt;/p&gt;
&lt;p&gt;a = range(10)&lt;/p&gt;
&lt;p&gt;for i in a:&lt;br /&gt;
    print a[i+1]&lt;/p&gt;
&lt;p&gt;print &quot;All done!&quot;&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/remote-debugging-and-interactive-shell#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-support-0">Komodo support</category>
 <category domain="http://community.activestate.com/os/all-any">All / Any</category>
 <pubDate>Wed, 14 May 2008 08:25:19 -0700</pubDate>
 <dc:creator>wjlyerly</dc:creator>
 <guid isPermaLink="false">2325 at http://community.activestate.com</guid>
</item>
<item>
 <title>PerlApp on Mac OS X problem</title>
 <link>http://community.activestate.com/forum-topic/perlapp-mac-os-x-problem</link>
 <description>&lt;p&gt;Hi, I&#039;m trying to creating a free-standing GUI application on Mac OS X (10.4.11) using PerlApp (ver. 7.2), together with Tkx (Perl 5.10). Everything works fine except that a terminal window appears in front of the final application even when I choose the --gui option. The terminal window shows just:&lt;br /&gt;
() 1 %&lt;/p&gt;
&lt;p&gt;Any help would be appreciated.&lt;br /&gt;
Lozzer.&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/perlapp-mac-os-x-problem#comments</comments>
 <category domain="http://community.activestate.com/forums/pdk-support-0">PDK Support</category>
 <category domain="http://community.activestate.com/os/os-x">OS X</category>
 <pubDate>Wed, 14 May 2008 07:27:03 -0700</pubDate>
 <dc:creator>Anthony</dc:creator>
 <guid isPermaLink="false">2324 at http://community.activestate.com</guid>
</item>
<item>
 <title>Some sort of repository</title>
 <link>http://community.activestate.com/forum-topic/some-sort-repository</link>
 <description>&lt;p&gt;Can we have some sort of &lt;em&gt;repository&lt;/em&gt; for Komodo Macros and Extensions that is separated from forum type posts like this one? I&#039;m sure that we&#039;d get more if they were organized and accessed and searched and updated better. I seem to remember something about this a good while ago so maybe I have missed it?&lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/some-sort-repository#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-extensions-0">Komodo Macros and Extensions</category>
 <category domain="http://community.activestate.com/os/all-any">All / Any</category>
 <pubDate>Wed, 14 May 2008 02:07:25 -0700</pubDate>
 <dc:creator>peter2108</dc:creator>
 <guid isPermaLink="false">2323 at http://community.activestate.com</guid>
</item>
<item>
 <title>Forms and other HTML (what is required?)</title>
 <link>http://community.activestate.com/forum-topic/forms-and-other-html-what-required</link>
 <description>&lt;p&gt;I am unable so far to get forms to work.&lt;/p&gt;
&lt;p&gt;I have installed ActivePerl 5.10 (latest version to date)&lt;br /&gt;
I installed Apache (2.2 I think)&lt;/p&gt;
&lt;p&gt;I am a newbie to all things perl, html etc.&lt;/p&gt;
&lt;p&gt;I am able to run simple HTML: &quot;hello world&quot; type examples culled from the web.&lt;br /&gt;
I had some difficulties, but managed to edit the appropriate apache files and enter appropriate required Perl lines. For example, if I want to do html, I&#039;ve found that the below line is how it must be done.&lt;/p&gt;
&lt;p&gt;print &quot;lt html code gt\n&quot;; The code gets translated here, so suffice it to say that I have to wrap the greater than and less than brackets for html in quotes and issue a print statement&lt;/p&gt;
&lt;p&gt;The &quot;use CGI&quot; example found works as well. However, it&#039;s not as obvious to me what commands I can use.&lt;/p&gt;
&lt;p&gt;However, try as I may, google as I may, I have not found a way to get forms to work. I have tried various examples from the Inet. None seem to work. I continue to get errors such as the infamous 500. From the simple  statement, Apache error log would have semicolon missing. &lt;/p&gt;
&lt;p&gt;The following code would produce &quot;syntax error at C:/xxxx/cgi-bin/xx.pl line 11, near &quot;HEAD&amp;gt;&quot;&quot;   I&#039;m using fatals to browser to view the errors with out having to view the error.log.&lt;/p&gt;
&lt;p&gt;#!c:/usr/bin/bin/perl -w&lt;/p&gt;
&lt;p&gt;use strict;&lt;br /&gt;
use CGI;&lt;br /&gt;
use CGI::Carp qw(fatalsToBrowser);&lt;/p&gt;
&lt;p&gt; print &quot;\n Content-type: text/html&quot;;&lt;/p&gt;
&lt;p&gt;  Testing a Form&lt;br /&gt;
---------------&lt;br /&gt;
the above code that gets translated in the message is simply&lt;br /&gt;
HTML - enclosed in brackets (next line)&lt;br /&gt;
HEAD enclosed in brackets TITLE  enclosed in brackets SOME TEXT slash TITLE  enclosed in brackets slash HEAD  enclosed in brackets&lt;/p&gt;
&lt;p&gt;I suspect there is a pm I&#039;m missing or something of that nature is required. When I googled such, I found that aspn has a html-form.pm - but when I load ppm and look at all the packages, none are named html-form.&lt;/p&gt;
&lt;p&gt;I&#039;m just trying to get this stuff to work. Any help would be greatly appreciated.&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/forms-and-other-html-what-required#comments</comments>
 <category domain="http://community.activestate.com/forums/activeperl-support-0">ActivePerl Support</category>
 <category domain="http://community.activestate.com/os/windows-xp-pro">Windows XP Pro</category>
 <pubDate>Tue, 13 May 2008 18:54:03 -0700</pubDate>
 <dc:creator>artech</dc:creator>
 <guid isPermaLink="false">2322 at http://community.activestate.com</guid>
</item>
<item>
 <title>Macro: run the current macro</title>
 <link>http://community.activestate.com/forum-topic/macro-run-current-macro</link>
 <description>&lt;p&gt;Here is a quick little macro I wrote because I was sick of clicking around the toolbox just to run the current macro I was working on:&lt;/p&gt;
&lt;div class=&quot;geshi-block&quot;&gt;
&lt;div class=&quot;geshifilter javascript&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;try&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; view = ko.&lt;span style=&quot;color: #006600;&quot;&gt;views&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;manager&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;currentView&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; scimoz = view.&lt;span style=&quot;color: #006600;&quot;&gt;scimoz&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; uri = view.&lt;span style=&quot;color: #006600;&quot;&gt;document&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;displayPath&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; self = ko.&lt;span style=&quot;color: #006600;&quot;&gt;macros&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;current&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0066FF;&quot;&gt;/^macro:\/&lt;/span&gt;\&lt;span style=&quot;color: #009900; font-style: italic;&quot;&gt;//.test(uri) &amp;amp;&amp;amp; uri !== self.url) { // we don&#039;t want to run ourself&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; partName = &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;view.&lt;span style=&quot;color: #006600;&quot;&gt;document&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;baseName&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;split&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&#039;.&#039;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;shift&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; project = ko.&lt;span style=&quot;color: #006600;&quot;&gt;projects&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;manager&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;currentProject&lt;/span&gt;; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; part = ko.&lt;span style=&quot;color: #006600;&quot;&gt;projects&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;findPart&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&#039;macro&#039;&lt;/span&gt;, partName, &lt;span style=&quot;color: #3366CC;&quot;&gt;&#039;*&#039;&lt;/span&gt;, project&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; part.&lt;span style=&quot;color: #006600;&quot;&gt;invoke&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ko.&lt;span style=&quot;color: #006600;&quot;&gt;statusBar&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;AddMessage&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&#039;Not a macro buffer, nothing to do...&#039;&lt;/span&gt;, &lt;span style=&quot;color: #3366CC;&quot;&gt;&#039;editor&#039;&lt;/span&gt;, &lt;span style=&quot;color: #CC0000;&quot;&gt;3000&lt;/span&gt;, &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;catch&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;e&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; ko.&lt;span style=&quot;color: #006600;&quot;&gt;dialogs&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;internalError&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;e, &lt;span style=&quot;color: #3366CC;&quot;&gt;&#039;Error: &#039;&lt;/span&gt;+e&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;geshi-plain&quot;&gt;try {
  var view = ko.views.manager.currentView;
  var scimoz = view.scimoz;
  var uri = view.document.displayPath;
  var self = ko.macros.current;
  
  if(/^macro:\/\//.test(uri) &amp;amp;&amp;amp; uri !== self.url) { // we don&#039;t want to run ourself
    var partName = (view.document.baseName.split(&#039;.&#039;).shift());
    var project = ko.projects.manager.currentProject; 
    var part = ko.projects.findPart(&#039;macro&#039;, partName, &#039;*&#039;, project);
    part.invoke();
  } else {
    ko.statusBar.AddMessage(&#039;Not a macro buffer, nothing to do...&#039;, &#039;editor&#039;, 3000, true);
  }
} catch(e) {
  ko.dialogs.internalError(e, &#039;Error: &#039;+e);
}&lt;/pre&gt;&lt;/div&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/macro-run-current-macro#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-extensions-0">Komodo Macros and Extensions</category>
 <category domain="http://community.activestate.com/os/all-any">All / Any</category>
 <pubDate>Tue, 13 May 2008 15:08:10 -0700</pubDate>
 <dc:creator>jeffg</dc:creator>
 <guid isPermaLink="false">2321 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
