Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liquid Crystal 1.0.4 is not loading properly or updating #4307

Closed
a4jp-com opened this issue Dec 14, 2015 · 11 comments
Closed

Liquid Crystal 1.0.4 is not loading properly or updating #4307

a4jp-com opened this issue Dec 14, 2015 · 11 comments
Labels
Type: Duplicate Another item already exists for this topic
Milestone

Comments

@a4jp-com
Copy link

Liquid Crystal 1.0.4 is not loading properly or updating. Liquid Crystal 1.0.4 loads 1.0.1

screen shot 12-15-15 at 08 29 am 001
screen shot 12-15-15 at 08 29 am

@per1234
Copy link
Collaborator

per1234 commented Dec 15, 2015

@a4jp-com which Boards do you have installed? This sounds like the same issue described in #4189 which I have found to be caused by libraries bundled with a boards package that have the same name as an Arduino IDE Built-In library.

@ffissore
Copy link
Contributor

Sounds like a duplicate of #3904 which has been fixed in latest hourly build http://www.arduino.cc/en/Main/Software#hourly

@ffissore ffissore added Waiting for feedback More information must be provided before we can proceed Type: Duplicate Another item already exists for this topic labels Dec 15, 2015
@ffissore ffissore added this to the Release 1.6.7 milestone Dec 15, 2015
@a4jp-com
Copy link
Author

I had the hourly build 2015-12-14 11:21 and the problem was similar but 1.0.4 wouldn't load. So I'm not sure if this is a slightly different problem but I'll redownload the latest hourly build again now and see if the problem is still here. I just keep getting the "Update available for some of your libraries" popup.

@a4jp-com
Copy link
Author

I just updated to nightly build 2015/12/15 12:43 and the problem hasn't been fixed or this is a slightly different problem.

Library Manager: Type Updateable

Click More info for the Liquid Crystal by Arduino, Adafruit.

Select version 1.0.4.

Install.

Version 1.0.1 is shown.

Verson 1.0.4 is now missing but version 1.0.1 os loaded.

Select 1.0.3.

Install.

1.0.4 is in the list again.

@per1234
Copy link
Collaborator

per1234 commented Dec 17, 2015

@a4jp-com it's clear that your issue isn't #3904. I'm pretty sure I know the cause and the solution but if you won't answer my question then I can't help you.

@a4jp-com
Copy link
Author

Sorry about that. I'm using a RAMBo board.

@per1234
Copy link
Collaborator

per1234 commented Dec 17, 2015

Please do this:

  • File > Examples > LiquidCrystal > Autoscroll
  • Sketch > Show Sketch Folder
  • Copy the path of the folder that opens when you do this and post it here.

@a4jp-com
Copy link
Author

I can check the file I loaded to get the board data as soon as I get home. It was from the Marlin firmware group.

@a4jp-com
Copy link
Author

This is where the board data comes from:
https://raw.githubusercontent.com/marlinfirmware/MarlinDev/platform/package_marlinfirmware_index.json

And here's the path:
C:\Users\design\Documents\Arduino\libraries\LiquidCrystal\examples\Autoscroll

@per1234
Copy link
Collaborator

per1234 commented Dec 17, 2015

Yes the Marlin board package is the cause of the issue. Because the LiquidCrystal library bundled with the Marlin package has the same name as the LiquidCrystal library included with the Arduino IDE the Library Manager gets confused. I have submitted a pull request to the MarlinFirmware repository to fix this: https://github.com/MarlinFirmware/MarlinDev/pull/309. You can fix this problem on your system by opening the file
C:\Users\design\AppData\Local\Arduino15\packages\Marlin\hardware\avr\1.6.7\libraries\LiquidCrystal\library.properties
and change the line:
name=LiquidCrystal
to
name=LiquidCrystal(Marlin)

After doing this and restarting the Arduino IDE you will also want to use Library Manager to update the LiquidCrystal library to 1.0.4. From the path you posted in your most recent message I believe you currently have LiquidCrystal 1.0.3 installed. Library Manager installed that library to your sketchbook folder which will cause the library to override the LiquidCrystal library included with the Marlin boards package(#4064). Since LiquidCrystal 1.0.4 is already installed with the Arduino IDE Library Manager will remove LiquidCrystal 1.0.3 from your sketchbook libraries folder when you update to LiquidCrystal 1.0.4.

@a4jp-com
Copy link
Author

Thank you so much @per1234 . That fixed the problem ^^

@cmaglie cmaglie removed the Waiting for feedback More information must be provided before we can proceed label Oct 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

4 participants