haiwen / seafile-client

Seafile desktop client.
http://seafile.com
Apache License 2.0
471 stars 279 forks source link

REGRESSION: Client forgets accounts on .seafile-data moving #191

Closed rominf closed 8 years ago

rominf commented 10 years ago

Steps to reproduce:

  1. Install Seafile client, setup account.
  2. Shutdown Seafile client.
  3. Move .seafile-data to a new location. 4.. Edit seafile.ini to point it on a new location.
  4. Start Seafile client.

Actual result:

  1. Seafile client forgets all accounts.
  2. seafile.ini contains default path.

Workaround:

  1. After opening client last time edit seafile.ini again
  2. Press "Cancel" in account window.
  3. Create new account.
lins05 commented 10 years ago

Thanks for reporting! I'll check this soon.

On Tue, Aug 26, 2014 at 9:59 PM, rominf notifications@github.com wrote:

Steps to reproduce:

  1. Install Seafile client, setup account.
  2. Shutdown Seafile client.
  3. Move .seafile-data to a new location. 4.. Edit seafile.ini to point it on a new location.
  4. Start Seafile client.

Actual result:

  1. Seafile client forgets all accounts.
  2. seafile.ini contains default path.

Workaround:

  1. After opening client last time edit seafile.ini again
  2. Press "Cancel" in account window.
  3. Create new account.

— Reply to this email directly or view it on GitHub https://github.com/haiwen/seafile-client/issues/191.

lins05 commented 10 years ago

I can't reproduce this problem.

This is my steps (on ubuntu 14.04 LTS):

Before test: I have the ".seafile-data" folder on my laptop /data/Seafile/.seafile-data

First close seafile client, then:

  1. mv /data/Seafile/.seafile-data /data/
  2. edit ~/.ccnet/seafile.ini, change the content to "/data/.seafile-data"

Launch the seafile-client, and it works with no problem.

I've tried similar steps on a windows 7 machine running seafile client 3.1.5, also have no problem with it.

What version of seafile client are you using? Can you try to reproduce it again? Are you sure you have saved correct new path to .seafile-data in "~/.ccnet/seafile.ini"?

Regards, Shuai

On Tue, Aug 26, 2014 at 11:47 PM, Shuai Lin linshuai2012@gmail.com wrote:

Thanks for reporting! I'll check this soon.

On Tue, Aug 26, 2014 at 9:59 PM, rominf notifications@github.com wrote:

Steps to reproduce:

  1. Install Seafile client, setup account.
  2. Shutdown Seafile client.
  3. Move .seafile-data to a new location. 4.. Edit seafile.ini to point it on a new location.
  4. Start Seafile client.

Actual result:

  1. Seafile client forgets all accounts.
  2. seafile.ini contains default path.

Workaround:

  1. After opening client last time edit seafile.ini again
  2. Press "Cancel" in account window.
  3. Create new account.

— Reply to this email directly or view it on GitHub https://github.com/haiwen/seafile-client/issues/191.

rominf commented 10 years ago

What version of seafile client are you using?

Seafile Client 3.1.3

Can you try to reproduce it again?

Yes, I reproduced it many times, trying to find workaround.

Are you sure you have saved correct new path to .seafile-data in "~/.ccnet/seafile.ini"?

Yes, I'm sure.

I think you could try to reproduce the issue on a clear machine, because your path isn't standard. Mine is ~/Seafile/.seafile-data.

Also see #192.

lins05 commented 10 years ago

I've tried again with a clear machine, but still can't reproduce it.

What's your linux distro?

@Chilledheart

On Wed, Aug 27, 2014 at 12:11 AM, rominf notifications@github.com wrote:

What version of seafile client are you using?

Seafile Client 3.1.3

Can you try to reproduce it again?

Yes, I reproduced it many times, trying to find workaround.

Are you sure you have saved correct new path to .seafile-data in "~/.ccnet/seafile.ini"?

Yes, I'm sure.

I think you could try to reproduce the issue on a clear machine, because your path isn't standard. Mine is ~/Seafile/.seafile-data.

Also see #192 https://github.com/haiwen/seafile-client/issues/192.

— Reply to this email directly or view it on GitHub https://github.com/haiwen/seafile-client/issues/191#issuecomment-53446455 .

rominf commented 10 years ago

openSUSE 13.1, KDE 4.10. Seafile-client is installed from my build https://build.opensuse.org/package/show?project=home%3ARominf%3Abranches%3Ahome%3Atrad&package=seafile-client

OK, if you can't reproduce this I could try to do it under debugger to write about the source of bug. Later.