CM: Libraries missing descriptions and PFoundation credit #3688

Closed
alignedleft opened this Issue Aug 21, 2015 · 7 comments

Comments

Projects
None yet
4 participants
@alignedleft
Member

alignedleft commented Aug 21, 2015

In the current master build, note that some of the official libraries do not display with descriptions or "[icon] Processing Foundation" as the author.

screen shot 2015-08-21 at 11 48 12 am

Or, is it possible this is just on my machine? If so, then why is the Foundation credit appearing below in the info panel, but not in the list above?

@alignedleft alignedleft added this to the 3.0 final milestone Aug 21, 2015

@alignedleft

This comment has been minimized.

Show comment
Hide comment
@alignedleft

alignedleft Aug 24, 2015

Member

@Akarshit This is extremely odd. I'm doing some more testing here. Notice the "video" library. With "all" selected in the category drop down, the Video library appears correctly.

screen shot 2015-08-24 at 1 37 25 pm

Note it appears as "Video" and not "video".

But when I choose the "Unknown" category, a number of libs that didn't appear before now display, including "video" (lowercase).

screen shot 2015-08-24 at 1 37 40 pm

It is this latter lib ("video") and some of its siblings that are missing descriptions.

Member

alignedleft commented Aug 24, 2015

@Akarshit This is extremely odd. I'm doing some more testing here. Notice the "video" library. With "all" selected in the category drop down, the Video library appears correctly.

screen shot 2015-08-24 at 1 37 25 pm

Note it appears as "Video" and not "video".

But when I choose the "Unknown" category, a number of libs that didn't appear before now display, including "video" (lowercase).

screen shot 2015-08-24 at 1 37 40 pm

It is this latter lib ("video") and some of its siblings that are missing descriptions.

@Akarshit

This comment has been minimized.

Show comment
Hide comment
@Akarshit

Akarshit Aug 24, 2015

Member

@alignedleft This might be occurring because of the presence of a "video" folder within your sketchbook. Please check your sketchbook folder if it contains two folder by the name of "video" and "Video". If present deleting the "video" folder should fix this.

Member

Akarshit commented Aug 24, 2015

@alignedleft This might be occurring because of the presence of a "video" folder within your sketchbook. Please check your sketchbook folder if it contains two folder by the name of "video" and "Video". If present deleting the "video" folder should fix this.

@alignedleft

This comment has been minimized.

Show comment
Hide comment
@alignedleft

alignedleft Aug 25, 2015

Member

I will test this tomorrow and report back. But if this behavior is a side effect of me having old libraries installed, I don't think me deleting the folders is a good fix for the problem. (Lots of other people will have lots of old libraries installed when upgrading to 3.0!) We will need a graceful way of handling this.

Member

alignedleft commented Aug 25, 2015

I will test this tomorrow and report back. But if this behavior is a side effect of me having old libraries installed, I don't think me deleting the folders is a good fix for the problem. (Lots of other people will have lots of old libraries installed when upgrading to 3.0!) We will need a graceful way of handling this.

@alignedleft

This comment has been minimized.

Show comment
Hide comment
@alignedleft

alignedleft Aug 27, 2015

Member

@Akarshit I tested this. I do not have the video library installed at all (old or new version). In fact, the only thing I have installed in my 3.0 sketchbook library folder is the Arduino library, which I installed through the CM just as a test.

Any other ideas for why these phantom listings are appearing?

Member

alignedleft commented Aug 27, 2015

@Akarshit I tested this. I do not have the video library installed at all (old or new version). In fact, the only thing I have installed in my 3.0 sketchbook library folder is the Arduino library, which I installed through the CM just as a test.

Any other ideas for why these phantom listings are appearing?

@REAS

This comment has been minimized.

Show comment
Hide comment
@REAS

REAS Sep 15, 2015

Member

In addition to the phantom listings for PDF Export, SVG Export, Serial I/O, Network, and DXF Export, these Core libraries can also be Removed through the CM, but then can't be added back again. When they are "removed" the examples are removed from the Java Examples window. I think the best solution is to keep the Core Libraries out of the CM?

Member

REAS commented Sep 15, 2015

In addition to the phantom listings for PDF Export, SVG Export, Serial I/O, Network, and DXF Export, these Core libraries can also be Removed through the CM, but then can't be added back again. When they are "removed" the examples are removed from the Java Examples window. I think the best solution is to keep the Core Libraries out of the CM?

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Sep 15, 2015

Member

The problem here is the difference between "core" libraries that are installed through the CM (video and sound) versus all the others (PDF, DXF, etc). In order to get them to show up in the right place in the Import Library menu and the Examples window, all of them need to be in the "core" list. But that confuses the CM, which now includes the "core" list so that it can update video and sound.

So the CM needs to distinguish between core libraries that are in the sketchbook (probably of type AvailableContribution or LocalContribution, I can't remember which) and those in the download.

Member

benfry commented Sep 15, 2015

The problem here is the difference between "core" libraries that are installed through the CM (video and sound) versus all the others (PDF, DXF, etc). In order to get them to show up in the right place in the Import Library menu and the Examples window, all of them need to be in the "core" list. But that confuses the CM, which now includes the "core" list so that it can update video and sound.

So the CM needs to distinguish between core libraries that are in the sketchbook (probably of type AvailableContribution or LocalContribution, I can't remember which) and those in the download.

@benfry benfry closed this in 75db627 Sep 15, 2015

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Sep 15, 2015

Member

Fixed for beta 7.

Member

benfry commented Sep 15, 2015

Fixed for beta 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment