Problems with test app(never opens)

Community-Firmware (cfw), Selbstbaucontroller (TX-Pi, ftduino, usw.), usw.
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
IMore
Beiträge: 2
Registriert: 10 Jul 2019, 17:24

Problems with test app(never opens)

Beitrag von IMore » 10 Jul 2019, 17:34

Hello everyone, this is my first post so nice to meet you. This week I started my work with CFW on TXT and I tried to create a test app following the tutorial (https://cfw.ftcommunity.de/ftcommunity- ... ial-3.html).

When I use the .Zip file from page everything works fine, I can upload and open the app on TXT, but when I edited some elements(just name and icon) the app doesn't open in TXT. I can upload the app and the icon changes to the PNG I used but when I touch the app it only loads but never opens, so I need help with that. Hope you can help me and thanks for attention.

PHabermehl
Moderator
Beiträge: 1366
Registriert: 20 Dez 2014, 22:59
Wohnort: Bad Hersfeld

Re: Problems with test app(never opens)

Beitrag von PHabermehl » 11 Jul 2019, 13:01

Hi IMore,
Please consider that the TXT is a Linux based System. This means basically two things:
First, file names are case sensitive.
Second, you have to make sure that your editor saves the text files in Linux format. The main difference is that the EoL (end of line) mark. See http://www.cs.toronto.edu/~krueger/csc2 ... dings.html for example.

This would bei my first advices based on the little information given. Just ask again, in it did not help.

Kind regards
Peter
Moderative Beiträge sind explizit gekennzeichnet!

IMore
Beiträge: 2
Registriert: 10 Jul 2019, 17:24

Re: Problems with test app(never opens)

Beitrag von IMore » 11 Jul 2019, 17:08

PHabermehl hat geschrieben:Hi IMore,
Please consider that the TXT is a Linux based System. This means basically two things:
First, file names are case sensitive.
Second, you have to make sure that your editor saves the text files in Linux format. The main difference is that the EoL (end of line) mark. See http://www.cs.toronto.edu/~krueger/csc2 ... dings.html for example.

This would bei my first advices based on the little information given. Just ask again, in it did not help.

Kind regards
Peter
Hello PHabermehl, thank you so much for response!
I was reading about conversion dos2unix in windows and tried different methods. Then I finally found one using Notepad++ to make the conversion and my problem was solved. It's important to know that you need to convert Python and Manifest files(you select the folder with all your files) to make it work.

Thank you for help and hope this post can help other people with same problem in windows.
Dateianhänge
This what you need to do in Notepad++, go Search -> Find in file and then do this:
This what you need to do in Notepad++, go Search -> Find in file and then do this:

Benutzeravatar
MasterOfGizmo
Beiträge: 1804
Registriert: 30 Nov 2014, 07:44

Re: Problems with test app(never opens)

Beitrag von MasterOfGizmo » 11 Jul 2019, 23:15

We should actually make the cfw deal with windows line endings as well. I'll have a look at that...
ftDuino, der Arduino für fischertechnik: http://ftduino.de

Antworten