-
Notifications
You must be signed in to change notification settings - Fork 604
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
Headphones Fails to Start #1913
Comments
Strange. I run Headphones under 14.04 too, and it works. Could you try the following: |
I can confirm the current Possible causes:
|
Did the import thing. still get this: karen@SERVER-KARRAWA:~/.headphones$ python Headphones.py |
I am happy to reinstall this, but don't want to loose the database. What files do I need to keep? |
Also happy for you to remote login and see for yourself. |
Well, if all is OK, you should have a file called If you want to do a reinstall, please check the Troubleshooting wiki, under auto update section. |
I have the file. Contents are: -- coding: utf-8 --"""Transliterate Unicode text into plain 7-bit ASCII. Example usage:
The transliteration uses a straightforward map, and doesn't have alternatives In Python 3, a standard string object will be returned. If you need bytes, use:
Cache = {} def unidecode(string):
|
Followed the Hard Reset instructions, and it started straight after, but then stopped again, and now when trying to start it shows this: Traceback (most recent call last): |
Oh and the instructions said I wouldn't loose all my settings and database. Why is it all currently empty and all settings are now reset? |
I think these errors are not the result of Headphones malfunctioning. Are you sure there isn't another error causing this? Are your packages up-to-date? No disk errors? What if you try to open the database file with Also, the instructions also say that it should be tailored to your installation, and that you should backup your files, just in case. |
This is a new server, that has been running for about 3-4 months now with no problems at all. All brand new drives, none are failing or report errors. All packages upto date. Runs Couchpotato, SickRage, supposedly Headphones and was for a while, VirtualBox with a XP VM starting on Boot, and Apache. Everything else works fine, and it never gets tinkered with either. Its a dedicated box for the above and once I had finished setting up, the only thing I do with it is update the packages around once a week. I do know a little linux, but not sure how to open sqlite stuff. |
This is what I just tested, and it works (fresh install):
Have you checked permissions? |
I would check permissions but as stated before, I have limited linux knowledge, and have no idea what I am looking at. So I can check the permissions, but I have no idea if they are right or wrong seeing I have no information on what they are suppose to be. I did notice something strange and not sure if it might help in working this out. The Startup script that started headphones on boot (and has been working fine until recently), now does not work at all. It will not start headphones. The only way I can start it at the moment is via the CLI using python headphones.py |
As noted before, contact me on my email info@eangulus.com and you can get SSH access to get any debug information allot faster. |
Also looking at what shows when I start via CLI, I see this line: no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory I don't know what it means but I don't think its a good thing. |
Now things are really getting confusing. Just deleted (after backup) the headphones folder. Started following Install as Daemon. But file is there but empty. What am I suppose to be editing. Also regarding lost config and database, in the /opt/headphones directory, there is a 8Mb Database and a config file with paths in it I recognize, but headphones doesn't seem to be using those. There is also a Artwork cache with heaps of stuff in it. |
The For the Regarding the Lastly, the problem you describe is most certainly not Headphones related. Don't get me wrong, I'm glad to help you, but don't expect from me to learn you the basic Linux stuff to solve your problem. That would be too much if I would help everybody posting issues here. There are support forums on the internet that can help you a lot better with issues like these. |
Now having same issue on a totally differnet server, completly different hardware, different version of Ubuntu etc. headphones fails to start. But hey, its not a headphones issue. |
I never said it was not a Headphones issue, but only most unlikely. I draw that conclusion because this is the only issue I saw lately on this topic, and because I cannot reproduce this error. Again, don't get me wrong: I am glad to help. Is there a possibility you can create a Virtual Machine (e.g. with VirtualBox) with the exact same installation steps, and share it with me? Also wondering, do you use the English (UTF8) as default system locale? |
I noticed in one of the previous posts you mention python 3. Please type the following in shell as basilfx mentioned:
|
Closed due to no response. |
Having this problem myself. Just updated Headphones to current (13f34a1) and suddenly no start, lotsa errors, see below. What's interesting is that I checked out a whole new copy and still have the same problem, same error. Been running headphones for years, never had a problem before today. I'm testing it without using the init script, but same error either way. Tried develop branch, same thing. Running python 2.7.3 on Ubuntu 12.04 LTS. No rush or anything, but if I can help troubleshoot, let me know? Traceback (most recent call last): Original exception was: |
See #2001 |
Running Ubuntu Server 14.04 Fully upto date including headphones git.
Get the following error when typing python heandphones.py
Traceback (most recent call last):
File "Headphones.py", line 22, in
from headphones import webstart, logger
File "/home/karen/.headphones/headphones/init.py", line 30, in
from headphones import versioncheck, logger, version
File "/home/karen/.headphones/headphones/versioncheck.py", line 23, in
from headphones import logger, version, request
File "/home/karen/.headphones/headphones/logger.py", line 16, in
from headphones import helpers
File "/home/karen/.headphones/headphones/helpers.py", line 26, in
from beets.mediafile import MediaFile, FileTypeError, UnreadableFileError
File "lib/beets/init.py", line 22, in
import beets.library
File "lib/beets/library.py", line 24, in
from unidecode import unidecode
ImportError: cannot import name unidecode
The text was updated successfully, but these errors were encountered: