issue on ubuntu 24.04 for pdfgui2

49 views
Skip to first unread message

Monica Dapiaggi

unread,
Dec 16, 2024, 2:39:16 AM12/16/24
to diffpy-users
Dear all,
I have a new pc with Ubuntu 24.04. I installed pdfgui2 (no issue with the installation).
When I start it, this is what I get. I tried looking for similar issues, but got no result.
what am I missing?

Best,
Monica


Gtk-Message: 08:20:51.192: Failed to load module "atk-bridge"
Gtk-Message: 08:20:51.193: Failed to load module "canberra-gtk-module"
08:20:51: Debug: Adding duplicate image handler for 'Windows bitmap file'
08:20:51: Debug: Adding duplicate animation handler for '1' type
08:20:51: Debug: Adding duplicate animation handler for '2' type
Traceback (most recent call last):
  File "/home/mdapiaggi/anaconda3/envs/pdfgui2/lib/python3.9/site-packages/diffpy/pdfgui/gui/main.py", line 23, in OnInit
    from diffpy.pdfgui.gui.mainframe import MainFrame
  File "/home/mdapiaggi/anaconda3/envs/pdfgui2/lib/python3.9/site-packages/diffpy/pdfgui/gui/mainframe.py", line 37, in <module>
    from diffpy.pdfgui.gui.phasenotebookpanel import PhaseNotebookPanel
  File "/home/mdapiaggi/anaconda3/envs/pdfgui2/lib/python3.9/site-packages/diffpy/pdfgui/gui/phasenotebookpanel.py", line 28, in <module>
    from diffpy.pdfgui.gui.phaseconfigurepanel import PhaseConfigurePanel
  File "/home/mdapiaggi/anaconda3/envs/pdfgui2/lib/python3.9/site-packages/diffpy/pdfgui/gui/phaseconfigurepanel.py", line 22, in <module>
    from diffpy.pdffit2 import is_element
  File "/home/mdapiaggi/anaconda3/envs/pdfgui2/lib/python3.9/site-packages/diffpy/pdffit2/__init__.py", line 25, in <module>
    from diffpy.pdffit2.pdffit import PdfFit
  File "/home/mdapiaggi/anaconda3/envs/pdfgui2/lib/python3.9/site-packages/diffpy/pdffit2/pdffit.py", line 29, in <module>
    from diffpy.pdffit2 import pdffit2
ImportError: cannot import name 'pdffit2' from partially initialized module 'diffpy.pdffit2' (most likely due to a circular import) (/home/mdapiaggi/anaconda3/envs/pdfgui2/lib/python3.9/site-packages/diffpy/pdffit2/__init__.py)
OnInit returned false, exiting...

Simon Billinge

unread,
Dec 16, 2024, 6:20:30 AM12/16/24
to diffpy...@googlegroups.com
THanks Monica,

I recognize that error and I think we have a fix.  I am not sure if everything is pushed all the way out.  

Sorry to ask, but please can you copy-paste exactly the commands you used to do the installation (you may have to redo the installation to get that....sorry!).  I think we can send you a set of commands that will work.....

A new release of PDFgui is on the way which should fix the problem in general.

Thanks for reporting it.

S

--
You received this message because you are subscribed to the Google Groups "diffpy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to diffpy-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/diffpy-users/0e257414-ece3-46ac-a3dc-d80dfc4f6bf6n%40googlegroups.com.


--
Simon Billinge
Professor, 
Department of Applied Physics and Applied Mathematics
Columbia University

Monica

unread,
Dec 16, 2024, 6:23:05 AM12/16/24
to diffpy...@googlegroups.com, diffpy...@googlegroups.com
I did exactly what is written on the web site. I have anaconda installed (not mini). 
After installation (nothing went wrong) I tried the command directly and i got that error. Same exact thing happened on another pc with the same Ubuntu version 

Monica 
---
Monica Dapiaggi

Il giorno 16 dic 2024, alle ore 12:20, Simon Billinge <sb2...@columbia.edu> ha scritto:



Simon Billinge

unread,
Dec 16, 2024, 7:06:58 AM12/16/24
to diffpy...@googlegroups.com
ok, thanks.  I need to check the installation syntax that gets you the fixed version.....

Reply all
Reply to author
Forward
0 new messages