ActiveState Community

windows

Dealing with Side by Side problems on Windows

OS: Windows | Product: Komodo | tags: assemblies komodo side by side windows
Question: 

After a Windows update, Komodo no longer works, and the log files are untouched. I'm seeing three messages in the event viewer complaining about missing assemblies. What can I do?

Answer: 

These are the event messages the question refers to:

  • 1st: Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system.

  • 2nd: Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system.

  • 3rd: Generate Activation Context failed for C:\Program Files\ActiveState Komodo Edit 5\lib\mozilla\komodo.exe. Reference error message: The operation completed successfully.

This is one of those problems that a small number of Komodo users have
reported in the last month, but we haven't been able to duplicate. A bit
of research found forums suggesting people delete directories in the
Windows/SxS area, but that sounded risky. One of our customers found
more success by downloading and installing the free-as-in-beer
Visual Basic Studio 8 Express Edition.

Until anyone finds a problem with that, it sounds good. In the meantime
I'm reading up on the problem and brushing up on MSI Merge Modules.

- Eric

PDK 8.0 - PerlApp

Description: 

A quick demo of PerlApp from PDK 8.0 wrapping the tkx-ed sample program as a standalone executable - first natively on Windows, then cross-wrapping for deployment on Linux.

How to prevent freeze-ups on dual-core Windows machines

OS: Windows | Product: Komodo | tags: core debugging dual dual-core freeze windows
Question: 

I run Komodo on a dual-core Windows machine. Occasionally after running a Perl program, either inside the debugger or outside, Komodo will freeze up. This seems to happen whether the CPU is Athlon or Pentium, it doesn't seem to matter.

Answer: 

The key is to open the task manager, select the komodo.exe process, right-click
it using the "set affinity" function.

Remove the checkmark from all but one CPU and komodo will work fine.

Thanks to community contributor JTa for working this out.

You can track this bug at
http://bugs.activestate.com/show_bug.cgi?id=53927

PHP configuration fails on Windows Vista x64

OS: All / Any | Product: Komodo | tags: amd64 komodo vista windows x64
Question: 

I am using a Windows Vista x64 system, and get an error when trying to configure PHP for debugging. Is there are fix for this?

Answer: 

This problem is because Komodo is installed to the path

C:\Program Files (x86)\

on Windows Vista x64, and php.ini will not allow paths with parnthese characters in it. There are two possible workarounds:

1. Run the debugger configuration wizard and specify that Komodo's php.ini and php_xdebug.dll should both be placed on a safe path, preferably something like:

C:\php5.2\xdebug\

2. optionally reinstall Komodo to C:\Program Files\ instead.

Perl IO redirection problems on Windows

OS: Windows | Product: ActivePerl | tags: activeperl io Perl pipe redirect windows
Question: 

On Unix I can run commands like "foo.pl | bar.pl" and have the output of foo.pl be the input of bar.pl. This doesn't seem to work on Windows. How can I make this work?

Answer: 

The Windows command interpreter cmd.exe does not support IO redirection for programs started via shell associations, like those created for .pl files during the ActivePerl installation. It only works for .bat, .com, .cmd, and .exe files.

You need to write:

perl foo.pl | perl bar.pl

Or if the files are not in your current directory but are on the PATH:

perl -S foo.pl | perl -S bar.pl

Alternatively, you can wrap your .pl files into .bat scripts using pl2bat:

pl2bat foo.pl
pl2bat bar.pl

Then run them as:

a | b

This is also the case for > and <.

What is the best version of ActivePerl to use with Windows Vista?

OS: Windows Vista | Product: ActivePerl | tags: compatibility Perl vista windows
Question: 

What is the best version of ActivePerl to use with Windows Vista?

Answer: 

The best version of ActivePerl to use on Windows Vista is always the most recent build of ActivePerl 5.8.8 or 5.10.0.

ActivePerl 5.8.8.819 and later versions pass the same suite of tests on Windows Vista as they do on Windows XP and other supported versions of Windows.

ActivePerl's known issues on Windows Vista include:

  • PerlIS and PerlEx are installed but not automatically configured due to differences in the script extension mapping process for IIS
  • the OLE browser will not function with Internet Explorer 7

If you run into other issues, please report them at:

http://bugs.activestate.com

What version of Komodo should I use with Windows Vista?

OS: Windows Vista | Product: Komodo | tags: compatibility komodo vista windows
Question: 

What version of Komodo should I use with Windows Vista?

Answer: 

Komodo 3.5 and earlier will not work with Vista. You will need to run Komodo 4.1.1 or later.

Should you run into any issues, please file a bug report at:

http://bugs.activestate.com/

What is the best version of ActivePython to use with Windows Vista?

Question: 

What is the best version of ActivePython to use with Windows Vista?

Answer: 

The best version of ActivePython to use with Windows Vista is ActivePython 2.6.2.2.

ActivePython versions 2.4.3.12 and above pass all of the same tests on Vista that they do on Windows XP and other supported versions of Windows.

What version of ActiveTcl should I use with Windows Vista?

OS: Windows Vista | Product: ActiveTcl | tags: compatibility tcl vista windows
Question: 

What version of ActiveTcl should I use with Windows Vista?

Answer: 

The best version of Tcl to use with Windows Vista is ActiveTcl 8.4.14 or later.

There are currently minor issues with installing and uninstalling, but these are not serious and are being worked on. The demo applications distributed with ActiveTcl all function as expected, including the graphical libraries and Expect.

Note that you will need to right-click the installation file and select "Run as Administrator" for the installation to be successful. This will be fixed in a future release of ActiveTcl.

New to Perl. New to programming.

OS: Windows | Product: ActivePerl | tags: newbie windows
Question: 

I've installed ActivePerl. What now?

Answer: 

Go to Start | Run. Enter 'CMD' in the Open field and press Enter. This will open up a DOS command prompt. At the prompt, type:

  C:\>perl -v

You should see version information for ActivePerl.

To evaluate perl code on the command line, you can do this:

  C:\>perl -e "print \"hello world\";"

Note: you must escape double quotes in the code when using -e.

To run a script:

  C:\>perl scriptname.pl

Here are some great online resources targeted at new Perl developers:

http://learn.perl.org/library/beginning_perl/

http://www.steve.gb.com/perl/tutorial.html

If you are looking for an editor / development environment for Perl, you should try ActiveState's Komodo:

http://activestate.com/Products/Komodo/