Comment 3 for bug 603128

Revision history for this message
Rob van der Linde (robvdl) wrote : Re: python-magic is incomplete on Ubuntu 10.04 LTS?

Seems to be broken on Ubuntu 12.04 and 13.10 and possibly all versions between that.

Not sure what is up with this, is this actually a different library than "pip install python-magic" will install???

>>> import magic
>>> magic.from_buffer
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'from_buffer'

Also I noticed the version is completely wrong it's like version 5.04 when python-magic on pip is 0.4.6, what is up with that?

https://pypi.python.org/pypi/python-magic/

Unfortunately I need this package desperately, so I am going to have to package it up myself and bump up the version of the package, even though it's wrong, so that it will overinstall the broken python-magic package.