Kodi Community Forum

Full Version: GetDirectory - Error getting library://video/ - Missing "add source" Button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi
I'm new to XBMC and have a little problem with my setup.
I'm using Debian Testing x64 with Gnome and Kernel 3.2.0.3 and installed XBMC from Repo.
Quote:Starting XBMC (12.0-ALPHA3 Git:Unknown), Platform: Linux (Linux Mint Debian Edition, 3.2.0-3-amd64 x86_64). Built on Jul 13 2012

XBMC works great except the video section. When I enter videos I miss the button "Add Source" or "Add Videos".
The log file gives me the following error messages:

Quote:11:05:06 T:140048714213120 ERROR: SOCK: Error selecting socket(s)
11:05:06 T:140048714213120 ERROR: ES: Exception caught while listening for socket
11:05:06 T:140048714213120 NOTICE: ES: UDP Event server stopped
11:05:06 T:140048705820416 ERROR: JSONRPC Server: Select failed
11:05:06 T:140048680642304 NOTICE: Thread Jobworker start, auto delete: true
11:05:06 T:140048829056768 NOTICE: Thread CRssReader start, auto delete: false
11:05:07 T:140048714213120 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
11:05:07 T:140048714213120 NOTICE: UDP: Listening on port 9777
11:05:11 T:140049266542528 ERROR: GetDirectory - Error getting /home/s256/.xbmc/media/Fonts/
11:05:11 T:140049266542528 ERROR: GetDirectory - Error getting special://home/media/Fonts/
11:05:14 T:140049266542528 NOTICE: CleanDatabase: Starting videodatabase cleanup ..
11:05:23 T:140049266542528 ERROR: GetDirectory - Error getting library://video/
11:05:23 T:140048750081792 ERROR: Previous line repeats 1 times.
11:05:23 T:140048750081792 NOTICE: Thread Background Loader start, auto delete: false
11:05:24 T:140049266542528 ERROR: GetDirectory - Error getting library://video/


The Font errors shouldn't be the problem but the lines with "ERROR: GetDirectory - Error getting library://video/ "

I cleared the libraries (under settings) and tried to add a source manually in sources.xml but they don't appear in the frontend.

All I get under Videos is the empty folder structure: ".."

I deleted the .xbmc folder in my home directory but this did not fix the problem. And also tried to reinstall it completely.

I searched the forum and google. And found an old thread http://forum.xbmc.org/showthread.php?tid=107622 but without any solution to the problem.

Any suggestions?

Kind regards

sesc
You don't have the system folder available.
You mean /usr/share/xbmc ? Sorry I don't get it.
I have 755 on /usr/share/xbmc and all child-directories.
What exactly do you mean with "you don't have the system folder available"? Where should the system folder be available and what exactly is the system folder?

Thanks for your quick answer and sorry for my dumb questions :/
At the top of you log it will list the location of special://home/

Inside that should be a system folder. You don't have any of them, thus the reason fonts (and a whole heap of other stuff) don't work.
I found the entry and my system folder.
my home dir is /home/username/.xbmc (as default)
inside this I found the following directories:
Quote:addons
language
media
sounds
ystem
temp
userdata
All with 755 (rwx,rx,rx)
The system folder was empty, I copied all files from /usr/share/xbmc/system into my system folder in my home dir.
Nothing changed. I changed the permissions to 777, nothing changed.
Am I missing more folders? Which folders and which content should exist?
[/quote]
Here is the log-file (without Hardware-details):
Quote:16:55:33 T:139789546932160 NOTICE: -----------------------------------------------------------------------
16:55:33 T:139789546932160 NOTICE: Starting XBMC (12.0-ALPHA3 Git:Unknown), Platform: Linux (Linux Mint Debian Edition, 3.2.0-3-amd64 x86_64). Built on Jul 13 2012
16:55:33 T:139789546932160 NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
16:55:33 T:139789546932160 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/x86_64-linux-gnu/xbmc
16:55:33 T:139789546932160 NOTICE: special://masterprofile/ is mapped to: /home/user/.xbmc/userdata
16:55:33 T:139789546932160 NOTICE: special://home/ is mapped to: /home/user/.xbmc
16:55:33 T:139789546932160 NOTICE: special://temp/ is mapped to: /home/user/.xbmc/temp
16:55:33 T:139789546932160 NOTICE: The executable running is: /usr/lib/x86_64-linux-gnu/xbmc/xbmc.bin
16:55:33 T:139789546932160 NOTICE: Local hostname: hostname
16:55:33 T:139789546932160 NOTICE: Log File is located: /home/user/.xbmc/temp/xbmc.log
16:55:33 T:139789546932160 NOTICE: -----------------------------------------------------------------------
16:55:33 T:139789546932160 WARNING: CXRandR::Query - output LVDS-0 has no current mode, assuming disconnected
16:55:33 T:139789546932160 NOTICE: Enumerated ALSA devices:
16:55:33 T:139789546932160 NOTICE: Device 1
16:55:33 T:139789546932160 NOTICE: m_deviceName : hw:CARD=Intel,DEV=0
[..]
16:55:33 T:139789546932160 NOTICE: load settings...
16:55:33 T:139789546932160 NOTICE: special://profile/ is mapped to: special://masterprofile/
16:55:33 T:139789546932160 NOTICE: loading special://masterprofile/guisettings.xml
16:55:33 T:139789546932160 NOTICE: Getting hardware information now...
14:55:33 T:139789546932160 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
14:55:33 T:139789546932160 NOTICE: Loaded playercorefactory configuration
14:55:33 T:139789546932160 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
14:55:33 T:139789546932160 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
14:55:33 T:139789546932160 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
14:55:33 T:139789546932160 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
14:55:33 T:139789546932160 NOTICE: Default DVD Player: dvdplayer
14:55:33 T:139789546932160 NOTICE: Default Video Player: dvdplayer
14:55:33 T:139789546932160 NOTICE: Default Audio Player: paplayer
14:55:33 T:139789546932160 NOTICE: Disabled debug logging due to GUI setting. Level 0.
14:55:33 T:139789546932160 NOTICE: Log level changed to 0
14:55:33 T:139789546932160 NOTICE: Loading media sources from special://masterprofile/sources.xml
14:55:33 T:139789143881472 NOTICE: Thread CSoftAE start, auto delete: false
14:55:33 T:139789133321984 NOTICE: Thread XBMC Peripherals start, auto delete: false
14:55:33 T:139789546932160 NOTICE: Setup SDL
14:55:33 T:139789546932160 NOTICE: Checking resolution 12
14:55:34 T:139789546932160 NOTICE: Using visual 0x73
14:55:34 T:139789546932160 NOTICE: GL_VENDOR = NVIDIA Corporation
14:55:34 T:139789546932160 NOTICE: GL_RENDERER = Quadro FX 770M/PCIe/SSE2
14:55:34 T:139789546932160 NOTICE: GL_VERSION = 3.3.0 NVIDIA 304.43
14:55:34 T:139789546932160 NOTICE: GL_SHADING_LANGUAGE_VERSION = 3.30 NVIDIA via Cg compiler
14:55:34 T:139789546932160 NOTICE: GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX = 524288
14:55:34 T:139789546932160 NOTICE: GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX = 524288
[..]
14:55:34 T:139789546932160 ERROR: GLX: Same window as before, refreshing context
14:55:34 T:139789546932160 NOTICE: start dvd mediatype detection
14:55:34 T:139789546932160 NOTICE: initializing playlistplayer
14:55:34 T:139789546932160 NOTICE: DONE initializing playlistplayer
14:55:34 T:139789109446400 NOTICE: Thread CDetectDVDMedia start, auto delete: false
14:55:35 T:139789546932160 NOTICE: UpdateLibraries - Starting music library startup scan
14:55:35 T:139789546932160 NOTICE: initialize done
14:55:35 T:139789020784384 NOTICE: Thread CMusicInfoScanner start, auto delete: false
14:55:35 T:139789012391680 ERROR: SetThreadInfo: error Permission denied
14:55:35 T:139789012391680 NOTICE: Thread CMusicInfoScanner start, auto delete: false
14:55:35 T:139789546932160 NOTICE: Enabled Joystick: Microsoft Microsoft® Nano Transceiver v1.0
14:55:35 T:139789546932160 NOTICE: Details: Total Axis: 37 Total Hats: 0 Total Buttons: 57
14:55:35 T:139789020784384 NOTICE: My Music: Scanning for music info using worker thread, operation took 00:00
14:55:35 T:139789546932160 NOTICE: Enabled Joystick: Microsoft Microsoft® Nano Transceiver v2.0
14:55:35 T:139789546932160 NOTICE: Details: Total Axis: 37 Total Hats: 0 Total Buttons: 57
14:55:35 T:139789546932160 NOTICE: Running the application...
14:55:35 T:139789546932160 NOTICE: ES: Starting event server
14:55:35 T:139789546932160 NOTICE: starting zeroconf publishing
14:55:35 T:139789546932160 ERROR: Control 1 in window 10099 has been asked to focus, but it can't
14:55:35 T:139789012391680 NOTICE: Thread CTCPServer start, auto delete: false
14:55:35 T:139788995606272 NOTICE: Thread Jobworker start, auto delete: true
14:55:35 T:139789020784384 NOTICE: Thread CEventServer start, auto delete: false
14:55:35 T:139789020784384 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
14:55:35 T:139789020784384 NOTICE: UDP: Listening on port 9777
14:55:35 T:139789012391680 ERROR: JSONRPC Server: Select failed
14:55:35 T:139788987213568 NOTICE: Thread Jobworker start, auto delete: true
14:55:35 T:139789546932160 ERROR: Python script "script.recentlyadded" does not exist
14:55:35 T:139789109446400 NOTICE: Thread CRssReader start, auto delete: false
14:55:36 T:139789546932160 WARNING: Skin has invalid include: MoviesWrapListInfoFanartView
14:55:36 T:139789546932160 WARNING: Previous line repeats 17 times.
14:55:36 T:139789546932160 WARNING: Skin has invalid include: AddonsListInfoView2
14:55:36 T:139789546932160 WARNING: Skin has invalid include: MoviesWrapListInfoFanartView
14:55:36 T:139789546932160 WARNING: Skin has invalid include: AddonsListInfoView2
14:55:36 T:139789546932160 WARNING: Skin has invalid include: AlbumThumbViewItemFocusAnim
14:55:37 T:139789546932160 WARNING: Previous line repeats 1 times.
14:55:37 T:139789546932160 ERROR: GetDirectory - Error getting library://video/
14:55:37 T:139788967245568 ERROR: Previous line repeats 1 times.
14:55:37 T:139788967245568 NOTICE: Thread Background Loader start, auto delete: false
14:55:38 T:139789546932160 ERROR: Python script "script.recentlyadded" does not exist
14:55:42 T:139789546932160 NOTICE: Storing total System Uptime
14:55:42 T:139789546932160 NOTICE: Saving settings
14:55:42 T:139789546932160 NOTICE: stop all
14:55:42 T:139789546932160 NOTICE: ES: Stopping event server
14:55:42 T:139789546932160 NOTICE: stopping zeroconf publishing
14:55:42 T:139789020784384 NOTICE: ES: UDP Event server stopped
14:55:42 T:139789546932160 NOTICE: stop dvd detect media
14:55:42 T:139789546932160 NOTICE: stop sap announcement listener
14:55:42 T:139789546932160 NOTICE: clean cached files!
14:55:42 T:139789546932160 NOTICE: unload skin
14:55:42 T:139789546932160 NOTICE: stop python
14:55:42 T:139789546932160 NOTICE: stopped
14:55:42 T:139789546932160 NOTICE: destroy
14:55:42 T:139789546932160 NOTICE: closing down remote control service
14:55:42 T:139789546932160 NOTICE: unload sections
14:55:42 T:139789546932160 NOTICE: destroy
14:55:42 T:139789546932160 WARNING: Attempted to remove window 10013 from the window manager when it didn't exist
14:55:42 T:139789546932160 WARNING: Attempted to remove window 10014 from the window manager when it didn't exist
14:55:42 T:139789546932160 WARNING: Attempted to remove window 10015 from the window manager when it didn't exist
14:55:42 T:139789546932160 WARNING: Attempted to remove window 10016 from the window manager when it didn't exist
14:55:42 T:139789546932160 WARNING: Attempted to remove window 10017 from the window manager when it didn't exist
14:55:42 T:139789546932160 WARNING: Attempted to remove window 10018 from the window manager when it didn't exist
14:55:42 T:139789546932160 WARNING: Attempted to remove window 10019 from the window manager when it didn't exist
14:55:42 T:139789546932160 WARNING: Attempted to remove window 10107 from the window manager when it didn't exist
14:55:42 T:139789546932160 WARNING: Attempted to remove window 10115 from the window manager when it didn't exist
14:55:42 T:139789546932160 WARNING: Attempted to remove window 10104 from the window manager when it didn't exist
14:55:42 T:139789546932160 NOTICE: closing down remote control service
14:55:42 T:139789546932160 NOTICE: unload sections
14:55:42 T:139789546932160 NOTICE: application stopped...
The system folder is either here:

/usr/share/xbmc

or here:

/usr/lib/x86_64-linux-gnu/xbmc
Hello,

Same problem here. Missing "Add source" in Video section on fresh install of LinuxMint Debian and xbmc from repos (XBMC 12.0-ALPHA3 Git:Unknown)
Every other sections have there "Add source" and work like a charm. This is true with all skins I tried.
Too bad. Absolutely clueless.
Dang, same problem here. Linux mint debian edition and XBMC from the repos. Did anybody figure this out?
Again, it's a problem with a missing system/ folder. Find where it should be on your machine (ask whoever provided your LinuxMint packages) and ensure they're installing things properly.
JMarshall -- thanks for the reply. I'm not as familiar as you are with XBMC, this is my first try running it. I get it that maybe the package maintainer has not got things installing right, but what can we do to try and fix it on our machines?

What is supposed to go in the system directory?

Code:
@walrus xbmc $ ls -la /usr/share/xbmc/
total 48
drwxr-xr-x   8 root root  4096 Nov 28 22:51 .
drwxr-xr-x 306 root root 12288 Nov 28 22:51 ..
drwxr-xr-x  39 root root  4096 Nov 28 22:51 addons
drwxr-xr-x  47 root root  4096 Nov 28 22:51 language
drwxr-xr-x   3 root root  4096 Nov 28 22:51 media
drwxr-xr-x   3 root root  4096 Nov 28 22:51 sounds
drwxr-xr-x   5 root root  4096 Nov 28 22:51 system
drwxr-xr-x   3 root root  4096 Nov 28 22:51 userdata
-rw-r--r--   1 root root  4457 Jul 13 05:16 FEH.py

And the other:

Code:
@walrus xbmc $ ls -la /usr/lib/x86_64-linux-gnu/xbmc/
total 14100
drwxr-xr-x  4 root root     4096 Nov 28 22:51 .
drwxr-xr-x 63 root root    49152 Nov 28 22:51 ..
drwxr-xr-x  9 root root     4096 Nov 28 22:51 addons
drwxr-xr-x  3 root root     4096 Nov 28 22:51 system
-rwxr-xr-x  1 root root 14330920 Jul 13 05:26 xbmc.bin
-rwxr-xr-x  1 root root    39424 Jul 13 05:26 xbmc-xrandr

Is there any way I can see what folder xbmc is trying to use when I start it up?
The first one. Look inside system/
What am I looking for?
You could describe what the contents of each of them are, right?
Hello,

I found a workaround for current Linux Mint Debian Edition , but will surely work for Debian testing also :

add deb http://www.deb-multimedia.org/ wheezy main non-free to your /etc/apt/sources.list file
then
apt-get update
apt-get upgrade
apt-get dist-upgrade

this will use a more up-to-date package and Xbmc is now working as it should : absolutely perfectly !!!