× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tariqrahiman reported 2012-04-06T18:23:41Z  · last modified 2012-04-10T00:55:37Z

Perforce Error: Unicode server permits only unicode enabled clients


Priority Major
Complexity Moderate
Component App - Version Control - Perf
Version 10.0

Version: 10.0.8
Build #: 25840
Build Date: 2012-Mar-16 06:50:00 AM

Try to connect to a utf8 enabled perfoce and Aqua Data Studio displays the following error Unicode server permits only unicode enabled clients

Perforce Server Version is P4D is NTX86/2010.1/27126

com.perforce.p4java.exception.RequestException: Unicode server permits only unicode enabled clients.

This is the exception that is displayed

 at com.perforce.p4java.impl.mapbased.server.Server.handleErrorStr(Server.java:3155)
 at com.perforce.p4java.impl.mapbased.server.Server.login(Server.java:515)
 at com.perforce.p4java.impl.mapbased.server.Server.login(Server.java:485)
 at \\...\\ .\\??ñçêC???????\\.Y????.a(Unknown Source)
 at \\...\\ .\\??ñçêC???????\\.Y????.bfp(Unknown Source)
 at \\...\\ .\\??ñçêC???????\\.Y????.bfo(Unknown Source)
 at \\...\\ .\\??ñçêC???????\\.Y????.bfq(Unknown Source)
 at \\...\\ .\\??ñçêC???????\\.X????.checkConnection(Unknown Source)
 at \\...\\ .\\??ñçêC???????\\.X????.commit(Unknown Source)
 at \\...\\ .\\??ñçêC???????\\.k????.execute(Unknown Source)
 at \\...\\ .\\??ñçêC???????\\.S???? 5 else.onOk(Unknown Source)
 at \\...\\ .\\??ñçêC???????\\.t???? static break.actionPerformed(Unknown Source)
 at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
 at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
 at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
 at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
 at java.awt.Component.processMouseEvent(Component.java:6288)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
 at java.awt.Component.processEvent(Component.java:6053)
 at java.awt.Container.processEvent(Container.java:2041)
 at java.awt.Component.dispatchEventImpl(Component.java:4651)
 at java.awt.Container.dispatchEventImpl(Container.java:2099)
 at java.awt.Component.dispatchEvent(Component.java:4481)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
 at java.awt.Container.dispatchEventImpl(Container.java:2085)
 at java.awt.Window.dispatchEventImpl(Window.java:2478)
 at java.awt.Component.dispatchEvent(Component.java:4481)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
 at java.awt.EventQueue.access$000(EventQueue.java:84)
 at java.awt.EventQueue$1.run(EventQueue.java:602)
 at java.awt.EventQueue$1.run(EventQueue.java:600)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
 at java.awt.EventQueue$2.run(EventQueue.java:616)
 at java.awt.EventQueue$2.run(EventQueue.java:614)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
 at java.awt.Dialog$1.run(Dialog.java:1046)
 at java.awt.Dialog$3.run(Dialog.java:1098)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.awt.Dialog.show(Dialog.java:1096)
 at java.awt.Component.show(Component.java:1584)
 at java.awt.Component.setVisible(Component.java:1536)
 at java.awt.Window.setVisible(Window.java:842)
 at java.awt.Dialog.setVisible(Dialog.java:986)
 at \\...\\ .\\??ñçêC???????\\.p???? abstract.open(Unknown Source)
 at \\...\\ .\\??ñçêC???????\\.H???? transient short.actionPerformed(Unknown Source)
 at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
 at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
 at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
 at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
 at com.jidesoft.plaf.vsnet.VsnetMenuItemUI.doClick(Unknown Source)
 at com.jidesoft.plaf.vsnet.VsnetMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
 at java.awt.Component.processMouseEvent(Component.java:6288)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
 at java.awt.Component.processEvent(Component.java:6053)
 at java.awt.Container.processEvent(Container.java:2041)
 at java.awt.Component.dispatchEventImpl(Component.java:4651)
 at java.awt.Container.dispatchEventImpl(Container.java:2099)
 at java.awt.Component.dispatchEvent(Component.java:4481)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
 at java.awt.Container.dispatchEventImpl(Container.java:2085)
 at java.awt.Window.dispatchEventImpl(Window.java:2478)
 at java.awt.Component.dispatchEvent(Component.java:4481)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
 at java.awt.EventQueue.access$000(EventQueue.java:84)
 at java.awt.EventQueue$1.run(EventQueue.java:602)
 at java.awt.EventQueue$1.run(EventQueue.java:600)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
 at java.awt.EventQueue$2.run(EventQueue.java:616)
 at java.awt.EventQueue$2.run(EventQueue.java:614)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

 

Our Perforce Server was displaying it was in utf8, even though it was not. I manually changed it to Unicode by following the steps

Switching the Perforce server into unicode mode

To fix this problem, do the following:

  1. Stop the server to prevent updates during this process.
  2. Take a checkpoint
  3. Convert the checkpoint file to be UTF8 encoded.
    For Windows users, you can use Notepad (2GB limit), or another editor of your choice if your checkpoint is greater than 2GB, to convert the new checkpoint to UTF8. The editor itself is not important, athough word processors should be avoided as they may introduce additional formatting.
    On Unix, consider using iconv.
    Alternately, use any editor to remove or alter non-UTF8 byte sequences to be a valid UTF8 byte sequence.
  4. Remove all db.* files
  5. Restore from UTF8 checkpoint
  6. Verify
  7. Try p4d -xi again

Issue #6754

Closed
Fixed
Resolved 2012-04-07T00:09:37Z
 
 
Completion
No due date
Fixed Build 10.0.8_08
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017