Jump to content

Search not working in 3.0.5675.1


Recommended Posts

I'm having problems with the search function.

Every time I want to search for something in my library (movie, song, tv show) the webclient goes back to home screen without showing any results.

This was working for sure before but right now I can't tell when it stopped.

 

I'm running Emby 3.0.5675.1 on CentOS 7.

 

In Emby log, for every search I try I get this exception:

2015-07-30 22:40:24.1658 Error - DtoService: Error getting artist	*** Error Report ***	Version: 3.0.5675.1	Command line: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe -programdata /var/opt/Emby/server	Operating system: Unix 3.10.0.229	Processor count: 4	64-Bit OS: True	64-Bit Process: True	Program data path: /var/opt/Emby/server	Mono: 3.10.0 (tarball Sat Nov 15 03:35:34 UTC 2014)	Application Path: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe	Argument cannot be null.	Parameter name: name	System.ArgumentNullException	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemByName[MusicArtist] (System.String path, System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetArtist (System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Dto.DtoService+<AttachBasicFields>c__AnonStorey6.<>m__1 (System.String i) [0x00000] in <filename unknown>:0 	2015-07-30 22:40:24.2502 Error - DtoService: Error getting artist	*** Error Report ***	Version: 3.0.5675.1	Command line: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe -programdata /var/opt/Emby/server	Operating system: Unix 3.10.0.229	Processor count: 4	64-Bit OS: True	64-Bit Process: True	Program data path: /var/opt/Emby/server	Mono: 3.10.0 (tarball Sat Nov 15 03:35:34 UTC 2014)	Application Path: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe	Argument cannot be null.	Parameter name: name	System.ArgumentNullException	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemByName[MusicArtist] (System.String path, System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetArtist (System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Dto.DtoService+<AttachBasicFields>c__AnonStorey6.<>m__1 (System.String i) [0x00000] in <filename unknown>:0 	2015-07-30 22:40:24.3183 Error - DtoService: Error getting artist	*** Error Report ***	Version: 3.0.5675.1	Command line: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe -programdata /var/opt/Emby/server	Operating system: Unix 3.10.0.229	Processor count: 4	64-Bit OS: True	64-Bit Process: True	Program data path: /var/opt/Emby/server	Mono: 3.10.0 (tarball Sat Nov 15 03:35:34 UTC 2014)	Application Path: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe	Argument cannot be null.	Parameter name: name	System.ArgumentNullException	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemByName[MusicArtist] (System.String path, System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetArtist (System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Dto.DtoService+<AttachBasicFields>c__AnonStorey6.<>m__1 (System.String i) [0x00000] in <filename unknown>:0 	2015-07-30 22:40:24.3554 Error - DtoService: Error getting artist	*** Error Report ***	Version: 3.0.5675.1	Command line: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe -programdata /var/opt/Emby/server	Operating system: Unix 3.10.0.229	Processor count: 4	64-Bit OS: True	64-Bit Process: True	Program data path: /var/opt/Emby/server	Mono: 3.10.0 (tarball Sat Nov 15 03:35:34 UTC 2014)	Application Path: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe	Argument cannot be null.	Parameter name: name	System.ArgumentNullException	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemByName[MusicArtist] (System.String path, System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetArtist (System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Dto.DtoService+<AttachBasicFields>c__AnonStorey6.<>m__1 (System.String i) [0x00000] in <filename unknown>:0 	2015-07-30 22:40:24.4836 Error - DtoService: Error getting artist	*** Error Report ***	Version: 3.0.5675.1	Command line: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe -programdata /var/opt/Emby/server	Operating system: Unix 3.10.0.229	Processor count: 4	64-Bit OS: True	64-Bit Process: True	Program data path: /var/opt/Emby/server	Mono: 3.10.0 (tarball Sat Nov 15 03:35:34 UTC 2014)	Application Path: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe	Argument cannot be null.	Parameter name: name	System.ArgumentNullException	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemByName[MusicArtist] (System.String path, System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetArtist (System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Dto.DtoService+<AttachBasicFields>c__AnonStorey6.<>m__1 (System.String i) [0x00000] in <filename unknown>:0 	2015-07-30 22:40:24.4948 Error - DtoService: Error getting artist	*** Error Report ***	Version: 3.0.5675.1	Command line: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe -programdata /var/opt/Emby/server	Operating system: Unix 3.10.0.229	Processor count: 4	64-Bit OS: True	64-Bit Process: True	Program data path: /var/opt/Emby/server	Mono: 3.10.0 (tarball Sat Nov 15 03:35:34 UTC 2014)	Application Path: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe	Argument cannot be null.	Parameter name: name	System.ArgumentNullException	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemByName[MusicArtist] (System.String path, System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetArtist (System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Dto.DtoService+<AttachBasicFields>c__AnonStorey6.<>m__1 (System.String i) [0x00000] in <filename unknown>:0 	2015-07-30 22:40:24.5608 Error - DtoService: Error getting artist	*** Error Report ***	Version: 3.0.5675.1	Command line: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe -programdata /var/opt/Emby/server	Operating system: Unix 3.10.0.229	Processor count: 4	64-Bit OS: True	64-Bit Process: True	Program data path: /var/opt/Emby/server	Mono: 3.10.0 (tarball Sat Nov 15 03:35:34 UTC 2014)	Application Path: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe	Argument cannot be null.	Parameter name: name	System.ArgumentNullException	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemByName[MusicArtist] (System.String path, System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetArtist (System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Dto.DtoService+<AttachBasicFields>c__AnonStorey6.<>m__1 (System.String i) [0x00000] in <filename unknown>:0 	2015-07-30 22:40:24.6163 Error - DtoService: Error getting artist	*** Error Report ***	Version: 3.0.5675.1	Command line: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe -programdata /var/opt/Emby/server	Operating system: Unix 3.10.0.229	Processor count: 4	64-Bit OS: True	64-Bit Process: True	Program data path: /var/opt/Emby/server	Mono: 3.10.0 (tarball Sat Nov 15 03:35:34 UTC 2014)	Application Path: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe	Argument cannot be null.	Parameter name: name	System.ArgumentNullException	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemByName[MusicArtist] (System.String path, System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetArtist (System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Dto.DtoService+<AttachBasicFields>c__AnonStorey6.<>m__1 (System.String i) [0x00000] in <filename unknown>:0 	2015-07-30 22:40:24.6383 Error - DtoService: Error getting artist	*** Error Report ***	Version: 3.0.5675.1	Command line: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe -programdata /var/opt/Emby/server	Operating system: Unix 3.10.0.229	Processor count: 4	64-Bit OS: True	64-Bit Process: True	Program data path: /var/opt/Emby/server	Mono: 3.10.0 (tarball Sat Nov 15 03:35:34 UTC 2014)	Application Path: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe	Argument cannot be null.	Parameter name: name	System.ArgumentNullException	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemByName[MusicArtist] (System.String path, System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetArtist (System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Dto.DtoService+<AttachBasicFields>c__AnonStorey6.<>m__1 (System.String i) [0x00000] in <filename unknown>:0 	2015-07-30 22:40:24.6651 Error - DtoService: Error getting artist	*** Error Report ***	Version: 3.0.5675.1	Command line: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe -programdata /var/opt/Emby/server	Operating system: Unix 3.10.0.229	Processor count: 4	64-Bit OS: True	64-Bit Process: True	Program data path: /var/opt/Emby/server	Mono: 3.10.0 (tarball Sat Nov 15 03:35:34 UTC 2014)	Application Path: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe	Argument cannot be null.	Parameter name: name	System.ArgumentNullException	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemByName[MusicArtist] (System.String path, System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetArtist (System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Dto.DtoService+<AttachBasicFields>c__AnonStorey6.<>m__1 (System.String i) [0x00000] in <filename unknown>:0 	2015-07-30 22:40:24.7055 Error - DtoService: Error getting artist	*** Error Report ***	Version: 3.0.5675.1	Command line: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe -programdata /var/opt/Emby/server	Operating system: Unix 3.10.0.229	Processor count: 4	64-Bit OS: True	64-Bit Process: True	Program data path: /var/opt/Emby/server	Mono: 3.10.0 (tarball Sat Nov 15 03:35:34 UTC 2014)	Application Path: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe	Argument cannot be null.	Parameter name: name	System.ArgumentNullException	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemByName[MusicArtist] (System.String path, System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetArtist (System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Dto.DtoService+<AttachBasicFields>c__AnonStorey6.<>m__1 (System.String i) [0x00000] in <filename unknown>:0 	2015-07-30 22:40:24.7214 Error - DtoService: Error getting artist	*** Error Report ***	Version: 3.0.5675.1	Command line: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe -programdata /var/opt/Emby/server	Operating system: Unix 3.10.0.229	Processor count: 4	64-Bit OS: True	64-Bit Process: True	Program data path: /var/opt/Emby/server	Mono: 3.10.0 (tarball Sat Nov 15 03:35:34 UTC 2014)	Application Path: /opt/Emby/server/bin/MediaBrowser.Server.Mono.exe	Argument cannot be null.	Parameter name: name	System.ArgumentNullException	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemByName[MusicArtist] (System.String path, System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetArtist (System.String name) [0x00000] in <filename unknown>:0 	  at MediaBrowser.Server.Implementations.Dto.DtoService+<AttachBasicFields>c__AnonStorey6.<>m__1 (System.String i) [0x00000] in <filename unknown>:0
It looks like a problem with some item in my library but I can't tell from the error where to look exactly.

 

Any ideas?

Edited by fc7
Link to post
Share on other sites

that shouldn't be a problem. it will handle that and march on. see if by chance it might just be acting slowly

Link to post
Share on other sites

Ok. So there is nothing I can do on my side to fix it or workaround it right? It's not a problem with my library items?

 

 

Sent from my iPhone using Tapatalk

Link to post
Share on other sites

how are you defining failure? can you repeat the test with debug logging on (under advanced)? thanks.

Link to post
Share on other sites

how are you defining failure? can you repeat the test with debug logging on (under advanced)? thanks.

 

The repro steps are:

 

  1. Open the webclient
  2. Go to Music library
  3. Clic on Songs for example
  4. In the Songs section clic on the search icon on the top right.
  5. Type something in the search field and press <Enter>

Expected result: the web client will return a list of results or a message that there are no results

Actual result: no search results are returned, instead the webclient returns to the Home screen and the server logs the exception that you can see in the logs.

 

I will repeat the test with debug loggin enable now.

Link to post
Share on other sites

Ok. I have more details. I'm running Elementary OS which is based on Ubuntu 14.04 and the default browser is Midori.

Most of the time I'm using Firefox, but just by coincidence I connected to Emby using Midori and guess what. Seach is working fine in Midori!

 

Searching for the keyword as I typed and finding results. Not like in Firefox where nothing happens as I type and I need to press <Enter> after entering the entire keyword to fire the search which doesn't return any results and take me back to the home screen, logging the exception in the server log.

 

So search is failing under Firefox 39.0 but it's working ok under Midori 0.5.10.

Midori uses the WebKit rendering engine which is different from Gecko, used by Firefox.

 

Anyway I got the debug enabled log, please find it attached. I did some basic clean on IPs, usernames and folders that I'm not comfortable posting in a public forum. But if you need the original log I can send it to you by PM.

In the log you should see my test with Midori (working) and right after my test with Firefox (not working).

server-63573898987.txt

Link to post
Share on other sites

is there any possibility you may have assumed failure based on it taking longer than expected? the server log shows all the search requests sending back a status of 200 OK, taking anywhere from 1.5 to 5 seconds. either that or there was just a clientside problem in the browser. i'm not on ff39 but it seems ok on 40

Link to post
Share on other sites

is there any possibility you may have assumed failure based on it taking longer than expected? the server log shows all the search requests sending back a status of 200 OK, taking anywhere from 1.5 to 5 seconds. either that or there was just a clientside problem in the browser. i'm not on ff39 but it seems ok on 40

Hi Luke thanks a lot for coming back so fast.

 

It's a really weird issue. I just connected again with Midori and it was failing too! Exactly in the same way as Firefox.

 

Just to try something, right after step 3 (repro steps above) I did a reload on the page (F5).

After the page was reloaded I clicked again on search icon, started typing and the search function was working as expected.

 

I repeated exactly the same procedure now in Firefox up to step 3, then F5 to reload the page, I clicked on the search icon, started typing and the search function is working as expected.

 

It seems that if I don't force reload the page (F5), at least once during my session, the search will not work.

I can reproduce this constantly, at will, and with both browsers.

 

I'm really lost here.

Edited by fc7
Link to post
Share on other sites

I still can't figure out why I need to reload the webclient at least once to get the search feature to work.

 

I will really appreciate any ideas to troubleshoot this.

 

Thanks.

 

 

Sent from my iPad using Tapatalk

Link to post
Share on other sites

if you can build against the latest code then try it there because there are search changes. otherwise i wouldn't worry about it and just test when the next release rolls around.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...