Windows 10

ActivePerl Community Edition - License - Query

Hello,

If we need to install ActivePerl on Windows 10 to run a Perl script to parse the data and export it to a CSV file (The data is obtained from another tool NMAP and is related to the production servers; the perl script is NOT run on the servers), can we use community edition or does it require business edition?

Regards,
Bezek

Problem with umlauts ÄÖÜ and UTF8

#!C:\Perl64\bin\perl.exe
use utf8;
use diagnostics;

binmode(STDOUT, ":utf8");
binmode(STDERR, ":utf8");

print "ÄÖÜ\n";

print "Perl Version: $]\n";
print "Perl executable: $^X\n";

The result is

?ä?û?£
Perl Version: 5.024003
Perl executable: C:\Perl64\bin\perl.exe

It works well with Cygwin, but not with Active Perl on Windows 10.

What is wrong there?
Why does it not work?

Thank you!

How to get the Active Python documentation search engine running?

I have installed Active Python 3.5 x64 on Windows 10 and XAMPP for Apache server.

In C:\xampp\apache\conf\extra\ i have created a file active-python-manual.conf with the content

    Alias /active-python-manual "C:/Python35/Doc/"
    <Directory "C:/Python35/Doc">
        AllowOverride AuthConfig
        Require local
    </Directory>

After an restart of Apache i can reach the Active Python documentation by typing http://localhost/active-python-manual/ in the browser.

Package "whois 0.7" does not work on Windows 10

I tried to test the package according to the description https://pypi.python.org/pypi/whois

>>> import whois
>>> domain = whois.query('google.com')

But i only get the error

AttributeError: module 'whois' has no attribute 'query'

What is wrong there?
Thank you!

How can i install a package?

I have installed Active Python 3.5.4 on Windows 10 x64.

I have upgraded the pip package by typing

python -m pip install -U pip

I have installed the package "whois" by typing

pip3 install whois

I have created a file "whois.py" with the content:

import whois

When i execute the whois.py file, a window opens and is asking me for a file "ActivePython-3.5.4.3504-win64-x64-404899.exe.msi".

How do I import the Paho MQTT Library to Komodo IDE?

I've been trying to import the Paho MQTT Library (https://github.com/eclipse/paho.mqtt.python) into Komodo IDE.

What I have done so far:
> Copied the Paho folder into python>lib>site-packages>
> In Komodo preferences, I set the path under Python language to add the folder.
> Changed/tried different paths for Python, Pip, etc.

Nothing seems to work so far. Whenever I run a python script, I see this error:

Traceback (most recent call last):
  File "C:\Users\kvin\workspace\paho_projects\mqtt_test0.py", line 1, in <module>
    import paho.mqtt.client as mqtt

security plugins for active python

So I've been stepping into the field of cybersecurity using python and am in a crossroad right now as far as my dedicated IDE goes. I love and started out using Komodo when I picked up on Python and now that I am transitioning into cyber security I am broadening my workbench and am looking for plugins for Komodo that will help detect security flaws easier. I know eclipse and vs have them but I am so used to Komodo and am trying to avoid turning towards another IDE. Is there anything like this or any security plugins that can help for Komodo?

DBD-mysql Problem

Hi!
This is a 'shot-in-the-dark' question but I'm at a loss otherwise.

I've been developing a Perl script that connects to a MySQL DB. For the past couple of days, everything has been swell. This morning, I ran another test and when I tried to connect to my DB, I got a message in Komodo saying 'No such file or directory'.

Since I don't believe in malicious fairies or gremlins, I must have accidentally deleted or changed something in the past 24 hours. I've tried reinstalling the package, etc. but nothing seems to work.

Alien-wxWidgets 0.68 in PPM is incomplete

I encountered a situation a few days ago where Wx 0.9928 would no longer load in 5.22 Win10 x64. After doing some digging today, the problem seems to be the build of Alien-wxWidgets 0.68 in PPM is incomplete. The Config and Msw libraries are absent, and from the PPM log, they not being built. Alien-wxWidgets 0.67 was built correctly, but it is now locked in PPM. I have one machine that still has 0.67 on it, and it works fine.

Ron

Inlne-Java-0.63 Perl loader can't find C:\Perl64\site\lib\auto\Inline\Java\JNI\JNI.dll

Is Inline-java-0.63 compatible with 64 bit perl 5, version 24, subversion 3 (v5.24.3)?

The JNI.dll in fact is in the correct path but the Perl DynaLoader says it can't find it there.

Otherwise, this version of Inline-java, built from meta::cpan appears to be healthy:

https://metacpan.org/pod/Inline::Java#JNI-vs-CLIENT/SERVER-MODES

Thanks;
Allan