All / Any

ActiveState Testing Fails My Module on Non-Windows Platforms...problem with $^O ?

I just released a perl module, and noticed that ActiveState does some automated testing.

It passed testing on your Windows machines, but failed on all non-windows machines.

I looked at the test results, and it appears that it's some sort of oddity where the perl $^O variable is set to "MSWin32", even when you test on non-windows platforms. At least that's what I'm guessing is going on.

Where can I get past versions of ActivePerl?

Question: 

Where can I get past versions of ActivePerl? Is there a ftp server for ActivePerl?

Answer: 

Recent past versions of ActiveState Community Edition products, and some other download resources like checksums and alternate installers, are available from our downloads repository via the web at:

http://downloads.activestate.com/

Version of ActiveState Products which have aged out of Community Edition are still available, but now require a Business Edition license. If you have a Business Edition license, the products to which your license applies become available from your "My Account" page on our site.
http://www.activestate.com/business-edition

There is no ftp server.

ActiveTcl 8.6 release does not correspond to Tcl/Tk 8.6...

Hi all,

I have just updated to ActiveTcl 8.6 (not beta release), but I have troubles with it.
The release does not seem to correspond to Tcl/Tk 8.6, as it contains obsolete packages in it (i.e. beta versions of tdbc and its drivers, itcl, etc.).

And this happens for all OS I have tried (windows, linux 64, OS X).
In addition, it seems all tdbc drivers are missing for both the distribution, and the teapot repositories.

Komodo Tab Side Panes

Question: 

What happened to my tabs in the side Pane? Why do they look like massive columns?

Answer: 

With the slick new updates to the Komodo IDE UI, a problem has arisen when you switch Komodo IDE 8a side pane tabs to "Icon in tabs" under Preferences->Appearance->Left/Right pane layout.

This gets Sync'd to your Komodo IDE 7 profile as well. Komodo IDE 7 has no idea what you're talking about and reacts accordingly; it creates tabs the size of index fingers (window height and personal anatomy dependent).

This is easily remedied. First turn off Sync in Komodo IDE 8a once you have imported all your settings. Then simply revert the changes to your prefs. Preferences is under the Komodo menu option on OS X and under Edit in Linux and Windows.

Have a great holiday!

- Carey

How do I revert to a previous version of a module/package?

Seemingly, after upgrading the WWW::mechanize package from version 1.60 to version 1.72, my application hangs at a "submit_form" method when the server hangs. At V. 1.60 it timed out properly.

Since I am not sure yet if the new version is the culprit, I would like to revert to the previous one. I couldn't find any directions for this.

Any idea???

Regards
Meir

Komodo IDE and Right-to-Left (RTL) Languages

Question: 

Will Komodo work with Farsi, Hebrew or some Asian languages that are read right to left?

Answer: 

Komodo unfortunately does not work with right-to-left languages, as mentioned in our Komodo IDE release notes, due to a limitation in the text editor component.

Group search results by forum thread and tag komodo version/force new posts to specify version and other tags

I would like to request that the search groups results so that the same thread is not listed more than once with different entries. This makes it easier, when searching for answers to a problem, to keep track of threads already read.

ActivePython 2.7.3 - Is there any work being done on it, when will it be released?

Hi!

Are there any plans to release a 2.7.3 build of ActivePython? The current build available is 2.7.2, and hasn't been updated at least since June 2011. Python 2.7.3 was released on April 9, 2012.

According to this (http://community.activestate.com/node/8273) post on the Forums, dated Mon, 2012-04-02 19:44: "[...]with a release of 2.7.3 in the near future."

Thanks a lot

Custom Break Points in Komodo

Question: 

How do I set and understand Komodo custom break points?

Answer: 

To SET a custom breakpoint in Komodo you simply right click on the line you want the breakpoint to be on then select "Add/Edit Breakpoint". That's the easy part.

For customizing custom breakpoints, take a look at Komodo Breakpoint Properties documentation.

Here is my explanation and some examples of each tab.

Conditional

With a Conditional breakpoint, you set an expression that when it evaluates to true, the script will break. For the following I will set the Condition field to a%2==0

a = 0
while a < 10: #it will break here when a is 0,2,4,6,8,10
    a += 1    #you can see this in the Locals debug tab

NOTE: If you were to set the Hit Count field to "Break when hit count is a multiple of: 2" in the File tab when editing the breakpoint, you would get the opposite, eg. 1,3,5,7,9.

Watch

Watch a variable and stop when it changes

a = 0
print a
while a < 3:
    if a % 2 == 0:
        pass
    else:
        a += 1
    print a  #This will NOT break the first loop through the while.
    a += 1

Function Call

Break when the specified function is called before the breakpoint.

 
def foobar():   #breakpoint will break here at function start
    print "foobar will return :|"
a = 0
print a
while a < 10:
    if a % 2 == 0:
        a+=1
    else:
        print "foobar's going to run! WOOH!"
        foobar()
        a += 1

NOTE: Red dot will not appear for either Function style or Exception style breakpoints. Check breakpoints tab in bottom pane to see them.

Function Return

This is similar to Function Call, only it stops when the function returns. In the above example it would break at the last line of the function, ie. print "foobar will return :|"

And finally,

Exception

This type will break when an Exception is hit in your code and you have written code to handle that Exception and allow the script to continue running. In this example you would write TypeError in the Exception text field under the Exception tab.

a = "0"
try:       #Without an Exception breakpoint, this will run
    a += 1 #With an Exception breakpoint, it will stop here
except:
    a = 0
print a

Hope that helped.

Cheers,

- Carey GC Hoffman

Help to connect remote Oracle DB using DBD :: JDBC

Dear All,

I have Perl installed on my local machine (Windows 7) and I am trying to connect to my remote Oracle database using Perl DBD::JDBC. Please guide me how to install\configure the DBD::JDBC on my machine ( JDBC :: Oracle is working perfectly fine.

Note : My intention is to create a prototype on my machine and once it is successful I can ask my server team to install the required modules on my servers (Unix)
Thanks in advance.

Regards,
Chandan