Forms Don't Show Up in Titanium

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Forms Don't Show Up in Titanium

Postby john1598360627 » Sat Jun 18, 2022 1:03 am

So I tried updating to Titanium. Using this guide.

https://servoy.github.io/servoy-doc/ng-titanium-migration.html

I updated the packages, and updated Servoy itself. I am now on version;

Code: Select all
Version: 2022.3.1.3743


I went into the settings and activated;

Code: Select all
* Start NG Client should launch Titanium NGClient
* Open forms with the Titanium NGClient Form Designer


However, all of my forms now show up like this;

nohttp_indev.png
nohttp_indev.png (320.53 KiB) Viewed 2735 times


Disabling the Titanium Form designer has me see the forms in developer. However, launching in the Titanium NG Client causes me unable to launch my application;

nohttp_web.png
nohttp_web.png (21.44 KiB) Viewed 2735 times


So, clearly something is going wrong with the forms. I'm not sure why.

I did notice when updating that I was getting this error message too;
badgateway.png
badgateway.png (55.6 KiB) Viewed 2735 times


I'm not sure what this means either. Maybe I'm not fully updated? I'm not sure.

Any idea of what to do here? Am I missing something for the Titanium update process? Should I update to the current Release Candidate?
john1598360627
 
Posts: 175
Joined: Tue Aug 25, 2020 3:03 pm

Re: Forms Don't Show Up in Titanium

Postby jcompagner » Wed Jun 22, 2022 3:09 pm

we need to see what the Titanium NGClient Build Console says as output

I think there is a problem compiling everything

titanium_ng_build_console.png
titanium_ng_build_console.png (23.47 KiB) Viewed 2644 times



maybe it doesn't do anything because it thinks its already up to date
for that trigger the copy once (copy and build is fine, no need to clean)

copy_ti_ng_sources.png
copy_ti_ng_sources.png (50.35 KiB) Viewed 2644 times


if you triggered that it should start building. and a lot of output should appear and that should end up with a long list of generated resources
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Forms Don't Show Up in Titanium

Postby jcompagner » Wed Jun 22, 2022 3:10 pm

that update url (subclipse) can just be removed from your update sites (in the preferences)
that update site is not valid anymore
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Forms Don't Show Up in Titanium

Postby john1598360627 » Wed Jun 22, 2022 11:43 pm

Hmmm.

So I disabled the two subclipse update sites. For whatever reason this allowed me to update Servoy Extra Components even though I could update all the other packages.

Then I did the 'Copy & Build' as you described.

Everything is still broken as it was before.

titanium_console.png
titanium_console.png (82.71 KiB) Viewed 2624 times


There's definitely something I'm missing.

Should I do a 'Clean Build'? Should I run the program as Administrator when doing this?
john1598360627
 
Posts: 175
Joined: Tue Aug 25, 2020 3:03 pm

Re: Forms Don't Show Up in Titanium

Postby jcompagner » Thu Jun 23, 2022 9:54 am

no a copy and build should be enough, this is really weird, i never have seen this before,
If you do a copy, then for sure it should start building...
so what packages do you have installed in the solution?

the subclise update site has nothing todo with servoy-extra or any of the webpackages that you install through the SPM, those are 2 completely different things.

The thing is if you do "Copy the Titanium NGClient sources" and then in the dialog "Copy and Build" then you should see something like this in the Build Console: (can be a bit different depending on the packages that you have)

---- Start to copy the Titanium NG sources
Tested package.json which is changed, starting to copy 0s
Copied all the sources 12s
Total time to copy done 13s

---- Starting Titanium NGClient source check (09:50:58.2407485)
need to install package C:\temp\release_target\projects\dialogs
need to install package C:\temp\release_target\projects\ngclientutils
need to install package C:\temp\release_target\projects\window
services ts file changed
LFC components ts file changed
components ts file changed
editor ts file changed
component modules ts file changed
Styles source changed
Assets source changed

xxxxxxxx


else go to that Titanum NG target folder and delete everything in that folder and then do a copy (it should be filled up again)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Forms Don't Show Up in Titanium

Postby john1598360627 » Fri Jun 24, 2022 10:59 pm

jcompagner wrote:no a copy and build should be enough, this is really weird, i never have seen this before,
If you do a copy, then for sure it should start building...
so what packages do you have installed in the solution?

the subclise update site has nothing todo with servoy-extra or any of the webpackages that you install through the SPM, those are 2 completely different things.

The thing is if you do "Copy the Titanium NGClient sources" and then in the dialog "Copy and Build" then you should see something like this in the Build Console: (can be a bit different depending on the packages that you have)

---- Start to copy the Titanium NG sources
Tested package.json which is changed, starting to copy 0s
Copied all the sources 12s
Total time to copy done 13s

---- Starting Titanium NGClient source check (09:50:58.2407485)
need to install package C:\temp\release_target\projects\dialogs
need to install package C:\temp\release_target\projects\ngclientutils
need to install package C:\temp\release_target\projects\window
services ts file changed
LFC components ts file changed
components ts file changed
editor ts file changed
component modules ts file changed
Styles source changed
Assets source changed

xxxxxxxx


else go to that Titanum NG target folder and delete everything in that folder and then do a copy (it should be filled up again)


Hmmmm. Ah! Deleting the target folder and relaunching Servoy fixed it! Thank you! Now I can run Titanium and the new form editor!


I guess something must of corrupted when it tried initially installing it, which was preventing the 'Copy & Build' to work properly :?: Luckily deleting that target to let it fresh re-install did the trick
john1598360627
 
Posts: 175
Joined: Tue Aug 25, 2020 3:03 pm


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 4 guests