Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting an error when trying to prt install on a mac #41

Open
alexholliz opened this issue Sep 6, 2016 · 6 comments
Open

Getting an error when trying to prt install on a mac #41

alexholliz opened this issue Sep 6, 2016 · 6 comments

Comments

@alexholliz
Copy link

I have been troubleshooting why the prt script can't successfully install on a mac. I am running El Capitan with python provided by homebrew.

When I run 'sudo prt install' I get this error message:
Error renaming original transcoder: [Errno 2] No such file or directory

I've been going through the script, and the paths for Darwin are accurate, I tried editing the prt.py with backslashes to escape the spaces in the path:
TRANSCODER_DIR = "/Applications/Plex Media Server.app/Contents/"
(which made it look like)
/Applications/Plex\ Media\ Server.app/Contents/

I did notice that on OSX, the Plex Transcoder is in
/Applications/Plex Media Server.app/Contents/Resources/

Not really sure what else to try, I've made a few changes and tried them out, but nothing changed that error message.

@alexholliz
Copy link
Author

Ok, I just solved this:
I changed:
TRANSCODER_DIR = "/Applications/Plex Media Server.app/Contents/"
to:
TRANSCODER_DIR = "/Applications/Plex Media Server.app/Contents/MacOS/"

@alexholliz
Copy link
Author

I also noticed this needed to be changed for OSX:
SETTINGS_PATH = "~/Library/Preferences/com.plexapp.plexmediaserver"
to:
SETTINGS_PATH = "~/Library/Preferences/com.plexapp.plexmediaserver.plist"

@alexholliz
Copy link
Author

Note: I can't run a:
prt check_config
on either paths in the above comment.

The error is as follows:
Performing PRT configuration check ERROR: Couldn't open settings file - ~/Library/Preferences/com.plexapp.plexmediaserver.plist

@wnielson
Copy link
Owner

wnielson commented Sep 6, 2016

Thank for the feedback and troubleshooting. I'll work those in changes for OS X. AS for the check_config command, that makes sense because PRT can't read plist files yet. I've created #43 to address that issue.

@aarhusgregersen
Copy link

Experiencing the same issue on a native linux install (on RPI though!).
I am getting
Error renaming original transcoder: [Errno 2] No such file or directory

@ryanbmilbourne
Copy link

I'm getting the same error, but I think the issue is that I'm trying to get this installed on the Plex instance running on my QNAP NAS, which stores its Plex install in a non-standard path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants