I have weka 3.7, 3.8, and 3.9 installed on my Windows 10 computer. I cannot access the package manager in 3.8 or 3.9.
Here is the error message I get when I try (clicking the Tools menu and selecting Package Manager).
weka.gui.GUIChooserApp.createSingleton(GUIChooserApp.java:259)
weka.gui.GUIChooserApp.main(GUIChooserApp.java:1805)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
weka.gui.SplashWindow.invokeMain(SplashWindow.java:306)
weka.gui.GUIChooser.main(GUIChooser.java:92)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.io.ObjectInputStream.resolveClass(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.util.ArrayList.readObject(Unknown Source)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at weka.core.packageManagement.DefaultPackageManager.loadInstalledPackageCache(DefaultPackageManager.java:1284)
at weka.core.packageManagement.DefaultPackageManager.getInstalledPackages(DefaultPackageManager.java:1178)
at weka.core.packageManagement.DefaultPackage.getMissingDependencies(DefaultPackage.java:460)
at weka.core.WekaPackageManager.loadCheck(WekaPackageManager.java:785)
at weka.core.WekaPackageManager.loadPackages(WekaPackageManager.java:1156)
at weka.core.WekaPackageManager.loadPackages(WekaPackageManager.java:1107)
at weka.gui.GenericObjectEditor.determineClasses(GenericObjectEditor.java:187)
at weka.gui.GenericObjectEditor.<clinit>(GenericObjectEditor.java:257)
at weka.gui.GUIChooserApp.<init>(GUIChooserApp.java:740)
at weka.gui.GUIChooserApp.createSingleton(GUIChooserApp.java:259)
at weka.gui.GUIChooserApp.main(GUIChooserApp.java:1805)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at weka.gui.SplashWindow.invokeMain(SplashWindow.java:306)
at weka.gui.GUIChooser.main(GUIChooser.java:92)
java.lang.ClassNotFoundException: org.pentaho.packageManagement.DefaultPackage
java.net.URLClassLoader.findClass(Unknown Source)
java.lang.ClassLoader.loadClass(Unknown Source)
sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
java.lang.ClassLoader.loadClass(Unknown Source)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Unknown Source)
java.io.ObjectInputStream.resolveClass(Unknown Source)
java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
java.io.ObjectInputStream.readClassDesc(Unknown Source)
java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
java.io.ObjectInputStream.readObject0(Unknown Source)
java.io.ObjectInputStream.readObject(Unknown Source)
java.util.ArrayList.readObject(Unknown Source)
sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
java.io.ObjectInputStream.readSerialData(Unknown Source)
java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
java.io.ObjectInputStream.readObject0(Unknown Source)
java.io.ObjectInputStream.readObject(Unknown Source)
weka.core.packageManagement.DefaultPackageManager.loadInstalledPackageCache(DefaultPackageManager.java:1284)
weka.core.packageManagement.DefaultPackageManager.getInstalledPackages(DefaultPackageManager.java:1178)
weka.core.WekaPackageManager.getInstalledPackages(WekaPackageManager.java:1829)
weka.gui.PackageManager.getPackagesAndEstablishLookup(PackageManager.java:2365)
weka.gui.PackageManager.getAllPackages(PackageManager.java:2445)
weka.gui.PackageManager.<init>(PackageManager.java:1517)
weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:822)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.io.ObjectInputStream.resolveClass(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.util.ArrayList.readObject(Unknown Source)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at weka.core.packageManagement.DefaultPackageManager.loadInstalledPackageCache(DefaultPackageManager.java:1284)
at weka.core.packageManagement.DefaultPackageManager.getInstalledPackages(DefaultPackageManager.java:1178)
at weka.core.WekaPackageManager.getInstalledPackages(WekaPackageManager.java:1829)
at weka.gui.PackageManager.getPackagesAndEstablishLookup(PackageManager.java:2365)
at weka.gui.PackageManager.getAllPackages(PackageManager.java:2445)
at weka.gui.PackageManager.<init>(PackageManager.java:1517)
at weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:822)
A problem has occurred whilst trying to get all package information. Trying a cache refresh...
Refresh in progress. Please wait...
[DefaultPackageManager] downloaded 3 KB
[DefaultPackageManager] downloaded 64 KB
[DefaultPackageManager] downloaded 67 KB
[DefaultPackageManager] downloaded 95 KB
[DefaultPackageManager] downloaded 126 KB
[DefaultPackageManager] downloaded 133 KB
[DefaultPackageManager] downloaded 191 KB
[DefaultPackageManager] downloaded 199 KB
[DefaultPackageManager] downloaded 254 KB
[DefaultPackageManager] downloaded 262 KB
[DefaultPackageManager] downloaded 317 KB
[DefaultPackageManager] downloaded 324 KB
[DefaultPackageManager] downloaded 346 KB
[DefaultPackageManager] downloaded 380 KB
[DefaultPackageManager] downloaded 390 KB
[DefaultPackageManager] downloaded 419 KB
[DefaultPackageManager] downloaded 443 KB
[DefaultPackageManager] downloaded 446 KB
[DefaultPackageManager] downloaded 475 KB
[DefaultPackageManager] downloaded 501 KB
[DefaultPackageManager] downloaded 505 KB
[DefaultPackageManager] downloaded 508 KB
[DefaultPackageManager] downloaded 541 KB
[DefaultPackageManager] downloaded 568 KB
[DefaultPackageManager] downloaded 571 KB
[DefaultPackageManager] downloaded 605 KB
[DefaultPackageManager] downloaded 627 KB
[DefaultPackageManager] downloaded 631 KB
[DefaultPackageManager] downloaded 634 KB
[DefaultPackageManager] downloaded 684 KB
[DefaultPackageManager] downloaded 694 KB
[DefaultPackageManager] downloaded 697 KB
[DefaultPackageManager] downloaded 729 KB
[DefaultPackageManager] downloaded 746 KB
[DefaultPackageManager] downloaded 757 KB
[DefaultPackageManager] downloaded 760 KB
[DefaultPackageManager] downloaded 794 KB
[DefaultPackageManager] downloaded 819 KB
[DefaultPackageManager] downloaded 822 KB
[DefaultPackageManager] downloaded 840 KB
[DefaultPackageManager] downloaded 872 KB
[DefaultPackageManager] downloaded 882 KB
[DefaultPackageManager] downloaded 884 KB
[DefaultPackageManager] downloaded 885 KB
[DefaultPackageManager] downloaded 895 KB
[DefaultPackageManager] downloaded 926 KB
[DefaultPackageManager] downloaded 945 KB
[DefaultPackageManager] downloaded 946 KB
[DefaultPackageManager] downloaded 948 KB
[DefaultPackageManager] downloaded 989 KB
[DefaultPackageManager] downloaded 1008 KB
[DefaultPackageManager] downloaded 1009 KB
[DefaultPackageManager] downloaded 1011 KB
[DefaultPackageManager] downloaded 1016 KB
[DefaultPackageManager] downloaded 1050 KB
[DefaultPackageManager] downloaded 1071 KB
[DefaultPackageManager] downloaded 1074 KB
[DefaultPackageManager] downloaded 1075 KB
[DefaultPackageManager] downloaded 1087 KB
[DefaultPackageManager] downloaded 1098 KB
[DefaultPackageManager] downloaded 1126 KB
[DefaultPackageManager] downloaded 1133 KB
[DefaultPackageManager] downloaded 1138 KB
[DefaultPackageManager] downloaded 1139 KB
[DefaultPackageManager] downloaded 1142 KB
[DefaultPackageManager] downloaded 1156 KB
[DefaultPackageManager] downloaded 1196 KB
[DefaultPackageManager] downloaded 1200 KB
[DefaultPackageManager] downloaded 1202 KB
[DefaultPackageManager] downloaded 1218 KB
[DefaultPackageManager] downloaded 1221 KB
[DefaultPackageManager] downloaded 1253 KB
[DefaultPackageManager] downloaded 1259 KB
[DefaultPackageManager] downloaded 1263 KB
[DefaultPackageManager] downloaded 1265 KB
[DefaultPackageManager] downloaded 1282 KB
[DefaultPackageManager] downloaded 1300 KB
[DefaultPackageManager] downloaded 1319 KB
[DefaultPackageManager] downloaded 1322 KB
[DefaultPackageManager] downloaded 1326 KB
[DefaultPackageManager] downloaded 1327 KB
[DefaultPackageManager] downloaded 1346 KB
[DefaultPackageManager] downloaded 1352 KB
[DefaultPackageManager] downloaded 1379 KB
[DefaultPackageManager] downloaded 1384 KB
[DefaultPackageManager] downloaded 1389 KB
[DefaultPackageManager] downloaded 1390 KB
[DefaultPackageManager] downloaded 1403 KB
[DefaultPackageManager] downloaded 1438 KB
[DefaultPackageManager] downloaded 1443 KB
[DefaultPackageManager] downloaded 1447 KB
[DefaultPackageManager] downloaded 1452 KB
[DefaultPackageManager] downloaded 1453 KB
[DefaultPackageManager] downloaded 1466 KB
[DefaultPackageManager] downloaded 1475 KB
[DefaultPackageManager] downloaded 1504 KB
[DefaultPackageManager] downloaded 1510 KB
[DefaultPackageManager] downloaded 1514 KB
[DefaultPackageManager] downloaded 1516 KB
[DefaultPackageManager] downloaded 1531 KB
[DefaultPackageManager] downloaded 1536 KB
[DefaultPackageManager] downloaded 1545 KB
[DefaultPackageManager] downloaded 1567 KB
[DefaultPackageManager] downloaded 1571 KB
[DefaultPackageManager] downloaded 1573 KB
[DefaultPackageManager] downloaded 1577 KB
[DefaultPackageManager] downloaded 1579 KB
[DefaultPackageManager] downloaded 1593 KB
[DefaultPackageManager] downloaded 1599 KB
[DefaultPackageManager] downloaded 1605 KB
[DefaultPackageManager] downloaded 1622 KB
[DefaultPackageManager] downloaded 1630 KB
[DefaultPackageManager] downloaded 1636 KB
[DefaultPackageManager] downloaded 1637 KB
[DefaultPackageManager] downloaded 1640 KB
[DefaultPackageManager] downloaded 1641 KB
[DefaultPackageManager] downloaded 1656 KB
[DefaultPackageManager] downloaded 1662 KB
[DefaultPackageManager] downloaded 1668 KB
[DefaultPackageManager] downloaded 1685 KB
[DefaultPackageManager] downloaded 1692 KB
[DefaultPackageManager] downloaded 1698 KB
[DefaultPackageManager] downloaded 1703 KB
[DefaultPackageManager] downloaded 1704 KB
[DefaultPackageManager] downloaded 1708 KB
[DefaultPackageManager] downloaded 1708 KB
java.lang.ClassNotFoundException: org.pentaho.packageManagement.DefaultPackage
java.net.URLClassLoader.findClass(Unknown Source)
java.lang.ClassLoader.loadClass(Unknown Source)
sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
java.lang.ClassLoader.loadClass(Unknown Source)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Unknown Source)
java.io.ObjectInputStream.resolveClass(Unknown Source)
java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
java.io.ObjectInputStream.readClassDesc(Unknown Source)
java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
java.io.ObjectInputStream.readObject0(Unknown Source)
java.io.ObjectInputStream.readObject(Unknown Source)
java.util.ArrayList.readObject(Unknown Source)
sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
java.io.ObjectInputStream.readSerialData(Unknown Source)
java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
java.io.ObjectInputStream.readObject0(Unknown Source)
java.io.ObjectInputStream.readObject(Unknown Source)
weka.core.packageManagement.DefaultPackageManager.loadInstalledPackageCache(DefaultPackageManager.java:1284)
weka.core.packageManagement.DefaultPackageManager.getInstalledPackages(DefaultPackageManager.java:1178)
weka.core.WekaPackageManager.getInstalledPackages(WekaPackageManager.java:1829)
weka.gui.PackageManager.getPackagesAndEstablishLookup(PackageManager.java:2365)
weka.gui.PackageManager.getAllPackages(PackageManager.java:2455)
weka.gui.PackageManager.<init>(PackageManager.java:1517)
weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:822)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.io.ObjectInputStream.resolveClass(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.util.ArrayList.readObject(Unknown Source)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at weka.core.packageManagement.DefaultPackageManager.loadInstalledPackageCache(DefaultPackageManager.java:1284)
at weka.core.packageManagement.DefaultPackageManager.getInstalledPackages(DefaultPackageManager.java:1178)
at weka.core.WekaPackageManager.getInstalledPackages(WekaPackageManager.java:1829)
at weka.gui.PackageManager.getPackagesAndEstablishLookup(PackageManager.java:2365)
at weka.gui.PackageManager.getAllPackages(PackageManager.java:2455)
at weka.gui.PackageManager.<init>(PackageManager.java:1517)
at weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:822)
Exception in thread "Thread-5" java.lang.NullPointerException
weka.gui.PackageManager.updateTable(PackageManager.java:2246)
weka.gui.PackageManager.<init>(PackageManager.java:2107)
weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:822)
at weka.gui.PackageManager.updateTable(PackageManager.java:2246)
at weka.gui.PackageManager.<init>(PackageManager.java:2107)
at weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:822)
Delete the installedPackageCache.ser file in ~/wekafiles/packages/
and then restart Weka.
Related
I am trying to build notepadqq for MacOS following the official doc.
while running the make command I am facing below issue -
$ make
cd src/ui/ && ( test -e Makefile || /usr/local/Cellar/qt/6.3.0/bin/qmake -o Makefile /Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/ui.pro PREFIX= QMAKE_CXX=c++ 'QMAKE_CXXFLAGS= ' QMAKE_LFLAGS= LRELEASE=/usr/local/Cellar/qt/6.3.0/bin/lrelease CONFIG+= ) && /Library/Developer/CommandLineTools/usr/bin/make -f Makefile
Project MESSAGE: Release build
WARNING: Project ERROR: Unknown module(s) in QT: webkitwidgets
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_de.qm'...
Generated 348 translation(s) (348 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_es.qm'...
Generated 365 translation(s) (365 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_fr.qm'...
Generated 345 translation(s) (345 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_hu.qm'...
Generated 453 translation(s) (453 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_it.qm'...
Generated 345 translation(s) (345 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_ja.qm'...
Generated 344 translation(s) (344 finished and 0 unfinished)
Ignored 1 untranslated source text(s)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_pl.qm'...
Generated 348 translation(s) (348 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_pt.qm'...
Generated 345 translation(s) (345 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_ru.qm'...
Generated 328 translation(s) (326 finished and 2 unfinished)
Ignored 17 untranslated source text(s)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_sl.qm'...
Generated 345 translation(s) (345 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_sv.qm'...
Generated 359 translation(s) (359 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_uk.qm'...
Generated 365 translation(s) (365 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_zh.qm'...
Generated 363 translation(s) (363 finished and 0 unfinished)
Project ERROR: Unknown module(s) in QT: webkitwidgets
make: *** [sub-src-ui-make_first] Error 3
Any suggestions on how i can fix the issue? Any help is greatly appreciated (working answer will be accepted or up voted).
I am using MacOS Monterey - 12.4 (21F79)
As can be seen in the log - i have installed QT(qt/6.3.0) using brew by following the link.
Like Parisa Adviced, i tried with QT5, but same story.
C02XP51WJG5J:notepadqq-1.4.0 vsamula$ ./configure
checking for QT5 qmake... /usr/local/Cellar/qt#5/5.15.3/bin/qmake
checking for lrelease... /usr/local/Cellar/qt#5/5.15.3/bin/lrelease
checking for c++... /usr/bin/c++
checking whether c++ compiler builds test program... ok
checking whether c++ compiler supports -std=c++0x... ok
checking whether compiled test program works... ok
checking for make... /usr/bin/make
checking for pkg-config... /usr/local/bin/pkg-config
checking for Qt5Core library... not found!
checking for Qt5Gui library... not found!
checking for Qt5Network library... not found!
checking for Qt5WebKit library... not found!
checking for Qt5Widgets library... not found!
checking for Qt5WebKitWidgets library... not found!
checking for Qt5PrintSupport library... not found!
checking for Qt5Svg library... not found!
generate Makefile... Info: creating stash file /Users/vsamula/Downloads/notepadqq-1.4.0/.qmake.stash
done
C02XP51WJG5J:notepadqq-1.4.0 vsamula$ make
cd src/ui/ && ( test -e Makefile || /usr/local/Cellar/qt#5/5.15.3/bin/qmake -o Makefile /Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/ui.pro PREFIX= QMAKE_CXX=c++ 'QMAKE_CXXFLAGS= ' QMAKE_LFLAGS= LRELEASE=/usr/local/Cellar/qt#5/5.15.3/bin/lrelease CONFIG+= ) && /Library/Developer/CommandLineTools/usr/bin/make -f Makefile
Project MESSAGE: Release build
WARNING: Project ERROR: Unknown module(s) in QT: webkitwidgets
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_de.qm'...
Generated 348 translation(s) (348 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_es.qm'...
Generated 365 translation(s) (365 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_fr.qm'...
Generated 345 translation(s) (345 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_hu.qm'...
Generated 453 translation(s) (453 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_it.qm'...
Generated 345 translation(s) (345 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_ja.qm'...
Generated 344 translation(s) (344 finished and 0 unfinished)
Ignored 1 untranslated source text(s)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_pl.qm'...
Generated 348 translation(s) (348 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_pt.qm'...
Generated 345 translation(s) (345 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_ru.qm'...
Generated 328 translation(s) (326 finished and 2 unfinished)
Ignored 17 untranslated source text(s)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_sl.qm'...
Generated 345 translation(s) (345 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_sv.qm'...
Generated 359 translation(s) (359 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_uk.qm'...
Generated 365 translation(s) (365 finished and 0 unfinished)
Updating '/Users/vsamula/Downloads/notepadqq-1.4.0/src/ui/../translations/notepadqq_zh.qm'...
Generated 363 translation(s) (363 finished and 0 unfinished)
Project WARNING: Qt has only been tested with version 11.0 of the platform SDK, you're using .
Project WARNING: This is an unsupported configuration. You may experience build issues, and by using
Project WARNING: the 12.3 SDK you are opting in to new features that Qt has not been prepared for.
Project WARNING: Please downgrade the SDK you use to build your app to version 11.0, or configure
Project WARNING: with CONFIG+=sdk_no_version_check when running qmake to silence this warning.
Project ERROR: Unknown module(s) in QT: webkitwidgets
make: *** [sub-src-ui-make_first] Error 3
It is definitely a version issue. You should try build from a 5.12 source say from https://download.qt.io/archive/qt/5.12/ with version 5.12.8 and lower. The steps for building from source for a mac is at https://doc.qt.io/qt-5/macos-building.html.
I used Google Takeout to download all my uploaded Google Photos archive in the original quality. It divides the data in 50 GB (the biggest option) of compressed chunks. I chose .tgz file and I downloaded them using rclone in my Raspberry pi (running ubuntu 20.4).
There are more the 40 files that take 2.2 TB space as listed below:
ubuntu#ubuntu:/Takeout/compressed$ ls -lah
total 2.2T
drwxrwxr-x 2 ubuntu ubuntu 4.0K Mar 19 07:24 .
drwxrwxr-x 4 ubuntu ubuntu 4.0K Mar 22 21:05 ..
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 07:15 takeout-20210218T203743Z-001-049.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 03:20 takeout-20210218T203743Z-001.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 07:16 takeout-20210218T203743Z-002-047.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 03:28 takeout-20210218T203743Z-002.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 07:14 takeout-20210218T203743Z-003-041.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 03:28 takeout-20210218T203743Z-003.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 07:16 takeout-20210218T203743Z-004-051.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 03:37 takeout-20210218T203743Z-004.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 07:17 takeout-20210218T203743Z-005-053.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 03:39 takeout-20210218T203743Z-005.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 07:12 takeout-20210218T203743Z-006-037.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 03:47 takeout-20210218T203743Z-006.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 07:16 takeout-20210218T203743Z-007-045.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 03:56 takeout-20210218T203743Z-007.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 07:15 takeout-20210218T203743Z-008-039.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 04:04 takeout-20210218T203743Z-008.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 07:12 takeout-20210218T203743Z-009-043.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 04:32 takeout-20210218T203743Z-009.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 04:58 takeout-20210218T203743Z-010.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 05:17 takeout-20210218T203743Z-011.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 05:18 takeout-20210218T203743Z-012.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 05:25 takeout-20210218T203743Z-013.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 05:40 takeout-20210218T203743Z-014.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 06:19 takeout-20210218T203743Z-015.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 06:18 takeout-20210218T203743Z-016.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 08:39 takeout-20210218T203743Z-017.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 08:35 takeout-20210218T203743Z-018.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 08:35 takeout-20210218T203743Z-019.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 08:35 takeout-20210218T203743Z-020.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 08:35 takeout-20210218T203743Z-021.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 08:34 takeout-20210218T203743Z-022.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 08:38 takeout-20210218T203743Z-023.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 08:35 takeout-20210218T203743Z-024.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 08:35 takeout-20210218T203743Z-025.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 08:35 takeout-20210218T203743Z-026.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 09:14 takeout-20210218T203743Z-027.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 09:16 takeout-20210218T203743Z-028.tgz
-rw-rw-r-- 1 ubuntu ubuntu 51G Feb 19 09:15 takeout-20210218T203743Z-029.tgz
-rw-rw-r-- 1 ubuntu ubuntu 50G Feb 19 09:17 takeout-20210218T203743Z-030.tgz
-rw-rw-r-- 1 ubuntu ubuntu 50G Feb 19 12:00 takeout-20210218T203743Z-031.tgz
-rw-rw-r-- 1 ubuntu ubuntu 50G Feb 19 10:29 takeout-20210218T203743Z-032.tgz
-rw-rw-r-- 1 ubuntu ubuntu 50G Feb 19 09:43 takeout-20210218T203743Z-033.tgz
-rw-rw-r-- 1 ubuntu ubuntu 50G Feb 19 11:16 takeout-20210218T203743Z-034.tgz
-rw-rw-r-- 1 ubuntu ubuntu 11G Feb 19 12:10 takeout-20210218T203743Z-035.tgz
The parts are numbered from 1 to 35, but then there are 9 other files with an additional numbers.. I don't know what's the correct order here...
Then I tried extracting this multi-level parts of compressed data using tar.
I tried two approaches so far:
cat ./compressed/takeout-20210218T203743Z-*.tgz | tar xzivf - 2> error.logs 1> output.logs
tar -xzf compressed/* -C ./
Both have extracted only 1.8 TB data without any serious error (just three small files had timestamp that are in the future) --> 1.8T ./Takeout/
Is it possible that compressed files are bigger than their extract? It seems like I lost around 400 GBs while extracting. How can I cross-check the content from multi-part compressed archive and make sure that all data is extracted completely?
I assume there are some big files that are splitted into two different parts and tar cannot detect, therefore skip, them while extracting.
Can you please help me in resolution of this issue?
I now requested another .zip export, again parted in 50 GB chunks. I will try that one however it will take around 10 days to download it..
Yes, it's possible, and in fact certain in the case of photos for the compressed data to be slightly larger than the uncompressed data. Photos are already compressed.
However, only very slightly larger. Typically 0.03% larger. Certainly not 20% larger.
The file names you show suggest that there are duplicate files. You may be extracting the same files twice. If I assume that takeout-20210218T203743Z-001-049.tgz has the same contents as takeout-20210218T203743Z-001.tgz, and so on for the other eight such files, then 451 GB would be extracted twice. That correlates approximately to your 1.8 TB being extracted out of 2.2 TB.
The way to check is to look at the contents of the .tgz files using tar tvfz file.tgz.
I've compiled an application with tcmalloc and used HEAPPROFILE environment variable to get heap files
every 10MB or so a new heap file is created and according to the tcmalloc page i can use the pprof tool to compare heap files, and see what are the additional non released objects (possible leak).
pprof --text myapp --base=myapp.0001.heap myapp.0047.heap
the result is:
...
Total: 4600.7 MB
4592.3 99.8% 99.8% 4592.3 99.8% 0x00000000009f1d25
7.3 0.2% 100.0% 7.3 0.2% 0x00000000009f1cfc
1.0 0.0% 100.0% 1.0 0.0% 0x00000000009f74f1
0.0 0.0% 100.0% 4600.7 100.0% 00007f07fe149b44
0.0 0.0% 100.0% 4600.7 100.0% 0x0000000000480da1
0.0 0.0% 100.0% 4600.7 100.0% 0x00000000004b5a3e
0x00000000009f1d25 is a nice address, but i can't really do anything with this data.
I've tried running the same in an helloworld application
pprof --text helloworld helloworld.0001.heap
Using local file helloworld.
Using local file helloworld.0001.heap.
Total: 9.5 MB
9.5 100.0% 100.0% 9.5 100.0% BigNumber::BigNumber
0.0 0.0% 100.0% 0.0 0.0% __GI__IO_file_doallocate
0.0 0.0% 100.0% 9.5 100.0% main
0.0 0.0% 100.0% 0.0 0.0% _IO_new_file_overflow
0.0 0.0% 100.0% 0.0 0.0% _IO_new_file_xsputn
0.0 0.0% 100.0% 0.0 0.0% __GI__IO_doallocbuf
0.0 0.0% 100.0% 0.0 0.0% __GI__IO_fwrite
0.0 0.0% 100.0% 9.5 100.0% __libc_start_main
0.0 0.0% 100.0% 9.5 100.0% _start
0.0 0.0% 100.0% 0.0 0.0% std::__ostream_insert
0.0 0.0% 100.0% 0.0 0.0% std::operator<<
Here we can see clearly that all the functions have clear names, and the leak is from the BigNumber constructor.
Can anyone point me in the right direction toward getting the meaning of the address above ?
I am working on a QT gui application that I wish to deploy on mac. After reading through various forums, I have created an app that contains the frameworks and libs, but the application crashes. I have verified that the application works when compiled as a command-line tool. I am giving below the steps and outputs in the hope that someone can help me figure out the problem.
There are three libraries that I am linking to statically, so I assume they cannot be the problem: QGLViewer (http://www.libqglviewer.com/), GLE (http://www.linas.org/gle/), and GLEW.
1 - I compile the code as an app-bundle, and check the lib dependencies:
otool -L ./AtomTrajectoryViewer.app/Contents/MacOS/AtomTrajectoryViewer
./AtomTrajectoryViewer.app/Contents/MacOS/AtomTrajectoryViewer:
/Users/bhatia4/macports/Library/Frameworks/QtOpenGL.framework/Versions/5/QtOpenGL (compatibility version 5.3.0, current version 5.3.2)
/Users/bhatia4/macports/Library/Frameworks/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.3.0, current version 5.3.2)
/Users/bhatia4/macports/Library/Frameworks/QtGui.framework/Versions/5/QtGui (compatibility version 5.3.0, current version 5.3.2)
/Users/bhatia4/macports/Library/Frameworks/QtCore.framework/Versions/5/QtCore (compatibility version 5.3.0, current version 5.3.2)
/Users/bhatia4/macports/Library/Frameworks/QtXml.framework/Versions/5/QtXml (compatibility version 5.3.0, current version 5.3.2)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
/Users/bhatia4/macports/lib/libgcc/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.20.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
/Users/bhatia4/macports/lib/libgcc/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
2 - I use macdeployqt to deploy the application, and check again the lib dependencies
otool -L ./AtomTrajectoryViewer.app/Contents/MacOS/AtomTrajectoryViewer
./AtomTrajectoryViewer.app/Contents/MacOS/AtomTrajectoryViewer:
#executable_path/../Frameworks/QtOpenGL.framework/Versions/5/QtOpenGL (compatibility version 5.3.0, current version 5.3.2)
#executable_path/../Frameworks/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.3.0, current version 5.3.2)
#executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui (compatibility version 5.3.0, current version 5.3.2)
#executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore (compatibility version 5.3.0, current version 5.3.2)
#executable_path/../Frameworks/QtXml.framework/Versions/5/QtXml (compatibility version 5.3.0, current version 5.3.2)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
#executable_path/../Frameworks/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.20.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
#executable_path/../Frameworks/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
3 - This all seems to work fine. But when I double-click on the application, it crashes with the following error log.
Process: AtomTrajectoryViewer [12044]
Path:
/Users/USER/*/AtomTrajectoryViewer.app/Contents/MacOS/AtomTrajectoryViewer
Identifier: com.yourcompany.AtomTrajectoryViewer
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [432]
Responsible: AtomTrajectoryViewer [12044]
User ID: 37086
Date/Time: 2015-04-24 14:50:17.069 -0700
OS Version: Mac OS X 10.9.5 (13F1077)
Report Version: 11
Anonymous UUID: 3AD366C6-C5BA-EB79-EA67-6D293D1A8B8B
Sleep/Wake UUID: 962187D8-70E2-4886-8371-03303761E575
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8edec866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff9a95435c pthread_kill + 92
2 libsystem_c.dylib 0x00007fff8e955b1a abort + 125
3 QtCore 0x0000000100cb5709 0x100c92000 + 145161
4 QtCore 0x0000000100cb6bb1 QMessageLogger::fatal(char const*, ...) const + 161
5 QtGui 0x0000000100815c08 QGuiApplicationPrivate::createPlatformIntegration() + 5672
6 QtGui 0x0000000100815c2b QGuiApplicationPrivate::createEventDispatcher() + 27
7 QtCore 0x0000000100e68401 QCoreApplication::init() + 113
8 QtCore 0x0000000100e68377 QCoreApplication::QCoreApplication(QCoreApplicationPrivate&) + 39
9 QtGui 0x000000010081338e QGuiApplication::QGuiApplication(QGuiApplicationPrivate&) + 14
10 QtWidgets 0x000000010022de0e QApplication::QApplication(int&, char**, int) + 206
11 com.yourcompany.AtomTrajectoryViewer 0x00000001000f28e9 main + 41
12 com.yourcompany.AtomTrajectoryViewer 0x0000000100003854 start + 52
Thread 1:
0 libsystem_kernel.dylib 0x00007fff8edece6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9a954f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff9a957fb9 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8eded662 kevent64 + 10
1 libdispatch.dylib 0x00007fff990aa421 _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff990aa136 _dispatch_mgr_thread + 52
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8edece6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9a954f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff9a957fb9 start_wqthread + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff7f5fe310 rcx: 0x00007fff5fbff418 rdx: 0x0000000000000000
rdi: 0x0000000000000707 rsi: 0x0000000000000006 rbp: 0x00007fff5fbff440 rsp: 0x00007fff5fbff418
r8: 0x0000000103700ac0 r9: 0x0000000000000000 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x0000000100f723c8 r13: 0x00000001032006c0 r14: 0x0000000000000006 r15: 0x00007fff5fbffbf0
rip: 0x00007fff8edec866 rfl: 0x0000000000000206 cr2: 0x0000000100b402f3
Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133
Any help if appreciated. Please let me know if more details might be needed on the error. Thanks.
I build last version of wxWidgets and got a huge libraries sizes, for example in compare with 2.8.12 version:
MinGW (UNICODE=1 SHARED=0 MONOLITHIC=0 BUILD=release)
ver. 2.9.1 libwxmsw29u_core.a 16 840 686 bytes
minimal 7 448 383 bytes
ver. 2.8.12 libwxmsw28u_core.a 8 444 360 bytes
minimal 3 108 575 bytes
MSVC-10
ver. 2.9.1 wxmsw29u_core.lib 64 806 104 bytes
minimal 3 992 576 bytes
ver. 2.8.12 wxmsw28_core.lib 31 135 714 bytes
minimal 1 187 840 bytes
The size grown up over than 2.3 times for MinGW and over than 3.6 times for MSVC-10.
I heared, that 2.9 branch has assertions and some debug info even in release version, so I set DEBUG_FLAG to 0 in config.gcc, in include/msw/setup.h uncommented
#ifdef NDEBUG
#define wxDEBUG_LEVEL 0
#else
#define wxDEBUG_LEVEL 2
#endif
and used
mingw32-make UNICODE=1 SHARED=0 DEBUG_FLAG=0 BUILD=release MONOLITHIC=0
command to build the library. In make log compiller has -O2 optimization keys and NDEBUG defined, but the size didn't reduce much:
libwxmsw29u_core.a 14 555 082 bytes
minimal 5 856 718
What happend with wxWidget in 2.9 branch? Why the size is so huge? What I'm doing wrong?