(auf Englisch bitte?) JPhotoTagger on OS X Mavericks

51 views
Skip to first unread message

Hal Fulton

unread,
Jun 2, 2014, 10:24:27 PM6/2/14
to jphototagg...@googlegroups.com
Hallo...

Verzeihung, mein deutsch ist nicht so gut.  Englisch OK?

When I try to run JPhotoTagger on OS X Mavericks (Java 1.7), the "splash screen"
appears with a message about the database or something.

The progress bar moves about 2/3 across in perhaps 2 seconds.

Then it hangs like this:

    bash-3.2$ java -jar -Xms30m -Xmx1g /Users/Hal/Downloads/JPhotoTagger/JPhotoTagger.jar
    Jun 02, 2014 9:15:03 PM org.jphototagger.program.Main checkJavaVersion
    INFO: Checking Java version
    Init JPhotoTagger logging system. Log file: /Users/Hal/.de.elmar_baumann/ImageMetaDataViewer/jphototagger-log-all.txt
    Jun 02, 2014 9:15:03 PM org.jphototagger.program.app.logging.AppLoggingSystem deleteObsoleteLogfiles
    INFO: Deleted obsolete logfile '/Users/Hal/.de.elmar_baumann/ImageMetaDataViewer/jphototagger-log-all.txt'
   Jun 02, 2014 9:15:03 PM org.jphototagger.program.app.logging.AppLoggingSystem deleteObsoleteLogfiles
   INFO: Deleted obsolete logfile '/Users/Hal/.de.elmar_baumann/ImageMetaDataViewer/jphototagger-log-errors.xml'
    Imagero META 1.90
    Licensed to:
    -----------
    : Elmar Baumann 
    name: XMP-Viewer
    License type: non-commercial use only
    Use on a server allowed: no
    License valid up to version: 2.99
    Expire date: 10.10.2106

Eventually I do a ^C and get this:

^C
Jun 02, 2014 9:15:03 PM org.jphototagger.program.app.logging.AppLogUtil logSystemInfo
INFO:
JPhotoTagger 0.32.18
Java Runtime Environment version: 1.7.0_60
Java Runtime Environment vendor: Oracle Corporation
Java vendor URL: http://java.oracle.com/
Java installation directory: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
Java Virtual Machine specification version: 1.7
Java Virtual Machine specification vendor: Oracle Corporation
Java Virtual Machine specification name: Java Virtual Machine Specification
Java Virtual Machine implementation version: 24.60-b09
Java Virtual Machine implementation vendor: Oracle Corporation
Java Virtual Machine implementation name: Java HotSpot(TM) 64-Bit Server VM
Java Runtime Environment specification version: 1.7
Java Runtime Environment specification vendor: Oracle Corporation
Java Runtime Environment specification name: Java Platform API Specification
Java class format version number: 51.0
Java class path: /Users/Hal/Downloads/JPhotoTagger/JPhotoTagger.jar
List of paths to search when loading libraries: /Users/Hal/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
Default temp file path: /var/folders/90/1qqrw1853fj2p3hrx4m81_nc0000gp/T/
Name of JIT compiler to use: null
Path of extension directory or directories: /Users/Hal/Library/Java/Extensions:/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Operating system name: Mac OS X
Operating system architecture: x86_64
Operating system version: 10.9.3
File separator: /
Path separator: :
User's account name: Hal
User's home directory: /Users/Hal
User's current working directory: /Users/Hal/.de.elmar_baumann/ImageMetaDataViewer
Total Memory: 29.0 MB
Free Memory: 21.0 MB
Maximum Memory: 910.5 MB
Used Memory: 8.0 MB
Preferences:
UserSettings.Logging.Level:INFO

Jun 02, 2014 9:15:04 PM org.jphototagger.program.app.ui.SplashScreen setMessage
INFO: Connecting to the database
Jun 02, 2014 9:15:05 PM org.jphototagger.program.app.ui.SplashScreen setMessage
INFO: Initialize the windows
Jun 02, 2014 9:15:06 PM org.jphototagger.repository.hsqldb.update.tables.v0.DatabaseUpdateTask02 updateToVersion
INFO: Updating database for all known images with the file size in bytes
Jun 02, 2014 9:15:06 PM org.jphototagger.program.module.thumbnails.cache.SwitchToThumbnailDbAppUpdater updateToVersion
INFO: Start updating Thumbnails from file system to database
Jun 02, 2014 9:15:06 PM org.jphototagger.program.module.thumbnails.cache.SwitchToThumbnailDbAppUpdater update
INFO: Processing 0 image files
Jun 02, 2014 9:15:18 PM org.jphototagger.program.app.AppLifeCycle$AppLifeCycleShutdownHook run
SEVERE: Database has not been shutdown; now shutting it down

Hilfe??

Hal Fulton

Hal Fulton

unread,
Jun 2, 2014, 10:30:10 PM6/2/14
to jphototagg...@googlegroups.com
Mehr Information hier...

bash-3.2$ cat .de.elmar_baumann/ImageMetaDataViewer/jphototagger-log-errors.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
<record>
  <date>2014-06-02T21:27:51</date>
  <millis>1401762471845</millis>
  <sequence>3</sequence>
  <logger>org.jphototagger.repository.hsqldb.ApplicationPropertiesDatabase</logger>
  <level>SEVERE</level>
  <class>org.jphototagger.repository.hsqldb.ApplicationPropertiesDatabase</class>
  <method>existsKey</method>
  <thread>1</thread>
  <exception>
    <message>java.sql.SQLException: Table not found in statement [SELECT COUNT(*) FROM application WHERE key = ?]</message>
    <frame>
      <class>org.hsqldb.jdbc.Util</class>
      <method>throwError</method>
    </frame>
    <frame>
      <class>org.hsqldb.jdbc.jdbcPreparedStatement</class>
      <method>&lt;init&gt;</method>
    </frame>
    <frame>
      <class>org.hsqldb.jdbc.jdbcConnection</class>
      <method>prepareStatement</method>
    </frame>
    <frame>
      <class>org.jphototagger.repository.hsqldb.ApplicationPropertiesDatabase</class>
      <method>existsKey</method>
      <line>44</line>
    </frame>
    <frame>
      <class>org.jphototagger.repository.hsqldb.ApplicationPropertiesRepositoryImpl</class>
      <method>existsKey</method>
      <line>19</line>
    </frame>
    <frame>
      <class>org.jphototagger.repository.hsqldb.AppDatabase</class>
      <method>getPersistedDatabaseVersion</method>
      <line>69</line>
    </frame>
    <frame>
      <class>org.jphototagger.repository.hsqldb.AppDatabase</class>
      <method>ensureAppIsNotTooOld</method>
      <line>53</line>
    </frame>
    <frame>
      <class>org.jphototagger.repository.hsqldb.AppDatabase</class>
      <method>init</method>
      <line>37</line>
    </frame>
    <frame>
      <class>org.jphototagger.repository.hsqldb.RepositoryImpl</class>
      <method>init</method>
      <line>16</line>
    </frame>
    <frame>
      <class>org.jphototagger.program.app.AppInit</class>
      <method>init</method>
      <line>58</line>
    </frame>
    <frame>
      <class>org.jphototagger.program.app.AppInit</class>
      <method>init</method>
      <line>45</line>
    </frame>
    <frame>
      <class>org.jphototagger.program.Main</class>
      <method>main</method>
      <line>22</line>
    </frame>
  </exception>
</record>
<record>
  <date>2014-06-02T21:27:51</date>
  <millis>1401762471849</millis>
  <sequence>4</sequence>
  <logger>org.jphototagger.repository.hsqldb.ApplicationPropertiesDatabase</logger>
  <level>SEVERE</level>
  <class>org.jphototagger.repository.hsqldb.ApplicationPropertiesDatabase</class>
  <method>existsKey</method>
  <thread>1</thread>
  <exception>
    <message>java.sql.SQLException: Table not found in statement [SELECT COUNT(*) FROM application WHERE key = ?]</message>
    <frame>
      <class>org.hsqldb.jdbc.Util</class>
      <method>throwError</method>
    </frame>
    <frame>
      <class>org.hsqldb.jdbc.jdbcPreparedStatement</class>
      <method>&lt;init&gt;</method>
    </frame>
    <frame>
      <class>org.hsqldb.jdbc.jdbcConnection</class>
      <method>prepareStatement</method>
    </frame>
    <frame>
      <class>org.jphototagger.repository.hsqldb.ApplicationPropertiesDatabase</class>
      <method>existsKey</method>
      <line>44</line>
    </frame>
    <frame>
      <class>org.jphototagger.repository.hsqldb.ApplicationPropertiesRepositoryImpl</class>
      <method>existsKey</method>
      <line>19</line>
    </frame>
    <frame>
      <class>org.jphototagger.repository.hsqldb.AppDatabase</class>
      <method>getPersistedDatabaseVersion</method>
      <line>69</line>
    </frame>
    <frame>
      <class>org.jphototagger.repository.hsqldb.update.tables.DatabaseUpdate</class>
      <method>lookupUpdaters</method>
      <line>25</line>
    </frame>
    <frame>
      <class>org.jphototagger.repository.hsqldb.update.tables.DatabaseUpdate</class>
      <method>&lt;init&gt;</method>
      <line>20</line>
    </frame>
    <frame>
      <class>org.jphototagger.repository.hsqldb.AppDatabase</class>
      <method>init</method>
      <line>39</line>
    </frame>
    <frame>
      <class>org.jphototagger.repository.hsqldb.RepositoryImpl</class>
      <method>init</method>
      <line>16</line>
    </frame>
    <frame>
      <class>org.jphototagger.program.app.AppInit</class>
      <method>init</method>
      <line>58</line>
    </frame>
    <frame>
      <class>org.jphototagger.program.app.AppInit</class>
      <method>init</method>
      <line>45</line>
    </frame>
    <frame>
      <class>org.jphototagger.program.Main</class>
      <method>main</method>
      <line>22</line>
    </frame>
  </exception>
</record>
</log>

Elmar Baumann

unread,
Jun 3, 2014, 12:45:23 PM6/3/14
to jphototagg...@googlegroups.com
Hi Hal,

maybe the database files are damaged. The SELECT error is common on the
first call of JPhotoTagger. The database are:

/Users/Hal/.de.elmar_baumann/ImageMetaDataViewer/database*

I that doesn't help, I added today, how to debug JPhotoTagger:
http://jphototagger.org/usr/debug.html

Regards,
Elmar
--
http://www.elmar-baumann.de/fotografie/
Reply all
Reply to author
Forward
0 new messages