pacman-mirrors issueshttps://gitlab.manjaro.org/packages/core/pacman-mirrors/-/issues2018-11-20T11:55:08Zhttps://gitlab.manjaro.org/packages/core/pacman-mirrors/-/issues/1[TNV]Pacman mirror live ranking script broken2018-11-20T11:55:08ZElrondo46[TNV]Pacman mirror live ranking script brokenHi,
We have a problem with the pacman-mirrors live script, it never ends (the systemd process has no time limit)...
ISOS generated today
It is a major issue I thinkHi,
We have a problem with the pacman-mirrors live script, it never ends (the systemd process has no time limit)...
ISOS generated today
It is a major issue I thinkhttps://gitlab.manjaro.org/packages/core/pacman-mirrors/-/issues/2Fails to run on Manjaro ARM due to Gtk namespace not available2019-10-19T13:16:27ZTannerFails to run on Manjaro ARM due to Gtk namespace not availableI've had this problem for a long time and never had it resolved. I'm running Manjaro ARM on my Raspberry Pi 3 without any GUI and can never run 'pacman-mirrors' I always get this output:
```Traceback (most recent call last):
File "/...I've had this problem for a long time and never had it resolved. I'm running Manjaro ARM on my Raspberry Pi 3 without any GUI and can never run 'pacman-mirrors' I always get this output:
```Traceback (most recent call last):
File "/usr/bin/pacman-mirrors", line 23, in <module>
from pacman_mirrors import pacman_mirrors
File "/usr/lib/python3.7/site-packages/pacman_mirrors/pacman_mirrors.py", line 48, in <module>
from .pacman_mirrors_gui import chooseMirrors
File "/usr/lib/python3.7/site-packages/pacman_mirrors/pacman_mirrors_gui.py", line 22, in <module>
gi.require_version('Gtk', '3.0')
File "/usr/lib/python3.7/site-packages/gi/__init__.py", line 129, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gtk not available
```
It almost looks like it's looking for a GUI? Which is puzzling because this script doesn't show any GUI. If GTK is a requirement, why?https://gitlab.manjaro.org/packages/core/pacman-mirrors/-/issues/3stable-staging2020-03-02T07:51:09ZGhost Userstable-stagingThis build breaks mirror status and fasttrack
https://gitlab.manjaro.org/packages/core/pacman-mirrors/-/blob/stable-staging/PKGBUILD#L37-38
1. stable-staging is not included in repo.manjaro.org/status.json
2. because of number 1 - stat...This build breaks mirror status and fasttrack
https://gitlab.manjaro.org/packages/core/pacman-mirrors/-/blob/stable-staging/PKGBUILD#L37-38
1. stable-staging is not included in repo.manjaro.org/status.json
2. because of number 1 - status is shifted
Move `stable-staging` to the end of branches constant to avoid breaking the status and fasttrack logic.
```
BRANCHES = ("stable", "testing", "unstable", "stable-staging")
```
@philm @oberon @ste74
https://forum.manjaro.org/t/pacman-mirrors-f-is-adding-all-mirrors-from-my-custom-file-to-the-mirror-list-including-ones-that-are-not-up-to-date/127070/8https://gitlab.manjaro.org/packages/core/pacman-mirrors/-/issues/4ModuleNotFoundError: No module named 'pacman_mirrors'2021-12-30T15:40:39Zकारतोफ्फेलस्क्रिप्ट™ModuleNotFoundError: No module named 'pacman_mirrors'Hi, I just updated to `pacman-mirrors-4.23.2`, and I can't run `pacman-mirrors` anymore as I keep getting this error:
```
Traceback (most recent call last):
File "/usr/bin/pacman-mirrors", line 20, in <module>
from pacman_mirrors ...Hi, I just updated to `pacman-mirrors-4.23.2`, and I can't run `pacman-mirrors` anymore as I keep getting this error:
```
Traceback (most recent call last):
File "/usr/bin/pacman-mirrors", line 20, in <module>
from pacman_mirrors import pacman_mirrors
ModuleNotFoundError: No module named 'pacman_mirrors'
```
I've tried reinstalling the package, but that hasn't helped.https://gitlab.manjaro.org/packages/core/pacman-mirrors/-/issues/5Python 3.11 incompatibility2023-05-03T22:01:07ZMark WagiePython 3.11 incompatibility
```
Traceback (most recent call last):
File "/usr/bin/pacman-mirrors", line 20, in <module>
from pacman_mirrors import pacman_mirrors
File "/usr/lib/python3.11/site-packages/pacman_mirrors/pacman_mirrors.py", line 30, in <module...
```
Traceback (most recent call last):
File "/usr/bin/pacman-mirrors", line 20, in <module>
from pacman_mirrors import pacman_mirrors
File "/usr/lib/python3.11/site-packages/pacman_mirrors/pacman_mirrors.py", line 30, in <module>
import pacman_mirrors.functions.util
File "/usr/lib/python3.11/site-packages/pacman_mirrors/functions/util.py", line 27, in <module>
from pacman_mirrors.api import apifn
File "/usr/lib/python3.11/site-packages/pacman_mirrors/api/apifn.py", line 28, in <module>
from pacman_mirrors.constants import txt
File "/usr/lib/python3.11/site-packages/pacman_mirrors/constants/txt.py", line 22, in <module>
from pacman_mirrors.translation import i18n
File "/usr/lib/python3.11/site-packages/pacman_mirrors/translation/i18n.py", line 50, in <module>
gettext.bind_textdomain_codeset(APP_NAME, codeset=CODESET)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'gettext' has no attribute 'bind_textdomain_codeset'
```
The `bind_textdomain_codeset` function from the `gettext` module was removed in Python 3.11 and has been deprecated since Python 3.8.Mark WagieMark Wagiehttps://gitlab.manjaro.org/packages/core/pacman-mirrors/-/issues/6PKGBUILD installs to /usr/share/docs not /usr/share/doc.2023-12-26T13:19:13ZLawrence R. SteegerPKGBUILD installs to /usr/share/docs not /usr/share/doc.[Filesystem Hierarchy Standard - 4.11. /usr/share : Architecture-independent data](https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html)
Current:
```shell
install -Dm644 {AUTHORS,CHANGELOG,CONTRIBUTING,README}.md -t \
"$pk...[Filesystem Hierarchy Standard - 4.11. /usr/share : Architecture-independent data](https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html)
Current:
```shell
install -Dm644 {AUTHORS,CHANGELOG,CONTRIBUTING,README}.md -t \
"$pkgdir/usr/share/docs/$pkgname/"
```
Should be:
```shell
install -Dm644 {AUTHORS,CHANGELOG,CONTRIBUTING,README}.md -t \
"$pkgdir/usr/share/doc/$pkgname/"
```