kivy plugin and kv files

Detlev Offenbach detlev at die-offenbachs.de
Fri Dec 9 16:14:13 GMT 2022


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.
>
> immagine.png
>
>
> Thanks,
> Michele
>
-- 
Detlev Offenbach
detlev at die-offenbachs.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20221209/45b5bba9/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/20221209/45b5bba9/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xBD1F26A5DA8A6150.asc
Type: application/pgp-keys
Size: 660 bytes
Desc: OpenPGP public key
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20221209/45b5bba9/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20221209/45b5bba9/attachment-0001.sig>


More information about the Eric mailing list