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

1.5.0: One test fails #142

Closed
yurivict opened this issue Mar 25, 2023 · 7 comments
Closed

1.5.0: One test fails #142

yurivict opened this issue Mar 25, 2023 · 7 comments

Comments

@yurivict
Copy link

===>  Testing for curtail-1.5.0
===>   curtail-1.5.0 depends on file: /usr/local/bin/python3.9 - found
[  0% 1/1] /usr/local/bin/meson test --no-rebuild --print-errorlogs
1/3 Validate desktop file          OK              0.09s
2/3 Validate schema file           OK              0.06s
3/3 Validate appstream file        FAIL            0.31s   exit status 1
>>> MALLOC_PERTURB_=115 /usr/local/bin/appstream-util validate data/com.github.huluti.Curtail.appdata.xml
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀  ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
stdout:
data/com.github.huluti.Curtail.appdata.xml: FAILED:
• style-invalid         : <image> has vertical padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen1.png]
• style-invalid         : <image> has horizontal padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen1.png]
• style-invalid         : <image> has vertical padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen2.png]
• style-invalid         : <image> has horizontal padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen2.png]
• style-invalid         : <image> has vertical padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen3.png]
• style-invalid         : <image> has horizontal padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen3.png]
stderr:
Validation of files failed
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――


Summary of Failures:

3/3 Validate appstream file FAIL            0.31s   exit status 1

Ok:                 2   
Expected Fail:      0   
Fail:               1   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   

Full log written to /usr/ports/graphics/curtail/work/Curtail-1.5.0/_build/meson-logs/testlog.txt
FAILED: meson-internal__test 
/usr/local/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.

clang-14
FreeBSD 13.1

@Huluti
Copy link
Owner

Huluti commented Mar 31, 2023

@bertob should I remove padding from screenshots?

@bertob
Copy link
Contributor

bertob commented Apr 2, 2023

Not sure what you mean by padding in the context of screenshots

@Huluti
Copy link
Owner

Huluti commented Apr 2, 2023

Seems to be the errors reported here:

• style-invalid         : <image> has vertical padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen1.png]
• style-invalid         : <image> has horizontal padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen1.png]
• style-invalid         : <image> has vertical padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen2.png]
• style-invalid         : <image> has horizontal padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen2.png]
• style-invalid         : <image> has vertical padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen3.png]
• style-invalid         : <image> has horizontal padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen3.png]

@bertob
Copy link
Contributor

bertob commented Apr 3, 2023

Huh, not sure what that means. Does it still happen if you just retake the screenshot?

@gavr123456789
Copy link

gavr123456789 commented Apr 6, 2023

Same error on Arch GNOME 43 when building from AUR https://aur.archlinux.org/packages/curtail-git

[19/19] Generating data/com.github.hul...tail.appdata.xml with a custom command
==> Starting check()...
ninja: no work to do.
ninja: Entering directory `/home/gavr/.cache/yay/curtail-git/src/build'
ninja: no work to do.
1/3 Validate desktop file          OK              0.01s
2/3 Validate schema file           OK              0.00s
3/3 Validate appstream file        FAIL            0.26s   exit status 1
>>> MALLOC_PERTURB_=194 /usr/bin/appstream-util validate data/com.github.huluti.Curtail.appdata.xml
――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
stdout:
data/com.github.huluti.Curtail.appdata.xml: FAILED:
• style-invalid         : <image> has vertical padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen1.png]
• style-invalid         : <image> has horizontal padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen1.png]
• style-invalid         : <image> has vertical padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen2.png]
• style-invalid         : <image> has horizontal padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen2.png]
• style-invalid         : <image> has vertical padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen3.png]
• style-invalid         : <image> has horizontal padding [https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen3.png]
stderr:
Validation of files failed
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――


Summary of Failures:

3/3 Validate appstream file FAIL            0.26s   exit status 1

Ok:                 2   
Expected Fail:      0   
Fail:               1   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   

Full log written to /home/gavr/.cache/yay/curtail-git/src/build/meson-logs/testlog.txt
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: curtail-git

@Huluti
Copy link
Owner

Huluti commented Apr 8, 2023

Should be fixed in ab0e268.

$ appstream-util validate data/com.github.huluti.Curtail.appdata.xml.in 
data/com.github.huluti.Curtail.appdata.xml.in: OK

@Huluti Huluti closed this as completed Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants