properties file error #3

Closed
devillj opened this Issue Jun 26, 2013 · 2 comments

Comments

Projects
None yet
2 participants

devillj commented Jun 26, 2013

my properties file is h in my home folderlike such

-rw-r--r-- 1 devillj devillj 61 Jun 26 12:47 youtube.properties
wheni run the script i do so from my home folder and i get this error:

devillj@bbjworkbench:~$ /usr/bin/youtube-dl-manager-master/youtube.py
Traceback (most recent call last):
File "/usr/bin/youtube-dl-manager-master/youtube.py", line 30, in
error_out("No propertiesfile found, please copy the youtube.properties.example file and fill out the fields.")
NameError: name 'error_out' is not defined

feauture request: please implement some form of selfupdate like youtube-dl does...

Owner

RobinRamael commented Jun 26, 2013

Woops. That NameError was just a stupid mistake which should be fixed now. I'm at work and don't have my machine with me, so it's untested, but that part should work.

Now, the fact that you get that NameError is due to another problem: The script searches the propertiesfile in the same folder as it (the script) is located, not where it is run. This is to remove clutter. I should probably add an option to specify the propfile when calling, but in the meantime just throw you propertiesfile in /usr/bin/youtube-dl-manager-master and it should work. Let me know if it works?

cheers
Robin

devillj commented Jun 26, 2013

but in the meantime just throw you propertiesfile in /usr/bin/youtube-dl-manager-master and it should work. Let me know if it works?<------- this has worked a charm - thanks a lot. back to backing-ing up youtube... ;-)

@devillj devillj closed this Jun 26, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment