Re: [Pw_forum] Problem with PWgui-6.0

2017-04-09 Thread Matic Poberznik
Dear Uttam,

> 
> PWgui: using the system default "tclsh" interpreter
> 
>  PWGUI   : /cygdrive/d/qe60/qe-6.0/pwgui-6.0
>  GUIB engine : /cygdrive/d/qe60/qe-6.0/pwgui-6.0/lib/Guib-0.5.1
> 
> couldn't load file "/usr/bin/tk85.dll": No such file or directory
> while executing
> "load /usr/bin/tk85.dll Tk"
> ("package ifneeded Tk 8.5.18" script)
> invoked from within
> "package require Tk   "
> (file "/cygdrive/d/qe60/qe-6.0/pwgui-6.0/lib/Guib-0.5.1/init.tcl"

First, make sure that you have the tcl-tk-8.5.18 package installed:

https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Ftcl-tk%2Ftcl-tk-8.5.18-1&grep=Tk

A similar issue was solved some time ago by installing xorg-server and
xinit packages, so maybe that can help in your case as well:

http://jesnault.fr/website/using-cygwin-gitk-broken/?lang=en

if the issue persists please print out a detailed list of the tcl/tk
related packages you have installed, so that I can try to reproduce the
issue.

Best regards,

Matic Poberznik
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia
___
Pw_forum mailing list
Pw_forum@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum


Re: [Pw_forum] Problem with PWgui-6.0

2017-04-07 Thread Uttam Paliwal
now i get this error


PWgui: using the system default "tclsh" interpreter

 PWGUI   : /cygdrive/d/qe60/qe-6.0/pwgui-6.0
 GUIB engine : /cygdrive/d/qe60/qe-6.0/pwgui-6.0/lib/Guib-0.5.1

couldn't load file "/usr/bin/tk85.dll": No such file or directory
while executing
"load /usr/bin/tk85.dll Tk"
("package ifneeded Tk 8.5.18" script)
invoked from within
"package require Tk   "
(file "/cygdrive/d/qe60/qe-6.0/pwgui-6.0/lib/Guib-0.5.1/init.tcl" line
9)
invoked from within
"source /cygdrive/d/qe60/qe-6.0/pwgui-6.0/lib/Guib-0.5.1/init.tcl"
("package ifneeded Guib 0.5.1" script)
invoked from within
"package require Guib 0.5"
(file "/cygdrive/d/qe60/qe-6.0/pwgui-6.0/init.tcl" line 5)
invoked from within
"source [file join $env(PWGUI) init.tcl]"
(file "/cygdrive/d/qe60/qe-6.0/pwgui-6.0/pwgui.tcl" line 62)


On Fri, Apr 7, 2017 at 2:56 PM, Matic Poberznik 
wrote:

> Dear Uttam,
>
> > can't find package Itk
> > while executing
> > "package require Itk
>
> the problem is related to the Itk package and there are two possibilties:
>
> 1. You have the Itk 4.0.1 version installed, in this case there are some
> issues, and I suggest you revert to the previous version ( tcl-itk-3.3.2)
>
> 2. You don't have the tcl-itk package in that case please install
> tcl-itk-3.3.2 version.
>
> https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%
> 2Ftcl-itk%2Ftcl-itk-3.3-2&grep=itk
>
> For further information see thread on this forum (from a while ago):
>
> https://www.mail-archive.com/pw_forum@pwscf.org/msg30957.html
>
> Hope this helps.
>
> Best regards,
>
> Matic Poberznik
>
> --
> Matic Poberznik
> J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia
> ___
> Pw_forum mailing list
> Pw_forum@pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum
>
___
Pw_forum mailing list
Pw_forum@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum

Re: [Pw_forum] Problem with PWgui-6.0

2017-04-07 Thread Matic Poberznik
Dear Uttam,

> can't find package Itk
> while executing
> "package require Itk  

the problem is related to the Itk package and there are two possibilties:

1. You have the Itk 4.0.1 version installed, in this case there are some
issues, and I suggest you revert to the previous version ( tcl-itk-3.3.2)

2. You don't have the tcl-itk package in that case please install
tcl-itk-3.3.2 version.

https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Ftcl-itk%2Ftcl-itk-3.3-2&grep=itk

For further information see thread on this forum (from a while ago):

https://www.mail-archive.com/pw_forum@pwscf.org/msg30957.html

Hope this helps.

Best regards,

Matic Poberznik

-- 
Matic Poberznik
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia
___
Pw_forum mailing list
Pw_forum@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum


[Pw_forum] Problem with PWgui-6.0

2017-04-07 Thread Uttam Paliwal
Hi
i am trying to run PWgui-6.0 on cygwin. when i type ./pwgui in pwgui
directory then found following error























*PWgui: using the system default "tclsh" interpreter PWGUI   :
/cygdrive/d/qe60/qe-6.0/pwgui-6.0 GUIB engine :
/cygdrive/d/qe60/qe-6.0/pwgui-6.0/lib/Guib-0.5.1can't find package Itk
while executing"package require Itk  "(file
"/cygdrive/d/qe60/qe-6.0/pwgui-6.0/lib/Guib-0.5.1/init.tcl" line 11)
invoked from within"source
/cygdrive/d/qe60/qe-6.0/pwgui-6.0/lib/Guib-0.5.1/init.tcl"("package
ifneeded Guib 0.5.1" script)invoked from within"package require Guib
0.5"(file "/cygdrive/d/qe60/qe-6.0/pwgui-6.0/init.tcl" line 5)
invoked from within"source [file join $env(PWGUI) init.tcl]"(file
"/cygdrive/d/qe60/qe-6.0/pwgui-6.0/pwgui.tcl" line 62)*


*I have all required packages including Itcl, Itk, Tcl, Tk, Iwidget  etc*

*kindly solve tis*
*-- *
Uttam Paliwal
*Assistant Professor*
Department of Physics
J.N.V. University
Jodhpur (India)
Phone- 7597908441
___
Pw_forum mailing list
Pw_forum@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum

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

2017-03-16 Thread Tone Kokalj
On Thu, 2017-03-09 at 07:16 +0100, Muthu V wrote:
> 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@localhost ~]$ tclsh
> % package require Tk 
> 8.6.6
> % package require Tcl
> 8.6.6
> % package require Itcl
> 4.0.3
> % package require Iwidgets
> 4.0.2
> % package require Itk
> can't find package Itk
> % package require itk
> 4.0.1 

I suspect that your problem may be due to use of Itk 4.x (it seems
somewhat non-standard as it needs to be loaded as "itk" instead of
"Itk"): with standard Itk 3.x I never experienced this kind of problem.
Currently, I do not yet have Itk 4.x, hence I cannot check what is
going on (latest Debian version of Itk is 3.4).

Anyway, you have two options:

1. find Itcl/Itk version 3.4 for Fedora and try to use that instead

or 

2. use the self-contained pwgui binary instead, which is available at
http://www-k3.ijs.si/kokalj/pwgui/download.html
in particular:
http://www-k3.ijs.si/kokalj/pwgui/download/pwgui-6.1-linux-x86_64.zip


Best regards, Tone
-- 
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia 
(tel: +386-1-477-3523 // fax: +386-1-251-9385)

___
Pw_forum mailing list
Pw_forum@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum

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

2017-03-09 Thread Muthu V
Hi Tone Kokalj. I am using Fedora 25 64 bit version in my i3 core Dell
laptop.
Looking forward to your further mails
thanks

-
Muthu V
IGCAR
Kalpakkam
India
-

On Thu, Mar 9, 2017 at 7:16 AM, Muthu V  wrote:

> ​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@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@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 autoloadedwhile 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@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@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,  wrote:
>
>> Re: problem with PWgui-6.0 (Tone Kokalj
>
>
>
>
___
Pw_forum mailing list
Pw_forum@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum

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

2017-03-08 Thread Muthu V
​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@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@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 autoloadedwhile 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@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@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,  wrote:

> Re: problem with PWgui-6.0 (Tone Kokalj
___
Pw_forum mailing list
Pw_forum@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum

Re: [Pw_forum] problem with PWgui-6.0

2017-03-06 Thread Tone Kokalj
On Thu, 2017-03-02 at 13:03 +0100, Muthu V wrote:
> Dear Users
> I am trying to use PWgui-6.0. while runnning
> $./pwgui
> the gui appears and if i try file->new->new pw.x input
> 
> then a window with the following error is coming out
> 
> member function "::guib::moduleObj::makeEmbedGUI" is not defined and
> cannot be autoloaded

I never encountered such a problem. Please can you provide more
information. To start with, provide the whole output that pwgui prints
to stdout/stderr. What is your operating-system, which versions of Tcl
(i.e. Tcl/Tk/Itcl/Itk/Iwidgets) are you using?

Best regards, Tone
-- 
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia 
(tel: +386-1-477-3523 // fax: +386-1-251-9385)

___
Pw_forum mailing list
Pw_forum@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum

[Pw_forum] problem with PWgui-6.0

2017-03-02 Thread Muthu V
Dear Users
I am trying to use PWgui-6.0. while runnning
$./pwgui
the gui appears and if i try file->new->new pw.x input

then a window with the following error is coming out

member function "::guib::moduleObj::makeEmbedGUI" is not defined and cannot
be autoloaded
member 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)

so here where is the problem?
i am using current versions of itcl and itk

thanks


Muthu V
IGCAR
INDIA
-
___
Pw_forum mailing list
Pw_forum@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum

[Pw_forum] problem with PWgui-6.0

2017-02-28 Thread Muthu V
Dear Users
I am trying to use PWgui-6.0. while runnning
$./pwgui
the gui appears and if i try file->new->new pw.x input

then a window with the following error is coming out

member function "::guib::moduleObj::makeEmbedGUI" is not defined and cannot
be autoloaded
member 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)

so here where is the problem?
i am using current versions of itcl and itk

thanks


Muthu V
IGCAR
INDIA
-
___
Pw_forum mailing list
Pw_forum@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum