ActiveState Community

OS X

php remote debug drupal - cannot find file

OS: OS X

I just got a shiny new Macbook, and am giving Komodo yet another try. PHP remote debug isn't quite working right. I am debugging a local Drupal site and getting the error dialog (the dialog itself is truncated).

I flailed round with mapping URL but didn't seem to fix it.

i am requesting the URL http://mc/?XDEBUG_SESSION_START=mw. http://mc is an apache virtual host pointing to a subdir in my home directory.

Komodo 4.0.3
MAMP (apache 2.2, php5.2)

PDK & Komodo License :(

OS: OS X

Hi codewizards. i finally bought PDK 7 after many happy years with Komodo :)
Any hint about the License file i got ? In both cases (PDK and Komodo) it's the ActiveState.lic that has to go into the same subdir. So i only can use one at a time and had to rename the file allways :-/
Any hint on that ? Thanks

-Red

PHP Remote Debugging

OS: OS X

I want to use remote debugging. I have a webserver here setup that I develop off of, and I have the xdebug module installed (finally). Do I have to run PHP on my local box? I really don't want to deal with it locally, because I'm debugging remotely.

HTTP Inspector won't work

OS: OS X

I'm trying to use the HTTP inspector on OS X. I setup Firefox 2.0 to use proxy address 127.0.0.1:8080. When I try any URL the page returned says:

Could not connect
[Failure instance: Traceback (failure with no frames): twisted.internet.error.ConnectError: An error occurred while connecting: 64: Host is down. ]

The HTTP inspector shows the incoming request, but the response status is always 501 (Not Implemented).

I have tried both external URLs (e.g. google.com) and pages from the web server on the same machine (e.g. mycomputer.local/test.html). Same result.

Komodo IDE 4.0.3

Dreamweaver PUT Function...

OS: OS X

At the moment, the only reason why I still use Dreamweaver is the very easy to use and comfortable PUT function in Dreamweaver.

If you edit a file and you have defined a remote Server, you can just PUT the open file to the remote server. You do not need to do a "Save AS" and search for the right directory... you just put the file... after you put it, you are still editing the local file. If you often work with remote servers and local development environments, it's a very easy and comfort way to do.

PC -> Mac OS-X cross-development

OS: OS X

I'm trying to port some educational programs from PC-DOS and Windows to Mac OS-X for use by the local public schools. They're written in various dialects of Pascal and BASIC, but there are no compatable versions for Macs. Among portable languages, Python seems to be one of the better free choices, and I've chosen ActivePython for the PC/development end. Unfortunately, I don't have easy access to a Mac with OS-X (or anything past OS8, actually.)

Window Position / size fixer

OS: OS X

This macro is something I cooked up because:

a) I use Macs most of the time
b) I use and iMac with an external monitor at work
c) I use my laptop with a KVM at home
d) I almost never re-boot these machines

Luckily the window size can easily be scripted via a Macro! This Macro resizes and moves the Komodo main window to be fully visible on the current screen, no matter what:

try {
var w = (screen.availWidth - 20 );
var h = (screen.availHeight - 40);
window.moveTo((screen.left+10),(screen.top+10));

Bug in Komodo Edit? Print a subset of pages

OS: OS X

Komodo Edit just crashed on me when I went to print a page range. I wanted to print only page 1 of a 2 page document. In my case, the document was a Python file.

Is this the appropriate place to report bugs?

Thanks,
Rob

SVN Problems...

OS: OS X

Hi,

I am running svn 1.4.2 on Fedora 6 on a x86 linux box and on my Mac OSX 10.4.8 box

I am also using Komodo IDE 4.0

On both systems the "update" SCC button/Menu Item is never active.

Comitting a file works ok.

If I do an "update" via a svn client ( RapidSVN in this case) Komodo IDE will notice
the file change and let me update the editor windows containing the file.

Am I the only one have SVN problems?

Jerry

Can't create license file on OS X

OS: OS X | Product: Licensing | tags: installation license
Question: 

Why do I get the message "Can't create '/Users/myusername/Library/Application Support/ActiveState/ActiveState.lic"? What can I do about it?

Answer: 

Occasionally when you are installing a new ActiveState license or starting a trial or beta product that installs a temporary license you will get the following message:

Can't create '/Users/myusername/Library/Application Support/ActiveState/ActiveState.lic

This is due to the directory the license is being installed in being owned by another user or not having the appropriate permissions. The easiest way to fix this is from the Terminal, by typing the following two commands:

sudo chown -R myusername /Users/myusername/Library/Application\ Support/ActiveState
chmod 0755 /Users/myusername/Library/Application\ Support/ActiveState

You may have to enter your password after typing the first command. This is normal, and required because you are executing that command as root (which is needed to change the ownership of files not owned by the current user).