Problems with Package Manager

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems with Package Manager

Bill Bane
Hello.

The Package Manager has stopped working for me recently.  When starting PM,
an error box will come up:

     "An error has occurred trying to obtain installed package info."  

The error text goes on to say:

"
java.io.FileNotFoundException:
C:\Users\billf\wekafiles\repCache\dualPerturbAndCombine\1.0.0.props (The
system cannot find the path specified)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown
Source)
        at
weka.core.packageManagement.DefaultPackageManager.getRepositoryPackageInfo(DefaultPackageManager.java:332)
        at
weka.core.WekaPackageManager.getRepositoryPackageInfo(WekaPackageManager.java:2148)
        at
weka.core.WekaPackageManager.getLatestCompatibleVersion(WekaPackageManager.java:2063)
        at
weka.gui.PackageManager.updateTableForPackageList(PackageManager.java:2344)
        at weka.gui.PackageManager.updateTable(PackageManager.java:2435)
        at weka.gui.PackageManager.<init>(PackageManager.java:2231)
        at weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:745)
"

In the console, there is more:

"
A problem has occurred whilst trying to get all package information. Trying
a cache refresh...
Refresh in progress. Please wait...
[DefaultPackageManager] downloaded 2288 KB
java.io.FileNotFoundException:
C:\Users\billf\wekafiles\repCache\WiSARD\versions.txt (The system cannot
find the path specified)
        java.io.FileInputStream.open0(Native Method)
        java.io.FileInputStream.open(Unknown Source)
        java.io.FileInputStream.<init>(Unknown Source)
        java.io.FileInputStream.<init>(Unknown Source)
        sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
        sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown
Source)
       
weka.core.packageManagement.DefaultPackageManager.getRepositoryPackageVersions(DefaultPackageManager.java:294)
       
weka.core.WekaPackageManager.getRepositoryPackageVersions(WekaPackageManager.java:1960)
       
weka.gui.PackageManager.getPackagesAndEstablishLookup(PackageManager.java:2536)
        weka.gui.PackageManager.getAllPackages(PackageManager.java:2602)
        weka.gui.PackageManager.<init>(PackageManager.java:1629)
        weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:745)

        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at sun.net.www.protocol.file.FileURLConnection.connect(Unknown
Source)
        at
sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
        at
weka.core.packageManagement.DefaultPackageManager.getRepositoryPackageVersions(DefaultPackageManager.java:294)
        at
weka.core.WekaPackageManager.getRepositoryPackageVersions(WekaPackageManager.java:1960)
        at
weka.gui.PackageManager.getPackagesAndEstablishLookup(PackageManager.java:2536)
        at weka.gui.PackageManager.getAllPackages(PackageManager.java:2602)
        at weka.gui.PackageManager.<init>(PackageManager.java:1629)
        at weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:745)
Exception in thread "Thread-7" java.lang.NullPointerException
        weka.gui.PackageManager.updateTable(PackageManager.java:2386)
        weka.gui.PackageManager.<init>(PackageManager.java:2231)
        weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:745)

        at weka.gui.PackageManager.updateTable(PackageManager.java:2386)
        at weka.gui.PackageManager.<init>(PackageManager.java:2231)
        at weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:745)
[WekaPackageManager] problem parsing number of packages from server.

It seems to be looking for a folder -- and I haven't made any changes to
folder structure lately on my Windows 10 machine. (Java runtime version
1.8.0_251-b08)

Can you provide some guidance?

Many thanks!

Bill



--
Sent from: https://weka.8497.n7.nabble.com/
_______________________________________________
Wekalist mailing list -- [hidden email]
Send posts to [hidden email]
To unsubscribe send an email to [hidden email]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|

Re: Problems with Package Manager

Peter Reutemann
> The Package Manager has stopped working for me recently.  When starting PM,
> an error box will come up:
>
>      "An error has occurred trying to obtain installed package info."
>
> The error text goes on to say:
>
> "
> java.io.FileNotFoundException:
> C:\Users\billf\wekafiles\repCache\dualPerturbAndCombine\1.0.0.props (The
> system cannot find the path specified)

[...]

> It seems to be looking for a folder -- and I haven't made any changes to
> folder structure lately on my Windows 10 machine. (Java runtime version
> 1.8.0_251-b08)
>
> Can you provide some guidance?

Not a windows user here, but have you tried removing the directory the
cache and then starting up Weka?
C:\Users\billf\wekafiles\repCache

Could be a permission problem as well.

Cheers, Peter
--
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 577-5304
http://www.cms.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/
_______________________________________________
Wekalist mailing list -- [hidden email]
Send posts to [hidden email]
To unsubscribe send an email to [hidden email]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html