Re: kivy plugin and kv files

2022-12-12 Thread Michele Petrazzo
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  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 [email protected]
>
>


Re: kivy plugin and kv files

2022-12-09 Thread Detlev Offenbach

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
[email protected]



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature