Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Cannot save preferences
Cannot save preferences [message #245888] Fri, 18 January 2008 12:02 Go to next message
Eclipse UserFriend
Originally posted by: evert.lammerts.gmail.com

A couple of days ago I created a workspace on a Samba share. The system I
work on has loads of Hungarian comments in it, which is saved on and off
in either UTF-8 or ISO-8859-2. This means that apart from setting the
encoding of the files at project / container level, I also need to set it
per file here and there.

However, whenever a setting needs to be written to
org.eclipse.core.resources.prefs, I get an error (Could not save encoding
settings. Exception occurred while saving project preferences:
/project/.settings/org.eclipse.core.resources.prefs).

Any idea what's causing this? I've set the permissions of the file to be
writable by everybody so that shouldn't cause the problem.
Re: Cannot save preferences [message #245925 is a reply to message #245888] Fri, 18 January 2008 18:43 Go to previous messageGo to next message
Mark Dexter is currently offline Mark DexterFriend
Messages: 324
Registered: July 2009
Senior Member
Evert wrote:
> A couple of days ago I created a workspace on a Samba share. The system
> I work on has loads of Hungarian comments in it, which is saved on and
> off in either UTF-8 or ISO-8859-2. This means that apart from setting
> the encoding of the files at project / container level, I also need to
> set it per file here and there.
>
> However, whenever a setting needs to be written to
> org.eclipse.core.resources.prefs, I get an error (Could not save
> encoding settings. Exception occurred while saving project preferences:
> /project/.settings/org.eclipse.core.resources.prefs).
>
> Any idea what's causing this? I've set the permissions of the file to be
> writable by everybody so that shouldn't cause the problem.
>
Hi Evert. I think there are issues using Eclipse with a workspace on a
network drive. I've seen problems with the debugger and with the Java
scrapbook when trying to run over a network. So I would try it with a
local workspace and see if that fixes it. HTH. Mark Dexter
Re: Cannot save preferences [message #245939 is a reply to message #245888] Fri, 18 January 2008 20:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Evert" <evert.lammerts@gmail.com> wrote in message
news:db10cb74972d8bc8c65eb18baae68ac2$1@www.eclipse.org...
>A couple of days ago I created a workspace on a Samba share. The system I
>work on has loads of Hungarian comments in it, which is saved on and off in
>either UTF-8 or ISO-8859-2. This means that apart from setting the encoding
>of the files at project / container level, I also need to set it per file
>here and there.
>
> However, whenever a setting needs to be written to
> org.eclipse.core.resources.prefs, I get an error (Could not save encoding
> settings. Exception occurred while saving project preferences:
> /project/.settings/org.eclipse.core.resources.prefs).
>
> Any idea what's causing this? I've set the permissions of the file to be
> writable by everybody so that shouldn't cause the problem.


Just checking... by "the file" you do mean the
..settings/org.eclipse.core.resources.prefs file, as opposed to the file
whose encoding you're trying to specify, correct?

I see this problem happen often with "pessimistic" (locked by default)
version control systems such as Perforce, but it doesn't sound like you're
using any version control at all?

There are a couple of bugs in Bugzilla related to the way character
encodings are stored; you might want to just familiarize yourself with those
bugs, to understand some of the underlying issues, in case that helps
diagnose the problem for you.
Re: Cannot save preferences [message #246060 is a reply to message #245939] Mon, 21 January 2008 09:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: evert.lammerts.gmail.com

I am using the Subclipse (SVN) plugin. Could that have anything to do with
it?
Re: Cannot save preferences [message #246222 is a reply to message #246060] Mon, 21 January 2008 22:24 Go to previous message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Evert" <evert.lammerts@gmail.com> wrote in message
news:d86fbaad8df47299cfeaeb2a68fb308d$1@www.eclipse.org...
>I am using the Subclipse (SVN) plugin. Could that have anything to do with
>it?

It's possible. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=160905 for
some background on this issue.

If you can come up with a reproducible test case, it would probably be
appropriate to post a bug (to whomever is responsible for the SVN plug-in -
I think that's a third-party plug-in?)

By the way, what version of Eclipse are you encountering this on? You might
want to experiment with 3.4M4, since I think some bugs in this area were
recently addressed.
Previous Topic:content assist not available
Next Topic:how to upgrade to eclipse 3.3 from 3.2?
Goto Forum:
  


Current Time: Fri Apr 26 08:15:00 GMT 2024

Powered by FUDForum. Page generated in 0.08239 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top