Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install #495

Closed
MykytaDymchenko01624 opened this issue May 12, 2024 Discussed in #479 · 4 comments
Closed

Unable to install #495

MykytaDymchenko01624 opened this issue May 12, 2024 Discussed in #479 · 4 comments
Labels
ISSUE General issues

Comments

@MykytaDymchenko01624
Copy link

Discussed in #479

Originally posted by Prozarius May 4, 2024
I tried to install this DE on my old laptop with fresh installed Arch Linux, but ran into some problems. Where some commands could not be executed.
[./install.sh]: Command "yay -S --answerclear=a --noconfirm python-materialyoucolor-git gradience-git python-libsass python-material-colorutilities" has failed

Packages (5) python-libsass-0.23.0-1  python-libsass-debug-0.23.0-1  python-material-color-utilities-0.1.5-1  python-materialyoucolor-git-2.0.9.r1.g57ec2e4-1  python-materialyoucolor-git-debug-2.0.9.r1.g57ec2e4-1

Total Installed Size:  5.43 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]
(5/5) checking keys in keyring                                                                                                                           [##############################################################################################] 100%
(5/5) checking package integrity                                                                                                                         [##############################################################################################] 100%
(5/5) loading package files                                                                                                                              [##############################################################################################] 100%
(5/5) checking for file conflicts                                                                                                                        [##############################################################################################] 100%
(5/5) checking available disk space                                                                                                                      [##############################################################################################] 100%
:: Processing package changes...
(1/5) reinstalling python-material-color-utilities                                                                                                       [##############################################################################################] 100%
(2/5) reinstalling python-materialyoucolor-git                                                                                                           [##############################################################################################] 100%
(3/5) reinstalling python-materialyoucolor-git-debug                                                                                                     [##############################################################################################] 100%
(4/5) reinstalling python-libsass                                                                                                                        [##############################################################################################] 100%
(5/5) reinstalling python-libsass-debug                                                                                                                  [##############################################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
 -> Failed to install the following packages. Manual intervention is required:
python-cssutils - exit status 4
gradience-git - exit status 8
[./install.sh]: Command "yay -S --answerclean=a --noconfirm python-materialyoucolor-git gradience-git python-libsass python-material-color-utilities" has failed.
You may need to resolve the problem manually BEFORE repeating this command.
  r = Repeat this command (DEFAULT)
  e = Exit now
  i = Ignore this error and continue (your setup might not work correctly)
 [R/e/i]:

Then I tried to manually run these commands but some files did not pass the tests.

image
image

==> Starting check()...
==================================================================================================================== test session starts =====================================================================================================================
platform linux -- Python 3.12.3, pytest-8.1.2, pluggy-1.4.0
rootdir: /home/prozarius/.cache/yay/python-cssutils/src/cssutils-2.10.2
configfile: pytest.ini
plugins: typeguard-4.2.1, jaraco.test-5.4.0
collected 445 items

cssutils/tests/test_codec.py ......                                                                                                                                                                                                                    [  1%]
cssutils/tests/test_csscharsetrule.py ..........                                                                                                                                                                                                       [  3%]
cssutils/tests/test_csscomment.py .......                                                                                                                                                                                                              [  5%]
cssutils/tests/test_cssfontfacerule.py ...........                                                                                                                                                                                                     [  7%]
cssutils/tests/test_cssimportrule.py ..............                                                                                                                                                                                                    [ 10%]
cssutils/tests/test_cssmediarule.py .................                                                                                                                                                                                                  [ 14%]
cssutils/tests/test_cssnamespacerule.py ..........                                                                                                                                                                                                     [ 16%]
cssutils/tests/test_csspagerule.py ..............                                                                                                                                                                                                      [ 20%]
cssutils/tests/test_cssproperties.py ...                                                                                                                                                                                                               [ 20%]
cssutils/tests/test_cssrule.py ....                                                                                                                                                                                                                    [ 21%]
cssutils/tests/test_cssrulelist.py ..                                                                                                                                                                                                                  [ 22%]
cssutils/tests/test_cssstyledeclaration.py ........................                                                                                                                                                                                    [ 27%]
cssutils/tests/test_cssstylerule.py ............                                                                                                                                                                                                       [ 30%]
cssutils/tests/test_cssstylesheet.py ............................                                                                                                                                                                                      [ 36%]
cssutils/tests/test_cssunknownrule.py .......                                                                                                                                                                                                          [ 37%]
cssutils/tests/test_cssutils.py ........                                                                                                                                                                                                               [ 39%]
cssutils/tests/test_cssutilsimport.py .                                                                                                                                                                                                                [ 40%]
cssutils/tests/test_cssvalue.py xxxxxxxxxxxxxxxxxxxxx                                                                                                                                                                                                  [ 44%]
cssutils/tests/test_cssvariablesdeclaration.py .........                                                                                                                                                                                               [ 46%]
cssutils/tests/test_cssvariablesrule.py ..........                                                                                                                                                                                                     [ 48%]
cssutils/tests/test_domimplementation.py ....                                                                                                                                                                                                          [ 49%]
cssutils/tests/test_encutils.py .......                                                                                                                                                                                                                [ 51%]
cssutils/tests/test_errorhandler.py ..F.                                                                                                                                                                                                               [ 52%]
cssutils/tests/test_helper.py .....                                                                                                                                                                                                                    [ 53%]
cssutils/tests/test_marginrule.py ........                                                                                                                                                                                                             [ 55%]
cssutils/tests/test_medialist.py .........                                                                                                                                                                                                             [ 57%]
cssutils/tests/test_mediaquery.py ....                                                                                                                                                                                                                 [ 58%]
cssutils/tests/test_parse.py ...............                                                                                                                                                                                                           [ 61%]
cssutils/tests/test_prodparser.py .................                                                                                                                                                                                                    [ 65%]
cssutils/tests/test_profiles.py ........xxxxxx.............xxxxx                                                                                                                                                                                       [ 72%]
cssutils/tests/test_properties.py ..                                                                                                                                                                                                                   [ 73%]
cssutils/tests/test_property.py ........                                                                                                                                                                                                               [ 74%]
cssutils/tests/test_scripts_csscombine.py ..                                                                                                                                                                                                           [ 75%]
cssutils/tests/test_selector.py ........                                                                                                                                                                                                               [ 77%]
cssutils/tests/test_selectorlist.py .....                                                                                                                                                                                                              [ 78%]
cssutils/tests/test_serialize.py .............................                                                                                                                                                                                         [ 84%]
cssutils/tests/test_settings.py .                                                                                                                                                                                                                      [ 84%]
cssutils/tests/test_stylesheet.py .                                                                                                                                                                                                                    [ 85%]
cssutils/tests/test_tokenize2.py .............                                                                                                                                                                                                         [ 88%]
cssutils/tests/test_util.py .....................                                                                                                                                                                                                      [ 92%]
cssutils/tests/test_value.py .....................xxxxxxxxxx                                                                                                                                                                                           [ 99%]
cssutils/tests/test_x.py x                                                                                                                                                                                                                             [100%]

========================================================================================================================== FAILURES ==========================================================================================================================
_______________________________________________________________________________________________________________ TestErrorHandler.test_handlers _______________________________________________________________________________________________________________

self = <cssutils.tests.test_errorhandler.TestErrorHandler object at 0x7a1d8a92e390>

    @pytest.mark.network
    def test_handlers(self):
        "cssutils.log"
        s = self._setHandler()

        cssutils.log.setLevel(logging.FATAL)
        assert cssutils.log.getEffectiveLevel() == logging.FATAL

        cssutils.parseString('a { color: 1 }')
        assert s.getvalue() == ''

        cssutils.log.setLevel(logging.DEBUG)
        cssutils.parseString('a { color: 1 }')
        # TODO: Fix?
        # self.assertEqual(
        #     s.getvalue(),
        #     u'ERROR    Property: Invalid value for "CSS Color Module '
        #     'Level 3/CSS Level 2.1" property: 1 [1:5: color]\n')
        assert (
            s.getvalue() == 'ERROR    Property: Invalid value for "CSS Level 2.1" '
            'property: 1 [1:5: color]\n'
        )

        s = self._setHandler()

        cssutils.log.setLevel(logging.ERROR)
        cssutils.parseUrl('http://example.com')
>       assert s.getvalue()[:38] == 'ERROR    Expected "text/css" mime type'
E       assert '' == 'ERROR    Exp...ss" mime type'
E
E         - ERROR    Expected "text/css" mime type

cssutils/tests/test_errorhandler.py:118: AssertionError
--------------------------------------------------------------------------------------------------------------------- Captured log call ----------------------------------------------------------------------------------------------------------------------
ERROR    IGNORED-CSSUTILS-TEST:errorhandler.py:105 Property: Invalid value for "CSS Level 2.1" property: 1 [1:5: color]
====================================================================================================================== warnings summary ======================================================================================================================
cssutils/_fetchgae.py:6
  /home/prozarius/.cache/yay/python-cssutils/src/cssutils-2.10.2/cssutils/_fetchgae.py:6: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
    import cgi

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================================================================================================== short test summary info ===================================================================================================================
FAILED cssutils/tests/test_errorhandler.py::TestErrorHandler::test_handlers - assert '' == 'ERROR    Exp...ss" mime type'
==================================================================================================== 1 failed, 401 passed, 43 xfailed, 1 warning in 3.94s ====================================================================================================
==> ERROR: A failure occurred in check().
    Aborting...

I can run Hyprland but have only blank screen and i can run only terminal via shortcuts. I don't know if it's a problem with some of the files or if it's just something I did wrong but I followed the installation on the wiki completely.

@b4shful
Copy link
Contributor

b4shful commented May 12, 2024

(just some additional info which might solve your issue based on things I've had to do before as a user of these dotfiles)

@Prozarius Check if your issue is similar to #342 and see if anything there helps?

As an additional troubleshooting step, try removing the yay cache (rm -rf ~/.cache/yay) and re-running the installer.

@MNDIA
Copy link

MNDIA commented Jun 13, 2024

gradience-git depends on yapsy, but yapsy is removed and the install script doesn't work because of the non-existent dependency.

GradienceTeam/Gradience#890 (comment)

@TacShot
Copy link

TacShot commented Oct 3, 2024

any workarounds yet?

@clsty
Copy link
Collaborator

clsty commented Feb 7, 2025

The installation process has been greatly improved, and for python packages we have #1060 so this should be fine now. Closing.

@clsty clsty closed this as completed Feb 7, 2025
@clsty clsty added the ISSUE General issues label Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ISSUE General issues
Projects
None yet
Development

No branches or pull requests

5 participants