Adam Hupp

Results 103 comments of Adam Hupp

How about a environment variable?

Actually on second thought, I'd rather leave it up to the application to pass this through. Or do you have a situation where you don't own the code calling python-magic?

@julian-r I love that you provide the binaries, but my preference is to not include them in the standard package. Any existing users (by definition) already provide their own binaries,...

Can you give more details of how to reproduce this?

Do you have a 64-bit version of libmagic?

Lots of people have been looking for that.

This error comes from the underlying libmagic rather than python-magic. It looks like there's a mismatch between your magic definitions file (the magic.mgc mentioned in the errors) and the version...

If you change this line: ``` magic.Magic(magic_file='myproject_common/misc/magic.mgc', mime=True) ``` To remove the magic_file argument: ``` magic.Magic(mime=True) ``` It should Just Work, using the mgc file provided by the distro. With...

That's not related to libmagic or python-magic On Sun, May 29, 2022, 8:50 PM Narayanan ***@***.***> wrote: > Hello. The error isn;'t there but the following error has appeared >...

What does the `file` command say about this file? If it says csv, can you give an exact code snippet you're using?