Testing OM-Welcome

So, after reading the recent messages I’m understanding that it’s repo-picker not ready for dnf5 yet.
I will pass on to @bero this information, as om-repo-picker is his baby, After Chwido and Laska of course :grin:
On the other hand OM is using dnf4 as default at this moment. This will change after the 6.0 release.
Thanks for the report.

No it does not.

Sure!

1 Like

I moved the topic to QA category because it seems to me more appropriated.

1 Like

How to run a local instance of om-welcome for debugging

For those who are (or not) familiar with git, here is lesson #2 :grin:

See https://github.com/OpenMandrivaSoftware/om-welcome

Clone git repository into a folder of your choice. Mine is named GIT:

– Look at the green button “<> Code” and you find the address you need. Pick the HTTPS one, click the clipboard icon
– Then open console in your folder and type
git clone followed by the address you just got (paste it in console)

git clone https://github.com/OpenMandrivaSoftware/om-welcome.git

This way you have obtained a local copy of the committed code, which may or may not yet be included in the rpms published

cd trough the newly created directories GIT/om-welcome/usr/share/om-welcome

– Now here is the command, as provided in the README file

htmlscript -s 1020x700 -i /usr/share/icons/openmandriva.svg index.sh.htm 2> /dev/null;

It will open the local instance of om-welcome for debug.

You can make changes and see how they would look and work.

:warning: Be aware that any input in the local instance will impact your system.
As an example if you click the upgrade system module you are going to actually upgrade your system and if you click the install foo, then foo will be installed. For your information :wink:

How to install git?

As usual:
sudo dnf install git --refresh

3 Likes

Yes, that’s correct. Thanks!

2 Likes

And that is why we test. :100:

2 Likes

Another Bug found on Cooker and latest version of om-welcome: When Chromium is deinstalled and then installed via om-welcome, the installation works, but the window with “Installing Chromium” is still open until manually closed.

2 Likes

@mKay the console output may help :wink:

I thought it wasn’t needed since it installs correctly and it just seems as if there is some kind of “close window” after the installation missing.

Here the logs: $ om-welcomeThe following paths were searched for Qt WebEngine locales: /us - Pastebin.com

1 Like

@mKay please remove chromium,
edit
usr/share/om-welcome/apps/install-chromium.run
according to
https://github.com/OpenMandrivaSoftware/om-welcome/blob/0448332a14a41cc890917fbe446d46ff14718af4/usr/share/om-welcome/apps/install-chromium.run
and try again.
Does it work?

Exactly the same behavior and console output. It installs correctly, a window with “Installation successful” pops up, but the “Installing Chromium” windows is still open. Chromium works and everything. It is just that the “Installing Chromium” windows doesn’t close itself, like it does with the other installations.

Thank you.
Investigating more.

@mKay please edit the above mentioned file with this content:
chromium.txt (565 Byte)

Works as expected! :+1:

1 Like

Ok I committed some changes.
If you can use git :arrow_up: and git pull the code it would be easier to test.

I don’t know if I got this working or not. All I get is a window that offers no explanation as to what it is.

@WilsonPhillips are you in the correct directory?

I think I am. I tried it again.

When I close it, I get the following.

┌──[wilson@heisenberg] Wed Jan 29, 10:44:37 [~/git/om-welcome] 
└──[ <$> htmlscript -s 1020x700 -i /usr/share/icons/openmandriva.svg index.sh.htm 2> /dev/null;om-welcome.desktop
bash: om-welcome.desktop: command not found

you should be in ~/git/om-welcome/usr/share/om-welcome

htmlscript -s 1020x700 -i /usr/share/icons/openmandriva.svg index.sh.htm 2> /dev/null;om-welcome.desktop

I shortened down to 

htmlscript -s 1020x700 -i /usr/share/icons/openmandriva.svg index.sh.htm 2> /dev/null;om-welcome

And when I closed it, I got the OM-Welcome, but a bunch of errors. I don’t know if I can ignore them.

┌──[wilson@heisenberg] Wed Jan 29, 10:55:43 [~/git/om-welcome/usr/share] 
└──[ <$> htmlscript -s 1020x700 -i /usr/share/icons/openmandriva.svg index.sh.htm 2> /dev/null;om-welcome.desktop
bash: om-welcome.desktop: command not found
┌──[wilson@heisenberg] Wed Jan 29, 10:56:11 [~/git/om-welcome/usr/share] 
└──[ <$> htmlscript -s 1020x700 -i /usr/share/icons/openmandriva.svg index.sh.htm 2> /dev/null;om-welcome
The following paths were searched for Qt WebEngine locales:
  /usr/lib64/qt6/translations/qtwebengine_locales
  /home/wilson/.OM Welcome
but could not find the translation file for the current locale: en-US.pak
You may override the default search paths by using QTWEBENGINE_LOCALES_PATH environment variable.
Translations WILL NOT be correct.
[0129/105627.605418:WARNING:resource_bundle_qt.cpp(83)] locale_file_path.empty() for locale 
The following paths were searched for Qt WebEngine locales:
  /usr/lib64/qt6/translations/qtwebengine_locales
  /home/wilson/.QtWebEngineProcess
but could not find the translation file for the current locale: en-US.pak
You may override the default search paths by using QTWEBENGINE_LOCALES_PATH environment variable.
Translations WILL NOT be correct.
[0129/105627.637323:WARNING:resource_bundle_qt.cpp(83)] locale_file_path.empty() for locale 
The following paths were searched for Qt WebEngine locales:
  /usr/lib64/qt6/translations/qtwebengine_locales
  /home/wilson/.QtWebEngineProcess
but could not find the translation file for the current locale: en-US.pak
You may override the default search paths by using QTWEBENGINE_LOCALES_PATH environment variable.
Translations WILL NOT be correct.
[0129/105627.638348:WARNING:resource_bundle_qt.cpp(83)] locale_file_path.empty() for locale 
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied