ActiveState Community

Windows XP Pro

Pricing structure

Didn't see anywhere else to make this comment. I wish there was a little different pricing structure for Komodo, esp. for individuals.

At one end, there is the free K. Edit. At the other end is the full-blown IDE for $250-$300, depending on whether a promotion might be going on.

I'd like to support the Komodo development process, but the upper end is too much for me. I wish there was a, I don't know, Komodo Edit "Plus" or "Pro" version, with a price break somewhere around $99.

(I use primarily PHP for web and database development.)

Just a thought. Love the product.

Dave

Random Number Generator

I'm trying to generate random numbers in a sequence that are not repeated, however it appears to be getting stuck in my while loop but I do not know why. Here is my code:


puts -nonewline "Enter lower bound: "
flush stdout;
set lowerBound [gets stdin]
puts -nonewline "Enter upper bound: "
flush stdout;
set upperBound [gets stdin]
puts "The lower bound is: $lowerBound"
puts "The upper bound is: $upperBound"
set range [expr {$upperBound - $lowerBound}]
puts "The range is: $range"
set random [expr {floor((rand() *$range) + $lowerBound)}]

Komodo installed on WinXP - but Perl execution an Linux

Hi,

I´m new here, because I have to work with the komodo ide.
After the installation I have a little problem:

On my computer runs WinXP, but the Perl script will be executed on a ubuntu linux machine. The /home directory is a shared folder in the winXP system.

The Problem is: When I work on the WinXP System, komodo underlines red for example this line "use WWW::Mechanize;" because this package is not installed on the windows system, so komodo don´t support this package.

can't spawn cmd.exe no such file or directory at

I have the following line that is used to call an exe and redirct the output to a log.

system ($some_exe." >> exe.log");

Everytime I get to this line, the command executed but I also receive
"can't spawn cmd.exe no such file or directory at 'script line #'" error printed to the screen. What can I do to get rid of this message?

I have tried this with everything being defined in the variable
system ($come_variable);

and with everything explicitly called out
system ("C:\\Progra~1\some_exe >> exe.log");

But I always get the error.

Getting methods' description using Python

Hi. I'm new in Komodo. In Netbeans, when writing something in Java like System.out.println (), just by writing the dot after System gives you a list of all possible methods to use and their descriptions. Komodo does give a list of methods, but doesn't show any type of description (in Python, don't know if this happens in other languages). Is there a way to do this?

Suggestion when replacing

I was just wondering if it would be possible to add this feature in a future version..

When you open up the replace dialog you can tick a checkbox or something so that the replace dialog doesn't close when you do the replacement..... I often do several replacements & it's annoying having to reopen the replace dialog for each one.

Cheers!

Using tab to jump inside string and function declarations

Hi,

I'm using Komodo Edit to develop a Javascript program. I'm wondering if there's a way to jump out of strings and function declarations? So when I'm writing a string 'komodo is a nice editor (tab_here)' I want to use tab to jump to after the second '-character. Same with functions functionX(argument1 (tab_here)) to after the )-character.

file delete problems

[file delete] works fine from the tclsh, but fails from my script.

%set inFile
C:/Documents and Settings/ben/.hosts
%file delete $inFile

..file disappears

In my script:

expect {
  "y\n" {
    if { [catch {file delete -force $::inFile} catchError] } {
      puts "catchError:\n$catchError"
      exit 1
    }
  }
  timeout {
    exit 1
  }
}

The result is an error:

catchError:
error deleting "C:/Documents and Settings/ben/.hosts": permission denied

Python and ASP - failure on 2nd and subsequent page loads

I would be grateful for any advice about a problem which is preventing me from using Python for my current project.

I am hoping to use Python 2.6 on the server side with Microsoft ASP [not ASP.NET; version details below]. The behavior I see is:

1. Load very simple page [text below] into browser [Firefox or IE, versions below]. Everything displays, fine.
2. Exit browser, restart it, and reload the same page; or open a second tab and load the same page.
3. In either case, page fails to load, with error:
Python ActiveX Scripting Engine, ASP 0211 (0x80020009)

IDE / Edit 5.2.1 Won't Start on XP

I just downloaded Komodo IDE. It installed on my Win XP Pro system without error. When I click on the icon, I get an hourglass for a second and then nothing. Have removed and reinstalled with same result. Same thing happens when I install Komodo Edit. Am I missing something?

Starting from the command line with -v option produces no output, just a new prompt.

I am current on all XP updates from Microsoft.

I installed it on my Vista Business laptop without problems. I can at least evaluate it here but it needs to run on my development system which is still XP.