Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Daniel Devine Daniel Devine Python

    I am getting a KeyError on this dictionary http://fpaste.org/cSnt/ - are the % symbols screwing with things? !python

    Saturday, 03-Jul-10 08:30:01 UTC from web at Brisbane, Queensland, Australia
    • Ulrich Dangel Ulrich Dangel

      @ddevine no. works for me. "u'%j'" is different then u"%j" http://paste.pocoo.org/show/3ZRI9KAczzro0Gkiyqs8/

      Saturday, 03-Jul-10 08:57:38 UTC
    • Daniel Devine Daniel Devine Ulrich Dangel

      @mru Mmm... I wonder what is making mine play up. Thanks for your help!

      Saturday, 03-Jul-10 09:06:25 UTC
    • Ulrich Dangel Ulrich Dangel

      @ddevine give me an example, are you sure you want "u'%j'" and not u'%j' show me an minimal example of your problem

      Saturday, 03-Jul-10 09:11:30 UTC
    • Carlos el apóstata Carlos el apóstata

      @ddevine Is working for me, matchkeys[" u'%u'"] -> 'datetime'

      Saturday, 03-Jul-10 09:24:08 UTC
    • Jochen Schnelle Jochen Schnelle

      @ddevine : Looking at the dict, I cannot imagine any situation where you may need a dict like this...

      Saturday, 03-Jul-10 19:04:49 UTC
    • Daniel Devine Daniel Devine Jochen Schnelle

      @noisefloor I am using dictionaries to translate one set of keys into another set of keys. Those keys are the ones spat out by apachelog.

      Sunday, 04-Jul-10 02:19:28 UTC
    • Jochen Schnelle Jochen Schnelle Python

      @ddevine: Can you pls post a full code snippet somewhere so we can the the context? Thx. !python

      Sunday, 04-Jul-10 08:58:31 UTC
    • Daniel Devine Daniel Devine Python , Jochen Schnelle

      @noisefloor working on other things at the moment. Dictionaries are not an issue anymore. Haven't time to do proper debugging yet. !python

      Sunday, 04-Jul-10 09:03:14 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