Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Durand D'souza Durand D'souza Ubuntu users , Python , Linux , Fedora users , Lighttpd

    does anyone know how to get !lighttpd to actually display !python errors in cgi scripts? !linux !fedora !ubuntu

    Saturday, 24-Apr-10 00:12:52 UTC from pino at Leeds, England, United Kingdom
    • Jeremy D Acord Jeremy D Acord

      @durand so, failing that, maybe you can redirect STDERR to STDOUT so it goes to the browser?

      Saturday, 24-Apr-10 00:19:29 UTC
    • Durand D'souza Durand D'souza Lighttpd , Jeremy D Acord

      @jdac: Ooooh, that's a very good idea! And I remember having to do that a while back for !lighttpd but I totally forgot. Thanks a lot!

      Saturday, 24-Apr-10 00:21:52 UTC
    • apolyton apolyton

      @durand look at http://docs.python.org/library/cgitb.html just use these 2 lines mentioned. Its much more infomative than stdout

      Saturday, 24-Apr-10 03:27:24 UTC
      Durand D'souza likes this.
    • Durand D'souza Durand D'souza apolyton

      @apolyton: Oh wow, I didn't know about this, it's perfect! Thank you sooo much!

      Saturday, 24-Apr-10 03:37:49 UTC
    • Durand D'souza Durand D'souza apolyton

      @apolyton: Do you know if it's possible to customise cgitb's output?

      Saturday, 24-Apr-10 12:45:08 UTC
    • apolyton apolyton

      @durand as I understand it, there is no customization around cgitb except from deriving from "Exception"-class to build your own exceptions

      Saturday, 24-Apr-10 15:21:17 UTC
    • apolyton apolyton

      @durand http://docs.python.org/library/exceptions.html

      Saturday, 24-Apr-10 15:22:13 UTC
    • Durand D'souza Durand D'souza apolyton

      @apolyton: Ah, that's a shame. Well, thanks anyway!

      Saturday, 24-Apr-10 15:31:08 UTC

Site notice

  • API
  • Status

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by Status.net. It runs the StatusNet microblogging software, version 1.1.0-alpha1, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal