Package Details: mimeo 2023-1

Git Clone URL: https://aur.archlinux.org/mimeo.git (read-only, click to copy)
Package Base: mimeo
Description: Open files by MIME-type or file name using regular expressions.
Upstream URL: https://xyne.dev/projects/mimeo
Keywords: utilities
Licenses: GPL
Submitter: Xyne
Maintainer: Xyne
Last Packager: Xyne
Votes: 142
Popularity: 0.115853
First Submitted: 2009-12-16 02:54 (UTC)
Last Updated: 2023-04-10 20:15 (UTC)

Latest Comments

1 2 3 4 5 6 .. 12 Next › Last »

pmartinez commented on 2023-05-21 04:49 (UTC) (edited on 2023-05-21 04:51 (UTC) by pmartinez)

Is there something that should be fixed in this package? I have the following error when I execute mimeo:


Traceback (most recent call last):
  File "/usr/bin/mimeo", line 6, in <module>
    run_main()
  File "/usr/lib/python3.11/site-packages/Mimeo.py", line 2612, in run_main
    main(args=args)
  File "/usr/lib/python3.11/site-packages/Mimeo.py", line 2411, in main
    mimeo.load_mimeo_associations(fpath=pargs.assoc)
  File "/usr/lib/python3.11/site-packages/Mimeo.py", line 1294, in load_mimeo_associations
    self.mimeo_assocs = list(parse_mimeo_associations(path, reraise=True))
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/Mimeo.py", line 500, in parse_mimeo_associations
    regex = re.compile(line[2:])
            ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 227, in compile
    return _compile(pattern, flags)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
    p = _compiler.compile(pattern, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
    p = _parser.parse(p, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
    raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 2

I have the following package versions: python 3.11.3-1, python-pyxdg 0.28-2, file 5.44-3

pc00per commented on 2022-10-29 16:40 (UTC) (edited on 2022-10-29 16:41 (UTC) by pc00per)

mimeo --add category/type app.desktop doesn't default the applications, but rather adds it to added associations. I don't see any point of it. Nor there is an option under mimeo that sets the mimetype under [Default Applications] section.

musickiller commented on 2022-10-17 12:33 (UTC)

the issue still remains 😿

Xyne commented on 2022-07-23 22:25 (UTC)

@vlas I'll send a message to the site host. It seems a few people have been blocked recently.

vlas commented on 2022-07-22 12:09 (UTC)

@ectospasm: Of course I use it, lets look on PKGBUILD: source=(https://xyne.dev/...

ectospasm commented on 2022-07-21 01:02 (UTC)

@vlas: Instead of using Xyne's repo, just download the PKGBUILD from the AUR directly. It's Python so there shouldn't be too much to compile.

vlas commented on 2022-07-20 18:44 (UTC)

Can't upgrade - no access to xyne.dev without help of VPN https://i.imgur.com/4k3pZdq.png

Xyne commented on 2021-12-14 16:16 (UTC)

You can also use my repo to update automatically if you're not using an AUR helper. https://xyne.dev/repos/

nyi commented on 2021-12-14 12:03 (UTC)

@komex: Reinstalling the AUR package should fix that error. It is caused by a Python upgrade, but your AUR python packages are not aware of the upgrade. You thus need to rebuild all AUR packages using python.

komex commented on 2021-12-13 14:08 (UTC)

$ miemo
Traceback (most recent call last):
  File "/usr/bin/mimeo", line 5, in <module>
    from Mimeo import run_main
ModuleNotFoundError: No module named 'Mimeo'

How to fix it?