Bug 1174494

Summary: internal error while opening YaST2 1-Click install file
Product: [openSUSE] openSUSE Tumbleweed Reporter: Amir Ganji <amir.gi73>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: amir.gi73, fkrueger
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: logs from save_y2logs command

Description Amir Ganji 2020-07-26 08:46:33 UTC
Created attachment 840045 [details]
logs from save_y2logs command

Tumbleweed Clean install from the latest Snapshot available and the system is  updated. When I try to open a .ymp file (downloaded from software.opensuse.org) I get an error saying:

[CODE]Internal error. Please report a bug report with logs.
Run save_y2logs to get complete logs.

Caller: /usr/share/YaST2/modules/XML.rb:168:in `XMLToYCPFile'

Details: Failed to load Module 'UserSettings' due to: Cannot find XML file[/CODE]

logs from save_y2logs is attached.
Comment 1 Frank Krüger 2020-07-26 10:32:29 UTC
Works fine here with TW20200721 using YaST and OneClickInstallCLI from the command line. As for the latter, please note that you must use the full path name for the ymp file.
Comment 2 Amir Ganji 2020-07-26 10:40:12 UTC
(In reply to Frank Krüger from comment #1)
> Works fine here with TW20200721 using YaST and OneClickInstallCLI from the
> command line. As for the latter, please note that you must use the full path
> name for the ymp file.

I checked and You are right, using OneClickInstallCLI it works fine, but double clicking the downloaded .ymp file, or using OneClickInstallUI throws the same error I mentioned above.
Comment 3 Frank Krüger 2020-07-26 10:54:50 UTC
For the sake of curiosity, what does 'rpm -q --provides yast2-users-YOUR_VERSION' give?
Comment 4 Amir Ganji 2020-07-26 11:13:40 UTC
(In reply to Frank Krüger from comment #3)
> For the sake of curiosity, what does 'rpm -q --provides
> yast2-users-YOUR_VERSION' give?

>> rpm -q --provides yast2-users-4.3.4-1.1
application()
application(YaST2/org.opensuse.yast.Users.desktop)
libpy2ag_crack.so.2()(64bit)
libtool(/usr/lib64/YaST2/plugin/libpy2ag_crack.la)
metainfo()
metainfo(org.opensuse.yast.Users.metainfo.xml)
perl(Users)
perl(UsersCache)
perl(UsersLDAP)
perl(UsersPasswd)
perl(UsersPluginKerberos)
perl(UsersPluginLDAPAll)
perl(UsersPluginLDAPPasswordPolicy)
perl(UsersPluginLDAPShadowAccount)
perl(UsersPluginQuota)
perl(UsersPlugins)
perl(UsersRoutines)
perl(UsersSimple)
perl(YaPI::ADMINISTRATOR) = 1.0.0
perl(YaPI::USERS) = 1.0.0
yast2-users = 4.3.4-1.1
yast2-users(x86-64) = 4.3.4-1.1
Comment 5 Frank Krüger 2020-07-26 12:04:16 UTC
I guess you have already performed a 'zypper dup' with only the standard Tumbleweed repos enabled (oss, non-oss, update), plus Packman if you wish.
Comment 6 Amir Ganji 2020-07-26 12:14:04 UTC
(In reply to Frank Krüger from comment #5)
> I guess you have already performed a 'zypper dup' with only the standard
> Tumbleweed repos enabled (oss, non-oss, update), plus Packman if you wish.

Yes I had.

asus:/home/amir # zypper repos
Repository priorities are without effect. All enabled repositories share the same priority.

# | Alias                                | Name                       | Enabled | GPG Check | Refresh
--+--------------------------------------+----------------------------+---------+-----------+--------
1 | download.opensuse.org-non-oss        | Main Repository (NON-OSS)  | Yes     | (r ) Yes  | Yes
2 | download.opensuse.org-oss            | Main Repository (OSS)      | Yes     | (r ) Yes  | Yes
3 | download.opensuse.org-tumbleweed     | Main Update Repository     | Yes     | (r ) Yes  | Yes
4 | openSUSE-20200721-0                  | openSUSE-20200721-0        | No      | ----      | ----
5 | packman.inode.at-openSUSE_Tumbleweed | Packman Repository         | Yes     | (r ) Yes  | Yes
6 | repo-debug                           | openSUSE-Tumbleweed-Debug  | No      | ----      | ----
7 | repo-source                          | openSUSE-Tumbleweed-Source | No      | ----      | ----
8 | snappy                               | snappy                     | No      | ----      | ----
9 | spotify-easyrpm                      | spotify-easyrpm            | No      | ----      | -


asus:/home/amir # zypper dup
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...

The following item is locked and will not be changed by any action:
 Available:
  Mesa-dri-nouveau

Nothing to do.
Comment 7 Frank Krüger 2020-07-26 13:33:08 UTC
Just realized that it is a dup of 1173781. The fix has been accepted but not yet published (cf. https://build.opensuse.org/request/show/822145).

*** This bug has been marked as a duplicate of bug 1173781 ***