pombreda / python-xmp-toolkit

Automatically exported from code.google.com/p/python-xmp-toolkit
Other
0 stars 1 forks source link

file_to_dict is not defined #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start python from cli
2. Write this code:

from libxmp import *
xmp = file_to_dict( "imagefile.jpg" )

What is the expected output? What do you see instead?

Excepted nothing, saw error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'file_to_dict' is not defined

What version of the product are you using? On what operating system?

Ubuntu, Intrepid ibex. Newest version of python-xmp-toolkit what I found 
available here.

Original issue reported on code.google.com by pitymush...@gmail.com on 27 Mar 2009 at 9:48

GoogleCodeExporter commented 9 years ago
Something went definitely wrong when we released the RC1 package; we're going 
to release an RC2 shortly,
which will have utils.py bugs corrected.
I'm hoping we can do it as soon as saturday, until then you could try the patch 
that olsenpk attached to the
issue #4: http://code.google.com/p/python-xmp-toolkit/issues/detail?id=4.

Original comment by f.cab...@gmail.com on 2 Apr 2009 at 5:54

GoogleCodeExporter commented 9 years ago
Just installed on ubuntu 9.1 with exempi 2.1 and python 2.6, and see the same 
problem. 
if I 'import libxmp', I find the file_to_dict in the namespace of libxmp. 
However, if I 
'from libxmp import *', file_to_dict does not end up in the namespace of the 
interactive session.

Original comment by mark.wen...@gmail.com on 10 Dec 2009 at 4:48

GoogleCodeExporter commented 9 years ago

Original comment by lniel...@spacetelescope.org on 16 Feb 2010 at 4:13