Bug 7003

Problems with PowerClient converted application 15 November, 2021

Moritz Venn
26 July, 2021
Product: PowerBuilder Category: PowerClient
Version: 2019 R3 Build: 2670
Classification: Issue Publishing: Public
Priority: P3
Status: Analyzing Reason:
Communication Status: Waiting for Customer
Kai Zhao @Appeon 15 November, 2021
#8
Hi Moritz,

I'm just touching base with you about this ticket.  

Did we provide you with enough information to resolve this issue?
Please let us know if there is something else to support you with.  

Regards,
Kai
Kai Zhao @Appeon 04 November, 2021
#7
Hi Moritz,

I would like to check with you if the response provided has been helpful enough
to resolve your case. If so, can we proceed to close the ticket?
Otherwise, do let us know if we can provide you with any further assistance and
keep in mind that you are always welcome to open another ticket in case you
need it.

Regards,
Kai
Kai Zhao @Appeon 22 August, 2021
#6
Hi Moritz,

Good news that PowerBuilder 2019 R3 MR (build 2728) is available for download.
Please download and install it to verify the unable to locate multiple objects issue you reported and let us know if there is still any problem. You can get the installer from our Downloads portal at
https://account.appeon.com/download (login required).

We welcome all feedback from you!


Regards,
ZhaoKai
Kai Zhao @Appeon 28 July, 2021
#5
Hi Moritz,

For the unable to locate multiple objects issue, the object cannot be found despite that the files are all downloaded successfully might be due to too many files to load. This is a known issue and will be fixed in the next version which is planned to be released in early August. I will let you know once it is ready to be downloaded.

For the “updater process seems to be very sensitive to errors” issue, is it because it uses a large number of big-size external files? I suggest adding the external files to Files preloaded as compressed packages in PowerClient project, please refer to the article below for details.
https://docs.appeon.com/pb2019r3/pbug/ch07s03.html#defining_an_ica_project

Regards,
ZhaoKai
Moritz Venn 27 July, 2021
#4
As I mentioned in my original post: "Those files were successfully generated by the compiler and can be found in the filesystem.".

PowerBuilder successfully generated those files and moved it to the folder shared by IIS. After several retries (the other mentioned problem) the PowerClient downloaded all files and launches the application which then fails to locate the previously downloaded objects.
So they are present in both the webroot and %AppData%. The application has already been set to download completely.

It probably can't be seen easily, but screenshot 6db06106-d535-456b-894b-8d4809861523.jpg is of a stuck download process.
Seemingly at random the downloader process no longer downloads new files and for example is stuck on 11465/12714. I kept it going for over 10 minutes without any sign of continued activity after which i tried killing the process via Task Manager. This was not possible ("Access denied" if I remember correctly) so I had to reboot my computer to continue downloading the application. The process then continued until it either got stuck again or the application was downloaded completely and tried to launch.
I will make sure to rerun this process with IIS logging fixed to hopefully be able to provide more information.
Kai Zhao @Appeon 27 July, 2021
#3
Hi Moritz,

For the unable to locate multiple objects issue, please make sure the application files have been uploaded to the web server and downloaded to the client successfully.

The PB object will be exported to separate files and uploaded to the web server, for example, the global function will be exported to %function name%.fun.zip; window object will be exported to %boject name%.win.zip, etc.. and the suffix “.zip” will be removed from the file names after they are downloaded to the client machine (C:\Users\%Windows user%\AppData\Roaming\PBApps\Applications).

For a big complicated application, it’s suggested to go to PowerClient project -> Deployment tab, and set Download options to ‘Download all the app files at app startup ’, which can avoid the situation where the application files haven’t been downloaded completely when needed due to the large amount from happening. Please refer to the article below for details.
https://docs.appeon.com/pb2019r3/pbug/ch07s03.html#defining_an_ica_project


For the “updater process seems to be very sensitive to errors” issue, sorry that I don't quite understand the issue, did you package your application and install it to IIS (web server)? Please provide a screenshot or video to elaborate on the issue for more study, thanks.

Regards,
ZhaoKai
Hi Moritz,

Thanks for reporting this issue.
I'll now transfer it to our Main Support/Engineering team for their review.

Regards,
Francisco
Moritz Venn 26 July, 2021
#1
PowerClient.zip (13KB)

While trying to port our Application to the PowerClient deployment mechanism multiple problems caused a halt on our end.

The VM appears to be unable to locate multiple objects (R0008, R0022 - see attached screenshots).
Those files were successfully generated by the compiler and can be found in the filesystem.
The function mentioned in the R0008 screenshot exists in the same pbl file as the object referencing it in this instance, it is also referenced in the .idx files of the folder - though since I don't know the proper format of those files I can only verify that their names can be found.

I tried reproducing this issue in an insolated project but so far was unable to do so, hence the vague report.


Additionally the updater process seems to be very sensitive to errors.
During my tests with a local IIS installation it got stuck repeatedly. To make matters worse I was unable to kill the process leaving a reboot as the only option to continue the update procedure.
Unfortunately I am unable to produce logfiles of the IIS server at this time.
OS:
Windows 10
Platform:
64-bit
Database Type:
Microsoft SQL Server
Database Version: