Re: [SailfishDevel] Problems with the emulator (I think)
Hi, I mentioned it on a later message, but everything seems to work now. Thanks everyone! -- Lauri Lavanti laurilava...@gmail.com -- Lähettäjä: Juha Kallioinen Lähetetty: 18.11.2013 0:17 Vastaanottaja: Sailfish OS Developers Aihe: Re: [SailfishDevel] Problems with the emulator (I think) Hi Lauri, you don't mention which SDK installer you have used. That would be vital information in troubleshooting this and any future problems :-) None of the problems below seem to concern the SDK emulator. I believe these are build time problems? On 16.11.2013 12:42, Lavanti Lauri wrote: Hi all, First time on this list, so sorry if this is an old problem but: When I created my new project on SailfishOS IDE the main.cpp file complains that: #include ”No such file or directory” The sailfishapp.h is part of the libsailfishapp-devel package, which is preinstalled in the latest "1310" installer targets released last month. If you have an older SDK, then this package might not yet be available. If you are using the latest SDK, then with this information at hand, I cannot fathom why it would not be found. When you say "When I created my new project", how did you create it? And whenever I try to add a package to my sdk it says the following (as an example): Operation Progress finished: installing package jolla-sailfish-core - exited with status 0 Loading repository data... Reading installed packages... 'jolla-sailfish-core' not found in package names. Trying capabilities. No provider of 'jolla-sailfish-core' found. Synchronising target to host cannot delete non-empty directory: usr/bin Sync completed This looks perfectly fine, although unnecessarily cryptic. There is in fact no package called "jolla-sailfish-core". The jolla-sailfish-core is a pattern, not a package. A pattern is metadata describing a collection of packages. Unfortunately the web management view does not understand that and shows it as a normal package and tries to install it as a normal package. What's happening in the background is that the web management calls zypper install for the "package", but since there's no such package, it does nothing and unnecessarily syncs the results between the target and the host. If you try to add some real package, then it should report something different. Best regards, Juha Thank you J -- Lauri Lavanti lauri.lava...@aalto.fi ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Problems with the emulator (I think)
Hi Lauri, you don't mention which SDK installer you have used. That would be vital information in troubleshooting this and any future problems :-) None of the problems below seem to concern the SDK emulator. I believe these are build time problems? On 16.11.2013 12:42, Lavanti Lauri wrote: Hi all, First time on this list, so sorry if this is an old problem but: When I created my new project on SailfishOS IDE the main.cpp file complains that: #include "No such file or directory" The sailfishapp.h is part of the libsailfishapp-devel package, which is preinstalled in the latest "1310" installer targets released last month. If you have an older SDK, then this package might not yet be available. If you are using the latest SDK, then with this information at hand, I cannot fathom why it would not be found. When you say "When I created my new project", how did you create it? And whenever I try to add a package to my sdk it says the following (as an example): Operation Progress finished: installing package jolla-sailfish-core - exited with status 0 Loading repository data... Reading installed packages... 'jolla-sailfish-core' not found in package names. Trying capabilities. No provider of 'jolla-sailfish-core' found. Synchronising target to host cannot delete non-empty directory: usr/bin Sync completed This looks perfectly fine, although unnecessarily cryptic. There is in fact no package called "jolla-sailfish-core". The jolla-sailfish-core is a pattern, not a package. A pattern is metadata describing a collection of packages. Unfortunately the web management view does not understand that and shows it as a normal package and tries to install it as a normal package. What's happening in the background is that the web management calls zypper install for the "package", but since there's no such package, it does nothing and unnecessarily syncs the results between the target and the host. If you try to add some real package, then it should report something different. Best regards, Juha Thank you J -- Lauri Lavanti lauri.lava...@aalto.fi ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Problems with the emulator (I think)
Perhaps your project configuration still has some old SDK paths in it. Two different ways of fixing this: - Delete and Re-add the SailfishOS kit(s) in the "Project" mode in Qt Creator - Manually delete the .user file from you project folder and open the Project in Qt Creator Cheers, Alessandro On Sat, Nov 16, 2013 at 7:27 PM, Lauri Lavanti wrote: > Haha :D > > > > Now Qt creator doesn’t complain about it, but when I try to run it on the > emulator it says ”Sailfish has not been declared” and when I try to install > new packages it still says the same thing, so almost there > > > > -- > > Lauri Lavanti > > laurilava...@gmail.com > > > > *Lähettäjä:* devel-boun...@lists.sailfishos.org [mailto: > devel-boun...@lists.sailfishos.org] *Puolesta *Alessandro Portale > *Lähetetty:* 16. marraskuuta 2013 20:04 > *Vastaanottaja:* Sailfish OS Developers > *Aihe:* Re: [SailfishDevel] Problems with the emulator (I think) > > > > Something that helped a few times against Alpha update hiccups is deleting > the SDK settings which are somewhere (typing from my lousy memory) > c:\...\Roaming\MerSdkAlpha and then start your Qt Creator. > > > > Hope that helps, > > Alessandro > > On Saturday, November 16, 2013, Lauri Lavanti wrote: > > Okay, a little background. > > I had the old alpha version installed under Program Files (windows) and > after I uninstalled it and installed the new version I got the problem I > described earlier. > > Another symptom of the problem has been, when I try to install it straight > to C (not under Program Files) it can't find the emulators at all, or it > "finds" them under the old install folder in Program Files (even though it > doesn't exist at all anymore). > > Please if any of you can help me I'd be sooo happy, because I can't > develop at all at the moment. > > -- > Lauri Lavanti > laurilava...@gmail.com > -- > > *Lähettäjä: *Lavanti Lauri > *Lähetetty: *16.11.2013 13:20 > *Vastaanottaja: *devel@lists.sailfishos.org > *Aihe: *[SailfishDevel] Problems with the emulator (I think) > > Hi all, > > > > First time on this list, so sorry if this is an old problem but: > > When I created my new project on SailfishOS IDE the main.cpp file > complains that: > > #include > ”No such file or directory” > > And whenever I try to add a package to my sdk it says the following (as an > example): > > Operation Progress > > finished: installing package > jolla-sailfish-core - exited with status 0 > > > > Loading repository data... > > Reading installed packages... > > 'jolla-sailfish-core' not found in package names. Trying capabilities. > > No provider of 'jolla-sailfish-core' found. > > Synchronising target to host > > cannot delete non-empty directory: usr/bin > > Sync completed > > > > Thank you J > > > > -- > > Lauri Lavanti > > lauri.lava...@aalto.fi > > > > > -- ><http://www.avast.com/> > > Tässä sähköpostiviestissä ei ole viruksia eikä haittaohjelmia, koska avast! > Antivirus <http://www.avast.com/> suojaus on käytössä. > > > ___ > SailfishOS.org Devel mailing list > ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Problems with the emulator (I think)
Haha :D Now Qt creator doesnt complain about it, but when I try to run it on the emulator it says Sailfish has not been declared and when I try to install new packages it still says the same thing, so almost there -- Lauri Lavanti laurilava...@gmail.com Lähettäjä: devel-boun...@lists.sailfishos.org [mailto:devel-boun...@lists.sailfishos.org] Puolesta Alessandro Portale Lähetetty: 16. marraskuuta 2013 20:04 Vastaanottaja: Sailfish OS Developers Aihe: Re: [SailfishDevel] Problems with the emulator (I think) Something that helped a few times against Alpha update hiccups is deleting the SDK settings which are somewhere (typing from my lousy memory) c:\...\Roaming\MerSdkAlpha and then start your Qt Creator. Hope that helps, Alessandro On Saturday, November 16, 2013, Lauri Lavanti wrote: Okay, a little background. I had the old alpha version installed under Program Files (windows) and after I uninstalled it and installed the new version I got the problem I described earlier. Another symptom of the problem has been, when I try to install it straight to C (not under Program Files) it can't find the emulators at all, or it "finds" them under the old install folder in Program Files (even though it doesn't exist at all anymore). Please if any of you can help me I'd be sooo happy, because I can't develop at all at the moment. -- Lauri Lavanti laurilava...@gmail.com _ Lähettäjä: Lavanti Lauri Lähetetty: 16.11.2013 13:20 Vastaanottaja: devel@lists.sailfishos.org Aihe: [SailfishDevel] Problems with the emulator (I think) Hi all, First time on this list, so sorry if this is an old problem but: When I created my new project on SailfishOS IDE the main.cpp file complains that: #include No such file or directory And whenever I try to add a package to my sdk it says the following (as an example): Operation Progress finished: installing package jolla-sailfish-core - exited with status 0 Loading repository data... Reading installed packages... 'jolla-sailfish-core' not found in package names. Trying capabilities. No provider of 'jolla-sailfish-core' found. Synchronising target to host cannot delete non-empty directory: usr/bin Sync completed Thank you J -- Lauri Lavanti lauri.lava...@aalto.fi --- avast! Antivirus käynnissä, joten tässä sähköpostiviestissä ei ole viruksia tai haittaohjelmia. http://www.avast.com ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Problems with the emulator (I think)
Something that helped a few times against Alpha update hiccups is deleting the SDK settings which are somewhere (typing from my lousy memory) c:\...\Roaming\MerSdkAlpha and then start your Qt Creator. Hope that helps, Alessandro On Saturday, November 16, 2013, Lauri Lavanti wrote: > Okay, a little background. > > I had the old alpha version installed under Program Files (windows) and > after I uninstalled it and installed the new version I got the problem I > described earlier. > > Another symptom of the problem has been, when I try to install it straight > to C (not under Program Files) it can't find the emulators at all, or it > "finds" them under the old install folder in Program Files (even though it > doesn't exist at all anymore). > > Please if any of you can help me I'd be sooo happy, because I can't > develop at all at the moment. > > -- > Lauri Lavanti > laurilava...@gmail.com 'laurilava...@gmail.com');> > -- > Lähettäjä: Lavanti Lauri > Lähetetty: 16.11.2013 13:20 > Vastaanottaja: devel@lists.sailfishos.org 'devel@lists.sailfishos.org');> > Aihe: [SailfishDevel] Problems with the emulator (I think) > > Hi all, > > > > First time on this list, so sorry if this is an old problem but: > > When I created my new project on SailfishOS IDE the main.cpp file > complains that: > > #include > ”No such file or directory” > > And whenever I try to add a package to my sdk it says the following (as an > example): > > Operation Progress > > finished: installing package > jolla-sailfish-core - exited with status 0 > > > > Loading repository data... > > Reading installed packages... > > 'jolla-sailfish-core' not found in package names. Trying capabilities. > > No provider of 'jolla-sailfish-core' found. > > Synchronising target to host > > cannot delete non-empty directory: usr/bin > > Sync completed > > > > Thank you J > > > > -- > > Lauri Lavanti > > lauri.lava...@aalto.fi 'lauri.lava...@aalto.fi');> > > > ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Problems with the emulator (I think)
Okay, a little background. I had the old alpha version installed under Program Files (windows) and after I uninstalled it and installed the new version I got the problem I described earlier. Another symptom of the problem has been, when I try to install it straight to C (not under Program Files) it can't find the emulators at all, or it "finds" them under the old install folder in Program Files (even though it doesn't exist at all anymore). Please if any of you can help me I'd be sooo happy, because I can't develop at all at the moment. -- Lauri Lavanti laurilava...@gmail.com -- Lähettäjä: Lavanti Lauri Lähetetty: 16.11.2013 13:20 Vastaanottaja: devel@lists.sailfishos.org Aihe: [SailfishDevel] Problems with the emulator (I think) Hi all, First time on this list, so sorry if this is an old problem but: When I created my new project on SailfishOS IDE the main.cpp file complains that: #include ”No such file or directory” And whenever I try to add a package to my sdk it says the following (as an example): Operation Progress finished: installing package jolla-sailfish-core - exited with status 0 Loading repository data... Reading installed packages... 'jolla-sailfish-core' not found in package names. Trying capabilities. No provider of 'jolla-sailfish-core' found. Synchronising target to host cannot delete non-empty directory: usr/bin Sync completed Thank you J -- Lauri Lavanti lauri.lava...@aalto.fi ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Problems with the emulator (I think)
Enviado desde mi Windows Phone -- De: Lavanti Lauri Enviado: 16/11/2013 08:20 a.m. Para: devel@lists.sailfishos.org Asunto: [SailfishDevel] Problems with the emulator (I think) Hi all, First time on this list, so sorry if this is an old problem but: When I created my new project on SailfishOS IDE the main.cpp file complains that: #include ”No such file or directory” And whenever I try to add a package to my sdk it says the following (as an example): Operation Progress finished: installing package jolla-sailfish-core - exited with status 0 Loading repository data... Reading installed packages... 'jolla-sailfish-core' not found in package names. Trying capabilities. No provider of 'jolla-sailfish-core' found. Synchronising target to host cannot delete non-empty directory: usr/bin Sync completed Thank you J -- Lauri Lavanti lauri.lava...@aalto.fi ___ SailfishOS.org Devel mailing list
[SailfishDevel] Problems with the emulator (I think)
Hi all, First time on this list, so sorry if this is an old problem but: When I created my new project on SailfishOS IDE the main.cpp file complains that: #include "No such file or directory" And whenever I try to add a package to my sdk it says the following (as an example): Operation Progress finished: installing package jolla-sailfish-core - exited with status 0 Loading repository data... Reading installed packages... 'jolla-sailfish-core' not found in package names. Trying capabilities. No provider of 'jolla-sailfish-core' found. Synchronising target to host cannot delete non-empty directory: usr/bin Sync completed Thank you :) -- Lauri Lavanti lauri.lava...@aalto.fi ___ SailfishOS.org Devel mailing list