NBSQLite on Moose 5.1 connection problems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

NBSQLite on Moose 5.1 connection problems

Offray Vladimir Luna Cárdenas-2
Hi,

We have been dealing with a pretty strange and awkward problem in our
workshops regarding the NBSQlite package and Moose 5.1 interaction. Some
times it works, most times it doesn't, specially when I'm in the
workshop. My solution was to unzip the sqlite package for the platform,
copy sqlite3 as libsqlite3.so in the "bin/" directory of the platform
and it worked (last week). Yesterday I tried the same in our workshop
and if failed again even in my local installation. I tried copying and
renaming (as "sqlite3.so", "libsqlite3.so") and put it where the moose
image lives ("shared/") without any success. Is the biggest frustration
in our workshops and we need to export as csv and read manually each
useful query result in SQLite... and I can made sense of the error trace
or why this error is happening. Monticello reports
NBSQLite3-TorstenBergmann.26.

Any pointer on how to solve it in a reliable way is welcomed.

Here is the error log, while executing http://ws.stfx.eu/POQCW0NVKZJN:

NBFFICallout(Object)>>error:
NBFFICallout>>generateCall:module:
[ :gen |
gen
     callType: conv;
     sender: context;
     parseOptions: options;
     generateCall: functionSignature module: moduleNameOrHandle ] in
NBFFICalloutAPI>>function:module: in Block: [ :gen | ...
[ bytes := aBlock value: (self newForMethod: method) ] in NBFFICallout
class(NBNativeCodeGen class)>>generateCode:andRetry: in Block: [ bytes
:= aBlock value: (self newForMethod: metho...etc...
BlockClosure>>on:do:
NBRecursionDetect class>>in:during:
NBFFICallout class(NBNativeCodeGen class)>>generateCode:andRetry:
NBFFICallout class(NBNativeCodeGen class)>>handleFailureIn:nativeCode:
NBFFICalloutAPI>>function:module:
NBSQLite3FFI(Object)>>nbCall:module:
NBSQLite3FFI>>apiOpen:via:
NBSQLite3FFI>>open:via:
NBSQLite3Connection(NBSQLite3BaseConnection)>>open
NBSQLite3Connection class(NBSQLite3BaseConnection class)>>openOn:
UndefinedObject>>DoIt
OpalCompiler>>evaluate
RubSmalltalkEditor>>evaluate:andDo:
RubSmalltalkEditor>>highlightEvaluateAndDo:
[
textMorph textArea editor highlightEvaluateAndDo: ann action.
textMorph shoutStyler style: textMorph text ] in [
textMorph textArea
     handleEdit: [
         textMorph textArea editor highlightEvaluateAndDo: ann action.
         textMorph shoutStyler style: textMorph text ] ] in
GLMMorphicPharoPlaygroundRenderer(GLMMorphicPharoCodeRenderer)>>actOnHighlightAndEvaluate:
in Block: [ ...
RubEditingArea(RubAbstractTextArea)>>handleEdit:
[
textMorph textArea
     handleEdit: [
         textMorph textArea editor highlightEvaluateAndDo: ann action.
         textMorph shoutStyler style: textMorph text ] ] in
GLMMorphicPharoPlaygroundRenderer(GLMMorphicPharoCodeRenderer)>>actOnHighlightAndEvaluate:
in Block: [ ...
WorldState>>runStepMethodsIn:
WorldMorph>>runStepMethods
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
WorldMorph>>doOneCycle
[
[
World doOneCycle.
Processor yield.
false ] whileFalse: [  ] ] in MorphicUIManager>>spawnNewProcess in
Block: [ ...
[
self value.
Processor terminateActive ] in BlockClosure>>newProcess in Block: [ ...

Cheers,

Offray