can`t draw band structure

Bug #1947598 reported by Mikle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
p4vasp (Ubuntu)
New
Undecided
Unassigned

Bug Description

I try to use this package for drawing band structure but it gives me a error. A lot of people complain about this issue but all I found was use sudo apt-get install libgnomeui-0 this command for instalation library. And it didn`t work. The massage I get is:

 /usr/lib/python2.7/dist-packages/p4vasp/applet/GraphWindowApplet.py:266: GtkWarning: IA__gtk_widget_set_events: assertion '!gtk_widget_get_realized (widget)' failed"
   x.set_events(event_mask)
 Traceback (most recent call last):
   File ""/usr/share/p4vasp/p4v.py"", line 642, in idle_func"
     scheduler().next()
   File ""/usr/lib/python2.7/dist-packages/p4vasp/schedule.py"", line 51, in next"
     return self[0].next()"
   File ""/usr/lib/python2.7/dist-packages/p4vasp/applet/ElectronicApplet.py"", line 462, in updateEigenvaluesGen
     ly=len(ev[0][0])
 TypeError: __len__() should return an int

Can You help me with this issue?

Revision history for this message
Mikle (dftsher) wrote :
tags: added: p4vasp
tags: added: band structure
Revision history for this message
Graham Inggs (ginggs) wrote :

Which version of Ubuntu?

Revision history for this message
Mikle (dftsher) wrote :

Ubuntu 14.04 LTS (Trusty Tahr)

Revision history for this message
Graham Inggs (ginggs) wrote :

See: https://launchpad.net/ubuntu/+source/p4vasp

The version of p4vasp in 16.04 lists some fixes, and the version in 18.04 is the latest (last) upstream version.

I suggest upgrading Ubuntu.

Revision history for this message
Mikle (dftsher) wrote :

Thank you for your suggestion. I`ve installed Mint-19.2 based on Ubuntu 18.04. And now band structre is ploting, but I cannot export graph. p4vasp writes:
(p4v.py:15692):libglade-WARNING **; 04:20:50.413: unknown attribute `swapped` for <signal>
/usr/lib/python2.7/dist-packages/p4vasp/applet/GraphWindowApplet.py:266: GtkWarning: IA__gtk_widget_set_events: assertion '!gtk_widget_get_realized (widget)' failed
  x.set_events(event_mask)

Revision history for this message
Graham Inggs (ginggs) wrote :

Would you attach your input file and steps to reproduce the problem please?

Revision history for this message
Mikle (dftsher) wrote :

Do you mean input file that I got from vasp?

Revision history for this message
Mikle (dftsher) wrote :

I found my mistake when exporting the graph, you need to create a file with the required extension. Thank you for your help.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.