Questions tagged [activestate]

ActiveState is a software company which develops precompiled distros of Perl, Python, and Tcl as well as an IDE.

121 questions
4
votes
3 answers

Error Installing Python MySQLdb on Windows 7

Please see the following stacktrace, is this a permissions issue? C:\Project\MySQL-python-1.2.3>python setup.py Traceback (most recent call last): File "setup.py", line 15, in metadata, options = get_config() File…
AJ.
  • 27,586
  • 18
  • 84
  • 94
4
votes
0 answers

Passing a COM object from C# to Perl using PerlNET

I’m trying to pass a COM object from C# code to Perl. At the moment I’m wrapping my Perl code with PerlNET (PDK 9.4; ActiveState) and I have defined a simple subroutine (+ required pod declaration) in Perl to pass objects from C# to the wrapped Perl…
Miriam
  • 41
  • 3
3
votes
2 answers

Is it possible to transfer a list of Perl installed packages to another machine and mark for installation in ActiveState's ActivePerl?

So we are migrating servers. Arghh. There is a lot of Perl stuff on one machine that we need to set up on another one. Is there a way to export / import a list of all packages that are installed so that I can install them on the new server instead…
Sam
  • 946
  • 3
  • 11
  • 22
3
votes
1 answer

How to handle abnormal program termination in Perl on Windows

I have a Perl program on Windows that needs to execute cleanup actions on exit. I wrote a signal handler using sigtrap, but it doesn't always work. I can intercept Ctrl-C, but if the machine is rebooted or the program is killed some other way,…
Jonathan
  • 1,163
  • 7
  • 12
3
votes
3 answers

PythonWin's python interactive shell calling constructors twice?

While answering Static class variables in Python I noticed that PythonWin PyWin32 build 209.2 interpreter seems to evaluate twice? PythonWin 2.5 (r25:51908, Mar 9 2007, 17:40:28) [MSC v.1310 32 bit (Intel)] on win32. Portions Copyright 1994-2006…
Gregory
  • 1,479
  • 15
  • 22
3
votes
5 answers

TCL Email Script doesn't deliver in Activestate TCL

I ran the following script on the MAC OSX version of TCL and it worked fine however it hangs on ActiveState TCL on a Windows 7 machine proc send_simple_message {recipient email_server subject body} { package require smtp package…
NoMoreZealots
  • 5,274
  • 7
  • 39
  • 56
3
votes
1 answer

Exception calling "DownloadString" with "1' argument

I'm newbie to web development learning by myself. I'm not a cs student. I'm following a book called HTML5 in easy steps. There is a lesson called "Building input forms" which uses free Abyss Personal Edition web server and activeperl scripts. I…
Jims-Rc
  • 91
  • 2
  • 9
3
votes
2 answers

How can I install Crypt::SSLeay on a Win 64?

I've got 64-bit Vista with ActiveState Perl "v5.10.0 built for MSWin32-x64-multi-thread" and I'm trying to get the Crypt::SSLeay package installed along with versions of libeay32.dll and ssleay32.dll. I've done this before on a Win32 machine using…
S.Jones
  • 1,145
  • 2
  • 12
  • 28
3
votes
3 answers

Problems reading a binary file with ActivePerl?

I'm trying to read a binary file with the following code: open(F, "<$file") || die "Can't read $file: $!\n"; binmode(F); $data = ; close F; open (D,">debug.txt"); binmode(D); print D $data; close D; The input file is 16M; the debug.txt is only…
chris
  • 36,094
  • 53
  • 157
  • 237
3
votes
1 answer

ActiveState Perl CPAN dmake not working

I have ActiveState Perl 5.20 32bit on windows 7 64bit. I want to install mudules from CPAN but always ends this: Checksum for C:\Perl\cpan\sources\authors\id\S\SH\SHAY\dmake-4.12.2.2.zip ok Package contains both files[ChangeLog COPYING dmake.exe…
kergtot
  • 45
  • 2
  • 3
3
votes
4 answers

Running a batch file from Perl (Activestate perl in Windows)

I have a Perl program which does something like below: #!/usr/bin/env perl use strict; use warnings; my $exe = "C:\\project\\set_env_and_run.bat"; my $arg1 = "\\\\Server\\share\\folder1"; my $arg2 = "D:\\output\\folder1"; my $cmd = "$exe…
Jithesh
  • 39
  • 1
  • 1
  • 3
3
votes
2 answers

upgraded from perl 5.8 (32bit) to 5.16 (64bit) - regex performance hit

I'm running a series of regexes against blocks of data. We recently upgraded from Activestate perl 5.8 32bit (I know... extremely old!) to perl 5.16 64bit. All the hardware stayed the same (windows). We are noticing a performance hit where as…
sniperd
  • 5,124
  • 6
  • 28
  • 44
3
votes
2 answers

Why can't I use Template Toolkit?

I am trying to use TemplateToolkit instead of good ole' variable interpolation and my server is giving me a lot of grief. Here are the errors I am getting: *** 'D:\Inetpub\gic\source\extjs_source.plx' error message at: 2008/09/30 15:27:37 failed to…
Frew Schmidt
  • 9,364
  • 16
  • 64
  • 86
3
votes
2 answers

Using the ALT key on Komodo for Mac OS X

I am using the Emacs keybinding on Komodo IDE where Komodo uses the command key for "Meta" by default. So you press Command-X when you normally press Alt+X for Emacs on Linux. I want to use the actual Alt key .. so when I tried to assign Alt+K,…
Sridhar Ratnakumar
  • 81,433
  • 63
  • 146
  • 187
2
votes
3 answers

Where does CGI.pm normally create temporary files?

On all my Windows servers, except for one machine, when I execute the following code to allocate a temporary files folder: use CGI; my $tmpfile = new CGITempFile(1); print "tmpfile='", $tmpfile->as_string(), "'\n"; The variable $tmpfile is assigned…
Kev
  • 118,037
  • 53
  • 300
  • 385
1
2
3
8 9