Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Help & Support (https://www.gnutellaforums.com/help-support/)
-   -   errors in phex.log (https://www.gnutellaforums.com/help-support/98241-errors-phex-log.html)

ricoil March 30th, 2011 02:11 PM

errors in phex.log
 
I get thousands of lines similar to this in phex.log :

110330 23:03:19.637(T2313557)(116) ERROR/phex.utils.Localizer [AWT-EventQueue-0]:: Missing language key: DownloadCandidates


I compiled Phex in Debian (Linux) like this:

svn co https://phex.svn.sourceforge.net/svn...hex/phex/trunk phex
mvn package

What am I doing wrong ?

GregorK March 31st, 2011 12:16 AM

Can you validate if you have a bunch of files like this in your output directory or output jar file:
phex/resources/Lang*.properties

ricoil March 31st, 2011 02:30 AM

My locale is:

Quote:

user@debian:~$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME=en_GB.UTF-8
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER=en_GB.UTF-8
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
After compilation with maven2, I copied/renamed the "target" folder to /usr/local/src/phex

These folders contain the files: Lang*.properties
/usr/local/src/phex/classes/phex/resources/
/usr/local/src/phex/phex.jar/phex/resources/

Also, when I run Phex, an empty folder called "phex" is created in my home directory apart from the usual .phex (which contains config files, etc.).
/home/username/phex
/home/username/.phex

GregorK March 31st, 2011 03:52 AM

Strange... not sure why this errors are shown...
I guess then the Phex window also only show strange text entries all over the place, or?

Quote:

Originally Posted by ricoil (Post 362631)
These folders contain the files: Lang*.properties
/usr/local/src/phex/classes/phex/resources/
/usr/local/src/phex/phex.jar/phex/resources/

Can you also check for Lang*.po files.

Quote:

Originally Posted by ricoil (Post 362631)
Also, when I run Phex, an empty folder called "phex" is created in my home directory apart from the usual .phex (which contains config files, etc.).
/home/username/phex
/home/username/.phex

The phex directory is where phex will store your downloads. The .phex directory is used for configuration files.

When you open the help menu and click on About Phex (last menu and last menu item) you get a dialog with two tabs click on the Environment tab (the second) and Copy the text field contents. You can post it here or send it to me by PM. I will check if I can see anything suspicious.

Did you start Phex with something like:
java -jar phex.jar

BTW, you could delete all classes folders, you only need all the target/*.jar files to run.

ricoil March 31st, 2011 04:24 AM

Yes, Phex shows strange text all over the GUI.

/usr/local/src/phex/phex.jar/phex/resources/
Quote:

defaultSharedFilesHTMLExport.xsl
gwebcache.cfg
hostiles
ip2country.csv
Lang_ca.po
Lang_de_DE_GG.properties
Lang_de_DE.po
Lang_de_DE.properties
Lang_de_DE_WW.properties
Lang_en_US.po
Lang_es_ES.po
Lang_es_ES.properties
Lang_es_MX.po
Lang_es_MX.properties
Lang_fr_FR.po
Lang_fr_FR.properties
Lang_fr_FR_UTF8.properties
Lang_it.po
Lang_nl.po
Lang_nl.properties
Lang.pot
Lang.properties
Lang_pt_BR.po
Lang_pt_BR.properties
Lang_tr_TR.po
Lang_tr_TR.properties
language.list
Lang_uk.po
Lang_zh_CN.po
lang_zh_ZH.properties
magmaSharedFilesYAMLExport.xsl
metalinkSharedFilesXMLExport.xsl
phex.hosts
phex.jpg
rssSharedFilesXMLExport.xsl
search.gif
sha1
splash.png
VendorCodes.properties
I erased the classes folders.

I run Phex like this:
java -jar /usr/local/src/phex/phex.jar

In the terminal, I get this error repeated 4 times:
Quote:

An error reading the file .po has ocurred.
Quote:

file.encoding = UTF-8
file.encoding.pkg = sun.io
file.separator = /
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
java.awt.printerjob = sun.print.PSPrinterJob
java.class.path = /usr/local/src/phex/phex.jar
java.class.version = 50.0
java.endorsed.dirs = /usr/lib/jvm/java-6-openjdk/jre/lib/endorsed
java.ext.dirs = /usr/lib/jvm/java-6-openjdk/jre/lib/ext:/usr/java/packages/lib/ext
java.home = /usr/lib/jvm/java-6-openjdk/jre
java.io.tmpdir = /tmp
java.library.path = /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 1.6.0_18-b18
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.6
java.vendor = Sun Microsystems Inc.
java.vendor.url = Oracle Technology Network for Java Developers
java.vendor.url.bug = Report a Bug or Request a Feature
java.version = 1.6.0_18
java.vm.info = mixed mode
java.vm.name = OpenJDK 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 16.0-b13
javax.accessibility.assistive_technologies = org.GNOME.Accessibility.JavaBridge
line.separator =

os.arch = amd64
os.name = Linux
os.version = 2.6.32-5-amd64
path.separator = :
phex.log.path = /home/otheruser/.phex
sun.arch.data.model = 64
sun.boot.class.path = /usr/lib/jvm/java-6-openjdk/jre/lib/resources.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/jsse.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/jce.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/charsets.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar:/usr/lib/jvm/java-6-openjdk/jre/classes
sun.boot.library.path = /usr/lib/jvm/java-6-openjdk/jre/lib/amd64
sun.cpu.endian = little
sun.cpu.isalist =
sun.io.unicode.encoding = UnicodeLittle
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = UTF-8
sun.management.compiler = HotSpot 64-Bit Server Compiler
sun.os.patch.level = unknown
user.country = US
user.dir = /home/otheruser/.phex
user.home = /home/otheruser
user.language = en
user.name = otheruser
user.timezone = Europe/Lisbon

GregorK March 31st, 2011 05:55 AM

I found some problems when loading the language files from a different path. It should work now after an update from SVN and rebuild.

But I found some other problems with the texts. So be aware of some output looking ugly.

Gregor

ricoil March 31st, 2011 06:25 AM

It works now. Thank you.

ToNneTje April 2nd, 2011 06:05 AM

Yesterday I compiled Phex on my Ubuntu 10.10 PC, works great!

Thanks GregorK ;-)


All times are GMT -7. The time now is 11:49 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.