ActiveState Community

Windows XP Pro

select function failing 'unknown error' on Windows XP 32bit. ASPerl =5.10.0

I am trying to write an application that uses the Net::SFTP (which uses Net::SSH::Perl) module.

Net::SSH::Perl uses IO::Select, which uses the base select(rd,wr,ed,timeout) function to handle multiple sockets concurrently.
(ONLY sockets are in the list of handles being monitored in my case).

on Windows this base function returns successfully once, and then from then on returns immediately with count = -1, $!= "unknown error"..

how can I debug this further? I really need to finish this application.

Error while installing Komodo 5.2

I encountered an error while trying to install Komodo. The dialog that comes up says:

1: ALLUSERS property is not 1 - this MSM cannot be used for a per-user or fallback-to-per-user install.

I am able to install and use Komodo 4.4 without problems on this same machine. Is there a work-around or another installer I can use?

How to write custome syntax highlighter

Hi,
I checked existing syntax files in "ActiveState Komodo Edit 5\lib\mozilla\components" and able to get an idea on writing syntax files.

But is there a tutorial available for writing syntax files?

I'm trying to write assembler syntax highlighter for ARM assembler.
In ARM assembly cpu instructions are specified with {prefix}{suffix}
can I add instructions easily in this scenario?

Regards,
/G

Komodo IDE (v5.2) php debugger doesn't work with php 5.3

I spent a lot of time trying to get the php debugger (xdebug) in the Komodo IDE (v5.2) to work. I was using wamp with php5.3. No luck. When I switched to php5.2x it was fine.

fyi - log message said it couldn't determine the php.exe version. Could someone from Active State reply and tell me if this is in a new update that I don't have or if there's a date when this will work. I don't want to start php 5.3 development if I don't have a good debugger.

KE: Channel closed

I'm running Komodo Edit on WinXP at work for a couple of years without any problem but several days ago, I let it upgrade to 5.2. I then began noticing an inability to open files occasionally. The dialog is a File Open Error with a Channel closed message - this is over an SSH connection connected to the test server on our network. I ignored it at first but it became annoying so I backed up the prefs and tried to see if a fresh install with fresh prefs would make a difference. It didn't. I restored 5.1 and restored the prefs from the previous install. Everything worked well for several days.

How stable are the 5.3.0 nightlies?

Just wondering how stable the 5.3.0 nightlies are?

I like to run the bleeding edge, just so I can raise any issues and generally help out the cause by testing.

But obviously I have to get my work done at the same time. So for the moment I've been sticking with the 5.2.0 release, to give 5.3.0 some time to solidify.

So I'm just wondering if it's still too early to move back to the nightlies track ...

-- hugh

Replacing with blank

Not a huge deal, but ...

I'm trying to replace all occurences of " with blank, i.e. strip all double quotes from a file (it's a CSV).

The first time I tried it, Komodo chewed on it for about a minute, and finally replaced all " with ". In other words, it didn't seem to grok that I'd left the "Replace With" blank.

So I tried again, just to make sure it wasn't pilot error. This time, Komodo sat at 50% CPU for about 10 minutes, till I gave up and killed it off.

Admittedly it's a reasonably large file, about 1.5MB, with a LOT of " in it ... but a:

1,$ s/"//g

Possible SVN flakiness in 5.2.0?

This is one of those issues I hate posting about, as I can't replicate it reliably, but ... I've experienced some SVN flakiness since updating to 5.2.0.

One symptom is Komodo not recognizing files as being under SVN control, when they most definitely are. Which files it does and doesn't recognize seems to be random, and changing. About 1 in 10 files I edit are affected.

If it makes any difference, my files are on a fileshare (using Samba, published from a Centos 5.3 box, mounted as X: on my XP box).

sftp on windows XP

Hi,
I'm trying to write a programm that will sftp files fro Windows XP platform.

I cannot find Net::SFTP module on ppm, only Net::SFTP::Foreign is available.

When I try to use it I have the following error:
password authentication is not available, IO::Pty and Expect are not installed at G:\DWH\CONE\sftpTest.pl line 9

I cannot find both IO:Pty and Expect on ppm.

Please help.

Here is my code:

use strict;
use Net::SFTP::Foreign;
my $host;
my %fargs;

$host="ftp.server.com";
%fargs = ( user => "usercode", password => 'password');

Setting document to PHP...I lose my html syntax coloring.

Strange...All of a sudden, I've lost my HTML syntax coloring and code intelligence when I have document set to PHP (and vice-versa). Using Komodo Edit 5.2. How do you get the document to mix both PHP and HTML? I though this just happened automatically. Never had a problem with this before. Thanks.