Razor-qt / razor-qt

Razor is now LXQt:
http://lxqt.org
Other
366 stars 78 forks source link

a new problem,help me #289

Closed johncn9 closed 11 years ago

johncn9 commented 12 years ago

[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 commented 12 years ago

Run sudo ldconfig.

mckaygerhard commented 12 years ago

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 commented 12 years ago

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

johncn9 commented 12 years ago

how to use it on ldconfig

SokoloffA commented 12 years ago

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 commented 12 years ago

[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 commented 12 years ago

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 commented 12 years ago

[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 commented 12 years ago

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 commented 12 years ago

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

SokoloffA commented 12 years ago

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

johncn9 commented 12 years ago

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 commented 12 years ago

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 commented 12 years ago

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 commented 12 years ago

Do not understand what you mean,and how to operate

johncn9 commented 12 years ago

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 commented 12 years ago

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.

mckaygerhard commented 12 years ago

@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 commented 12 years ago

@mckaygerhard

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

Why?

johncn9 commented 12 years ago

Sorry,Brothers,I can not think of the main reasons I am not familiar with Qt,I mainly want to learn and to study the razor,I hope you put it designed the Tablet PC desktop,so maybe your value desktop linux not mainstream,it is recommanded that a purely personal thoughts,if you feel that we can,we can explore together. I think you can do all of this has been a great.

------------------ 原始邮件 ------------------ 发件人: "PICCORO Lenz McKAY"reply@reply.github.com; 发送时间: 2012年5月25日(星期五) 晚上10:50 收件人: "johncn9"1961786070@qq.com;

主题: Re: [razor-qt] a new problem,help me (#289)

@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


Reply to this email directly or view it on GitHub: https://github.com/Razor-qt/razor-qt/issues/289#issuecomment-5932094

johncn9 commented 12 years ago

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

mckaygerhard commented 12 years ago

my english are very bad, sorry i can understant cleary the previus paragraph, do u mean u desire a razorqt adapted to tablet's? its a goo idea.. but i think thers better adapted desktop.. but its a great idea.. maybe a zaror launcher (based on razor control center, but allowing all icons and not only ther configuration and preferences related)

1) about "Why",, if razorqt-panel not found the razorqrt libs shared, how can run the common internat razorqt desktop proceses.. there are in razorqt libs.. and the rute to that libs are in $PATH, and path contqains /usr/lib or /usr/local/lib.. of course, u can install in other palce, but may have some problems.. so dont complicate, and install in /usr/lib or better if testing in /usr/local/lib,,,

2) i dont like linux in virtualmachine.. (sure u have a windoze , and linux in virtualbox, how insulting sound that) , but anyway.. err some times.. some libs fail in virtual machines.. try mor older verson of virtual box, and also more older revsion of linux instaled.. people must know that recent software are less tested that older.. this stupid tendency of fashionable software ..

3) umm i think razor-panel run and appears for u. but u see som outputs erros.. the x windows error are normali, dont worry about that

Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com Cofundador de Venenux; debian based multimedia alike free only zealots users (oh well, i try but..too many free guidelines buahhh) http://shutendouji.net creador de massenkoh linux; debian enhanchements for better up to date support on stable brand, including non-free soft.

pvanek commented 12 years ago

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 commented 12 years ago

this issue need more feedback..

johncn9 commented 12 years ago

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

mckaygerhard commented 12 years ago

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!