sql-library-processing icon indicating copy to clipboard operation
sql-library-processing copied to clipboard

Processing 3 Compatibility

Open feltron opened this issue 10 years ago • 24 comments

Attempting to use the library in Processing 3 gives the following error:

NoSuchMethodError: You may be using a library that's incompatible with this version of Processing.

Your library has been a critical part of my workflow and it would be tragic for it to not be updated to work with P3.

thanks!

feltron avatar Oct 19 '15 16:10 feltron

Hey, thanks for reporting. I will look into it this week.

... and glad you were able to make use of the lib!

fjenett avatar Oct 19 '15 19:10 fjenett

Thanks Florian!

feltron avatar Oct 19 '15 20:10 feltron

Hey there!

I've recently encountered the same issue when using p3, I was wondering if you had found any possible solutions?

Thanks!

LucyMatch avatar Jan 07 '16 19:01 LucyMatch

Ehhh … no. I did not look into it yet. Thanks for the ping, will try to fix asap.

fjenett avatar Jan 12 '16 11:01 fjenett

Thanks Florian.

feltron avatar Jan 12 '16 13:01 feltron

Hey Florian, thanks for sharing! Will there be a update for processing 3.0 compatibility soon?

jitterhorse avatar Feb 12 '16 10:02 jitterhorse

Hello there. Thank you for sharing this! I'm probably going to sound redundant, but I was wondering if you were able to figure out how to update your library to be compatible with Processing 3?

zoha21 avatar Apr 17 '16 23:04 zoha21

Well..Do you know where is the problem in the code? Can we help to mend it?

q2dg avatar Jul 24 '16 13:07 q2dg

@benfry can you contribute your fix to this library as a pull request?

feltron avatar Jul 24 '16 13:07 feltron

Already done back when we talked about it in May: https://github.com/fjenett/sql-library-processing/pull/15

benfry avatar Jul 28 '16 23:07 benfry

But this library (version 0.2.0) still appears as disabled in "Contribution Manager"'s Processing IDE's "Libraries" tab (version 3.1.1) so it can't be installed from there.

q2dg avatar Jul 29 '16 08:07 q2dg

Can it be installed and used reliably without the "Libraries" install feature?

mattjarvis avatar Oct 05 '16 11:10 mattjarvis

Hi all, I succeeded in 1 .compiling BezierSQLib library and 2. installing it without the "Libraries" install feature of Processing IDE on Raspberry Pi. (It should work in other Linux, I guess. And also, once you have the new compiled library, you can just copy the library under "Processing/libraries" where other libraries in)

Step 1. Clone (or download ZIP) the repository from https://github.com/fjenett/sql-library-processing.
Step 2. Change two lines in build.xml.

around #L15. adapt "location" the same place where the processing.exe is in. 
Before:
<property name="processing.classes"  
    location="/Users/fjenett/Repos/processing/build/macosx/work/Processing.app/Contents/Resources/Java/" />
After:
<property name="processing.classes"  
    location="/usr/local/lib/processing-3.2.1" /> 

around #L18. adapt "location" the same place where the other libraries is in. 
Before:
<property name="processing" location="/Users/fjenett/Documents/Processing/libraries"/>   
After:
<property name="processing" location="/home/pi/sketchbook/libraries"/>   

Step 3. execute ant command.
Then you should be able to use BezierSQLib with Processing-3.

I hope this helps you.

matzTada avatar Oct 06 '16 10:10 matzTada

Yes, that should be about it …

fjenett avatar Oct 06 '16 12:10 fjenett

Thanks a lot for this hack, @matzTada but I think the problem with "Libraries" install feature should be resolved some time in the future to arrive to more (and less technical, generally speaking) people

q2dg avatar Oct 06 '16 14:10 q2dg

Fixing the installation through the "Add Libraries" feature would be great, yes!

fabianhemmert avatar Oct 19 '16 11:10 fabianhemmert

Please ... Help !!! Processing 3 Compatibility BezierSQLib.zip binary for Windows.

bbslipers avatar Nov 22 '16 14:11 bbslipers

hello all, i am working on Procecessing 3 and using this library for mysql database connection i tried so hard by following the guide but, NoSuchMethodError happend, finally after the fix by @matzTada i stoped in the last step 3 (execute the ant command) can anyone tell me how to get the ant script or something i miss, thank you

alemlishar avatar Dec 24 '16 15:12 alemlishar

For anyone who needs it, here's a link to a compiled version of the library with the Processing 3 fix. https://github.com/benfry/sql-library-processing/raw/master/release/BezierSQLib.zip

feltron avatar Jan 09 '17 16:01 feltron

Perfect, thank you!

On Mon, Jan 9, 2017 at 5:48 PM, Nicholas Felton [email protected] wrote:

For anyone who needs it, here's a link to a compiled version of the library with the Processing 3 fix. https://github.com/benfry/sql-library-processing/raw/master/ release/BezierSQLib.zip

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fjenett/sql-library-processing/issues/14#issuecomment-271337354, or mute the thread https://github.com/notifications/unsubscribe-auth/ALXlbNVsN_HVctUoKc8eyxi_qEVIch4sks5rQmTAgaJpZM4GRgQu .

fabianhemmert avatar Jan 09 '17 19:01 fabianhemmert

So, can we consider this new link points to the library which should be added to Library Manager?

q2dg avatar Jan 09 '17 22:01 q2dg

Thanks @feltron !

fjenett avatar Jan 15 '17 14:01 fjenett

can i insert data from sensor and my processing program run on Raspberry Pi post to DB server online(adepratama.xyz) ? is it possible with this library? how to do it? @fjenett @feltron

topanalfa avatar Mar 01 '17 14:03 topanalfa

@topanalfa this is not the right place to ask these kinds of use related questions. Please use the Processing Forum instead.

fjenett avatar Mar 04 '17 11:03 fjenett