Scanning Perforce Repository Fails With 'Unable to determine latest revision. Check output encoding'

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

問題

You get the following error from a perforce repository:

ERROR - Problem processing revisions from repo localhost:1666//depot due to class com.cenqua.fisheye.perforce.client.P4ClientException - Unable to determine latest revision. Check output encoding
com.cenqua.fisheye.perforce.client.P4ClientException: Unable to determine latest revision. Check output encoding
   at com.cenqua.fisheye.perforce.client.P4Client.getLatestRevision(P4Client.java:90)
   at com.cenqua.fisheye.perforce.P4Scanner.getLatestRevision(P4Scanner.java:742)
   at com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:323)
   at com.cenqua.fisheye.rep.RepositoryScanner.slurpRepository(RepositoryScanner.java:268)
   at com.cenqua.fisheye.rep.RepositoryScanner.slurp(RepositoryScanner.java:188)
   at com.cenqua.fisheye.rep.RepositoryScanner.ping(RepositoryScanner.java:121)
   at com.cenqua.fisheye.perforce.P4RepositoryEngine.doSlurp(P4RepositoryEngine.java:73)

原因

This is caused due to a mismatch between the p4 client and server encoding.

You might get this error, if you have set the P4CHARSET environment variable to UTF-8, but you are not running your perforce server in unicode.

ソリューション

To resolve the problem you will need to make sure the perforce server and client character are correctly configured.

Consult with your perforce administrator if you do not know what these settings should be. Also, refer to Perforce's knowledge base article.

 

最終更新日: 2016 年 2 月 19 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.