Skip to content

a new problem,help me #289

Closed
johncn9 opened this Issue May 16, 2012 · 26 comments

4 participants

@johncn9
johncn9 commented May 16, 2012

[root@localhost razorqt-0.4.1]# ./build/razorqt-panel/panel/razor-panel
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0
"Can't load plugin lib "/usr/local/lib/razor-panel//libmainmenu.so"" "Cannot load library /usr/local/lib/razor-panel//libmainmenu.so: (librazorqxt.so.0: cannot open shared object file: No such file or directory)"
"Can't load plugin lib "/usr/local/lib/razor-panel//libdesktopswitch.so"" "Cannot load library /usr/local/lib/razor-panel//libdesktopswitch.so: (librazorqxt.so.0: cannot open shared object file: No such file or directory)"
QLayout: Attempting to add QLayout "" to RazorQuickLaunch "QuickLaunch", which already has a layout
QFSFileEngine::open: No file name specified
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0
Another systray is running
QSS file cannot be found in any location: "/panel.qss"
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0

runtime fedora14 ,why?

@SokoloffA
Razor-qt member

Run sudo ldconfig.

@mckaygerhard

ldconfig its need, but carefully, ldconfig will only take place of u'r lib's locations to the currrnt ones..

also razor-panel will search in the predefined of u choose previously by cmake preparation command.

i thinks this type of problems u must use the razorqt google groups.. even the bug tracker.

@johncn9
johncn9 commented May 17, 2012

what use it ???????????

@johncn9
johncn9 commented May 17, 2012

how to use it on ldconfig

@SokoloffA
Razor-qt member

You should run as root:

 ldconfig

If it does not help, I need more information:

  1. Output of the "uname -a"
  2. Output of the "ls /usr/local/lib/librazor*" and "ls /usr/local/lib64/librazor*"
  3. Output of the "cat /etc/ld.so.conf" and "cat /etc/ld.so.conf.d/*"
@johncn9
johncn9 commented May 18, 2012

[root@localhost ~]# gedit /etc/ld.so.conf
[root@localhost ~]# /sbin/ldconfig /etc/ld.so.conf
[root@localhost ~]# cd razorqt-0.4.1
[root@localhost razorqt-0.4.1]# cd build
[root@localhost build]# cd razorqt-panel
[root@localhost razorqt-panel]# cd panel
[root@localhost panel]# ./razor-panel
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0
QxtGlobalShortcut failed to register: "Alt+F1"
QLayout: Attempting to add QLayout "" to RazorQuickLaunch "QuickLaunch", which already has a layout
QFSFileEngine::open: No file name specified
Another systray is running
QSS file cannot be found in any location: "/panel.qss"
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0

@johncn9
johncn9 commented May 18, 2012

2.6.35.6-45.fc14.i686

[root@localhost ~]# ls /usr/local/lib/librazor*
/usr/local/lib/librazormount.so /usr/local/lib/librazorqt.so.0.4.1
/usr/local/lib/librazormount.so.0 /usr/local/lib/librazorqxt.so
/usr/local/lib/librazormount.so.0.4.1 /usr/local/lib/librazorqxt.so.0
/usr/local/lib/librazorqt.so /usr/local/lib/librazorqxt.so.0.4.1
/usr/local/lib/librazorqt.so.0

cat /etc/ld.so.conf.d/*

Placeholder file, no vDSO hwcap entries used in this kernel.

/usr/lib/xulrunner-1.9.2

@SokoloffA
Razor-qt member

[root@localhost ~]# gedit /etc/ld.so.conf
[root@localhost ~]# /sbin/ldconfig /etc/ld.so.conf
...
[root@localhost panel]# ./razor-panel

You are running new version of the binary without installation (with old version of the libraries).
Commands should be:

$ cmake ..
$ make 
# make install
# ldconfig
$ razor-panel

For more informations please read https://github.com/Razor-qt/razor-qt/wiki/How-to-compile-it

@johncn9
johncn9 commented May 22, 2012

thank you,SokoloffA ,You tell me the steps I have performed,the question remains as follows,but I do not know what causes

for
$ cmake ..
$ make

make install

ldconfig

$ razor-panel
After.........:

[root@localhost build]# ldconfig
[root@localhost build]# razor-panel
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0
QxtGlobalShortcut failed to register: "Alt+F1"
QLayout: Attempting to add QLayout "" to RazorQuickLaunch "QuickLaunch", which already has a layout
QFSFileEngine::open: No file name specified
Another systray is running
QSS file cannot be found in any location: "/panel.qss"
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0

@johncn9
johncn9 commented May 22, 2012

Forgot to say,the environment is fedora 14 (gnome)

@SokoloffA
Razor-qt member

What Qt you are use?
and please show full output of the cmake.

@johncn9
johncn9 commented May 24, 2012

The following is my installation package:

Qt toolkit
qt-1:4.7.4-7.fc14(i686)

Development files for the Qt toolkit
qt-devel-1:4.7.4-7.fc14(i686)

Qt WebKit library
qt-webkit-devel-1:4.7.4-7.fc14.fc14(i686)

Qt GUI-related libraries
qt-x11-1:4.7.4-7.fc14(i686)

Qt wrapper API to different RDF storage solutions
soprano-2.6.0-2.fc14(i686)

Cross-platform make system
cmake-2.8.4-1.fc14(i686)

@johncn9
johncn9 commented May 24, 2012

cmake

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done

-- non-debug build

-- Razor-qt version: 0.4.1

-- *********************************************************************
-- LIB_SUFFIX variable is not defined. It will be autodetected now
-- You can set it manually with -DLIB_SUFFIX= (64 for example)
-- LIB_SUFFIX autodetected as '', libraries will be installed into /usr/local/lib
-- *********************************************************************
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.

-- Found Qt-Version 4.7.4 (using /usr/bin/qmake-qt4)

-- Using default config directory "$HOME/.razor/" It can be changed with -DRAZOR_CONFIG_DIR=".config/razor" for example.

-- Developer documentation (doxygen) can be generated by 'make doc'

-- razormount: writing pkgconfig file /root/razorqt-0.4.1/build/libraries/razormount/razormount.pc
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- LIB_SUFFIX already set:
-- razorqt: writing pkgconfig file /root/razorqt-0.4.1/build/libraries/razorqt/razorqt.pc
-- LIB_SUFFIX already set:
-- razorqxt: writing pkgconfig file /root/razorqt-0.4.1/build/libraries/razorqxt/razorqxt.pc
-- Found libmagic: /usr/lib/libmagic.so
-- includes: /usr/include
-- LIB_SUFFIX already set:
-- qtxdg: writing pkgconfig file /root/razorqt-0.4.1/build/libraries/qtxdg/qtxdg.pc
-- LIB_SUFFIX already set:
-- LIB_SUFFIX already set:
-- Panel plugins location: /usr/local/lib/razor-panel/
-- Panel plugins location: /usr/local/lib/razor-panel/
-- checking for module 'x11'
-- found x11, version 1.3.4
-- checking for module 'xcomposite'
-- found xcomposite, version 0.4.2
-- checking for module 'xdamage'
-- found xdamage, version 1.1.3
-- checking for module 'xrender'
-- found xrender, version 0.9.6
-- **************** The following plugins will be built ****************
-- Clock
-- DesktopSwitch
-- Quicklaunch
-- System Tray
-- Main menu
-- Mount
-- Taskbar
-- Screensaver
-- ShowDesktop
-- *********************************************************************
-- LIB_SUFFIX already set:
-- Desktop plugins location: /usr/local/lib/razor-desktop/
-- Razor vanilla menu structure used
-- Found ZLIB: /usr/include (found version "1.2.5")
-- Found PolkitQt-1: /usr/lib/cmake/PolkitQt-1/PolkitQt-1Config.cmake
WARNING: Installation prefix does not match PolicyKit install prefixes. You probably will need to move files installed in POLICY_FILES_INSTALL_DIR and by dbus_add_activation_system_service to the /usr prefix
-- PolkitQt-1: 0.99.0
-- libs: /usr/lib/libpolkit-qt-core-1.so /usr/lib/libpolkit-qt-agent-1.so
-- include: /usr/include/polkit-qt-1
-- checking for module 'polkit-agent-1'
-- found polkit-agent-1, version 0.98
-- polkit agent: /usr/include/polkit-1;/usr/include/glib-2.0;/usr/lib/glib-2.0/include polkit-agent-1;polkit-gobject-1;gio-2.0;gobject-2.0;gmodule-2.0;gthread-2.0;rt;glib-2.0
-- Found Doxygen: /usr/bin/doxygen
-- Configuring done
-- Generating done
-- Build files have been written to: /root/razorqt-0.4.1/build

@SokoloffA
Razor-qt member

Cmake output looks good. What error you are getting now?
In the previous your posts I see only one serious error:

QSS file cannot be found in any location: "/panel.qss"

Try to remove config files in the ~/.razor

@johncn9
johncn9 commented May 25, 2012

Do not understand what you mean,and how to operate

@johncn9
johncn9 commented May 25, 2012

razor-panel
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0
QxtGlobalShortcut failed to register: "Alt+F1"
QLayout: Attempting to add QLayout "" to RazorQuickLaunch "QuickLaunch", which already has a layout
QFSFileEngine::open: No file name specified
Another systray is running
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x5000007
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x5000007
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4800001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4800001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4800001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4800001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4800001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4800001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4e00001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4e00001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4e00001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4e00001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4e00001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4e00001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4400001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4400001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4400001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4400001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4400001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x4400001

@SokoloffA
Razor-qt member

I'm having BadWindow errors too, but razor works for me. This isn't perfect, but not fatal. What you see? Is razor-panel crash?
Try remove all razor config files, remove ~/.razor/ dir. And try to start panel.

@SokoloffA SokoloffA closed this May 25, 2012
@SokoloffA SokoloffA reopened this May 25, 2012
@mckaygerhard

@johncn9 please.. could u tell in resumed lines why u start razor panel alone.. i think u only wish to use the panel of rzorqt. but maybe some u have mistake by error..

ok .. it suposst to do that.. u must run cmake.. with a install prefix just in where razonr-panel will run, this are due some linking problems i think..

trying removin all and redone using as prefix the place where razor-panel will run.. by exmple, byt default its /usr/local but u can put in /usr (LSB linux or deban standar) or in a bin directory in u'r home

NOTE: prefix for lib musrt remain in /usr/lib or /usr/local/lib, and must be present in $PATH env varable

@SokoloffA
Razor-qt member

@mckaygerhard

NOTE: prefix for lib musrt remain in /usr/lib or /usr/local/lib, and must be present in $PATH env varable

Why?

@johncn9
@johncn9
johncn9 commented May 25, 2012

Environment is running on a virtual machine as VirtualBox 4.1.16,Will therefore not be caused by

@mckaygerhard
@pvanek
Razor-qt member
pvanek commented Aug 6, 2012

johnc9: are you sure you performed "make install" as well? I use razor in virtualbox daily without any issue.

also it would be helpful if you can post output of "ldd ./razor-panel" from the dir where is the razor panel installed...

@mckaygerhard

this issue need more feedback..

@johncn9
johncn9 commented Aug 27, 2012

Sorry,I so busy,I think razor change for future,So I ............

@mckaygerhard

this issue must be archived/close, due revising the history, the error its not a razorqt error, the user are triying run alone the panel without linking trhought ldconfig and razor-panel not found right symbols in pATH, so this its not error..

also user that report said has busy to monitoring, so must be closed!

@SokoloffA SokoloffA closed this Mar 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.