If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Cant add media in plex server

just heard about plex and installed. When i try and add media to the server, i click on any of the categories in the media manager. When i click on them nothing happens. Im using vista 64. I setup router so that the server is viewable so that is working but im not sure how to add movies and tv shows to the library.

Comments

  • AcidRain wrote:

    just heard about plex and installed. When i try and add media to the server, i click on any of the categories in the media manager. When i click on them nothing happens. Im using vista 64. I setup router so that the server is viewable so that is working but im not sure how to add movies and tv shows to the library.


    I have exactly the same problem.
  • mfeingolmfeingol Posts: 5,091Members, Plex Employee, Plex Pass, Plex Ninja Plex Employee
    Gentlemen:

    Thanks for the bug report. This might be a Media Manager issue or a server issue. Can you help us isolate that by posting PMS server logs?

    (In a nutshell, I'm wondering if you're running into this problem: http://forums.plexapp.com/index.php/topic/31714-debugging-plugin-failures/)

    Thanks.
  • transmothratransmothra Posts: 9Members
    I think i'm having a similar problem. When i load the media manager, it looks ok but when i try to add media it doesn't do anything. I mean, the box pops up and i add a folder and click the button to save it but the box stays up and nothing happens. If i click cancel it goes away but then i can't add anything. I hope this makes sense.
    ...do you believe that?
  • mfeingolmfeingol Posts: 5,091Members, Plex Employee, Plex Pass, Plex Ninja Plex Employee

    I think i'm having a similar problem. When i load the media manager, it looks ok but when i try to add media it doesn't do anything. I mean, the box pops up and i add a folder and click the button to save it but the box stays up and nothing happens. If i click cancel it goes away but then i can't add anything. I hope this makes sense.


    Any chance you can try the steps in here?

    http://forums.plexapp.com/index.php/topic/31714-debugging-plugin-failures/
  • transmothratransmothra Posts: 9Members
    edited November 2011
    mfeingol wrote:

    Any chance you can try the steps in here?

    http://forums.plexap...lugin-failures/


    I have log.real.txt and log.txt and neither one has anything i understand.

    I did these steps but the rest i couldn't figure out.


    set PythonPath=C:\Program Files (x86)\Plex\Plex Media Server\DLLs
    


    set PLEXLOCALAPPDATA=C:\Documents and Settings\<username>\Local Settings\Application Data
    

    .

    [EDIT: removed irrelevant txt files]
    ...do you believe that?
  • transmothratransmothra Posts: 9Members
    edited November 2011
    Oh, i figured it out, here's what i got when i did that last step:


    Traceback (most recent call last):
      File "C:\Documents and Settings\Owner.moffrabot\Local Settings\Application Dat
    a\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Pyth
    on/bootstrap.py", line 29, in <module>
        ourlocalappdata = os.path.join(os.environ[key], 'Plex Media Server')
      File "C:\Program Files\Plex\Plex Media Server\python26.zip\os.py", line 423, i
    n __getitem__
    KeyError: 'LOCALAPPDATA'
    


    i attached the pms.log
    ...do you believe that?
  • mfeingolmfeingol Posts: 5,091Members, Plex Employee, Plex Pass, Plex Ninja Plex Employee
    Thanks for following up on this!

    Can you make sure you're setting PLEXLOCALAPPDATA correctly inside the command prompt? The error you posted is what you'd see on XP if PLEXLOCALAPPDATA isn't set:

      if 'PLEXLOCALAPPDATA' in os.environ:
        key = 'PLEXLOCALAPPDATA'
      else:
        key = 'LOCALAPPDATA'
      ourlocalappdata = os.path.join(os.environ[key], 'Plex Media Server')
    
  • transmothratransmothra Posts: 9Members
    edited November 2011
    mfeingol wrote:

    Thanks for following up on this!

    Can you make sure you're setting PLEXLOCALAPPDATA correctly inside the command prompt? The error you posted is what you'd see on XP if PLEXLOCALAPPDATA isn't set:

      if 'PLEXLOCALAPPDATA' in os.environ:
        key = 'PLEXLOCALAPPDATA'
      else:
        key = 'LOCALAPPDATA'
      ourlocalappdata = os.path.join(os.environ[key], 'Plex Media Server')
    



    Sorry, i'm lost. I don't understand no computers none. ;)

    Did you want me to enter
    set PLEXLOCALAPPDATA=C:\Documents and Settings\<username>\Local Settings\Application Data
    
    or type that stuff you posted above??
    ...do you believe that?
  • l33tpirol33tpiro Posts: 1Members
    I had the same issue. I got it to work by uninstalling plex media server and python. When I reinstalled PMS it added all my media no problem.
  • mfeingolmfeingol Posts: 5,091Members, Plex Employee, Plex Pass, Plex Ninja Plex Employee

    Sorry, i'm lost. I don't understand no computers none. ;)

    Did you want me to enter
    set PLEXLOCALAPPDATA=C:\Documents and Settings\<username>\Local Settings\Application Data
    
    or type that stuff you posted above??


    In the command prompt, type the set command (adjusted for correctness on your computer, obviously). Then do what you did earlier running PlexScriptHost.exe with the long command line.
  • transmothratransmothra Posts: 9Members
    I just redid the process and this time i restarted PMS.

    Traceback (most recent call last):
      File "C:\Documents and Settings\Owner.moffrabot\Local Settings\Application Dat
    a\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Pyth
    on/bootstrap.py", line 84, in <module>
        import Framework
      File "C:\Documents and Settings\Owner.moffrabot\Local Settings\Application Dat
    a\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Pyth
    on\Framework\__init__.py", line 6, in <module>
        import utils
      File "C:\Documents and Settings\Owner.moffrabot\Local Settings\Application Dat
    a\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Pyth
    on\Framework\utils.py", line 6, in <module>
        import os, time, mimetypes, hashlib, urllib, base64, cerealizer, types
      File "C:\Program Files\Plex\Plex Media Server\python26.zip\mimetypes.py", line
     27, in <module>
      File "C:\Program Files\Plex\Plex Media Server\python26.zip\urllib.py", line 26
    , in <module>
      File "C:\Program Files\Plex\Plex Media Server\python26.zip\socket.py", line 46
    , in <module>
    ImportError: No module named _socket
    

    ...do you believe that?
  • mfeingolmfeingol Posts: 5,091Members, Plex Employee, Plex Pass, Plex Ninja Plex Employee
    Great. Now do the set PythonPath=C:\Program Files (x86)\Plex\Plex Media Server\DLLs line as well. Again, make sure the path is right for your system.

    (What we're doing here is simulating the environment that PMS sets up before it launches PlexScriptHost.)
  • transmothratransmothra Posts: 9Members
    edited November 2011
    mfeingol wrote:

    Great. Now do the set PythonPath=C:\Program Files (x86)\Plex\Plex Media Server\DLLs line as well. Again, make sure the path is right for your system.

    (What we're doing here is simulating the environment that PMS sets up before it launches PlexScriptHost.)


    I did the whole thing again and got
    Traceback (most recent call last):
      File "C:\Documents and Settings\Owner.moffrabot\Local Settings\Application Dat
    a\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Pyth
    on/bootstrap.py", line 84, in <module>
        import Framework
      File "C:\Documents and Settings\Owner.moffrabot\Local Settings\Application Dat
    a\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Pyth
    on\Framework\__init__.py", line 6, in <module>
        import utils
      File "C:\Documents and Settings\Owner.moffrabot\Local Settings\Application Dat
    a\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Pyth
    on\Framework\utils.py", line 6, in <module>
        import os, time, mimetypes, hashlib, urllib, base64, cerealizer, types
      File "C:\Program Files\Plex\Plex Media Server\python26.zip\mimetypes.py", line
     27, in <module>
      File "C:\Program Files\Plex\Plex Media Server\python26.zip\urllib.py", line 26
    , in <module>
      File "C:\Program Files\Plex\Plex Media Server\python26.zip\socket.py", line 46
    , in <module>ImportError: No module named _socket
    


    What am i doing wrong? I tell you i understand none of this.

    Also, thank you very, very much for your patience and help!
    ...do you believe that?
  • transmothratransmothra Posts: 9Members
    I tried the whole thing again. This time i restarted PMS again and also deleted (x86) from set PythonPath


    C:\Documents and Settings\Owner.moffrabot\Local Settings\Application Data\Plex M
    edia Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Frame
    work\components\runtime.py:651: DeprecationWarning: BaseException.message has be
    en deprecated as of Python 2.6
      el.set('message', e.message)
    500 Internal Server Error
    Content-Length: 483
    
    <?xml version='1.0' encoding='utf-8'?>
    <Exception type="IndexError" message="string index out of range">
      <Traceback>Traceback (most recent call last):
      File "C:\Documents and Settings\Owner.moffrabot\Local Settings\Application Dat
    a\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Pyth
    on\Framework\components\runtime.py", line 550, in handle_request
        if path[-1] == '/': path = path[:-1]
    IndexError: string index out of range
    </Traceback>
    </Exception>
    

    ...do you believe that?
  • mfeingolmfeingol Posts: 5,091Members, Plex Employee, Plex Pass, Plex Ninja Plex Employee
    That looks right... As in, what you'd expect to see if you hit enter in the console. So the plugin does appear to be starting up correctly - at least, until it receives input.

    Any chance you can re-run PMS and - if it's still failing as you described - post PMS and plugin logs as per http://forums.plexapp.com/index.php/topic/25417-where-are-the-pms-logs-on-windows/ ?

    Thanks!
  • transmothratransmothra Posts: 9Members
    mfeingol wrote:

    That looks right... As in, what you'd expect to see if you hit enter in the console. So the plugin does appear to be starting up correctly - at least, until it receives input.

    Any chance you can re-run PMS and - if it's still failing as you described - post PMS and plugin logs as per http://forums.plexap...ogs-on-windows/ ?

    Thanks!


    You mean restart it, or reinstall it? I've restarted it at least five times now, always with the same problem.
    ...do you believe that?
  • mfeingolmfeingol Posts: 5,091Members, Plex Employee, Plex Pass, Plex Ninja Plex Employee
    Start PMS. Then right click and exit. Then post logs.
  • transmothratransmothra Posts: 9Members
    mfeingol wrote:

    Start PMS. Then right click and exit. Then post logs.


    Thanks...
    ...do you believe that?
  • ghosh.peter@gmail.comghosh.peter@gmail.com Posts: 2Members
    edited January 2012
    I am having the same problem.

    C:\Documents and Settings\PeterGhosh>set PLEXLOCALAPPDATA=C:\Documents and Setti
    ngs\PeterGhosh\Local Settings\Application Dataset

    C:\Documents and Settings\PeterGhosh>set PythonPath=C:\Program Files\Plex\Plex M
    edia Server\DLLs

    C:\Documents and Settings\PeterGhosh>"C:\Program Files\Plex\Plex Media Server\Pl
    exScriptHost.exe" "C:\Documents and Settings\PeterGhosh\Local Settings\Applicati
    on Data\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\
    2\Python/bootstrap.py" "C:\Documents and Settings\PeterGhosh\Local Settings\Appl
    ication Data\Plex Media Server\Plug-ins\System.bundle"
    Error starting framework core.

    Any suggestions?

    Jan 20, 2012 12:42:53 [6040] INFO - LANGID = 0x409
    Jan 20, 2012 12:42:53 [6040] DEBUG - LoadMUILibraryW(0x409) returned 0x026D0001, 0x0
    Jan 20, 2012 12:42:53 [6040] DEBUG - LoadIconW(IDI_TRAYICON_ICON) returned 0x01250249, 0x6
    Jan 20, 2012 12:42:53 [6040] INFO - Windows version 5.1 (Build 2600)
    Jan 20, 2012 12:42:53 [6040] INFO - 2 2999 MHz processor(s): Architecture=0, Level=6, Revision=5898
    Jan 20, 2012 12:42:53 [6040] INFO - PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel
    Jan 20, 2012 12:42:53 [6040] INFO - Plex Media Server v0.9.5.2
Sign In or Register to comment.