|
From: | Van Rafelghem Dominique |
Subject: | [Bug-xnee] cnee --record and --replay fails |
Date: | Thu, 21 Mar 2013 19:27:54 -0400 |
Hi everyone, I’m new to Xnee so please bear with me as I try to explain the problems I’m experiencing. I’m trying to use cnee to record and playback the mouse and keyboard events received by the X server. Just to test things out I’m launching cnee to record in the following manner: Ø cnee --record --keyboard --mouse --all-events --events-to-record -1 --store-mouse-position --stop-key q -o gcalctool.nxl & Ø gcalctool the gcalctool executable is a GUI calculator. On the calculator I use the mouse to enter a number press the + key and enter another number and press the = key, I then close the calculator and press the q key to quit cnee recording. This all seems to work fine and it creates the gcalctool.nxl file which contains the recording of the events. While I’m doing this run I do get the following messages: --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- cnee-tests$ cnee --record --keyboard --mouse --all-events --events-to-record -1 --store-mouse-position --stop-key q -o gcalctool.xnl & [1] 6307 /cnee-tests$ XI2 may not be supported (minor: 0/2) NOTIFICATION: If you have problem with Xnee and recording device events: File a bug report including this text. NOTIFICATION: If you have problem with Xnee and recording device events: File a bug report including this text. Workaround: Creating context on data display instead of control You can ignore this message Workaround: Creating context on data display instead of control You can ignore this message cnee-tests$ gcalctool & [2] 6308 cnee-tests$ (process:6308): Gtk-CRITICAL **: set_table: assertion `buffer->tag_table == NULL' failed [2]+ Done gcalctool cnee-tests$ Workaround: Creating context on data display instead of control You can ignore this message [1]+ Done cnee --record --keyboard --mouse --all-events --events-to-record -1 --store-mouse-position --stop-key q -o gcalctool.xnl cnee-tests$ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- I’m not sure if the “XI2 may not be supported (minor: 0/2)” is a problem, if it is can you tell me how to fix it? And if these are associated with the 2 NOTIFICATION: messages below it. I built and installed libXi-1.6.0, is this a good version or should I use different one. To replay the recorded file, I use the following: Ø cnee --replay --file gcalctool.xnl --synchronised-replay --speed-percent 50 --recall-window-position This doesn’t work correctly though. It does launch the gcalctool executable but then exits indicating there was an Error number: 5, Error: Synchronisation failure. Here is the output: --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- cnee-tests$ cnee --replay --file gcalctool.xnl --synchronised-replay --speed-percent 50 --recall-window-position XI2 may not be supported (minor: 0/2) Workaround: Creating context on data display instead of control You can ignore this message Workaround: Creating context on data display instead of control You can ignore this message NOTIFICATION: If you have problem with Xnee and recording device events: File a bug report including this text. NOTIFICATION: If you have problem with Xnee and recording device events: File a bug report including this text. Workaround: Creating context on data display instead of control You can ignore this message gcalct & Can't synchronize anymore .... have to leave! 11 10 ------------------ internal return Error number: 5 Error: Synchronisation failure Solution: For more information on this error, please read the manual(s) cnee-tests$ gcalctool & [1] 6317 cnee-tests$ (process:6317): Gtk-CRITICAL **: set_table: assertion `buffer->tag_table == NULL' failed --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- I’ve tried to run it without synchronization using the “-ns” option instead of the “—synchronized” option but that didn’t work either. Again the “XI2 may not be supported (minor: 0/2)” message appeared. I’ve looked at the documentation here: http://xnee.files.wordpress.com/2012/10/xnee1.pdf, but I couldn’t find anything there to help me with this problem. I read the section on Synchronisation, in particular section “8.1.4 Different data for different kind of sessions”, there is a section which I don’t understand and perhaps you can clarify this for me. The section reads as follows: The solve to the the problem of finding out what data to use as synchronisation data one can: · use the project files delivered with Xnee · analyse the application (using Xnee’s--human-printouts option) and do some "trial and error" concerning the first bullet I could one find one project file in the xnee directory which is xnee-3.15/projects/test.xnp and this file isn’t very helpful as it is a empty file. On the second bullet analyzing the application using the –human-printouts option. I assume this means recording with that option, but how do I use this information during playback? I’m running Xnee 3.15 on a Ubuntu system, Ubuntu 10.10 - the Maverick Meerkat. I built Xnee from source and a number of the libraries it uses such as: 1. inputproto-2.1.99.6 2. libXext-1.3.0 3. libXi-1.6.0 4. libXtst-1.2.0 5. recordproto-1.41.1 6. util-macros-1.17 7. X11-test 8. xextproto-7.2.0 Any help with this would be greatly appreciated. Thanks. Dominique Van Rafelghem DTI Software Lake Forest, CA |
[Prev in Thread] | Current Thread | [Next in Thread] |