Open ESikich opened 8 years ago
Let me take a look and get back to you. Can you paste the contents of you GUIpref.ini here so I can see if it wrote anything there?
On Fri, Sep 30, 2016 at 6:10 AM, Alarindris notifications@github.com wrote:
The gui tool scans for zones and then crashes:
Traceback (most recent call last): File "C:\sonospy-msrefactor5\sonospyGUI.py", line 542, in frame = SonospyFrame() File "C:\sonospy-msrefactor5\sonospyGUI.py", line 105, in init notebook = SonospyNotebook(panel) File "C:\sonospy-msrefactor5\sonospyGUI.py", line 69, in init self.AddPage(volumeTab.VolumePanel(self), "Volume") # 1 File "C:\sonospy-msrefactor5\sonospy\gui\volumeTab.py", line 116, in init function = subprocess.Popen("TASKKILL /F /PID " + windowsPid[0] + " > nul", stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True) IndexError: list index out of range
Running Python 2.7, Windows 10 64bit, grabbed newest sonospy zip from Github.
4 zones, name "CBBond1", "CBBond2", "JonsDesk", and "LaserArea."
Any ideas?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/henkelis/sonospy/issues/83, or mute the thread https://github.com/notifications/unsubscribe-auth/AAyBaOln69djtue5tBfh1s8-ocGOx5aIks5qvQpBgaJpZM4KLEeg .
Also -- please look to see if you have a windowsPID.pid file in the root of your Sonospy folder. I am not reproducing your issue here, so if you could, try to rename that file and then rerun sonospyGUI.py and see if you get the same error. If you do, then go to the sonospy/sonospy/gui folder and edit GUIpref.ini:
find the [volume] entry and replace zonelist = with:
zonelist = ['CBBond1']
And then at the bottom of the file add this:
[CBBond1] max_volume = 50 quiet_volume = 35 quiet_start = 23:00 quiet_stop = 23:59 mute_start = 00:00 mute_stop = 07:00 monitor = True monitorm = True monitorq = True current_volume = 50
Do these two things in that order and report back. If deleting or renaming windowsPID works then don't do the second step. I vaguely remember having a TON of problems with that file in the past. Did you have Sonospy working previously -- via command line or the GUI?
Thanks.
-Chow
On Fri, Sep 30, 2016 at 3:55 PM, John Chowanec chowanec@gmail.com wrote:
Let me take a look and get back to you. Can you paste the contents of you GUIpref.ini here so I can see if it wrote anything there?
On Fri, Sep 30, 2016 at 6:10 AM, Alarindris notifications@github.com wrote:
The gui tool scans for zones and then crashes:
Traceback (most recent call last): File "C:\sonospy-msrefactor5\sonospyGUI.py", line 542, in frame = SonospyFrame() File "C:\sonospy-msrefactor5\sonospyGUI.py", line 105, in init notebook = SonospyNotebook(panel) File "C:\sonospy-msrefactor5\sonospyGUI.py", line 69, in init self.AddPage(volumeTab.VolumePanel(self), "Volume") # 1 File "C:\sonospy-msrefactor5\sonospy\gui\volumeTab.py", line 116, in init function = subprocess.Popen("TASKKILL /F /PID " + windowsPid[0] + " > nul", stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True) IndexError: list index out of range
Running Python 2.7, Windows 10 64bit, grabbed newest sonospy zip from Github.
4 zones, name "CBBond1", "CBBond2", "JonsDesk", and "LaserArea."
Any ideas?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/henkelis/sonospy/issues/83, or mute the thread https://github.com/notifications/unsubscribe-auth/AAyBaOln69djtue5tBfh1s8-ocGOx5aIks5qvQpBgaJpZM4KLEeg .
[virtuals]
created =
lastmodified =
title = <blank>
cover = <blank>
tracks =
albumartist = <blank>
composer = <blank>
year = <blank>
genre = <blank>
discnumber = <blank>
artist = <blank>
type = -1
inserted =
[launch]
db3_proxyname =
db1_dbname = test.sdb
db2_check = False
db3_userindex = 0
db1_userindex = 0
db7_check = False
db1_proxyname = test
db6_proxyname =
db4_userindex = 0
db8_check = False
db6_check = False
db6_userindex = 0
db5_proxyname =
db2_userindex = 0
db2_dbname = <add database>
db3_dbname = <add database>
db5_userindex = 0
smapi = False
db8_dbname = <add database>
db3_check = False
db7_userindex = 0
db5_dbname = <add database>
db8_proxyname =
db8_userindex = 0
proxy = True
db4_proxyname =
db2_proxyname =
db4_check = False
db1_check = True
db7_dbname = <add database>
proxyonly = True
db7_proxyname =
db6_dbname = <add database>
db5_check = False
db4_dbname = <add database>
[scan]
folder =
database =
verbose = False
inioverride =
[sonospy]
posx = 358
height = 809
width = 923
maximize = False
posy = 187
[general]
supresswarnings = False
ignoreini = pycpoint.ini scan.ini
default_music_path =
default_sp_path =
default_log_path =
default_database_path =
database_extensions = *.sdb *.db *.sqlite
[volume]
zonelist =
[extract]
yearidx = 1
composer =
createdval =
modifiedidx = 1
bitrateidx = 1
bitrateval =
overwrite = True
verbose = False
advancedquery =
accessedval =
createdidx = 1
genre = -1
modifiedval =
insertedval =
yearval =
insertedidx = 1
last =
database_source =
artist =
accessedidx = 1
database_target =
GUIpref.ini
Deleting the pid file first didn't do anything.
After adding to the GUIpref file, the GUI does run*, but doesn't seem to actually control anything.
Never had SonoSpy working before, this is a fresh install.
*Edit: When I click launch I get the same error.
You can check to see if it controls the volume limits on the Volume tab, otherwise it is meant to just launch the databases for you from the command line rather than the web interface (which does, I think, what you want). You can also scan the databases...
Glad to know it works, will have to figure out what was causing it in the first place.
I am travelling at the moment, so will give you instructions on how to build your first databse, etc. when I get back home.
-Chow
On Mon, Oct 3, 2016 at 11:15 AM, Alarindris notifications@github.com wrote:
Deleting the pid file first didn't do anything.
After adding to the GUIpref file, the GUI does run, but doesn't seem to actually control anything.
Never had SonoSpy working before, this is a fresh install.
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/henkelis/sonospy/issues/83#issuecomment-251182318, or mute the thread https://github.com/notifications/unsubscribe-auth/AAyBaDpFmOi9UbMBaK3rr1u253Hqxc5Oks5qwUY9gaJpZM4KLEeg .
The gui tool scans for zones and then crashes:
Running Python 2.7, Windows 10 64bit, grabbed newest sonospy zip from Github.
4 zones, name "CBBond1", "CBBond2", "JonsDesk", and "LaserArea."
Any ideas?
Edit: Tried with Python 2.6 as well, no luck.