Ticket #20 (closed defect: fixed)

Opened 8 months ago

Last modified 7 months ago

Logging warning on import

Reported by: http://rob.cakebread.info/ Owned by: http://openvest.myopenid.com/
Priority: trivial Milestone:
Component: rdfAlchemy Keywords:
Cc: rob@…

Description

This applies as of trunk [111]

python -c 'from rdfalchemy import rdfSingle'
No handlers could be found for logger "rdflib.Literal"

This also happens when importing rdfSubject and rdfMultiple

Change History

Changed 8 months ago by http://openvest.myopenid.com/

  • owner changed from phil to http://openvest.myopenid.com/
  • status changed from new to assigned

The current version of Literal.py "rebinds" Literal to python mappings. In the process, rdflib throws a warning.

Without a handler declared for rdflib this error shows up. It can safely be ignored.

There is more info available on CustomizingLiterals. I'll probably wait to see what direction rdflib goes with literals and continue to remap these bindings or recode it as an rdfalchemy.Literal class.

Not sure which direction this will go.

Changed 7 months ago by http://openvest.myopenid.com/

  • cc rob@… added
  • status changed from assigned to closed
  • resolution set to fixed

OK that was annoying, Fixed this as of changeset:124 Check out that changeset if you want an example of log filters etc.

Note: See TracTickets for help on using tickets.