-
Notifications
You must be signed in to change notification settings - Fork 100
Exception when accessing CSV file. #38
Comments
What Java version are you using? 16? If so, try using below 16, with 11 recommended. |
I have a suspicion this is an issue with the CSV file. It has a text field which contained a ' as in O'Brien. |
You can try the unofficial common-csv-weka-package instead of Weka's own CSVLoader for loading that CSV file. |
@fracpete I've installed. Do i run from simpleCLI like so? |
Personally, I'd use the loader in the Weka Explorer rather than in the SimpleCLI (makes it also easier to tweak options for the loader). The full classname is:
It's possible that you can also use partial classnames (not verified, I don't use the SimpleCLI):
|
Continue to receive errors on attempting to import a file. These are very large files. Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: class javax.swing.plaf.basic.BasicFileChooserUI$AcceptAllFileFilter cannot be cast to class weka.gui.ExtensionFileFilterWithClass (javax.swing.plaf.basic.BasicFileChooserUI$AcceptAllFileFilter is in module java.desktop of loader 'bootstrap'; weka.gui.ExtensionFileFilterWithClass is in unnamed module of loader 'app')
|
I'm not sure why you are getting the |
I'm using the default Java that comes with the install, which the documentation indicates is JDK 11. I'll try direct csv loading if i can work out the syntax. |
Receiving an error when attempting to open a rather large CSV file in either explorer or ARFF viewer. This is causing the conversion to fail.
The text was updated successfully, but these errors were encountered: