Kodi Community Forum

Full Version: Ubuntu Cmyth -- Unable to resolve exports from dll /addons/pvr.mythtv.cmyth
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I had the cmyth PVR addon working for a long time, I recently upgraded to Gotham and can't get the addon to work. I assume it is something simple, but I gave a lot of details here in case it is not.

TL/DL: I installed using apt-get and am getting a "Can't Load DLL Error" when I enable the addon. Xbmc.log shows: ERROR: Unable to resolve exports from dll /home/user2/.xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr.

Some steps I took:

(0) Build Gotham_RC1 from source (git, --enable-external-libraries flag)
(0 - results) No PVR addons appeared in the original build

(1) I first tried erasing and installing (what appears to be) the new "standard way"

Code:
[delete the Frodo version I built from source]
sudo rm -rf ~/xbmc-pvr-addons/*
sudo rm -rf ~/.xbmc/addons/pvr.mythtv.cmyth/*
sudo rm -rf /usr/local/lib/xbmc/addons/pvr.mythtv.cmyth/*
rmdir ~/xbmc-pvr-addons/

[install the new version]
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install xbmc-pvr-mythtv-cmyth

(1 - result) This caused a 100% hang upon enabling the addon

(2) built from source (this was cmyth-addon master running under XBMC-RC1)

Code:
[purge apt-get version then]
git clone git://github.com/fetzerch/xbmc-pvr-addons.git
./bootstrap
./configure --enable-addons-with-dependencies
make clean zip
[install zip in XBMC]

(2-result) Can't load DLL error when enabling

CURRENT STATE
(3) Return to method 1 (erase source and built addon; and install with apt-get)

(3-result)

On boot: "The PVR manager has been enabled without any enabled addon..."
On enabling: "Can't Load DLL Error"

QUESTIONS: Is there a standard way to install the addon beginning in Gotham? What is it? Any ideas what to do?

The appropriate part of the log is below, but the obvious (looking) error appears to be:

ERROR: Unable to resolve exports from dll /home/user2/.xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr

Thanks

Code:
18:48:13 T:140191098075008   DEBUG: ------ Window Deinit (Home.xml) ------
18:48:13 T:140191098075008   DEBUG: ------ Window Init (AddonBrowser.xml) ------
18:48:13 T:140191098075008    INFO: Loading skin file: AddonBrowser.xml, load type: KEEP_IN_MEMORY
18:48:13 T:140191098075008   DEBUG: Load AddonBrowser.xml: 23.68ms
18:48:13 T:140191098075008   DEBUG: Alloc resources: 24.53ms  (24.06 ms skin load)
18:48:13 T:140191098075008   DEBUG: CGUIMediaWindow::GetDirectory (addons://disabled/xbmc.pvrclient)
18:48:13 T:140191098075008   DEBUG:   ParentPath = [addons://disabled/xbmc.pvrclient/]
18:48:13 T:140190733616896  NOTICE: Thread BackgroundLoader start, auto delete: false
18:48:13 T:140190733616896   DEBUG: Thread BackgroundLoader 140190733616896 terminating
18:48:16 T:140191098075008   DEBUG: ProcessMouse: trying mouse action leftclick
18:48:16 T:140191098075008   DEBUG: ------ Window Init (DialogAddonInfo.xml) ------
18:48:16 T:140191098075008    INFO: Loading skin file: DialogAddonInfo.xml, load type: KEEP_IN_MEMORY
18:48:16 T:140191098075008   DEBUG: Load DialogAddonInfo.xml: 15.53ms
18:48:16 T:140191098075008   DEBUG: Alloc resources: 16.08ms  (15.77 ms skin load)
18:48:18 T:140191098075008   DEBUG: ProcessMouse: trying mouse action leftclick
18:48:18 T:140190700046080  NOTICE: PVRManager - stopping
18:48:18 T:140190400198400   DEBUG: Thread PVRManager 140190400198400 terminating
18:48:18 T:140190391805696   DEBUG: Thread PVRClient 140190391805696 terminating
18:48:18 T:140190700046080  NOTICE: PVRManager - starting up
18:48:18 T:140190391805696  NOTICE: Thread PVRManager start, auto delete: false
18:48:18 T:140190400198400  NOTICE: Thread PVRClient start, auto delete: false
18:48:18 T:140190400198400   DEBUG: RegisterClient - registering add-on 'MythTV cmyth PVR Client'
18:48:18 T:140190400198400   DEBUG: PVR - Create - creating PVR add-on instance 'MythTV cmyth PVR Client'
18:48:18 T:140190400198400   DEBUG: ADDON: Dll Initializing - MythTV cmyth PVR Client
18:48:18 T:140190400198400   DEBUG: SECTION:LoadDLL(/home/user2/.xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr)
18:48:18 T:140190400198400   DEBUG: Loading: /home/user2/.xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr
18:48:18 T:140190400198400 WARNING: Unable to resolve: XBMC_MythTV_cmyth.pvr ADDON_Announce, reason: /home/user2/.xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr: undefined symbol: ADDON_Announce
18:48:18 T:140190400198400   ERROR: Unable to resolve exports from dll /home/user2/.xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr
18:48:18 T:140190400198400   DEBUG: SECTION:UnloadDll(/home/user2/.xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr)
18:48:18 T:140190400198400   DEBUG: Unloading: XBMC_MythTV_cmyth.pvr
18:48:18 T:140190400198400    INFO: Called Add-on status handler for '4' of clientName:MythTV cmyth PVR Client, clientID:pvr.mythtv.cmyth (same Thread=no)
18:48:18 T:140190400198400 WARNING: UpdateAndInitialiseClients - failed to create add-on MythTV cmyth PVR Client, status = 6
18:48:18 T:140190764115712  NOTICE: Thread AddonStatus pvr.mythtv.cmyth start, auto delete: true
18:48:18 T:140190400198400 WARNING: UpdateAndInitialiseClients - failed to load the dll for add-on MythTV cmyth PVR Client, disabling it
18:48:18 T:140191098075008   DEBUG: CGUIMediaWindow::GetDirectory (addons://disabled/xbmc.pvrclient)
18:48:18 T:140191098075008   DEBUG:   ParentPath = [addons://disabled/xbmc.pvrclient]
18:48:18 T:140190733616896  NOTICE: Thread BackgroundLoader start, auto delete: false
18:48:18 T:140190733616896   DEBUG: Thread BackgroundLoader 140190733616896 terminating
18:48:18 T:140191098075008   DEBUG: ------ Window Init (DialogOK.xml) ------
18:48:18 T:140191098075008   DEBUG: Window DialogOK.xml was already loaded
18:48:18 T:140191098075008   DEBUG: Alloc resources: 0.04m
18:48:18 T:140191098075008   DEBUG: ------ Window Init (DialogOK.xml) ------
18:48:18 T:140191098075008   DEBUG: Window DialogOK.xml was already loaded
18:48:18 T:140191098075008   DEBUG: Alloc resources: 0.00m
18:48:20 T:140191098075008   DEBUG: ProcessMouse: trying mouse action leftclick
18:48:20 T:140191098075008   DEBUG: ------ Window Deinit (DialogOK.xml) ------
18:48:20 T:140190764115712   DEBUG: Thread AddonStatus pvr.mythtv.cmyth 140190764115712 terminating (autodelete)
18:48:22 T:140191098075008   DEBUG: Keyboard: scancode: 0x09, sym: 0x001b, unicode: 0x001b, modifier: 0x1000
18:48:22 T:140191098075008   DEBUG: OnKey: escape (0xf01b) pressed, action is PreviousMenu
18:48:22 T:140191098075008   DEBUG: ------ Window Deinit (Pointer.xml) ------
18:48:22 T:140191098075008   DEBUG: ------ Window Deinit (DialogAddonInfo.xml) ------
18:48:23 T:140191098075008   DEBUG: Keyboard: scancode: 0x09, sym: 0x001b, unicode: 0x001b, modifier: 0x1000
18:48:23 T:140191098075008   DEBUG: OnKey: escape (0xf01b) pressed, action is PreviousMenu
18:48:23 T:140191098075008   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
18:48:23 T:140191098075008   DEBUG: ------ Window Deinit (AddonBrowser.xml) ------
18:48:23 T:140191098075008   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
18:48:23 T:140191098075008   DEBUG: ------ Window Init (Home.xml) ------
18:48:23 T:140191098075008   DEBUG: Window Home.xml was already loaded
18:48:23 T:140191098075008   DEBUG: Alloc resources: 0.81m
18:48:24 T:140191098075008   DEBUG: ------ Window Init (Pointer.xml) ------
18:48:26 T:140191098075008   DEBUG: ProcessMouse: trying mouse action leftclick
18:48:26 T:140191098075008   DEBUG: Activating window ID: 10111
18:48:26 T:140191098075008   DEBUG: ------ Window Init (DialogButtonMenu.xml) ------
18:48:26 T:140191098075008    INFO: Loading skin file: DialogButtonMenu.xml, load type: KEEP_IN_MEMORY
18:48:26 T:140191098075008   DEBUG: Load DialogButtonMenu.xml: 3.28ms
18:48:26 T:140191098075008   DEBUG: Alloc resources: 3.54ms  (3.34 ms skin load)
18:48:27 T:140191098075008   DEBUG: ProcessMouse: trying mouse action leftclick
18:48:27 T:140191098075008   DEBUG: CAnnouncementManager - Announcement: OnQuit from xbmc
18:48:27 T:140191098075008   DEBUG: GOT ANNOUNCEMENT, type: 8, from xbmc, message OnQuit
18:48:27 T:140191098075008  NOTICE: Storing total System Uptime
18:48:27 T:140189995149056   DEBUG: Thread AlarmClock 140189995149056 terminating
18:48:27 T:140191098075008  NOTICE: Saving settings
18:48:27 T:140191098075008  NOTICE: stop all
18:48:27 T:140191098075008  NOTICE: stop player
18:48:27 T:140191098075008    INFO: stopping PVRManager
18:48:27 T:140191098075008  NOTICE: PVRManager - stopping
18:48:27 T:140190366721792   DEBUG: Thread JobWorker 140190366721792 terminating (autodelete)
18:48:27 T:140190700046080   DEBUG: Thread JobWorker 140190700046080 terminating (autodelete)
18:48:27 T:140190391805696   DEBUG: Thread PVRManager 140190391805696 terminating
18:48:27 T:140190400198400   DEBUG: Thread PVRClient 140190400198400 terminating
18:48:27 T:140191098075008   DEBUG: NetworkMessage - Signaling network services to stop
18:48:27 T:140191098075008  NOTICE: ES: Stopping event server
18:48:27 T:140191098075008   DEBUG: NetworkMessage - Waiting for network services to stop
18:48:27 T:140191098075008  NOTICE: stopping zeroconf publishing
18:48:28 T:140190014240512   DEBUG: Thread TCPServer 140190014240512 terminating
18:48:28 T:140190358329088  NOTICE: ES: UDP Event server stopped
18:48:28 T:140190358329088   DEBUG: Thread EventServer 140190358329088 terminating