Hmm... It looks like an issue with the psql driver -- maybe I broke it
when I added support for multiple dbs. Do you have the rest of the
stack trace?

On Nov 25, 2007 7:50 PM, David King <[EMAIL PROTECTED]> wrote:
>
> > Try it now
>
> A new error, at least :)
>
> =ERROR REPORT==== 25-Nov-2007::19:47:26 ===
> Error in process <0.37.0> on node '[EMAIL PROTECTED]' with exit value:
> {function_clause,[{gb_trees,lookup_1,[some_model,{6,{some_other_model,
> [{erlydb_field,id,"id",<<2
> bytes>>,integer,undefined,integer,text_field,false,primary,undefined,ide
> ntity,undefined},{erlydb_field,name,"name",<<4 bytes>>,'character
> varying'...
>
> ** exited: {function_clause,
>              [{gb_trees,
>                lookup_1,
>                [some_model,
>                 {6,
>                  {some_other_model,
>                   [{erlydb_field,
>                     id,
>
> Now, I'm in the process of porting from mnesia to psql, and this is
> the first time I've been able to compile in the porting process, so
> it could be my fault; but any direction-pointing is appreciated :)
>
>
>
> >
> > On Nov 25, 2007 7:30 PM, David King <[EMAIL PROTECTED]> wrote:
> >>
> >>> I just committed a fix.
> >>
> >> Thanks. How about the undef on erlydb_psql:get_default_pool_id()? Is
> >> that something I've broken?
> >>
> >>>
> >>> On Nov 25, 2007 6:46 PM, David King <[EMAIL PROTECTED]> wrote:
> >>>>
> >>>>> I'm getting a lot of false warnings when compiling erlyweb
> >>>>> components
> >>>>> that just started appearing a few seconds ago (literally; I did an
> >>>>> "svn up" just a few minutes apart and there were changes in the
> >>>>> second one).
> >>>>
> >>>> Just to be more specific, it happens when compiling controllers,
> >>>> not
> >>>> views or models.
> >>>>
> >>>>
> >>>>>
> >>>>> They say "Warning: variable 'Response' is unused". I assume that
> >>>>> this
> >>>>> is in some of the code that erlyweb injects, since I don't use
> >>>>> that
> >>>>> name anywhere.
> >>>>>
> >>>>> In addition, I'm still getting the erlydb_psql issues:
> >>>>>
> >>>>> ** exited: {undef,[{erlydb_psql,get_default_pool_id,[]},
> >>>>>                     {erlydb,gen_module_code,5},
> >>>>>                     {lists,foreach,2},
> >>>>>                     {erlyweb_compile,compile,2},
> >>>>>                     {erl_eval,do_apply,5},
> >>>>>                     {shell,exprs,6},
> >>>>>                     {shell,eval_loop,3}]} **
> >>>>>
> >>>>>
> >>>>
> >>>>>
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> http://vimagi.com
> >>> http://erlyweb.org
> >>>
> >>>
> >>
> >>
> >>>
> >>
> >
> >
> >
> > --
> > http://vimagi.com
> > http://erlyweb.org
> >
> >
>
> >
>



-- 
http://vimagi.com
http://erlyweb.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to