On 15.06.2012 01:02, Evan Driscoll wrote:
> OK, so I spent much of the day trying to get Awesome set up on my work
> computer. It's an RHEL5 platform and I don't have root, so it was a bit
> of an adventure.
>
> I'm running 3.4.12 with the default rc.lua.
>
> I rebuild all the dependencies and got it to the point where it runs and
> mostly works, but the information bar at the top as well as the
> right-click menus don't have any text.
>
> here's the bar:
> http://pages.cs.wisc.edu/~driscoll/temp/awesome.png
> here's what a single menu entry looks like:
> http://pages.cs.wisc.edu/~driscoll/temp/awesome2.png
>
> but they are functional: I can see the color move around for the current
> tag, and click on tags to change to it, and click on menu entries to get
> stuff to happen.
>
> The terminal where I did startx contains lots of messages like
> W: awesome: xerror:809: X error: request=(null), error=(null)
> W: awesome: xerror:809: X error: request=(null), error=(null)
> W: awesome: xerror:809: X error: request=(null), error=(null)
> W: awesome: xerror:809: X error: request=(null), error=(null)
> W: awesome: xerror:809: X error: request=(null), error=(null)
> W: awesome: xerror:809: X error: request=(null), error=(null)
> W: awesome: xerror:809: X error: request=(null), error=(null)
>
>
> Any ideas what could be going wrong or how to diagnose it? Keep in mind
> that I have some mess of self-built libraries and old RHEL5 libraries. I
> *have* run Awesome on here before successfully though, but I didn't
> build it then (and I don't think that build lives on).
Since you are already building awesome yourself, could you apply the attached
patch and show us the new output from where you did "startx"? Please also
include the output from "xdpyinfo -queryExtensions | grep opcode" (or
"DISPLAY=:0 xdpyinfo -queryExtensions | grep opcode", if you can't run this from
a terminal inside the X11 server).
Also, which cairo version do you have?
Cheers,
Uli
P.S.: Nope, not a single clue about what is going on.
--
A learning experience is one of those things that say,
'You know that thing you just did? Don't do that.'
-- Douglas Adams
>From 7f6a67013743ab214e993ea461a0a9786859a92a Mon Sep 17 00:00:00 2001
From: Uli Schlachter <[email protected]>
Date: Fri, 15 Jun 2012 10:02:25 +0200
Subject: [PATCH] xerror: Print numeric infos about the error
xcb_event_get_{request,error}_label() return NULL for non-core requests and
error codes. Obviously, that's not really helpful at all, so also print the
numeric information about what failed.
Signed-off-by: Uli Schlachter <[email protected]>
---
event.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/event.c b/event.c
index c725604..8aa18c0 100644
--- a/event.c
+++ b/event.c
@@ -804,9 +804,11 @@ xerror(xcb_generic_error_t *e)
&& e->error_code == XCB_MATCH))
return;
- warn("X error: request=%s, error=%s",
+ warn("X error: request=%s (major %d, minor %d), error=%s (%d)",
xcb_event_get_request_label(e->major_code),
- xcb_event_get_error_label(e->error_code));
+ e->major_code, e->minor_code,
+ xcb_event_get_error_label(e->error_code),
+ e->error_code);
return;
}
--
1.7.10