Feedback to Kingsoft Office/WPS Office for Linux.
16 posts Page 2 of 2
Ok I understand. Since my account is an ldap account, there is no entry in the /etc/passwd with my uid 1010 but there is one for user john with uid 1000.
So, you can run WPS with john now (or sudo with ldap account)?

I must say sorry because we use getpwuid to identify if is different user
running wps on the same OS ( for multiple instance purpose only)
but that's unnecessary as UID is already unique
and getuid shall always be successful as manual says but getpwuid not (and the code not check null pointer at all :( )

We've fixed it yesterday, the tests just for finding out why failed.
Now we got it.
Thanks for your feedback :D
I finally succeeded to make it work. :P

The service nscd was disabled and not running. So I restarted the service and enabled it for the next reboot.

I googled the problem with getpwuid and I found one of my old blog dating back in 2009 about the same problem but with adobe reader :oops: : http://allaboutfedora.blogspot.fr/2009/ ... ilure.html


Code: Select all
$ systemctl status nscd
nscd.service - Name Service Cache Daemon
   Loaded: loaded (/usr/lib/systemd/system/nscd.service; disabled)
   Active: inactive (dead)
$ sudo systemctl restart nscd
$ systemctl status nscd
nscd.service - Name Service Cache Daemon
   Loaded: loaded (/usr/lib/systemd/system/nscd.service; disabled)
   Active: active (running) since Thu 2014-01-16 10:44:09 CET; 1s ago
 Main PID: 31095 (nscd)
   CGroup: /system.slice/nscd.service
           └─31095 /usr/sbin/nscd --foreground
$ sudo systemctl enable nscd.service
$ gcc -o test3 test3.c -m32
$ ./test2
uid: 1010
OK
$ wps
(wps:31158): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
Use Alt+Shift+D to show or hide debug console.
Use Alt+Shift+C to capture widget.
Use Alt+Shift+F to capture focused widget.
5 : Can't load library: "/opt/kingsoft/wps-office/office6/./kaccessible"
8 : Can't load library: "/opt/kingsoft/wps-office/office6/./officespace"
can not create command named: "KInfoCollUICommand"
path1:  "/opt/kingsoft/wps-office/office6" , path2:  "/opt/kingsoft/wps-office/office6/res/wpscommon.kuip"

5 : Can't load library: "/opt/kingsoft/wps-office/office6/./wps_extend_api"
6 : Can't load library: "/opt/kingsoft/wps-office/office6/./multiclipboard"
8 : Can't load library: "/opt/kingsoft/wps-office/office6/./dsm"
9 : Can't load library: "/opt/kingsoft/wps-office/office6/./acm"
10 : Can't load library: "/opt/kingsoft/wps-office/office6/./kinsertshapes"
QLayout: Attempting to add QLayout "" to KMainWindow "", which already has a layout
KxLegacyTriggerCommand: can not found kso command: "FromDesignTemplate"
can not create command named: "KxTpOfiicespaceCommand"
can not create command named: "KxTpMsgAtMeCommand"
can not create command named: "KxWpsClipboardPaneCommand"
Separator do not support attributes. At line: 203
Separator do not support attributes. At line: 232
can not create command named: "KxRegisterTabDialogExCommand"
can not create command named: "KxTrialToolInitCommand"
can not create command named: "KxActivePluginInitCommand"
can not create command named: "KFileAssociateCommand"
invalid shortcut key:  "zoomin"
can not create command named: "kxKOSUserLoginQuiteMenuCommand"
can not create command named: "kxViewUserInfoCommand"
can not create command named: "kxChangeLoginCommand"
can not create command named: "kxKOSLogoutCommand"
can not create command named: "KLoginQuickMenuCommand"
you must give a topmost command an id. "KLayoutWidgetCommand"
Can not find command named: "KOSUserLoginQuiteMenuCmd" . At line: 49
Can not find command named: "RB_login_quick" . At line: 50
51 Command element only support idQ attribute. At line: 51
53 Command element only support idQ attribute. At line: 53
can not create command named: "KxWorkspaceContext"
id repeated: "NoTabPage"
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to KDocTabbarEx "", which already has a layout
QLayout: Attempting to add QLayout "" to KDocTabbarEx "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
can not found command named: "sp_TrackChanges"
can not found command named: "sp_Find"
can not found command named: "sp_Paste"
can not found command named: "GrowFontRainbow"
can not found command named: "ShrinkFontRainbow"
can not found command named: "m_rbHyperlink"
can not found command named: "SeleCTIctAll"
can not found command named: "m_rbInsertBookmark"
Object::connect: No such signal QWidget::minimumWidthSmaller(int)
delay-load ui file:  "commands/wps/ongmani/CT_Home.kuip"
id repeated: "Cut"
id repeated: "Copy"
id repeated: "Bold"
id repeated: "Italic"
id repeated: "Underline"
id repeated: "Superscript"
id repeated: "Subscript"
id repeated: "DecreaseIndent"
id repeated: "IncreaseIndent"
id repeated: "FormatAlignLeft"
id repeated: "FormatAlignCenter"
id repeated: "FormatAlignRight"
id repeated: "FormatAlignJustify"
id repeated: "FormatAlignDistributed"
id repeated: "FindRainbow"
id repeated: "ReplaceRainbow"
id repeated: "GoTo"
id repeated: "Font"
Can not find command named: "RB_ParagraphTools" . At line: 270
274 Command element only support idQ attribute. At line: 274
delay-load ui file:  "commands/wps/PopupMenu.kuip"
id repeated: "PasteSpecial"
id repeated: "HomepagePlugin"
can not create command named: "KGalleryLibraryCommand"
id repeated: "Paragraph"
id repeated: "Tabs"
id repeated: "PhoneticGuide"
id repeated: "TwoLinesInOne"
id repeated: "StyleFormat"
id repeated: "WordTools"
id repeated: "switchLangDlg"
id repeated: "switchFaceDlg"
can not create command named: "kxKOSUserLoginCommand"
can not create command named: "kxViewUserInfoCommand"
can not create command named: "kxChangeLoginCommand"
can not create command named: "kxKOSLogoutCommand"
can not create command named: "kClipboardForClassicCommand"
can not create command named: "kxKOSOpenCloudFileCommand"
can not create command named: "kxKOSSaveToCloudCommand"
can not create command named: "kxKOSCloudFeedbackCommand"
can not create command named: "KxExportWeiboImageCommand"
can not create command named: "KxWpsWeiboLayoutCommand"
can not create command named: "KxOpenWebWeiboCommand"
can not create command named: "KxWeiboCommand"
id repeated: "ExpandPasteText"
can not create command named: "kxKOSSaveToCloudCommand"
Can not find command named: "SendMail" . At line: 330


F.
I wonder which guy gave you the debug module (libkdbgconsole.so)
Anyway, cheers :D
One of your collegue Chizhong Jin: viewtopic.php?f=10&t=134#p834
I have the same problem on KDE based distributive.
This helps for me, but i hope you will fix this bug =)
https://www.reddit.com/r/linuxquestions ... thout_gtk/

And also i have problem with loading language packs "Network error". And i'm not alone, people here discussed it
viewtopic.php?f=4&t=8768

I attached screenshot with info about my system, may be it will helps you.
16 posts Page 2 of 2

Who is online

Users browsing this forum: No registered users and 1 guest