Unknown command problem
hi my problem is that i am creating a maze game. the maze is a 2d array of integers. and fed in threw a reader and loaded.
static void play(){
try {
//creates a buffered reader
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
//boolean varible is set to true when the program is running until exit is typed
boolean running = true;
while (running){
//a new String varible which is used for input
String line = in.readLine();
//when the game is being played a line string says you typed. + line
//the +line is what the user typed
System.out.println("You typed "+line);
//if the user types south call the south method;
if(line.startsWith("south")){
south();
//if the user types east call the east method
else if(line.startsWith("east")){
east();
//if the user types west call the west method
else if(line.startsWith("west")){
west();
//if the user types north then call the north method
//this is not case sensitive
else if(line.equalsIgnoreCase("north")){
north();
// check if they have reached the goal
if(currentX == goalX && currentY == goalY)
System.out.println("You have reached the goal!");
//print out the maze after each turn(this was only used for testing purposes)
print();
//if the user types exit then change the value of running to false and exit the java console
//it also calls the equalsIgnoreCase this method will allow entry in any case
if (line.equalsIgnoreCase("exit")){
running = false;
// else
// System.out.print( "Unknown command: " + line );
the problem is that if the user types in an invalid command i want to display this error message.
when i run the program however i get the error every time even though the move happens the error message is still displayed. i only want the error message to display when an invalid command is typed
i am a beginner so please use basic language.
thanks jon
Use the code formatting tags when you post code.
hi my problem is that i am creating a maze gameTrue, if you weren't creating a game, you'd probably have no problem.
threw a readerWhere did you throw it?
i am a beginner so please use basic language. Put your "unknown command output" and exit check blocks directly after the check for "north"
Similar Messages
-
"SP2-0734: unknown command..." error while importing a dump file
hello,
i want to import a dump file into my database named orcl, and i come accross the same error after executing the import command. my import command is:
SQL> imp mvdemo/mvdemo file=mvdemo.dmp full=y ignore=y
i use oracle 10g enterprise edition.
i created the user mvdemo/mvdemo.
the error i see in my screen is:
SP2-0734: unknown command beginning "imp mvde..." - rest of line ignored.
for a long period of time, i havent used oracle dbms. before, i remember that i used enterprise manager in import/export processes. however, i am not able to find the enterprise manager in 10g options now. do i have to install the enterprise manager seperately in oracle 10g enterprise edition? may this problem be relational with this matter?
if someone could answer, i would be greatful.
best regardsImport is run from the command prompt, not the SQL prompt.
-
Strange SP2-0042: unknown command in sqlplus
Hello everyone,i was attemptting to execute a sql statement from an external file. But i got "SP2-0042: unknown command "ï»? - rest of line ignored.". It's works with ANSI but can not based on UTF8 encoding.My file only contains as following :
spo db_changesfff.log
SPO OFF
Anyone has ideas?thanks in advance!!We had this problem as well and we noticed that the script file that contained the UTF-8 had two FF FE magic numbers at the beginning of the file. View your file in HEX mode of your text editor and verify that a single FF FE is at the beginning of the file. We created our UTF-8 file using Notepad. This seems to put two FF FE's in the file header. When we removed one set of FF FE, everything worked just fine.
-
I was fighting with this problem for a few days. Finally I've got it resolved. I want to describe it and fill in BUG in the bug report, but I am not sure about Adobe support options. So, I am putting bug report here.
1. ASSUMPTION: All problems which compiler reports as unknown problem are the real compiler BUGs/Problems. Eventually MXML compiler/ActionScript compiler should be able to take C++ or FORTRAN code or an aribitrary text and nicely tell "Error: It is not ActionScript (Flex) code" or "the code is corrupted from Line so and so...". When compiler crashed, it is most probably due to one of the states not handled (or not handled correct). Keeping this in mind I assume, that my code has nothing to do with the compiler crash.
2. PROBLEM Description.
- I tried to port our internal project from Flex3.5/Flex Builder 3 to Flex4.1/Flash Builder 4.
- After checking out and trying to build code I start getting weird problems like Error 1037: Packages cannot be nested.
- After cleaning and compiling project by project, walking up dependency tree, I was able to get rid of this problem.
- On last Project I've got another problem (An internal build error has occurred... Unknown Flex Problem). Which I stuck with for a while.
- When I checked log file I found following messages:
============================================================
!ENTRY com.adobe.flexbuilder.project 4 43 2010-12-21 15:45:24.353
!MESSAGE Uncaught exception in compiler
!STACK 0
java.lang.ClassCastException: macromedia.asc.parser.InputBuffer cannot be cast to flex2.compiler.as3.CodeFragmentsInputBuffer
at flex2.compiler.as3.AbstractSyntaxTreeUtil.lineNumberToPosition(AbstractSyntaxTreeUtil.jav a:1266)
at flex2.compiler.mxml.ImplementationGenerator.generateBinding(ImplementationGenerator.java: 569)
at flex2.compiler.mxml.ImplementationGenerator.generateBindingsSetupFunction(ImplementationG enerator.java:863)
at flex2.compiler.mxml.ImplementationGenerator.generateBindingsSetup(ImplementationGenerator .java:812)
at flex2.compiler.mxml.ImplementationGenerator.generateInitializerSupportDefs(Implementation Generator.java:1878)
at flex2.compiler.mxml.ImplementationGenerator.generateClassDefinition(ImplementationGenerat or.java:1044)
at flex2.compiler.mxml.ImplementationGenerator.<init>(ImplementationGenerator.java:206)
at flex2.compiler.mxml.ImplementationCompiler.generateImplementationAST(ImplementationCompil er.java:499)
at flex2.compiler.mxml.ImplementationCompiler.parse1(ImplementationCompiler.java:197)
at flex2.compiler.mxml.MxmlCompiler.parse1(MxmlCompiler.java:168)
at flex2.compiler.CompilerAPI.parse1(CompilerAPI.java:2871)
at flex2.compiler.CompilerAPI.parse1(CompilerAPI.java:2824)
at flex2.compiler.CompilerAPI.batch2(CompilerAPI.java:446)
at flex2.compiler.CompilerAPI.batch(CompilerAPI.java:1274)
at flex2.compiler.CompilerAPI.compile(CompilerAPI.java:1496)
at flex2.tools.oem.Application.compile(Application.java:1188)
at flex2.tools.oem.Application.recompile(Application.java:1133)
at flex2.tools.oem.Application.compile(Application.java:819)
at flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:344)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(A SApplicationBuilder.java:276)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASApplication Builder.java:127)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:190)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:7 4)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectB uilder.java:480)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuild er.java:306)
at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncremen talBuilder.java:157)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:218)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:360)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:516)
at org.eclipse.core.internal.resources.Project.build(Project.java:94)
at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:221)
at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:162)
at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:483)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38 )
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SESSION 2010-12-22 09:48:27.766 -----------------------------------------------
eclipse.buildId=M20100909-0800
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -data C:\Client_Flex4 -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
================================================
3. RESOLUTION/WORK AROUND
- I was able to get this problem cleared by putting compiler option for Flex Application projects: -keep-generated-actionscript
4. SIDE NOTE
I do not really see putting this compiler option as the solution and living with the mistery is making me fill a bit bad.Hi Faser,
I just tried it on Vista with our latest FB Plugin build but
I was unable to reproduce your issue with the following setup:
- FB Plugin build installed by Administrator account user
under her Documents folder
- Administrator account user can launch, create Flex projects
under her own workspace without any problems
- Standard account user can launch the FB Plugin build (need
Admin's password) and create Flex project (default location) under
his own workspace
If your setup is different, can you please log a bug at
http://bugs.adobe.com/flex.
Be sure to include what build you are using, whether it's
reproducible, the detail of the setup, etc...
thanks,
Sharon -
EXEC DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE -- Unknown Command ??
Hi,
I am trying to create queues as explained here
http://www.akadia.com/services/ora_advanced_queueing.html
but I am running into this problem.
Any ideas how to solve it?
Thanks!!
EXEC DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
privilege => 'ENQUEUE_ANY',
grantee => 'my_aq_user_role',
admin_option => FALSE
Error starting at line 1 in command:
EXEC DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
Error report:
ORA-06550: rad 1, kolumn 41:
PLS-00103: Påträffade symbolen ";" då en av följande förväntades:
+ case mod new not null <an identifier>
<a double-quoted delimited-identifier> <a bind variable>
table continue avg count current exists max min prior sql
stddev sum variance execute multiset the both leading
trailing forall merge year month day hour minute second
timezone_hour timezone_minute timezone_region timezone_abbr
time timestamp interval date
<a string literal with character set specification>
<a nu
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
Error starting at line 2 in command:
privilege => 'ENQUEUE_ANY',
Error report:
Unknown Command
Error starting at line 3 in command:
grantee => 'my_aq_user_role',
Error report:
Unknown Command
Error starting at line 4 in command:
admin_option => FALSE
Error report:
Unknown Command
Error starting at line 5 in command:
Error report:
Unknown CommandLook at this example.
SQL> ed
Wrote file afiedt.buf
1 begin
2 DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
3 privilege => 'ENQUEUE_ANY',
4 grantee => 'HR',
5 admin_option => FALSE
6 );
7* end;
SQL> /
PL/SQL procedure successfully completed.
SQL> EXEC DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('ENQUEUE_ANY','HR',FALSE);
PL/SQL procedure successfully completed.
SQL> exec DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(privilege => 'ENQUEUE_ANY',grantee => 'HR',admin_option => FALSE);
PL/SQL procedure successfully completed.
SQL> EXEC DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
BEGIN DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(; END;
ERROR at line 1:
ORA-06550: line 1, column 41:
PLS-00103: Encountered the symbol ";" when expecting one of the following:The problem is when you copied the example, you copied with "enter" character. -
hello all..
while trying opening a file created in MAC, in my p.c i got a
unknown command error.
the strange thing is that in the preview i can see the file
but i can't open it.
i send this fle to my friend and he opend it in his p.c with
no problem
what can i do ????????
please help me...OK,
There are two places to check. Actually two type of places to check.
1) Go to the iChat > Preferences > Alerts section.
Check every potential setting in the top drop down with whether it has a AppleScript setting checked in the box below.
2) Click once on every Buddy (in turn) then hit the Apple key and I together to get the Info card up.
Go to the Alerts tab.
Repeat 1) (This is because you can set the Alerts Individually as well as Globally in 1) )
Once you have found and removed any setting to Use one of the AppleScripts you can then use the iChat > Preferences > Alerts section to open the Scripts Folder and open the Scripts with AppleScript Editor (Just Double Click them) and check them for changes (there is an Auto Accept that is phrased to cope with all types of chats and Screen Sharing invites there is also an Auto decline)
If this fails to work you will have to delete com.apple.ichat.plist
This will mean making your Settings again in all the Preferences as you Lose Alerts settings, Font choice, Font Colour, Bubble colour, whether the Menu Bar icon is showing, Whether Transcripts are Saved and so on. You also lose any Personal or Individually set Alerts.
Outside of the Preferences you will also lose any Saved Status Messages you have Created.
You will not lose your Buddy List or your Buddy pic or those of your Buddies.
(You may lose Animation if set it.)
My guess would be that the choice for Message Sent has an Applescript check against it and that the AppleScript it is connected to is nothing to do with Sending.
8:27 PM Monday; December 1, 2008 -
SP2-0042: unknown command "UNION" - rest of line ignored.
I used sql script for creating DB structure on Oracle 8 with no errors.
I got "SP2-0042: unknown command "UNION" - rest of line ignored" error on Oracle 9i.
Do you anybody tell me whats wrong ?Sorry, I had technical problems to access this formu to response.
My script (part):
CREATE VIEW ARVALUE
AS
SELECT IDVALUE FROM DBVALUE;
CREATE VIEW AWVALUE
AS
SELECT DBVALUE.IDVALUE FROM DBVALUE, AWOBJECT
WHERE DBVALUE.IDOBJECT = AWOBJECT.IDOBJECT;
CREATE VIEW BSOBJECTUSAGE
AS
SELECT IDOBJECT_CHILD AS IDOBJECT, IDOBJECT_PARENT AS REFERRER
FROM OBJECTREF
WHERE OBJECTREF.ACTIVE <> 0
UNION
SELECT IDOBJECT_TEMPLATE AS IDOBJECT, IDOBJECT AS REFERRER
FROM DBVALUE
WHERE (DBVALUE.ACTIVE <> 0) AND (STORAGETYPE = 2)
UNION
SELECT IDOBJECT_DIAGEXT AS IDOBJECT, IDOBJECT AS REFERRER
FROM DBVALUE
WHERE (DBVALUE.ACTIVE <> 0) AND (STORAGETYPE = 5);
Log file (part)
View created.
View created.
SP2-0042: unknown command "UNION" - rest of line ignored.
SP2-0042: unknown command "UNION" - rest of line ignored.
no rows selected
View created.
if I understand, better
is:
CREATE VIEW BSOBJECTUSAGE
AS
SELECT IDOBJECT_CHILD AS IDOBJECT, IDOBJECT_PARENT AS REFERRER
FROM OBJECTREF
WHERE OBJECTREF.ACTIVE <> 0
UNION SELECT IDOBJECT_TEMPLATE AS IDOBJECT, IDOBJECT AS REFERRER
FROM DBVALUE
WHERE (DBVALUE.ACTIVE <> 0) AND (STORAGETYPE = 2)
UNION SELECT IDOBJECT_DIAGEXT AS IDOBJECT, IDOBJECT AS REFERRER
FROM DBVALUE
WHERE (DBVALUE.ACTIVE <> 0) AND (STORAGETYPE = 5); -
hei!
I have a simple SessionBean, deployed to remote OC4J.(the bean is tested locally and is fine)
using Jdeveloper, I create a client to call my sessionBean methods.
If I create the client to run agains the embedded oc4j, it works fine.
If I create a client that runs agains the remote oc4j, I get this error:
com.evermind.server.rmi.RMIConnectionException: Unknown command: 0
and a lot of
java.lang.Object com.evermind.server.rmi.RemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
appreciate your help
Regards
RTRussel ,
Have you started remote OC4J Server? Also can you able to browse
JNDI tree of Remote OC4J Server from JDeveloper?
Also provide following information in order to understand your problem fully
1. Which OC4J version you are using?
2. Platform in which you are testing your application?
3. Provide full stack trace of error that you are getting
Cheers
--Venky -
An unknown command was uncountered
Suddenly I opened the Freehand 11.0.2 and I couldn’t
open the Object, Align and Transform window. A box saying "Could
not complete your request because an unknown command was
encountered" appeared. I tried to reinstall the freehand and the
problem´s continued. I tried to update my freehand and it's
continued yet. I open the same freehand in other computer [PC] and
it’s everything all right. What can I do to solve
that?Sounds like a corrupt preferences file to me.
Remove the preferences file from its original location. (No
idea where that might be on a pc, I'm on a mac.) and store it
elsewhere (so you can put it back if that's not the problem.
FH will automatically create a fresh prfs file on the next
launch.
HTH
Willem van den Goorbergh -
Disconnected: Unknown command: 7
What ?
simple lookup to newly, successful deployment, other modules work fine.The stacktrace is
javax.naming.NamingException: Disconnected: Unknown command: 7
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:153)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at dk.son.nms.subscription.TestClient.<init>(TestClient.java:26)
at dk.son.nms.subscription.TestClient.main(TestClient.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
I must say (as a customer, that cant login to metalink atm), i am not impressed. In the past day(one day), i've gotten error messages from OC4J like this;
- javax.naming.NamingException: Disconnected: Unknown command: 7 (current)
- internal deployer exception : ArrayIndexOutofBounds(10)
(hadnt this been java, you'd bee rooted now)
- internal deployer exception : null
(I LOVE this one)
- internal deployer exception : Syntax error in source
(thank god ... WHAT SOURCE? .. infact it was NOT 'a' source)
This is errors that tell me absolutly NOTHING about what is actually wrong .. I could list the causes and solutions to these but it would be a never ending list.
This is not proffesional software !! Is it ? I am spending way WAY too much time figuring these things out, time i should be using on more productive things.. ask my boss.
Jesus ... venting temporarily over .. I'll be throwing up a webpage soon, at least im planning to, with all these rigid error messages and my 'IMHO' oppinion about them...
might as well vent this stuff ->void/null as well..Hello,
I am with the same problem... some of my EJBs works fine, but one fails when trying to make a lookup with the correct JNDI name... I tested on OC4J 10.1.3 and all works fine, thought on OC4J 9.0.4 the problem has shown...
Did you know what is this problem about? -
Hello everyone,
I have noticed some errors with bluetoothd and am wondering if I should worry about them:
sudo systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled)
Active: active (running) since Thu 2014-09-04 13:10:27 CDT; 4min 10s ago
Docs: man:bluetoothd(8)
Main PID: 3441 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
└─3441 /usr/lib/bluetooth/bluetoothd --noplugin=sap
Sep 04 13:10:27 ryanvade-arch systemd[1]: Started Bluetooth service.
Sep 04 13:10:27 ryanvade-arch bluetoothd[3441]: Starting SDP server
Sep 04 13:10:27 ryanvade-arch bluetoothd[3441]: Excluding (cli) sap
Sep 04 13:10:27 ryanvade-arch bluetoothd[3441]: Bluetooth management interface 1.6 initialized
Sep 04 13:10:27 ryanvade-arch bluetoothd[3441]: hci0 Load Connection Parameters failed: Unknown Command (0x01)
Sep 04 13:10:27 ryanvade-arch bluetoothd[3441]: Endpoint registered: sender=:1.28 path=/MediaEndpoint/A2DPSource
Sep 04 13:10:27 ryanvade-arch bluetoothd[3441]: Endpoint registered: sender=:1.28 path=/MediaEndpoint/A2DPSink
Sep 04 13:12:25 ryanvade-arch bluetoothd[3441]: Refusing input device connect: No such file or directory (2)
Sep 04 13:12:25 ryanvade-arch bluetoothd[3441]: Refusing connection from 00:60:D1:02:22:ED: unknown device
Sep 04 13:13:12 ryanvade-arch bluetoothd[3441]: Can't get HIDP connection info
Intel 7260-AC + bluetooth, 3.16.1-2-CK, bluez 5.
Last edited by ryanvade (2014-09-04 18:16:19)I am also experiencing these problems:
[ 5287.366545] Bluetooth: hci0 urb ffff880442f58480 failed to resubmit (113)
[ 5287.366921] Bluetooth: hci0 urb ffff880442f58000 failed to resubmit (113)
[ 5695.809834] Bluetooth: hci0 urb ffff8804a8d05240 failed to resubmit (113)
[ 5695.810207] Bluetooth: hci0 urb ffff8804a8d05840 failed to resubmit (113)
[ 5829.985385] Bluetooth: hci0 urb ffff8803c98b4e40 failed to resubmit (113)
[ 5829.985757] Bluetooth: hci0 urb ffff8803c98b4300 failed to resubmit (113)
systemctl status -l bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled)
Active: active (running) since Wed 2014-10-01 16:49:55 CDT; 5min ago
Docs: man:bluetoothd(8)
Main PID: 31677 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
└─31677 /usr/lib/bluetooth/bluetoothd
Oct 01 16:49:55 ryanvade-arch bluetoothd[31677]: Bluetooth daemon 5.23
Oct 01 16:49:55 ryanvade-arch bluetoothd[31677]: Starting SDP server
Oct 01 16:49:55 ryanvade-arch bluetoothd[31677]: Bluetooth management interface 1.6 initialized
Oct 01 16:49:55 ryanvade-arch bluetoothd[31677]: Sap driver initialization failed.
Oct 01 16:49:55 ryanvade-arch bluetoothd[31677]: sap-server: Operation not permitted (1)
Oct 01 16:49:55 ryanvade-arch bluetoothd[31677]: hci0 Load Connection Parameters failed: Unknown Command (0x01)
Oct 01 16:49:55 ryanvade-arch bluetoothd[31677]: Endpoint registered: sender=:1.74 path=/MediaEndpoint/A2DPSource
Oct 01 16:49:55 ryanvade-arch bluetoothd[31677]: Endpoint registered: sender=:1.74 path=/MediaEndpoint/A2DPSink
Oct 01 16:50:32 ryanvade-arch bluetoothd[31677]: Failed to set mode: Failed (0x03)
Oct 01 16:52:46 ryanvade-arch bluetoothd[31677]: Failed to set mode: Failed (0x03 -
WCAP Unknown command: get_userprefs
Hi all,
I'm testing Calendar server 7u1-2.05 with Thunderbird+Lightning/Evolution+JesCS and i have some problems with the following request:
http://zone90:8080/davserver/wcap/get_userprefs.wcap?id=W5ed8f55108a6b1f192ddeba62b4a&userid=jdoe&fmt-out=text/json
Response is:
HTTP Status 400 - Unknown command: get_userprefs
type Status report
messageUnknown command: get_userprefs
descriptionThe request sent by the client was syntactically incorrect (Unknown command: get_userprefs).
Sun GlassFish Enterprise Server v2.1.1
How can Calendar server 7u1 working with these wcap clients without this command?
and here is the log in calendar.0 with the config parameter log.dav.errors.loglevel to ALL
FINE [2011-03-30T13:54:58.626+0200] <...DavServerServlet.service> [REQ] GET /davserver/wcap/version.wcap 10.174.228.90 zone90
FINEST [2011-03-30T13:54:58.627+0200] <...WCAPServlet.service> Calling doProcess on version
FINE [2011-03-30T13:54:58.628+0200] <...DavServerServlet.service> [RES] [200] Command execution time: 0.0020 secs
FINE [2011-03-30T13:54:58.674+0200] <...DavServerServlet.service> [REQ] GET /davserver/wcap/login.wcap 10.174.228.90 zone90
FINEST [2011-03-30T13:54:58.678+0200] <...WCAPServlet.service> Calling doProcess on login
FINE [2011-03-30T13:54:58.683+0200] <...DavServerServlet.service> [RES] [200] Command execution time: 0.0090 secs
FINE [2011-03-30T13:54:58.686+0200] <...DavServerServlet.service> [REQ] GET /davserver/wcap/get_userprefs.wcap 10.174.228.90 zone90
FINE [2011-03-30T13:54:58.687+0200] <...DavServerServlet.service> [RES] [400] Command execution time: 0.0010 secs
FINE [2011-03-30T13:54:58.689+0200] <...DavServerServlet.service> [REQ] GET /davserver/wcap/gettime.wcap 10.174.228.90 zone90
FINE [2011-03-30T13:54:58.690+0200] <...DavServerServlet.service> [RES] [400] Command execution time: 0.0010 secs
FINE [2011-03-30T13:54:58.692+0200] <...DavServerServlet.service> [REQ] GET /davserver/wcap/get_all_timezones.wcap 10.174.228.90 zone90
FINEST [2011-03-30T13:54:58.693+0200] <...WCAPServlet.service> Calling doProcess on get_all_timezones
FINE [2011-03-30T13:54:58.694+0200] <...DavServerServlet.service> [RES] [200] Command execution time: 0.0020 secs
Thank you for your adviceWhether using Lightning or Evolution, you should use CalDAV and not wcap as the access protocol when interacting with CS 7u1.
-
Xdotool: Unknown command: erk: (wtf is erk?) [SOLVED]
Hi,
I have this very weird error on a quite old Arch installation. When I run xdotool key <something> I get:
[regj@t400box:~] > xdotool key alt+2
xdotool: Unknown command: erk:
Run 'xdotool help' if you want a command list
Strace doesn't really give any hints (as far as I can decipher).
Here's a snippet of the strace:
poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\3\16\0\261\4\0\0\0\0\10\377\7\0\0\31\31\10\222\1\370\0\0\0\0\0\0\0\0\0\0\10"..., 4096) = 4096
read(3, "\1\1\1\0E\377\10\20\0\0\0\0\1\1\1\0F\377\10\20\0\0\0\0\1\1\1\0G\377\10\20"..., 740) = 740
read(3, 0xdbc214, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(3, 0xdbc214, 4096) = -1 EAGAIN (Resource temporarily unavailable)
write(2, "xdotool: Unknown command: erk:\n", 31xdotool: Unknown command: erk:
) = 31
write(2, "Run 'xdotool help' if you want a"..., 46Run 'xdotool help' if you want a command list
) = 46
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\221\1\5\0\3\0\1\0\0\0\0\0\0\0\0\0\5\0\5\0\221\1\4\0\3\0\2\0\0\0\0\0"..., 48}, {NULL, 0}, {"", 0}], 3) = 48
poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\1\22\0\0\0\0\0`\0\240\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32
read(3, 0xdbc214, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(3, 0xdbc214, 4096) = -1 EAGAIN (Resource temporarily unavailable)
close(3) = 0
exit_group(1) = ?
Any ideas as to what "erk" is?
It works fine on other installations btw.
Last edited by Ashren (2011-05-27 11:11:20)Jordan, the developer of xdotool found the solution.
I had a file in my home dir called key and this caused the behaviour:
xdotool checks first if the first argument is a path to a script (you can
write 'xdotool' scripts and do 'xdotool scriptname'). Can you see if you
have a file named 'key' in the directory you are running xdotool from?
If this is indeed what is happening, I think it's an xdotool bug, perhaps,
or at least it should warn about the behavior that it is doing.
Renaming it solved the problem.
Thanks goes out to Jordan. -
Xauth unknown command, WINE crashing X after recent upgrade
I realize this isn't much information to go on. What I'm looking for is some advice on how to proceed debugging this. Where should I look next?
When I run startx, I get
xauth: (stdin):2: unknown command "ef33d0225485e7060dffee1ecb847468"
It seems to load normally afterwards. Everything seems to be fine, until I run a game in WINE. At that point, the mouse cursor disappears entirely (both in and out of the WINE window) and X eventually freezes. This does not happen every time, which makes this whole thing very frustrating.
I'm using a NVIDIA card with proprietary drivers (updated with pacman). Everything is up to date, the nvidia module is loaded in the kernel, and nouveau isn't installed.
WINE does not output anything useful even with a 2>&1 |tee log. The Xorg.0.log doesn't show any errors, save this:
(II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
(II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
(II) NVIDIA(0): configuration option may not be set correctly. When the
(II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
(II) NVIDIA(0): try to use it to receive ACPI event notifications. For
(II) NVIDIA(0): details, please see the "ConnectToAcpid" and
(II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
(II) NVIDIA(0): Config Options in the README.
Last edited by MeisBarry (2011-08-09 05:09:53)I take the second part back. The issue with X crashing with WINE still occurs intermittently.
I'm noticing that .Xauthority is being given 2-3 entries shortly after login, often the same one twice. Is this normal?
Also, I went through errors.log and found some seemingly relevant lines. This one is throughout (along with a similar one with 16 instead of 56):
kernel: [ 626.673586] NVRM: Xid (0000:01:00): 56, CMDre 00000000 00000000 00000000 00000001 00000001
This is everywhere as well:
/usr/sbin/crond[875]: (CRON) INFO (Syslog will be used instead of sendmail.): No such file or directory
And then there is this:
udevd[282]: can not find '/lib/udev/rules.d/50-firmware.rules': No such file or directory
udevd[282]: can not find '/lib/udev/rules.d/50-udev-default.rules': No such file or directory
udevd[282]: can not find '/lib/udev/rules.d/60-cdrom_id.rules': No such file or directory
udevd[282]: can not find '/lib/udev/rules.d/60-persistent-alsa.rules': No such file or directory
udevd[282]: can not find '/lib/udev/rules.d/60-persistent-input.rules': No such file or directory
udevd[282]: can not find '/lib/udev/rules.d/60-persistent-serial.rules': No such file or directory
udevd[282]: can not find '/lib/udev/rules.d/60-persistent-storage-tape.rules': No such file or directory
udevd[282]: can not find '/lib/udev/rules.d/60-persistent-storage.rules': No such file or directory
udevd[282]: can not find '/lib/udev/rules.d/60-persistent-v4l.rules': No such file or directory
udevd[282]: can not find '/lib/udev/rules.d/70-acl.rules': No such file or directory
udevd[282]: can not find '/lib/udev/rules.d/75-net-description.rules': No such file or directory
udevd[282]: can not find '/lib/udev/rules.d/75-probe_mtd.rules': No such file or directory
udevd[282]: can not find '/lib/udev/rules.d/75-tty-description.rules': No such file or directory
udevd[282]: can not find '/lib/udev/rules.d/78-sound-card.rules': No such file or directory
udevd[282]: can not find '/lib/udev/rules.d/80-drivers.rules': No such file or directory
udevd[282]: can not find '/lib/udev/rules.d/81-arch.rules': No such file or directory
I know that the first error is related to nvidia, though I've been having trouble figuring out exactly what it means. The second error seems irrelevant but I could be wrong. The third concerns me, whether or not it's related to my problem with X. -
Error: Could not complete your request because an unknown command was encountered.
I've been working on a file in FreeHand 11 for a few months
now, and for some reason after saving and closing the file about a
week ago, I can no longer open it - on either of my computers (both
PCs, one running XP, one running Vista). When I attempt to do so, I
am presented with the following error message:
Could not complete your request because an unknown command
was encountered.
Is there any possible way to fix this?Haha. I know. I was stupid... The last backup of the file is
four months old. Unfortunately I've done quite a lot of work on it
since then...
One interesting thing though, is that I can still see the
thumbnail picture in Windows Explorer. Also, I'm able to open the
file with Fireworks, but none of the hidden layers (most of my
work) are there.
I just tried to open it again on my desktop. Same error
message (but in German)...:
"Ihre Anforderung konnte nicht ausgeführt werden. Ein
unbekannter Fehler ist aufgetreten." :S
Maybe you are looking for
-
Send to multiple recipients not in address book
FAQs about sending an email to multiple recipients seem to talk about using names already in one's address book to create a group. I have a text file that contains about 1000 addresses and want to send a one-time message to all of them (with each des
-
Hi, I am new to CRM pricing, and want to port my R/3 exits and ZZ fields to CRM. Would really appreciate if someone can send me some sample code about CRM_COND_COM_BADI and Java-exits, as to how do I manipulate the ZZ fields I have added to CRM Catal
-
Number ranges of purchasing documents
hi i need some sample coding for user exit MM06E003 to set number range. thanks!!.
-
I really need help y'all cause I'm getting frustrateD!
-
Flash won't run right in 10.6.4
I am soooo tired of flash. I updated to 10.6.4 today and now Flash will not play videos for more than a second or two. This happens in Chrome, FF, and Safari5. All programs are the same. Hulu and others will not work anymore. I even updated to 10.1 a