Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

I'm trying to write a Python script that imports arcgisscripting (stuck on 9.3.1 here) which is then run as CGI by a web app. It runs fine from the Windows command line but as soon as I drop it into the app it throws an Error 500: Internal Server Error. I checked the Apache logs and sure enough there's a ImportError: No module named arcgisscripting. All of my other modules are working fine (sys, os, etc.) Does anybody know what could be the issue here?

Update: I think it might have something to do with this: Why can't python find some modules when I'm running CGI scripts from the web?Why can't python find some modules when I'm running CGI scripts from the web?

I'm trying to write a Python script that imports arcgisscripting (stuck on 9.3.1 here) which is then run as CGI by a web app. It runs fine from the Windows command line but as soon as I drop it into the app it throws an Error 500: Internal Server Error. I checked the Apache logs and sure enough there's a ImportError: No module named arcgisscripting. All of my other modules are working fine (sys, os, etc.) Does anybody know what could be the issue here?

Update: I think it might have something to do with this: Why can't python find some modules when I'm running CGI scripts from the web?

I'm trying to write a Python script that imports arcgisscripting (stuck on 9.3.1 here) which is then run as CGI by a web app. It runs fine from the Windows command line but as soon as I drop it into the app it throws an Error 500: Internal Server Error. I checked the Apache logs and sure enough there's a ImportError: No module named arcgisscripting. All of my other modules are working fine (sys, os, etc.) Does anybody know what could be the issue here?

Update: I think it might have something to do with this: Why can't python find some modules when I'm running CGI scripts from the web?

added 277 characters in body
Source Link
bertday
  • 1.3k
  • 12
  • 25

I'm trying to write a Python script that imports arcgisscripting (stuck on 9.3.1 here) which is then run as CGI by a web app. It runs fine from the Windows command line but as soon as I drop it into the app it throws an Error 500: Internal Server Error. I checked the Apache logs and sure enough there's a ImportError: No module named arcgisscripting. All of my other modules are working fine (sys, os, etc.) Does anybody know what could be the issue here?

Update: I think it might have something to do with this: Why can't python find some modules when I'm running CGI scripts from the web?

I'm trying to write a Python script that imports arcgisscripting (stuck on 9.3.1 here) which is then run as CGI by a web app. It runs fine from the Windows command line but as soon as I drop it into the app it throws an Error 500: Internal Server Error. I checked the Apache logs and sure enough there's a ImportError: No module named arcgisscripting. All of my other modules are working fine (sys, os, etc.) Does anybody know what could be the issue here?

I'm trying to write a Python script that imports arcgisscripting (stuck on 9.3.1 here) which is then run as CGI by a web app. It runs fine from the Windows command line but as soon as I drop it into the app it throws an Error 500: Internal Server Error. I checked the Apache logs and sure enough there's a ImportError: No module named arcgisscripting. All of my other modules are working fine (sys, os, etc.) Does anybody know what could be the issue here?

Update: I think it might have something to do with this: Why can't python find some modules when I'm running CGI scripts from the web?

Source Link
bertday
  • 1.3k
  • 12
  • 25

arcgisscripting in CGI script

I'm trying to write a Python script that imports arcgisscripting (stuck on 9.3.1 here) which is then run as CGI by a web app. It runs fine from the Windows command line but as soon as I drop it into the app it throws an Error 500: Internal Server Error. I checked the Apache logs and sure enough there's a ImportError: No module named arcgisscripting. All of my other modules are working fine (sys, os, etc.) Does anybody know what could be the issue here?