[Pw_forum] problem with PWgui-6.0 (Tone Kokalj)

Muthu V muthu.physicsmath at gmail.com
Thu Mar 9 07:16:39 CET 2017


​Dear Tone Kokalj
Thank you for your interest in this issue. first i test all Tk Tcl and itk
itcl as follows in my laptop.
​( as suggested in discussion ​
http://qe-forge.org/pipermail/pw_forum/2016-May/109744.html )

​*​*













*[pearl at localhost ~]$ tclsh% package require Tk 8.6.6% package require
Tcl8.6.6% package require Itcl4.0.3% package require Iwidgets4.0.2% package
require Itkcan't find package Itk% package require itk4.0.1​ ​% ^C*

​
​So it is clear that my system knows Itk ad itk. so i edited the
​*lib/Guib-0.5.1/init.tcl
*as
......
package require Tk
package require Itcl
package require itk
package require Iwidgets
.....
here initial the line  package require itk was like this package require
Itk. i changed Itk to itk.
now in pwgui directory  just lanched pwgui from terminal as ./pwgui

in terminal i can see












*[pearl at localhost pwgui-6.0]$
./pwgui ==================================================  This is PWgui
version: 6.0 -------------------------------------------------- PWgui:
using the system default "tclsh" interpreter PWGUI       :
/home/pearl/qe-6.0/pwgui-6.0 GUIB engine :
/home/pearl/qe-6.0/pwgui-6.0/lib/Guib-0.5.1*
when i tried to open any input files in PWgui window , for example pw input
file, i am getting this whole error message,


























*member function "::guib::moduleObj::makeEmbedGUI" is not defined and
cannot be autoloadedmember function "::guib::moduleObj::makeEmbedGUI" is
not defined and cannot be autoloaded    while executing"$obj makeEmbedGUI
[expr {$containerWidget != "." ? $containerWidget : "" }]"    (procedure
"::guib::embedGUI" line 6)    invoked from within"::guib::embedGUI
$moduleFile $wid"    (object "::gUI0" method "::guib::GUI::_newInput" body
line 56)    invoked from within"$cmd $moduleIdent $moduleName
$moduleFile"    (object "::gUI0" method "::guib::GUI::_toolbarCmd" body
line 3)    invoked from within"::gUI0 _toolbarCmd .gUI0_toolbarnew
_newInput pw PW.X /home/pearl/qe-6.0/pwgui-6.0/modules/pw/pw.tcl"    (in
namespace inscope "::guib::GUI" script line 1)    invoked from
within"namespace inscope ::guib::GUI {::gUI0 _toolbarCmd .gUI0_toolbarnew
_newInput pw PW.X /home/pearl/qe-6.0/pwgui-6.0/modules/pw/pw.tcl}"
invoked from within".gUI0_toolbarnew.0 invoke"    ("uplevel" body line
1)    invoked from within"uplevel #0 [list $w invoke]"    (procedure
"tk::ButtonUp" line 22)    invoked from within"tk::ButtonUp
.gUI0_toolbarnew.0"    (command bound to event)*
and in terminal i just get
[pearl at localhost pwgui-6.0]$ ./pwgui

 ==================================================
  This is PWgui version: 6.0
 --------------------------------------------------


 PWgui: using the system default "tclsh" interpreter

 PWGUI       : /home/pearl/qe-6.0/pwgui-6.0
 GUIB engine : /home/pearl/qe-6.0/pwgui-6.0/lib/Guib-0.5.1

[pearl at localhost pwgui-6.0]$

so to resolve this problem my guess is that i have to set enviro such that
itk should named as Itk, but i do not how to do in case this is correct
reason.

Looking forward to your further mails

thanks

-----------------------------
Muthu V
IGCAR
Kalpakkam
India
-----------------------------

On Tue, Mar 7, 2017 at 12:00 PM, <pw_forum-request at pwscf.org> wrote:

> Re: problem with PWgui-6.0 (Tone Kokalj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20170309/26d19275/attachment.html>


More information about the users mailing list