AudioBookConverter icon indicating copy to clipboard operation
AudioBookConverter copied to clipboard

Unable to Add Files

Open ambarnes2 opened this issue 2 years ago • 21 comments

Using both 6.0.0 purchased from Steam and 6.1.0 installed from here, I am unable to add files to be converted

ambarnes2 avatar Feb 26 '22 20:02 ambarnes2

I thought so too, I was trying to add wav files. Strangely (simplicity's sake?) those are not supported.

Supported source formats: mp3 flac/cue wma m4a/m4b aac

see https://github.com/yermak/AudioBookConverter

This forces me to convert to a lossy format, so ABC can then convert to another lossy format. Seems weird.

What format were you trying to import?

qubodup avatar Mar 02 '22 14:03 qubodup

I was adding MP3 files to convert to M4B. Incase able to import files by dropping and dropping them into the window.

-------- Original message -------- From: qubodup @.> Date: 3/2/22 9:36 AM (GMT-05:00) To: yermak/AudioBookConverter @.> Cc: ambarnes2 @.>, Author @.> Subject: Re: [yermak/AudioBookConverter] Unable to Add Files (Issue #380)

I thought so too, I was trying to add wav files. Strangely (simplicity's sake?) those are not supported.

Supported source formats: mp3 flac/cue wma m4a/m4b aac

see https://github.com/yermak/AudioBookConverter

This forces me to convert to a lossy format, so ABC can then convert to another lossy format. Seems weird.

What format were you trying to import?

— Reply to this email directly, view it on GitHubhttps://github.com/yermak/AudioBookConverter/issues/380#issuecomment-1056999881, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AM7DLY3JZH5MZ5E6YHQ62RTU554GXANCNFSM5PNQYIFQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>

ambarnes2 avatar Mar 02 '22 15:03 ambarnes2

I too cannot add files also, not sure if it's the same issue as ambarnes2 is experiencing but the add file or add folder button does nothing. Also the Insert or CTRL + insert doesn't work either, clicking file, add, file or folder does nothing as well. It's strange as I originally had this issue and I am not sure what fixed it but I have been able to click add files or folders button and it worked until recently, I am not sure what has changed but I can no longer add files or folders again. I have uninstalled Audiobookconverter and reinstalled it multiple times. I have tried all variations of installers, I have tried the portable version, I have tried running as admin, windows 7/8 compatibility. I have deleted all references of Audiobookconverter in the registry, I have turned off all antivirus programs. I am running windows 10 and Audiobookconverter 6.0.1

Any suggestions?

Cobolt78 avatar Apr 25 '22 07:04 Cobolt78

I too cannot add files also, not sure if it's the same issue as ambarnes2 is experiencing but the add file or add folder button does nothing. Also the Insert or CTRL + insert doesn't work either, clicking file, add, file or folder does nothing as well. It's strange as I originally had this issue and I am not sure what fixed it but I have been able to click add files or folders button and it worked until recently, I am not sure what has changed but I can no longer add files or folders again. I have uninstalled Audiobookconverter and reinstalled it multiple times. I have tried all variations of installers, I have tried the portable version, I have tried running as admin, windows 7/8 compatibility. I have deleted all references of Audiobookconverter in the registry, I have turned off all antivirus programs. I am running windows 10 and Audiobookconverter 6.0.1

Any suggestions?

Go to home directory and try to remove directory ".abc" - that's where preferences are stored. I need to check what is causing this issue. I think i may know - but i need to check

yermak avatar May 24 '22 15:05 yermak

I thought so too, I was trying to add wav files. Strangely (simplicity's sake?) those are not supported.

Supported source formats: mp3 flac/cue wma m4a/m4b aac

see https://github.com/yermak/AudioBookConverter

This forces me to convert to a lossy format, so ABC can then convert to another lossy format. Seems weird.

What format were you trying to import?

I will support it in future - never needed wav files before, it's very easy to support.

yermak avatar May 24 '22 15:05 yermak

Using both 6.0.0 purchased from Steam and 6.1.0 installed from here, I am unable to add files to be converted

Could you please provide more details, i.e. operating system, what exactly is not working - button does nothing, windows is opened, selecting files does not add them. Where your files are located - local drive, network drive and what was last place you added files from. As application stores last used location - while it should work now - but in the past there were issues when last used location was not available, i.e. network drive or folder was deleted.

yermak avatar May 24 '22 15:05 yermak

Hi Yarick, thank you for the reply. I could not find that particular folder see attached picture, am I missing something? It's strange as I installed it on an old laptop and it works on my laptop running windows 10, just very slow converting but until I/you can figure it out I am stuck with converting on an old laptop.

Thanks again for your reply and awesome and easy to use app.

On Wed, May 25, 2022 at 1:10 AM Yarick Yermak @.***> wrote:

I too cannot add files also, not sure if it's the same issue as ambarnes2 is experiencing but the add file or add folder button does nothing. Also the Insert or CTRL + insert doesn't work either, clicking file, add, file or folder does nothing as well. It's strange as I originally had this issue and I am not sure what fixed it but I have been able to click add files or folders button and it worked until recently, I am not sure what has changed but I can no longer add files or folders again. I have uninstalled Audiobookconverter and reinstalled it multiple times. I have tried all variations of installers, I have tried the portable version, I have tried running as admin, windows 7/8 compatibility. I have deleted all references of Audiobookconverter in the registry, I have turned off all antivirus programs. I am running windows 10 and Audiobookconverter 6.0.1

Any suggestions?

Go to home directory and try to remove directory ".abc" - that's where preferences are stored. I need to check what is causing this issue. I think i may know - but i need to check

— Reply to this email directly, view it on GitHub https://github.com/yermak/AudioBookConverter/issues/380#issuecomment-1136054849, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY4DQMEOA2R3FJLZ5EA5GLDVLTWN3ANCNFSM5PNQYIFQ . You are receiving this because you commented.Message ID: @.***>

-- David Pomeroy Mob. 0401740779

Cobolt78 avatar Jun 01 '22 10:06 Cobolt78

You may need to enable in explorer "Show hidden files" - not sure how exactly this option is called.

Hi Yarick, thank you for the reply. I could not find that particular folder see attached picture, am I missing something? It's strange as I installed it on an old laptop and it works on my laptop running windows 10, just very slow converting but until I/you can figure it out I am stuck with converting on an old laptop. Thanks again for your reply and awesome and easy to use app.

yermak avatar Jun 02 '22 14:06 yermak

@Cobolt78, Sorry for misguiding on windows settings are stored in Application Data Folder which is inside user_home. If nothing works, just try to delete folder with settings for relevant version.

yermak avatar Jun 05 '22 18:06 yermak

Same here. Tried on macOS High Sierra and Mojave

racemus avatar Jun 22 '22 18:06 racemus

Hi! I have the same issue. Dialogs open file/folder do not open. Drag & drop does not work either. ABC installed form Manjaro AUR, version 6.1.

console log: Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at javafx.fxml/javafx.fxml.FXMLLoader$MethodHandler.invoke(Unknown Source) at javafx.fxml/javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(Unknown Source) at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source) at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source) at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source) at javafx.base/javafx.event.Event.fireEvent(Unknown Source) at javafx.controls/javafx.scene.control.MenuItem.fire(Unknown Source) at javafx.controls/com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.doSelect(Unknown Source) at javafx.controls/com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.lambda$createChildren$12(Unknown Source) at javafx.base/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source) at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source) at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) at javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source) at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source) at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source) at javafx.base/javafx.event.Event.fireEvent(Unknown Source) at javafx.graphics/javafx.scene.Scene$MouseHandler.process(Unknown Source) at javafx.graphics/javafx.scene.Scene.processMouseEvent(Unknown Source) at javafx.graphics/javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source) at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source) at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(Unknown Source) at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source) at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source) at javafx.graphics/com.sun.glass.ui.View.handleMouseEvent(Unknown Source) at javafx.graphics/com.sun.glass.ui.View.notifyMouse(Unknown Source) at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javafx.reflect.Trampoline.invoke(Unknown Source) at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at javafx.base/com.sun.javafx.reflect.MethodUtil.invoke(Unknown Source) at javafx.fxml/com.sun.javafx.fxml.MethodHelper.invoke(Unknown Source) ... 43 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class uk.yermak.audiobookconverter.Platform at uk.yermak.audiobookconverter.fx.DialogHelper.selectFilesDialog(DialogHelper.java:54) at uk.yermak.audiobookconverter.fx.FilesController.selectFiles(FilesController.java:207) ... 53 more

kffiatek avatar Jul 03 '22 10:07 kffiatek

Hi! I have the same issue. Dialogs open file/folder do not open. Drag & drop does not work either. ABC installed form Manjaro AUR, version 6.1.

console log: Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: ...java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at javafx.base/com.sun.javafx.reflect.MethodUtil.invoke(Unknown Source) at javafx.fxml/com.sun.javafx.fxml.MethodHelper.invoke(Unknown Source) ... 43 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class uk.yermak.audiobookconverter.Platform at uk.yermak.audiobookconverter.fx.DialogHelper.selectFilesDialog(DialogHelper.java:54) at uk.yermak.audiobookconverter.fx.FilesController.selectFiles(FilesController.java:207) ... 53 more

Facing the same issue on Manjaro, EndeavourOS.

sahashirshendu avatar Jul 28 '22 14:07 sahashirshendu

adding files or folders doesn't work for me either. macOS intel and m1, Monterey or ventura

letternews avatar Nov 05 '22 09:11 letternews

@yermak, I'm sorry. Will there be a fix for this issue anytime soon? I tried the app on Windows in VM, and it works, but on macOS it doesn't. Add button shows variants of Files and Folder, but they don't want to work. I can provide any information or logs if needed.

racemus avatar Nov 17 '22 05:11 racemus

I was having the same issue with the Add button. I've been using it with no problems for over a month and then it just stopped responding today. I rebooted, reinstalled, and it made no difference. Finally, I uninstalled it and reinstalled it on a different hard drive, and that appears to have worked.

benjaphar avatar Dec 04 '22 01:12 benjaphar

I was having the same issue with the Add button. I've been using it with no problems for over a month and then it just stopped responding today. I rebooted, reinstalled, and it made no difference. Finally, I uninstalled it and reinstalled it on a different hard drive, and that appears to have worked.

Which system and version are you using?

letternews avatar Dec 13 '22 15:12 letternews

Windows 10.0.19045 AudiobookConverter 6.1.2

On Tue, Dec 13, 2022 at 9:29 AM letternews @.***> wrote:

I was having the same issue with the Add button. I've been using it with no problems for over a month and then it just stopped responding today. I rebooted, reinstalled, and it made no difference. Finally, I uninstalled it and reinstalled it on a different hard drive, and that appears to have worked.

Which system and version are you using?

— Reply to this email directly, view it on GitHub https://github.com/yermak/AudioBookConverter/issues/380#issuecomment-1348805340, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3TAQR3UEAMDQXHQOZY7RNLWNCI7FANCNFSM5PNQYIFQ . You are receiving this because you commented.Message ID: @.***>

benjaphar avatar Dec 13 '22 20:12 benjaphar

okay thank you, I guess most users do have a problem with the mac Versions...

letternews avatar Dec 24 '22 08:12 letternews

Having the same issue here, I'm using ABC 6.1.0 installed from the AUR on Manjaro KDE

EnricoBilla avatar Jan 20 '23 20:01 EnricoBilla

Another user with the same issue, version 6.1.0 on Manjaro, installed via AUR on Manjaro XFCE

Similar exception thrown when clicking on Add Folder

Exception in thread "JavaFX Application Thread" java.lang.NoClassDefFoundError: Could not initialize class uk.yermak.audiobookconverter.Platform
	at uk.yermak.audiobookconverter.fx.DialogHelper.selectFolderDialog(DialogHelper.java:78)
	at uk.yermak.audiobookconverter.fx.FilesController.selectFolder(FilesController.java:176)
	at uk.yermak.audiobookconverter.fx.FilesController.lambda$initFileOpenMenu$11(FilesController.java:137)
	at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
	at javafx.base/javafx.event.Event.fireEvent(Unknown Source)
	at javafx.controls/javafx.scene.control.MenuItem.fire(Unknown Source)
	at javafx.controls/com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.doSelect(Unknown Source)
	at javafx.controls/com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.lambda$createChildren$12(Unknown Source)
	at javafx.base/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
	at javafx.base/javafx.event.Event.fireEvent(Unknown Source)
	at javafx.graphics/javafx.scene.Scene$MouseHandler.process(Unknown Source)
	at javafx.graphics/javafx.scene.Scene.processMouseEvent(Unknown Source)
	at javafx.graphics/javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
	at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
	at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(Unknown Source)
	at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
	at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
	at javafx.graphics/com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
	at javafx.graphics/com.sun.glass.ui.View.notifyMouse(Unknown Source)
	at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Seems to be an issue with the platform detection code for Manjaro?

politas avatar Feb 09 '23 13:02 politas

I installed on Arch from the AUR and also got the above stack trace:

Exception in thread "JavaFX Application Thread" java.lang.NoClassDefFoundError: Could not initialize class uk.yermak.audiobookconverter.Platform
...

I downloaded source, ran it in the debugger, and found:

  • On a fresh install there is no properties file found to load
  • When there is no properties file Platform attempts to log that it wasn't found.
  • logger isn't initialized until after the properties are loaded.
  • The class can't be initialized, so you get a NoClassDefFoundError on attempts to reference it.

Root problem is that the properties file isn't being found (app path isn't resolving to where it should), but the stack traces don't point to that. I created a pull request with the changes I made to be able to run as installed from the AUR.

1337joe avatar Mar 10 '23 01:03 1337joe