Unable to save config on windows

Asked by gregy

Hello, first I want to thank you for very nice and useful program. There is a problem however. I am using Windows 2000 and every time I start gmpc (0.17.0) it behaves like it was never started before...configuration disapears. It probably isn't even saved. Can you help?
Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Gnome Music Player Client Edit question
Assignee:
No assignee Edit question
Solved by:
gregy
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Qball Cow (qball-qballcow) said :
#1

Do you close it correct? 0.17.0 only saves on close.

I'll try to reproduce.

Revision history for this message
gregy (p-gregy) said :
#2

I tried to close it both via menu and cross in upper-right corner. Same thing.

Revision history for this message
Qball Cow (qball-qballcow) said :
#3

Just tested it on windows 2000.
Worked for me.

Revision history for this message
gregy (p-gregy) said :
#4

Where is it supposed to put the config? I can probably generate one on my linux machine and use it.

It is strange it is working for you. I followed installation guide on wiki. Only step I wasn't sure about was installation of runtime but I guess if it works (everything other then saving config) i did it right.

Is there a way to enable debug output? Something that would help track this down?

Revision history for this message
Qball Cow (qball-qballcow) said :
#5

problem not solved yet.

Revision history for this message
Qball Cow (qball-qballcow) said :
#6

normally in c:\Documents and settings\Your username\.gmpc\

Getting debug on windows is not easy, you need something like gdb.
Debug output is spit to terminal, however not sure how todo this on windows. if you manage run gmpc with gmpc --debug-level=3.

Revision history for this message
gregy (p-gregy) said :
#7

Sorry, those two buttons are really close together.

Revision history for this message
gregy (p-gregy) said :
#8

So, managed to get debug output. I don't fully understand it but looks like the problem is in á character in the path. But it is just a guess.

Here is the debug: http://gregy.cz/gmpc.debug

Revision history for this message
Qball Cow (qball-qballcow) said :
#9

Can you try gmpc --config=c:\gmpc.txt see if that works

The filename should work, windows uses utf8 for filename, and I get the path using g_get_home_dir();

I assume there is no gmpc.cfg?

Is there a .covers dir inside c:\Documents and Settings\username\ ?
if so does it contain files?

Revision history for this message
Qball Cow (qball-qballcow) said :
#10

ok. reproduced.

Revision history for this message
gregy (p-gregy) said :
#11

Tried gmpc --config=c:\gmpc.txt . It succesfully creates config file however profile file remains uncreated. If I change profile path within gmpc.txt then everything works. Problem appears to be in the path.

I do not think windows use utf8. I think they use different codepages (cp1250 here) based on localization.

Revision history for this message
gregy (p-gregy) said :
#12

Did a little testing. Appears that any "special" character in path causes the bug (like --config=C:\Nová složka\gmpc.txt)

Revision history for this message
Qball Cow (qball-qballcow) said :
#13

yes. I am busy building a new version that should fix it.

Revision history for this message
gregy (p-gregy) said :
#14

OK, thank you.

2009/1/6 Qball Cow <email address hidden>:
> Your question #56568 on Gnome Music Player Client changed:
> https://answers.launchpad.net/gmpc/+question/56568
>
> Status: Open => Needs information
>
> Qball Cow requested for more information:
> yes. I am busy building a new version that should fix it.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/gmpc/+question/56568
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Qball Cow (qball-qballcow) said :
#15

Ok. It will be fixed in a next version..
I made a build that works, I can give you the build, but there is a problem with it :(.

Revision history for this message
gregy (p-gregy) said :
#16

I can wait for the next version. Now that I know what causes the problem I can bypass it by the --config option. But once again thank you very much. I hope your enthusiasm for gmpc won't fade :) .

Revision history for this message
Qball Cow (qball-qballcow) said :
#17

If you get this one: http://download.sarine.nl/gmpc-win32/gmpc-06012009-2303.zip
and install the developement kit from gladewin32.sf.net: http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-2.exe

It should work..

I am rebuilding one now that also fixes the issue in some plugins.

Revision history for this message
Qball Cow (qball-qballcow) said :
#18

hmm that --config fix won't fix covers.

Revision history for this message
gregy (p-gregy) said :
#19

Works perfectly (06012009-2303). I have not tested all the plugins though.

Revision history for this message
Qball Cow (qball-qballcow) said :
#20

it ships with plugins.
On 01/07/2009 09:06 PM, gregy wrote:
> Question #56568 on Gnome Music Player Client changed:
> https://answers.launchpad.net/gmpc/+question/56568
>
> gregy posted a new comment:
> Works perfectly (06012009-2303). I have not tested all the plugins
> though.
>

Revision history for this message
gregy (p-gregy) said :
#21

Ok, so cover fetching works, metadata browser works including pictures and similar artists, lyrics work.