Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 895901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T14:38:07+00:00 2026-05-15T14:38:07+00:00

Ive just started using mutagen and have succefully used it with m4a , mp3

  • 0

Ive just started using mutagen and have succefully used it with m4a, mp3, ape, afs, and flac. However Im having difficulty with the OggFileType class, when I try to create an instance of OggFileType Im presented with a "TypeError: 'NoneType' object is not callable" exception.

Iv searched and searched for solutions but information and documentation on mutagen is scarce. Any help would be appreciated thanks.

A snippet of the code I am using for testing

path = "I:\Music\Various Artists\Studio One Classics"
audiofile = "16 - Rub A Dub Style.ogg"
os.chdir(path)
OggTag = OggFileType(audiofile)
print OggTag

Traceback

Traceback (most recent call last):
  File "I:\My Documents\Programming\python\music_organizer\mutagen_test.py", line 203, in <module>
    OggTag = OggFileType(audiofile)
  File "C:\Python26\lib\site-packages\mutagen\__init__.py", line 75, in __init__
    self.load(filename, *args, **kwargs)
  File "C:\Python26\lib\site-packages\mutagen\ogg.py", line 441, in load
    self.info = self._Info(fileobj)
TypeError: 'NoneType' object is not callable
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T14:38:08+00:00Added an answer on May 15, 2026 at 2:38 pm

    You’re not supposed to use OggFileType directly. It’s a base class for the other Ogg format classes — OggVorbis, OggTheora, etc. Those all properly set _Info, _Tags, _Error appropriately. This is noted in the documentation for the ogg.py module:

    Read and write Ogg bitstreams and pages.

    This module reads and writes a subset of the Ogg bitstream format
    version 0. It does not read or write Ogg Vorbis files! For that,
    you should use mutagen.oggvorbis.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just started using Java's enums in my own projects (I have to use
I've just started using Inversion of Control containers and I'm having a difficult time
I've just started using hibernate 3.6.0 and JPA 2.0 and I'm having some troubles.
I've just started using java.nio and probably used it some wrong way so I
I've just started using Optimizely, and really love it. However, I need to do
I've just started using SQL, so that have no idea how t work with
I've just started using the MVP pattern in the large ASP.NET application that I'm
I've just started using Linq to SQL, and I'm wondering if anyone has any
I've just started using NHibernate and fluent-NHibernate which I think is great. I've been
Ever since I started using .NET, I've just been creating Helper classes or Partial

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.