All / Any

Python Metaclass Bases lay-out Conflicts issue

All,

I am facing some issues in Python Metaclasses when I am trying to do Multiple inheritance.

from traits.api import HasTraits

class Sample1(AnotherClass, HasTraits):
    pass

For the above code, it was throwing

metaclass conflict: the metaclass of a derived class must be a (non-strict)

Then I changed the code like this

from traits.api import HasTraits

class Sample1_Meta(type(HasTraits), type(AnotherClass)):
    pass

class Sample1(AnotherClass, HasTraits):
    __metaclass__ = Sample1_Meta

File-Scan-ClamAV failing to compile

Hi,

It looks like the File-Scan-ClamAV module is not available because of a compile error. I've run into this issue in the past and I've corrected by exporting CLAMD_PATH=/path/to/clamd before running the compile.

Who can correct this issue on the build server so the module can show up for PPM?

http://ppm4.activestate.com/x86_64-linux/5.22/2200/E/ES/ESAYM/File-Scan-...

PerlApp Icon source - can't find package ico 0.3

I can add an icon within PerlApp but I get the error as shown below.

1461817487_Blue.ico

The file icons\1461817487_Blue.ico contains the following 1 icon:

1: 128x128, 32 bits [can't find package ico 0.3]

My application compiles and runs but there is no icon in the EXE.

PerlApp version 9.5.1 build 300018

Thanks!

Reading compiled applications

Is it possible for a compiled applications (.exe) to read the contents of another compiled exe.
I would like to obfuscate and deploy files to be read by an installed application.
How does one do that.

Cross-wrapping for 32-bit Linux

Question: 

I upgraded. Why is 32-bit Linux no longer listed as a target for cross-wrapping?

Answer: 

In order to build a wrapped file for 32-bit Linux, there must be an available 32-bit Linux version of the Perl you have installed on your build system.

Community Edition/Business Edition ActivePerls 5.20 and higher do not provide versions for 32-bit Linux.

As of 2016, all of the ActivePerls which support cross-wrapping for 32-bit Linux require a Business Edition license.

Compatibility when wrapping or cross-wrapping for Linux

Question: 

When I test my wrapped or cross-wrapped application on Linux, it crashes and reports "version `GLIBC_2.14' not found..."

Answer: 

This is an expected error message if you are wrapping for 64-bit Linux with 5.20 and 5.22 Perls, and run the resulting file on a Linux kernel that is too old (RHEL 5 and 6 are most frequent).

Wrapped files have the same system requirements as the native ActivePerl version. ActivePerl 5.20 and 5.22 require glibc 2.15 or higher.

To built a wrapped file that will run on an older version of Linux, you must wrap with an ActivePerl where the requirements for 64-bit Linux are only glibc 2.5 or higher. As of 2016, all of these Perls require Business Edition licenses.

DBE::Oracle error porting perlapp build from Win64 to Linux

I have a script that was written on a win64 system using perl 5.16.3. The code below works perfectly on the windows machine, but I need to use perlapp to build and push a standalone to a Linux system (Linux itsmdev 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 x86_64 x86_64 x86_64 GNU/Linux). When I run the perlapp generated code I get the following error. I added the begin block to make sure the oracle home a lib path were correct. ldd run against Oracle.so from perlapp build shows a missing file but that file is in the directory defined as LD_LIBRARY_PATH.

python functions

```
def manipulate_data(string,data):
#accepts string and manipulate data
if string=='list':
return"list.reverse"
elif string=='set':
set.add("ANDELA")
set.add("TIA")
set.add("AFRICA")
return set.result
elif string=='dictionary':
return s.keys()

#call the function with an ARGUMENT
manipulate_data(list,[25,16,9,4,1])
manipulate_data(set,{"ANDELA","TIA","AFRICA"})
manipulate_data(dictionary,{'apples','oranges','mangoes','grapes'})
```

Request for increasing timeout window

We are interested in using Wx. According to http://code.activestate.com/ppm/Wx/, the build attempts failed on the latest versions. But when you look at the end of the build logs, you would see that they actually did not fail, but hit to the timeout wall.

> Timeout (max run time is 1680s)
> C:\Perl64-5.20\bin\perl.exe exits with 37.

> Timeout (max run time is 1200s)
> /data/fly2000/ap2000-298540/bin/perl-static killed by signal 15.

Would you please increase the timeout window and test the latest Wx for 64-bit Windows, Linux, and Mac OS X?

Thanks.
--mehmet

JRE and Applet compatibility

Hello,

I have a web application that is having certain applet pages. The application runs on multiple browsers. My requirement is whenever there is a new JRE release, all the applet pages need to be tested against it on all the browsers.

Can anyone please help me, on how it can be automated using PERL?

It is an urgent requirement. Please help!

Best rega