October '24 Bulk Accounts Download issue

Hi,

I have downloaded the historic accounts data from the bulk data files and parsed using the parser provided. However, the October 2024 file returns the error:

AttributeError: ‘NoneType’ object has no attribute ‘groups’

I’m not massively familiar with python so not sure where to start to investigate.

Any help would be greatly appreciated.

Thanks,

Not sure what you mean by using the “parser provided”. iXBRL is a highly specialised data format and there is not a built-in parser in python and companies house doesn’t provide a parser.
If you’re using python, I’d recommend trying Arelle (GitHub - Arelle/Arelle: Arelle open source XBRL platform) for parsing an accounts file into a workable data structure.

By parser provided I was referring to this link:

Assuming this was a CH provide one due to the .gov extension but may well be wrong but it seems to be working well.

I’ll try the link you provided though and see if that one is able to handle.

1 Like