1. Simone Olianti
  2. Beta Testing
  3. Monday, 28 December 2020 14:58 PM UTC

Hello, i'm testing PowerClient on the PB2019 R3 Beta2. Everytime i try to deploy the application i get the following error:

Writing s:\start2\_zdel.pbl(w_anagrafica_cx) . . .
Writing s:\start2\_zdel.pbl(w_sog_commerciale_cx) . . .
Writing s:\start2\_zdel.pbl(wns_anagrafica_l) . . .
Connecting to the deployment server…
Publishing the PowerClient app…
Splitting the PBD file "S:\start2\start.pbd"...
Failed to split the PBD file "S:\start2\start.pbd", errorcode "6".
Failed to publish the PowerClient app.
 ---------- Finished Deploy of p_startcould_exe   (14:23:58)

 

This is what i have already tried to solve this issue according to another thread with similar problem:

1) Full Build
2) exported all Start.pbl objects and reimported on a newly created library
3) Migrated all libraries to R3 then Full Build

unfortunately all attempts lead to same error code. Same application using R3 first beta deployed without troubles.
Any other hints how to solve this issue?

tia,

simone

Accepted Answer
Simone Olianti Accepted Answer Pending Moderation
  1. Monday, 28 December 2020 18:05 PM UTC
  2. Beta Testing
  3. # Permalink

Ok, finally solved the issue. I'll share the solution in case someone else will have same problem.
The problem is that on the library causing the split to fail i've left an absolute path on its resource file (.pbr)

changing it to relative did the trick. All this was already addressed on bug report #5417

Comment
  1. Chris Pollach @Appeon
  2. Monday, 28 December 2020 18:16 PM UTC
Hi Simone ... thanks for sharing the reason for the issue.
  1. Helpful
There are no comments made yet.
Simone Olianti Accepted Answer Pending Moderation
  1. Monday, 28 December 2020 17:23 PM UTC
  2. Beta Testing
  3. # 1

Don't know what's causing this but this is what i've found in the log after getting the error:

2020-12-28 11:45:05.888 ERROR [2980] [CPbdSplitter::Execute@89] Failed to make directory C:\Users\simone\AppData\Local\Temp\pbappscache\temp\StartCould\start.pbd\s:\start2\pb.
2020-12-28 11:45:05.935 ERROR [2980] [CPbdGenerator::Execute@68] Failed to split the S:\start2\start.pbd.
2020-12-28 12:51:21.035 ERROR [2980] [CPbdSplitter::Execute@89] Failed to make directory C:\Users\simone\AppData\Local\Temp\pbappscache\temp\StartCould\start.pbd\s:\start2\pb.
2020-12-28 12:51:21.110 ERROR [2980] [CPbdGenerator::Execute@68] Failed to split the S:\start2\start.pbd.
2020-12-28 13:58:31.641 ERROR [2772] [CPbdSplitter::Execute@89] Failed to make directory C:\Users\simone\AppData\Local\Temp\pbappscache\temp\StartCould\start.pbd\s:\start2\pb.
2020-12-28 13:58:31.673 ERROR [2772] [CPbdGenerator::Execute@68] Failed to split the S:\start2\start.pbd.
2020-12-28 14:23:58.332 ERROR [2772] [CPbdSplitter::Execute@89] Failed to make directory C:\Users\simone\AppData\Local\Temp\pbappscache\temp\StartCould\start.pbd\s:\start2\pb.
2020-12-28 14:23:58.332 ERROR [2772] [CPbdGenerator::Execute@68] Failed to split the S:\start2\start.pbd.
2020-12-28 15:35:52.708 ERROR [2772] [CPbdSplitter::Execute@89] Failed to make directory C:\Users\simone\AppData\Local\Temp\pbappscache\temp\StartCould\start.pbd\s:\start2\pb.
2020-12-28 15:35:52.724 ERROR [2772] [CPbdGenerator::Execute@68] Failed to split the S:\start2\start.pbd.
2020-12-28 17:31:43.449 ERROR [88] [CPbdSplitter::Execute@89] Failed to make directory C:\Users\simone\AppData\Local\Temp\pbappscache\temp\StartCould\start.pbd\s:\start2\pb.
2020-12-28 17:31:43.512 ERROR [88] [CPbdGenerator::Execute@68] Failed to split the S:\start2\start.pbd.
2020-12-28 18:01:43.772 ERROR [5676] [CPbdSplitter::Execute@63] Failed to make directory C:\Users\simone\AppData\Local\Temp\pbappscache\temp\StartCould\start.pbd\s:\start2\pb.
2020-12-28 18:01:43.819 ERROR [5676] [CPbdGenerator::Execute@74] Failed to split the S:\start2\start.pbd, dest directory: C:\Users\simone\AppData\Local\Temp\pbappscache\temp\StartCould

looks like it is failing to create a temporary folder of the first pbd before trying to split it.
I'm going to clean manually temporary folders and try to deploy again.

Comment
  1. mike S
  2. Monday, 28 December 2020 18:05 PM UTC
\s:\start2



looks like it is trying to use the full path of the library as the directory name, and it never considered the drive portion of the path ( colon : is not a valid character for a directory name)
  1. Helpful
  1. Simone Olianti
  2. Monday, 28 December 2020 18:08 PM UTC
yes mike i just found was using an absolute path instead relative
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 28 December 2020 16:18 PM UTC
  2. Beta Testing
  3. # 2

Hi Simone;

  Are you using the same PC "project" object from Beta#1 or did you created a new PC project under Beta#2? The reason I ask is that I had corruption issues between a project object in Beta #1 vs Beta#2 and recreating the project under Beta#2 solved that issue for me.

Regards ... Chris

Comment
  1. Chris Pollach @Appeon
  2. Monday, 28 December 2020 16:41 PM UTC
Are you trying to deploy to a local or remote PowerServer? Also, is your PC project set for a Full or Incremental deployment?
  1. Helpful
  1. Simone Olianti
  2. Monday, 28 December 2020 16:55 PM UTC
tried both. First it was a remote then switched to local but getting same error. I've also tried to deploy full and incremental deployment but nothing changed. Now just read on the Standard Support that another one experienced same issue and Zhao suggested to replace the libcagen.dll with the one provided to get a log. Maybe it could help us more to understand what's happening...
  1. Helpful
  1. Chris Pollach @Appeon
  2. Monday, 28 December 2020 17:02 PM UTC
Hi Simone .. thank you for the update! Sounds to me like an IDE issue in the App preparation before PC deployment. I would like to suggest opening a support ticket for this issue.

Regards ... Chris
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.