by Ken Task.
If you have access to the files in mod on your server, zip up the attendancechart mod folder and download it to the local machine where you are attempting to migrate. Put the zip in the mod folder of the local migration and unzip it - set permissions, etc.. Hit notifications of Site Admin menu.
If that doesn't work, download a copy of the attendancechart mod for same version of your local Moodle and do install as normal.
Also see TYPE=MyISAM. Is that the database engine of both the online version and your localhost?
'spirit of sharing', Ken