I have an idea of what is causing this problem and why it may have
slipped through my testing. I wont be able to get a fix out until
tonight though. When I push the new release I will let you know so we
can get it tested.
On Thu, Aug 28, 2008 at 11:24 AM, Matt Williamson <[EMAIL PROTECTED]> wrote:
> I upgraded faxien. When I run sinan gen, I get the following in
> sinan/log/kernel...
>
> =INFO REPORT==== 23-Aug-2008::22:54:50 ===
> [RUN:"1771b9f2-804f-48ea-aa7a-982435b2288e"] Task sin_gen
> faulted:{noproc,{gen_server,call,
> [undefined,{get,"tasks.gen.user_info.username"}]}}:
> [{gen_server,
>
> call,
>
> 2},
>
> {sin_gen,
>
> get_user_information,
>
> 2},
>
> {sin_gen,
>
> gen,
>
> 1},
>
> {eta_task_runner,
>
> execute_task_stack,
>
> 3},
>
> {eta_task_runner,
>
> run_tasks,
>
> 3},
>
> {eta_task_runner,
>
> do_tasks,
>
> 3},
>
> {eta_task_runner,
>
> '-run_task_reply/4-fun-0-',
>
> 4},
>
> {proc_lib,
>
> init_p,
>
> 3}]
>
>
>
> Sinan build yields:
>
> =ERROR REPORT==== 23-Aug-2008::22:55:01 ===
> internal_server_error
> req: [{method,"POST"},
> {uri,{uri,"http",[],"localhost",8599,"/do_task/build",[],[],
> "http://localhost:8599/do_task/build"}},
> {vsn,{1,1}},
> {headers,[{"accept-encoding","identity"},
> {"content-length","80"},
> {"content-type","application/json"},
> {"host","localhost:8599"}]},
> {sock,{sock,<0.1115.0>,<0.1110.0>,#Ref<0.0.0.7558>,
> #Fun<crary_sock.1.117168782>,
> #Fun<crary_sock.2.89607144>}},
> {opts,[{keep_alive_timeout,30000},
> {keep_alive_max_requests,infinity},
> {read_timeout,30000},
> {write_timeout,30000},
> {max_body_size,10485760},
> {max_header_size,1048576}]}]
> class: throw
> reason: {unable_to_create_canonical,
> {function_clause,
> [{sin_build_config,merge_config,
> [{dict,0,16,16,8,80,48,
> {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
> []},
>
> {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
> []}}},
> {error,enoent},
> []]},
> {sin_build_config,process_build_config,2},
> {sin_build_config,init,1},
> {gen_server,init_it,6},
> {proc_lib,init_p,5}]}}
> stack: [{sin_build_config,get_seed,1},
> {sinan,do_task,4},
> =ERROR REPORT==== 23-Aug-2008::22:55:01 ===
> internal_server_error
> req: [{method,"POST"},
> {uri,{uri,"http",[],"localhost",8599,"/do_task/build",[],[],
> "http://localhost:8599/do_task/build"}},
> {vsn,{1,1}},
> {headers,[{"accept-encoding","identity"},
> {"content-length","80"},
> {"content-type","application/json"},
> {"host","localhost:8599"}]},
> {sock,{sock,<0.1115.0>,<0.1110.0>,#Ref<0.0.0.7558>,
> #Fun<crary_sock.1.117168782>,
> #Fun<crary_sock.2.89607144>}},
> {opts,[{keep_alive_timeout,30000},
> {keep_alive_max_requests,infinity},
> {read_timeout,30000},
> {write_timeout,30000},
> {max_body_size,10485760},
> {max_header_size,1048576}]}]
> class: throw
> reason: {unable_to_create_canonical,
> {function_clause,
> [{sin_build_config,merge_config,
> [{dict,0,16,16,8,80,48,
> {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
> []},
>
> {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
> []}}},
> {error,enoent},
> []]},
> {sin_build_config,process_build_config,2},
> {sin_build_config,init,1},
> {gen_server,init_it,6},
> {proc_lib,init_p,5}]}}
> stack: [{sin_build_config,get_seed,1},
> {sinan,do_task,4},
> {swa_crary_handler,handler,2},
> {crary_ctrl,call_handler,2},
> {crary_util,'-spawn_link/1-fun-0-',1},
> {proc_lib,init_p,3}]
>
> On Thu, Aug 28, 2008 at 1:52 PM, Martin Logan <[EMAIL PROTECTED]>
> wrote:
>>
>> You have the latest greatest version of Sinan. The release is at 0.10.1.5
>> but the app is versioned independently - they happen to share a name. That
>> is ok - looks like there is still a problem with gen though....
>>
>> Also, FYI, run faxien upgrade-release faxien to get the latest version of
>> faxien.
>>
>> On Thu, Aug 28, 2008 at 12:31 PM, Matt Williamson <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> It appears that the sinan app is at 0.10.0.14 but the release is at
>>> 0.10.0.15:
>>>
>>> [EMAIL PROTECTED]:~$ faxien installed
>>>
>>> Installed Applications for ERTS versions between 5.6 and 5.6.3:
>>> compiler 4.5.3
>>> crary 0.2.3
>>> cryptographic 0.2.0
>>> dialyzer 1.8.1
>>> edoc 0.7.6
>>> epkg 0.4.2.1 | 0.3.10.0
>>> etask 0.5.0
>>> eunit 2.0 | 2.0
>>> ewlib 0.7.8.2 | 0.7.8.2 | 0.7.4.0
>>> ewrepo 0.18.2.0 | 0.16.6.1
>>> faxien 0.30.1.1 | 0.29.6.2
>>> fslib 5.4.0
>>> gas 5.3.0
>>> gs 1.5.9
>>> gtime 0.9.4
>>> hipe 3.6.7
>>> ibrowse 1.4 | 1.4
>>> kernel 2.12.3 | 2.12.2
>>> ktuo 0.4.0.1
>>> mnesia 4.4.3
>>> parsetools 1.4.5
>>> sasl 2.1.5.3 | 2.1.5.2
>>> sgte 0.7.1
>>> sinan 0.10.0.14
>>> sinan_web_api 0.1.0.4
>>> stdlib 1.15.3 | 1.15.2
>>> syntax_tools 1.5.5
>>> tools 2.6.1
>>> uri 0.2.0
>>> xmerl 1.1.9 | 1.1.8
>>>
>>> Installed Releases (Erlang standalone services) for ERTS versions between
>>> 5.6 and 5.6.3:
>>> faxien 0.30.1.1 | 0.29.6.2
>>> sinan 0.10.1.5
>>> ok
>>> [EMAIL PROTECTED]:~$ faxien upgrade-release sinan
>>> sinan at version 0.10.1.5 is up to date
>>> ok
>>> [EMAIL PROTECTED]:~$ faxien upgrade-app sinan
>>> sinan at version 0.10.0.14 is up to date
>>> ok
>>>
>>>
>>> On Thu, Aug 28, 2008 at 1:04 PM, Martin Logan <[EMAIL PROTECTED]>
>>> wrote:
>>>>
>>>> to find out what version faxien installed run 'faxien installed'. Send
>>>> the results if you can.
>>>>
>>>> On Thu, Aug 28, 2008 at 10:52 AM, Eric Merritt <[EMAIL PROTECTED]>
>>>> wrote:
>>>>>
>>>>> That looks like the problem I just fixed in the latest version of
>>>>> sinan. What version did faxien install?
>>>>>
>>>>> On Thu, Aug 28, 2008 at 2:40 AM, Matt Williamson <[EMAIL PROTECTED]>
>>>>> wrote:
>>>>> > Please ignore the faxien error log :P
>>>>> >
>>>>> > On Thu, Aug 28, 2008 at 5:37 AM, Matt Williamson
>>>>> > <[EMAIL PROTECTED]>
>>>>> > wrote:
>>>>> >>
>>>>> >> I reinstalled faxien and then sinan installed no problem. But I ran
>>>>> >> sinan
>>>>> >> gen and sinan build and got two errors.
>>>>> >>
>>>>> >> sinan gen:
>>>>> >>
>>>>> >> =INFO REPORT==== 23-Aug-2008::15:49:24 ===
>>>>> >> [RUN:"1771b9f2-804f-48ea-aa7a-982435b2288e"] Task sin_gen
>>>>> >> faulted:{noproc,{gen_server,call,
>>>>> >>
>>>>> >> [undefined,{get,"tasks.gen.user_info.username"}]}}:
>>>>> >> [{gen_server,
>>>>> >>
>>>>> >> call,
>>>>> >>
>>>>> >> 2},
>>>>> >>
>>>>> >> {sin_gen,
>>>>> >>
>>>>> >> get_user_information,
>>>>> >>
>>>>> >> 2},
>>>>> >>
>>>>> >> {sin_gen,
>>>>> >>
>>>>> >> gen,
>>>>> >>
>>>>> >> 1},
>>>>> >>
>>>>> >> {eta_task_runner,
>>>>> >>
>>>>> >> execute_task_stack,
>>>>> >>
>>>>> >> 3},
>>>>> >>
>>>>> >> {eta_task_runner,
>>>>> >>
>>>>> >> run_tasks,
>>>>> >>
>>>>> >> 3},
>>>>> >>
>>>>> >> {eta_task_runner,
>>>>> >>
>>>>> >> do_tasks,
>>>>> >>
>>>>> >> 3},
>>>>> >>
>>>>> >> {eta_task_runner,
>>>>> >>
>>>>> >> '-run_task_reply/4-fun-0-',
>>>>> >>
>>>>> >> 4},
>>>>> >>
>>>>> >> {proc_lib,
>>>>> >>
>>>>> >> init_p,
>>>>> >>
>>>>> >> 3}]
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> sinan build:
>>>>> >>
>>>>> >> =ERROR REPORT==== 23-Aug-2008::15:50:11 ===
>>>>> >> internal_server_error
>>>>> >> req: [{method,"POST"},
>>>>> >>
>>>>> >> {uri,{uri,"http",[],"localhost",8599,"/do_task/build",[],[],
>>>>> >> "http://localhost:8599/do_task/build"}},
>>>>> >> {vsn,{1,1}},
>>>>> >> {headers,[{"accept-encoding","identity"},
>>>>> >> {"content-length","80"},
>>>>> >> {"content-type","application/json"},
>>>>> >> {"host","localhost:8599"}]},
>>>>> >> {sock,{sock,<0.948.0>,<0.943.0>,#Ref<0.0.0.6768>,
>>>>> >> #Fun<crary_sock.1.117168782>,
>>>>> >> #Fun<crary_sock.2.89607144>}},
>>>>> >> {opts,[{keep_alive_timeout,30000},
>>>>> >> {keep_alive_max_requests,infinity},
>>>>> >> {read_timeout,30000},
>>>>> >> {write_timeout,30000},
>>>>> >> {max_body_size,10485760},
>>>>> >> {max_header_size,1048576}]}]
>>>>> >> class: exit
>>>>> >> reason: {{function_clause,
>>>>> >> [{sin_build_config,merge_config,
>>>>> >> [{dict,0,16,16,8,80,48,
>>>>> >>
>>>>> >> {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
>>>>> >>
>>>>> >> {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
>>>>> >> []}}},
>>>>> >> {error,enoent},
>>>>> >> []]},
>>>>> >> {sin_build_config,process_build_config,2},
>>>>> >> {sin_build_config,handle_call,3},
>>>>> >> {gen_server,handle_msg,5},
>>>>> >> {proc_lib,init_p,5}]},
>>>>> >> {gen_server,call,[<0.109.0>,get_raw_config]}}
>>>>> >> stack: [{gen_server,call,2},
>>>>> >> {sinan,do_task,4},
>>>>> >> {swa_crary_handler,handler,2},
>>>>> >> {crary_ctrl,call_handler,2},
>>>>> >> {crary_util,'-spawn_link/1-fun-0-',1},
>>>>> >> {proc_lib,init_p,3}]
>>>>> >>
>>>>> >> /tmp/faxien.err_log (for sinan build) is:
>>>>> >>
>>>>> >> =INFO REPORT==== 23-Aug-2008::15:47:45 ===
>>>>> >> faxien:cmdln_apply/1 (line 170) mod:func faxien:gen with raw args
>>>>> >> from
>>>>> >> commandline: []
>>>>> >>
>>>>> >> =ERROR REPORT==== 23-Aug-2008::15:47:45 ===
>>>>> >> epkg_cmdln:apply_from_commandline/3 (line 118) full exception is
>>>>> >> undef
>>>>> >> with stack trace [{faxien,
>>>>> >>
>>>>> >>
>>>>> >> gen,
>>>>> >>
>>>>> >>
>>>>> >> []},
>>>>> >>
>>>>> >>
>>>>> >> {epkg_cmdln,
>>>>> >>
>>>>> >>
>>>>> >> apply_from_commandline,
>>>>> >>
>>>>> >>
>>>>> >> 3},
>>>>> >>
>>>>> >>
>>>>> >> {epkg_cmdln,
>>>>> >>
>>>>> >>
>>>>> >> cmdln_apply,
>>>>> >>
>>>>> >>
>>>>> >> 1},
>>>>> >>
>>>>> >>
>>>>> >> {init,
>>>>> >>
>>>>> >>
>>>>> >> start_it,
>>>>> >>
>>>>> >>
>>>>> >> 1},
>>>>> >>
>>>>> >>
>>>>> >> {init,
>>>>> >>
>>>>> >>
>>>>> >> start_em,
>>>>> >>
>>>>> >>
>>>>> >> 1}]
>>>>> >>
>>>>> >> =INFO REPORT==== 23-Aug-2008::15:47:45 ===
>>>>> >> epkg_cmdln:cmdln_apply/1 (line 57) apply the following:
>>>>> >> apply(faxien, gen,
>>>>> >> []) -> {error,
>>>>> >>
>>>>> >>
>>>>> >> {undef,
>>>>> >>
>>>>> >>
>>>>> >> "The function you are trying to execute does not exist."}}
>>>>> >>
>>>>> >> =INFO REPORT==== 23-Aug-2008::15:47:45 ===
>>>>> >> fs_elwrap_h:terminate({stop,shutdown},<0.51.0>)
>>>>> >>
>>>>> >> On Thu, Aug 28, 2008 at 12:36 AM, Martin Logan
>>>>> >> <[EMAIL PROTECTED]>
>>>>> >> wrote:
>>>>> >>>
>>>>> >>> Yes, please - make sure you run the command to install and then
>>>>> >>> send the
>>>>> >>> faxien logs - which are in /tmp immediately after you run the
>>>>> >>> command.
>>>>> >>> Faxien logs are overwritten with each command.
>>>>> >>>
>>>>> >>> On Wed, Aug 27, 2008 at 9:59 PM, Eric Merritt <[EMAIL PROTECTED]>
>>>>> >>> wrote:
>>>>> >>>>
>>>>> >>>> Matt,
>>>>> >>>>
>>>>> >>>> I can't replicate this unfortunatly. Would you try this one more
>>>>> >>>> time
>>>>> >>>> and send me your faxien logs?
>>>>> >>>>
>>>>> >>>> Thanks,
>>>>> >>>> Eric
>>>>> >>>>
>>>>> >>>> On Wed, Aug 27, 2008 at 2:07 PM, Matt Williamson
>>>>> >>>> <[EMAIL PROTECTED]>
>>>>> >>>> wrote:
>>>>> >>>> > Thanks! I'm really excited to try it out.
>>>>> >>>> >
>>>>> >>>> > On Wed, Aug 27, 2008 at 4:54 PM, Eric Merritt
>>>>> >>>> > <[EMAIL PROTECTED]>
>>>>> >>>> > wrote:
>>>>> >>>> >>
>>>>> >>>> >> Matt,
>>>>> >>>> >>
>>>>> >>>> >> I will check on it tonight and see whats up.
>>>>> >>>> >>
>>>>> >>>> >> On Wed, Aug 27, 2008 at 11:41 AM, Matt Williamson
>>>>> >>>> >> <[EMAIL PROTECTED]>
>>>>> >>>> >> wrote:
>>>>> >>>> >> > Still no go. Is it just me?
>>>>> >>>> >> >
>>>>> >>>> >> > On Wed, Aug 27, 2008 at 11:41 AM, Eric Merritt
>>>>> >>>> >> > <[EMAIL PROTECTED]>
>>>>> >>>> >> > wrote:
>>>>> >>>> >> >>
>>>>> >>>> >> >> I published it before the server problems occurred. The
>>>>> >>>> >> >> server
>>>>> >>>> >> >> should
>>>>> >>>> >> >> be back up now. Hopefully we wont see anymore such problems.
>>>>> >>>> >> >>
>>>>> >>>> >> >> Matt,
>>>>> >>>> >> >>
>>>>> >>>> >> >> Give it a shot today and see if you can pull it.
>>>>> >>>> >> >>
>>>>> >>>> >> >> On Wed, Aug 27, 2008 at 8:09 AM, Matt Williamson
>>>>> >>>> >> >> <[EMAIL PROTECTED]>
>>>>> >>>> >> >> wrote:
>>>>> >>>> >> >> > :(
>>>>> >>>> >> >> >
>>>>> >>>> >> >> > [EMAIL PROTECTED]:/usr/local/erlware# faxien install-release
>>>>> >>>> >> >> > sinan
>>>>> >>>> >> >> >
>>>>> >>>> >> >> > Initiating Install for Remote Release sinan-0.10.1.5
>>>>> >>>> >> >> > {unable_to_pull_from_repos,"Couldn't get sinan.tar.gz from
>>>>> >>>> >> >> > repos"}
>>>>> >>>> >> >> >
>>>>> >>>> >> >> > Suggestions:
>>>>> >>>> >> >> > - Couldn't get sinan.tar.gz from repos
>>>>> >>>> >> >> > Please request that the package compiled for your local
>>>>> >>>> >> >> > architecture be published to an accessible repository.
>>>>> >>>> >> >> > - For error_logger information look at
>>>>> >>>> >> >> > "/tmp/faxien.err_log"
>>>>> >>>> >> >> > - For sasl log information look at "/tmp/faxien.sasl_log"
>>>>> >>>> >> >> >
>>>>> >>>> >> >> > On Wed, Aug 27, 2008 at 12:08 AM, Eric Merritt
>>>>> >>>> >> >> > <[EMAIL PROTECTED]>
>>>>> >>>> >> >> > wrote:
>>>>> >>>> >> >> >>
>>>>> >>>> >> >> >> Guys,
>>>>> >>>> >> >> >>
>>>>> >>>> >> >> >> I just published 0.10.1.5
>>>>> >>>> >> >> >>
>>>>> >>>> >> >> >>
>>>>> >>>> >> >> >
>>>>> >>>> >> >> >
>>>>> >>>> >> >> > >
>>>>> >>>> >> >> >
>>>>> >>>> >> >>
>>>>> >>>> >> >>
>>>>> >>>> >> >
>>>>> >>>> >> >
>>>>> >>>> >> > >
>>>>> >>>> >> >
>>>>> >>>> >>
>>>>> >>>> >>
>>>>> >>>> >
>>>>> >>>> >
>>>>> >>>> > >
>>>>> >>>> >
>>>>> >>>>
>>>>> >>>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>
>>>>> >
>>>>> >
>>>>> > >
>>>>> >
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"erlware-dev" 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/erlware-dev?hl=en
-~----------~----~----~----~------~----~------~--~---