Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Add Files #380

Closed
ambarnes2 opened this issue Feb 26, 2022 · 22 comments · May be fixed by #462
Closed

Unable to Add Files #380

ambarnes2 opened this issue Feb 26, 2022 · 22 comments · May be fixed by #462

Comments

@ambarnes2
Copy link

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

@qubodup
Copy link

qubodup commented Mar 2, 2022

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?

@ambarnes2
Copy link
Author

ambarnes2 commented Mar 2, 2022 via email

@Cobolt78
Copy link

Cobolt78 commented Apr 25, 2022

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?

@yermak
Copy link
Owner

yermak commented May 24, 2022

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
Copy link
Owner

yermak commented May 24, 2022

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
Copy link
Owner

yermak commented May 24, 2022

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.

@Cobolt78
Copy link

Cobolt78 commented Jun 1, 2022 via email

@yermak
Copy link
Owner

yermak commented Jun 2, 2022

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
Copy link
Owner

yermak commented Jun 5, 2022

@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.

@racemus
Copy link

racemus commented Jun 22, 2022

Same here. Tried on macOS High Sierra and Mojave

@kffiatek
Copy link

kffiatek commented Jul 3, 2022

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

@sahashirshendu
Copy link

sahashirshendu commented Jul 28, 2022

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.

@letternews
Copy link

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

@racemus
Copy link

racemus commented Nov 17, 2022

@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.

@benjaphar
Copy link

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.

@letternews
Copy link

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?

@benjaphar
Copy link

benjaphar commented Dec 13, 2022 via email

@letternews
Copy link

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

@EnricoBilla
Copy link

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

@politas
Copy link

politas commented Feb 9, 2023

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?

@1337joe
Copy link

1337joe commented Mar 10, 2023

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.

@yermak
Copy link
Owner

yermak commented May 30, 2024

This is not a bug report... just a chat about every possible OS and some random set of issues... Moving to discussions...

Repository owner locked and limited conversation to collaborators May 30, 2024
@yermak yermak converted this issue into discussion #588 May 30, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.