|
Replies:
13
-
Pages:
1
-
Last Post:
18 Oct 22, 19:47
Last Post By: davidekholm
|
Threads:
[
Previous
|
Next
]
|
|
Posts:
18
Registered:
20-Aug-2016
|
|
|
|
after update v29: error "metadata is read only" + corrupted appearance
Posted:
11 Oct 22, 09:50
|
|
|
|
|
|
After update to v29, when making an album, the error message "metadata is read only" appears.
I tried to re-install the previous version of Jalbum, but that didn't help. The same error message appeared.
Then I tried to install version V29 again. I still cannot generate any album due to the same error. In addition, another errror appeared. The appearance of "Jalbum Dark" that I used to have, no longer works. I can tick it in Settings-Preferences and then restart jAlbum, but does not have an effect.
How to solve this?
|
|
|
Posts:
8,358
Registered:
31-Jan-2006
|
|
|
|
Re: after update v29: error "metadata is read only" + corrupted appearance
Posted:
11 Oct 22, 10:08
in response to: CharlesDuBoix
|
|
|
|
|
|
Posts:
18
Registered:
20-Aug-2016
|
|
|
|
Re: after update v29: error "metadata is read only" + corrupted appearance
Posted:
11 Oct 22, 15:49
in response to: JeffTucker
|
|
|
|
Thanks for the suggestion. My first question is answered. I can now generate albums again.
The other question is not yet solved. jAlbum always shows the grey appearance, as shown in the screenshot. Instructing jAlbum to display another appearance (and restarting jAlbum) does not change anything.
|
|
|
Posts:
8,358
Registered:
31-Jan-2006
|
|
|
|
Re: after update v29: error "metadata is read only" + corrupted appearance
Posted:
11 Oct 22, 16:02
in response to: CharlesDuBoix
|
|
|
The other question is not yet solved. jAlbum always shows the grey appearance, as shown in the screenshot. Instructing jAlbum to display another appearance (and restarting jAlbum) does not change anything.
Not sure about that one. On my machines (one Windows, one macOS), it always works. Perhaps someone else has seen this behavior?
|
|
|
Posts:
3,975
Registered:
18-Oct-2002
|
|
|
|
Re: after update v29: error "metadata is read only" + corrupted appearance
Posted:
11 Oct 22, 21:42
in response to: JeffTucker
|
|
|
|
I've never seen that behavior actually. Try opening Tools->Open directories->Config directory and delete the "defaults.jap" file, but do the deletion when jAlbum isn't running. Now start jAlbum again. it should now be set to "factory defaults"
|
|
|
Posts:
18
Registered:
20-Aug-2016
|
|
|
|
Re: after update v29: error "metadata is read only" + corrupted appearance
Posted:
11 Oct 22, 22:51
in response to: davidekholm
|
|
|
|
I have tried your suggestion. A new default.jap has been generated, which is considerably smaller in size than the deleted one (2KB versus 15KB). The LookAndFeel however, can still not be set to the dark (black) display I had before. In the config directory are the following folders and files:
+bin+
+dictionaries+
+skins+
accounts.xml
albumv13.rss
albumv17.rss
albumv19.rss
albumv23.rss
albumv25.rss
defaults.jap
recent-projects.txt
shares.xml
Tiger-defaults.jap
Does that perhaps provide a clue to the problem?
|
|
|
Posts:
3,975
Registered:
18-Oct-2002
|
|
|
|
Re: after update v29: error "metadata is read only" + corrupted appearance
Posted:
12 Oct 22, 11:59
in response to: CharlesDuBoix
|
|
|
Please edit defaults.jap in a text editor and ensure that the "lookAndFeelName" property looks like this:
lookAndFeelName=One Dark
Save and start jAlbum.
If it still is ignored, look for any triangle in the lower right corner of jAlbum, or try running jAlbum via a startup script. That can reveal some deep problem early during the startup.
|
|
|
Posts:
18
Registered:
20-Aug-2016
|
|
|
|
Re: after update v29: error "metadata is read only" + corrupted appearance
Posted:
14 Oct 22, 17:26
in response to: davidekholm
|
|
|
|
Thanks David, for the suggestion. However, it doens't work yet. I have changed the line as you indicated, but jAlbum seems to ignore it. It starts up with a different, grey lookAndFeel. When I inspect the defaults.jap file, the line has not been changed: it still reads: "lookAndFeelName=One Dark".
I do not see any triangle in the right lower corner, nor anywhere else for that matter.
You suggest to "running jAlbum via a startup script". Can you provide me with instructions how to do that, please?
|
|
|
Posts:
18
Registered:
20-Aug-2016
|
|
|
|
Re: after update v29: error "metadata is read only" + corrupted appearance
Posted:
15 Oct 22, 11:46
in response to: CharlesDuBoix
|
|
|
I have looked in the tutorials and found instructions that made me try to do the following: first I opened a cmd-window; then I issued this command: java -jar "c:\Program Files\jAlbum\JAlbum.jar" "f:\Photo\Jalbum-instellingen\settings_bestanden\testalbum.jap"
The output was as follows: Could not load look&feel One Dark
java.lang.NoSuchMethodError: java.awt.Toolkit.getMenuShortcutKeyMaskEx()I
at se.datadosen.component.SmartTextComponentSupport.<clinit>(SmartTextComponentSupport.java:52)
at se.datadosen.component.SmartTextComponent.makeSmart(SmartTextComponent.java:53)
at se.datadosen.component.JSmartTextField.<init>(JSmartTextField.java:23)
at se.datadosen.component.JBackgroundTextField.<init>(JBackgroundTextField.java:37)
at se.datadosen.component.JDatePatternComboBox$DatePatternComboBoxEditor$1.<init>(JDatePatternComboBox.java:33)
at se.datadosen.component.JDatePatternComboBox$DatePatternComboBoxEditor.createEditorComponent(JDatePatternComboBox.java:33)
at javax.swing.plaf.basic.BasicComboBoxEditor.<init>(Unknown Source)
at se.datadosen.component.JDatePatternComboBox$DatePatternComboBoxEditor.<init>(JDatePatternComboBox.java:29)
at se.datadosen.component.JDatePatternComboBox$DatePatternComboBoxEditor.<init>(JDatePatternComboBox.java:29)
at se.datadosen.component.JDatePatternComboBox.<init>(JDatePatternComboBox.java:21)
at se.datadosen.component.JDatePatternComboBox.<init>(JDatePatternComboBox.java:16)
at se.datadosen.jalbum.JPreferencesWindow.<init>(JPreferencesWindow.java:156)
at se.datadosen.jalbum.JAlbumFrame.<init>(JAlbumFrame.java:177)
at se.datadosen.jalbum.JAlbum.<init>(JAlbum.java:137)
at se.datadosen.jalbum.JAlbum.main(JAlbum.java:388)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at se.datadosen.jalbum.Main.main(Main.java:45)
Mark the first line of output  . Does this give a clue, perhaps?
|
|
|
Posts:
3,975
Registered:
18-Oct-2002
|
|
|
|
Re: after update v29: error "metadata is read only" + corrupted appearance
Posted:
16 Oct 22, 08:36
in response to: CharlesDuBoix
|
|
|
|
Yes, that helps. I'll improve that error message. jAlbum 29 requires Java 10 at least. You seem to be running it on Java 8
|
|
|
Posts:
18
Registered:
20-Aug-2016
|
|
|
|
Re: after update v29: error "metadata is read only" + corrupted appearance
Posted:
16 Oct 22, 09:52
in response to: davidekholm
|
|
|
Strange. I have re-installed java and checked its versions by: C:\>java -version
java version "1.8.0_341"
Java(TM) SE Runtime Environment (build 1.8.0_341-b10)
Java HotSpot(TM) Client VM (build 25.341-b10, mixed mode)
Should this java version work? because unfortunately, it doesn't.
|
|
|
Posts:
8,358
Registered:
31-Jan-2006
|
|
|
|
Re: after update v29: error "metadata is read only" + corrupted appearance
Posted:
16 Oct 22, 14:22
in response to: CharlesDuBoix
|
|
|
|
That's Java 8. It's the latest version of Java 8, but it's still just Java 8. And no, jAlbum 29 will not run properly with it.
If you're on Windows, you can just install the regular version of jAlbum, with its own Java bundled into it. In fact, you don't need to install Java by itself at all, unless you happen to be running another application that needs it.
|
|
|
Posts:
18
Registered:
20-Aug-2016
|
|
|
|
Re: after update v29: error "metadata is read only" + corrupted appearance
Posted:
17 Oct 22, 18:40
in response to: JeffTucker
|
|
|
|
Thanks. I have completely uninstalled jAlbum, and then re-installed it again. Now it works properly, fortunately. Thanks again for the help. Case closed, as far I'm concerned.
|
|
|
Posts:
3,975
Registered:
18-Oct-2002
|
|
|
|
Re: after update v29: error "metadata is read only" + corrupted appearance
Posted:
18 Oct 22, 19:47
in response to: CharlesDuBoix
|
|
|
|
|
|
|
Legend
|
|
Forum admins
|
|
Helpful Answer
|
|
Correct Answer
|
|