kivy plugin and kv files

Michele Petrazzo michele.petrazzo at gmail.com
Mon Dec 12 14:48:16 GMT 2022


Hi,
Thank You

Modified the 'Mimetypes' configuration and now .kv and .spec files are
loaded like a charm

Thansk


Il ven 9 dic 2022, 17:14 Detlev Offenbach <detlev at die-offenbachs.de> ha
scritto:

> Hello Michele,
>
> this unwanted behavior is caused by a change introduced in release 22.12.
> It is to avoid loading unknown (potentially big binary) files.
> Unfortunately it has the side effect, that quite a bunch of text files
> cannot be loaded anymore. However, that can be changed on the 'Mimetypes'
> configuration page by checking the option 'Load files of unknown types'.
> There will be a further change in release 23.1 which checks for a
> configurable list of known text file extensions (e.g. *.kv). That is
> already part of the sources of the source code repository (branch eric7).
>
> Regards,
> Detlev
> Am 09.12.22 um 15:19 schrieb Michele Petrazzo:
>
> Hi List,
> I'm trying to use eric7 (22.12) with kivy plugin (Kivy Project Plugin
> v.10.22) for edit the .kv files, but when I try to open .kv file, eric7
> tells me that: "the file *src-app/kv/main.kv* is not a text file. It will
> not be opened!"
>
> I look around, but all seem right and I don't know how to open the files
> with eric.
> The same with "buildozer.spec" file (it's a .ini file)
>
> Also the file association seems to be right.
>
> [image: immagine.png]
>
>
> Thanks,
> Michele
>
> --
> Detlev Offenbachdetlev at die-offenbachs.de
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20221212/f2a8b547/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: immagine.png
Type: image/png
Size: 31173 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20221212/f2a8b547/attachment-0001.png>


More information about the Eric mailing list