1. William Beale
  2. PowerBuilder
  3. Friday, 26 October 2018 01:48 AM UTC

I’m having difficulty creating a new library .pbl - something I easily accomplished in the past but can’t manage now.  I’m using version 2017 R2 build 1756

I open my development application and close all painters.  I click menu File/New and open the response window at the Library tab and click the ‘library’ icon and ‘OK’.

The ‘Create New Library’ response opens and I enter the .pbl name.  It adds the path and the .pbl file-type to ‘foo’:

e:\callrunner\foo.pbl.

I add a description and click the ‘Finish’ button.

I get an error message on the bottom left of the response window that says, ‘Error setting library list’

I open the Library Painter and, despite the error message, the foo.pbl exists but it’s not in the tree-view of the application.

If I click on the foo.pbl in the Library Painter and elect to import, I get the message ‘There must be an open workspace with PowerBuilder targets to complete this operation’.  (The workspace is open)

If I close the Library Painter (so no painters are open) and right-click on the application target and open the small response window with the Library List, the ‘New…’  and ‘Browse ..’ buttons on the widow are disabled. 

Clicking the target Properties to open the same window library list has the same outcome with the buttons disabled. 

I have no source control on the application.

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 26 October 2018 03:50 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi William;

   Make sure that:

  1. The folder where your new library creation is being targeted is not write protected
  2. If you are creating a new folder at the same time - that you have the proper access rights to it.

HTH

Regards ... Chris

Comment
  1. William Beale
  2. Friday, 26 October 2018 04:55 AM UTC
Thanks for your interest Chris. So elementary it didn't occur to me. I'll give myself an uppercut.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Friday, 26 October 2018 13:11 PM UTC
Excellent news William!



I would just suggest ... more coffee (less painful)! :-)



  1. Helpful
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Friday, 26 October 2018 22:36 PM UTC
  2. PowerBuilder
  3. # 1

The other consideration is if your WORKSPACE has multiple TARGETS, you must ensure that the correct TARGET is selected as the current target before proceeding.

All kinds of nonsense will opccur if that is not the case.


Good Luck -

Olan

Comment
  1. William Beale
  2. Saturday, 27 October 2018 02:54 AM UTC
Thanks for you interest, Olan. Security setting on the folders was the cause but I'll file away your advice nevertheless.

Cheers



Bill
  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.