This question is answered.


Permlink Replies: 5 - Pages: 1 - Last Post: 31 Aug 22, 18:39 Last Post By: davidekholm Threads: [ Previous | Next ]
JeffTucker

Posts: 8,039
Registered: 31-Jan-2006
Upload progress indicator
Posted: 30 Aug 22, 22:18
 
  Click to reply to this thread Reply
Attachment ss010315.png (4.7 KB)
Using jAlbum 28.2b2, when I do an upload to my own host, I'm always seeing, for example, 3.6MB out of 0.0B, with no time estimate - see screenshot. Uploading to jalbum.net, it behaves as expected.
davidekholm

Posts: 3,442
Registered: 18-Oct-2002
Re: Upload progress indicator
Posted: 31 Aug 22, 16:29   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Interesting, it only happens on the 1:st attempt too (unless you close the upload window and reconnect). I've fixed it in the upcoming release. The fix is available as a beta core jar file: https://jalbum.net/download/beta/jalbum-core.jar
JeffTucker

Posts: 8,039
Registered: 31-Jan-2006
Re: Upload progress indicator
Posted: 31 Aug 22, 16:58   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Attachment ss010316.png (36.8 KB)
Oh, my. That core is a bit of a disaster. When I launch jAlbum, it comes up with no project icons, and I can't load a project at all. Console:
jAlbum 28.2b3 system console running Groovy (Groovy Scripting Engine)
This section captures debug prints sent to System.out and System.err
The top section evaluates expressions.
Press Ctrl+E to evaluate an expression. (Evaluates selected text if selection is active)
You have access to the basic jAlbum implicit objects such as engine and window
 
Sample expressions:
4*(3+2); // Basic calculations
engine.getSkin(); // Use of implicit object
for (AlbumObject ao : selectedObjects) System.out.println(ao); // Iterate over selected objects
window.messageBox("You can interact with any Java object");
Skin loading: 0.246s
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class se.datadosen.util.FileFilters
	at se.datadosen.jalbum.AlbumFileFilter.accept(AlbumFileFilter.java:136)
	at se.datadosen.io.CachedFile.filter(CachedFile.java:249)
	at se.datadosen.jalbum.FileCollection.listEntries(FileCollection.java:236)
	at se.datadosen.jalbum.FileAlbumObject.getChildren(FileAlbumObject.java:69)
	at se.datadosen.jalbum.JThumbnailChooser.setAlbumObject(JThumbnailChooser.java:114)
	at se.datadosen.jalbum.JGeneralSettingsPanel.setAlbumObject(JGeneralSettingsPanel.java:115)
	at se.datadosen.jalbum.JSettingsWindow.setAlbumObject(JSettingsWindow.java:964)
	at se.datadosen.explorer.JAlbumExplorer.setRootFolder(JAlbumExplorer.java:3907)
	at se.datadosen.jalbum.JAlbumFrame.initView(JAlbumFrame.java:2361)
	at se.datadosen.jalbum.JAlbumFrame.engine2UI(JAlbumFrame.java:2157)
	at se.datadosen.jalbum.JAlbumFrame.engine2UI(JAlbumFrame.java:2116)
	at se.datadosen.jalbum.JAlbumFrame.doLoadProject(JAlbumFrame.java:1859)
	at se.datadosen.jalbum.JAlbumFrame.loadProject(JAlbumFrame.java:1784)
	at se.datadosen.jalbum.JAlbumManager$JAlbumButton.actionPerformed(JAlbumManager.java:1178)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
	at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.Component.processEvent(Unknown Source)
	at java.desktop/java.awt.Container.processEvent(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoSuchFieldError: version [in thread "SwingWorker-pool-3-thread-5"]
	at se.datadosen.util.FileFilters.<clinit>(FileFilters.java:87)
	at se.datadosen.jalbum.AlbumFileFilter.accept(AlbumFileFilter.java:136)
	at se.datadosen.io.CachedFile.filter(CachedFile.java:249)
	at se.datadosen.jalbum.FileCollection.listEntries(FileCollection.java:236)
	at se.datadosen.jalbum.FileAlbumObject.getChildren(FileAlbumObject.java:69)
	at se.datadosen.jalbum.FileAlbumObject.getNameMap(FileAlbumObject.java:172)
	at se.datadosen.jalbum.AlbumObjectImpl.getChild(AlbumObjectImpl.java:1664)
	at se.datadosen.jalbum.AlbumObjectImpl.getChild(AlbumObjectImpl.java:1641)
	at se.datadosen.jalbum.AlbumObjectImpl.doGetRepresentingAlbumObject(AlbumObjectImpl.java:402)
	at se.datadosen.jalbum.AlbumObjectImpl.getRepresentingAlbumObject(AlbumObjectImpl.java:472)
	at se.datadosen.jalbum.AlbumObjectImpl.getRepresentingAlbumObject(AlbumObjectImpl.java:462)
	at se.datadosen.jalbum.AlbumObjectImpl.getRepresentingAlbumObject(AlbumObjectImpl.java:448)
	at se.datadosen.jalbum.JAlbumManager$JAlbumButton$1.doInBackground(JAlbumManager.java:1141)
	at se.datadosen.jalbum.JAlbumManager$JAlbumButton$1.doInBackground(JAlbumManager.java:1132)
	at java.desktop/javax.swing.SwingWorker$1.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.desktop/javax.swing.SwingWorker.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Skin loading: 0.071s
ETA a screenshot.
davidekholm

Posts: 3,442
Registered: 18-Oct-2002
Re: Upload progress indicator
Posted: 31 Aug 22, 18:25   in response to: JeffTucker in response to: JeffTucker
Correct
  Click to reply to this thread Reply
Now fixed. That was caused by a license registration of the JDeli HEIC and WebP reader/writer library.
JeffTucker

Posts: 8,039
Registered: 31-Jan-2006
Re: Upload progress indicator
Posted: 31 Aug 22, 18:38   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
That's better, on both counts. Projects are back, and the upload progress indicator is now giving me something more reasonable. :)
davidekholm

Posts: 3,442
Registered: 18-Oct-2002
Re: Upload progress indicator
Posted: 31 Aug 22, 18:39   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Great :-)
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums