MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

MMM-FRITZ-Box-Callmonitor throws an error after enabling phonebook sync

  • Hi there,

    I recently build up a magicmirror2 install on a raspberry Pi Zero W.
    The MM is working and now I’m playing around with modules.

    After installing the MMM-FRITZ-Box-Callmonitor module it shows incoming calls and also call history. But when I activate the phonebook sync it throws me an error on the console:

    Received config for MMM-FRITZ-Box-Callmonitor
    MMM-FRITZ-Box-Callmonitor is waiting for incoming calls.
    Starting access to FRITZ!Box...
    Whoops! There was an uncaught exception...
    TypeError: PythonShell is not a constructor
        at Class.loadDataFromAPI (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/node_helper.js:216:17)
        at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/node_helper.js:62:10)
        at Socket. (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:113:11)
        at emitTwo (events.js:125:13)
        at Socket.emit (events.js:213:7)
        at /home/pi/MagicMirror/node_modules/
        at _combinedTickCallback (internal/process/next_tick.js:131:7)
        at process._tickCallback (internal/process/next_tick.js:180:9)
    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    If you think this really is an issue, please open an issue on GitHub:

    The config for the module is:

    		module: "MMM-FRITZ-Box-Callmonitor",
    		position: "bottom_left",	// This can be any of the regions. Best results in left or right regions.
    		header: "Letzte Anrufe", // This is optional
    		config: {
    			showContactsStatus: "true",
    			fritzIP: "",
    			showContactsStatus: "true",
    			maximumCallDistance: "9999999999",
    			username: "username",
    			password: "password",
    			debug: "true",
    			// See 'Configuration options' for more information.

    Where can I see the debug informations? On the MM screen I only see this:
    and the sync circle is running without ending.

    The issue occures everytime I reload the MM website.

    During the install of the module I don’t get errors but I’m not that firm with linux to go deeper in the programming.

    Maybe someone can help?