No subject
Thu Oct 25 20:26:07 BST 2012
output the response from CKAN for the member_create API call, which is the
important one for us to see. There will always be some response from CKAN
(or at least the web server if something is misconfigured on the machine).
Can you also confirm what that IP address refers to? It is not reachable
for me. The test server that I can reach is at odp.tenforce.com.
Thanks,
John
On 18 December 2012 15:43, Dimitrios Mexis <dimitrios.mexis at tenforce.com>wrote:
> Just managed to replicate an issue with the datasets and usernames [
> ODP-178 ]
> I created a CNECTusr :
> *[root at ecodp-perf4 management_scripts]# ./ckan_create_publ_user.sh
> CNECTusr cnect 9efa49f6-f9d5-4a42-9274-d0ef1f5738f1 http://localhost
> Password:
> Confirm password:
> Creating user: 'CNECTusr'
> 2012-12-18 15:34:54,037 INFO [ckan.new_authz] Using auth profile at
> ckan.logic.auth.publisher
> {'about': None,
> 'apikey': u'51373f10-02e1-465b-8f5f-01f7206a7170',
> 'created': '2012-12-18T15:34:54.053627',
> 'display_name': u'CNECTusr',
> 'email': u'',
> 'email_hash': 'd41d8cd98f00b204e9800998ecf8427e',
> 'fullname': None,
> 'id': u'391101b7-3646-4c00-9b6c-498696a3babc',
> 'name': u'CNECTusr',
> 'number_administered_packages': 0L,
> 'number_of_edits': 0L,
> 'openid': None,
> 'reset_key': None}
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 114 807 100 807 0 110 49864 6796 --:--:-- --:--:-- --:--:--
> 46466*
>
> Then I opened the cnect dataset which is uploaded with as "manual
> dataset", and really data can not be updated.
>
> From the script doesn't seem any error to be produced by the CKAN.
>
> BUT, if I add the user "kurt", in the dataset cnect, then this user* can "
> *add dataset".
> to the cnect.
>
> The relevant IP perhaps for help I remind, is the: 192.168.33.128, there I
> have backend and frontend on the same machine.
>
> Regards,
>
> Dimitrios
>
> On 18/12/12 11:00, Darwin Peltan wrote:
>
>
> Darwin Peltan
> Project Manager
>
> The Open Knowledge Foundation
> http://www.okfn.org
>
> Skype: darwinp
> Twitter: @darwin
>
>
>
> ---------- Forwarded message ----------
> From: Dimitrios Mexis <dimitrios.mexis at tenforce.com>
> Date: 17 December 2012 16:06
> Subject: Ckan management scripts
> To: Darwin Peltan <darwin.peltan at okfn.org>
> Cc: Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>
>
>
> Hello,
>
> this is the scripts about ckan management from terminal.
>
> Fyi as requested,
>
> Best regards,
> Dimitrios
>
>
>
> _______________________________________________
> Ecodp-dev mailing listEcodp-dev at lists.okfn.orghttp://lists.okfn.org/mailman/listinfo/ecodp-dev
>
>
>
> _______________________________________________
> Ecodp-dev mailing list
> Ecodp-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>
>
--f46d0438904de57aed04d12201c3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hi Dimitrios,<div><br></div><div style>I have sent you a c=
ontact request on Skype, it might be easier to chat about this briefly if y=
ou have a minute.</div><div style><br></div><div style>From your output abo=
ve it does not look like you have changed the script to output the response=
from CKAN for the member_create API call, which is the important one for u=
s to see. There will always be some response from CKAN (or at least the web=
server if something is misconfigured on the machine).</div>
<div style><br></div><div style>Can you also confirm what that IP address r=
efers to? It is not reachable for me. The test server that I can reach is a=
t <a href=3D"http://odp.tenforce.com">odp.tenforce.com</a>.</div><div style=
>
<br></div><div style>Thanks,</div><div style>John</div></div><div class=3D"=
gmail_extra"><br><br><div class=3D"gmail_quote">On 18 December 2012 15:43, =
Dimitrios Mexis <span dir=3D"ltr"><<a href=3D"mailto:dimitrios.mexis at ten=
force.com" target=3D"_blank">dimitrios.mexis at tenforce.com</a>></span> wr=
ote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
=20
=20
=20
<div bgcolor=3D"#FFFFFF" text=3D"#000000">
Just managed to replicate an issue with the datasets and usernames [
ODP-178 ]<br>
I created a CNECTusr :<br>
<small><i><small>[root at ecodp-perf4 management_scripts]#
./ckan_create_publ_user.sh CNECTusr cnect
9efa49f6-f9d5-4a42-9274-d0ef1f5738f1 <a href=3D"http://localhost"=
target=3D"_blank">http://localhost</a><br>
Password:<br>
Confirm password:<br>
Creating user: 'CNECTusr'<br>
2012-12-18 15:34:54,037 INFO=A0 [ckan.new_authz] Using auth
profile at ckan.logic.auth.publisher<br>
{'about': None,<br>
=A0'apikey': u'51373f10-02e1-465b-8f5f-01f7206a7170&#=
39;,<br>
=A0'created': '2012-12-18T15:34:54.053627',<br>
=A0'display_name': u'CNECTusr',<br>
=A0'email': u'',<br>
=A0'email_hash': 'd41d8cd98f00b204e9800998ecf8427e=
9;,<br>
=A0'fullname': None,<br>
=A0'id': u'391101b7-3646-4c00-9b6c-498696a3babc',=
<br>
=A0'name': u'CNECTusr',<br>
=A0'number_administered_packages': 0L,<br>
=A0'number_of_edits': 0L,<br>
=A0'openid': None,<br>
=A0'reset_key': None}<br>
=A0 % Total=A0=A0=A0 % Received % Xferd=A0 Average Speed=A0=A0 Ti=
me=A0=A0=A0
Time=A0=A0=A0=A0 Time=A0 Current<br>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Dload=A0 Upload=A0=A0 Total=A0=A0
Spent=A0=A0=A0 Left=A0 Speed<br>
114=A0=A0 807=A0 100=A0=A0 807=A0=A0=A0 0=A0=A0 110=A0 49864=A0=
=A0 6796 --:--:--
--:--:-- --:--:-- 46466</small></i></small><br>
<br>
Then I opened the cnect dataset which is uploaded with as "manual
dataset", and really data can not be updated.<br>
<br>
From the script doesn't seem any error to be produced by the CKAN. =
<br>
<br>
BUT, if I add the user "kurt", in the dataset cnect, then thi=
s user<b>
can "</b>add dataset".<br>
to the cnect.<br>
<br>
The relevant IP perhaps for help I remind, is the: 192.168.33.128,
there I have backend and frontend on the same machine.<br>
<br>
Regards,<div class=3D"im"><br>
Dimitrios<br>
<br>
On 18/12/12 11:00, Darwin Peltan wrote:
</div><blockquote type=3D"cite"><div><div class=3D"h5">
<div dir=3D"ltr"><br clear=3D"all">
<div><span>Darwin Peltan</span><br>
<span>Project Manager</span><br>
<span><br>
</span>
<div><span>The Open Knowledge Foundation=A0</span>
<div><a href=3D"http://www.okfn.org/" target=3D"_blank">http://=
www.okfn.org</a><br>
<font color=3D"#888888" face=3D"arial, sans-serif"><br>
</font></div>
<div><font color=3D"#888888" face=3D"arial, sans-serif">Skype:
darwinp</font>
<div><font color=3D"#888888" face=3D"arial, sans-serif">Twitt=
er:
@darwin</font></div>
</div>
</div>
</div>
<br>
<br>
<br>
<div class=3D"gmail_quote">---------- Forwarded message ----------<=
br>
From: <b class=3D"gmail_sendername">Dimitrios Mexis</b> <span dir=
=3D"ltr"><<a href=3D"mailto:dimitrios.mexis at tenforce.com" target=3D"_bla=
nk">dimitrios.mexis at tenforce.com</a>></span><br>
Date: 17 December 2012 16:06<br>
Subject: Ckan management scripts<br>
To: Darwin Peltan <<a href=3D"mailto:darwin.peltan at okfn.org" t=
arget=3D"_blank">darwin.peltan at okfn.org</a>><br>
Cc: Bert Van Nuffelen <<a href=3D"mailto:bert.van.nuffelen at ten=
force.com" target=3D"_blank">bert.van.nuffelen at tenforce.com</a>><br>
<br>
<br>
Hello,
<div><br>
</div>
<div>this is the scripts about ckan management from terminal.</di=
v>
<div><br>
</div>
<div>Fyi as requested,</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Dimitrios</div>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><div class=3D"im"><pre>__________________________________=
_____________
Ecodp-dev mailing list
<a href=3D"mailto:Ecodp-dev at lists.okfn.org" target=3D"_blank">Ecodp-dev at lis=
ts.okfn.org</a>
<a href=3D"http://lists.okfn.org/mailman/listinfo/ecodp-dev" target=3D"_bla=
nk">http://lists.okfn.org/mailman/listinfo/ecodp-dev</a>
</pre>
</div></blockquote>
<br>
</div>
<br>_______________________________________________<br>
Ecodp-dev mailing list<br>
<a href=3D"mailto:Ecodp-dev at lists.okfn.org">Ecodp-dev at lists.okfn.org</a><br=
>
<a href=3D"http://lists.okfn.org/mailman/listinfo/ecodp-dev" target=3D"_bla=
nk">http://lists.okfn.org/mailman/listinfo/ecodp-dev</a><br>
<br></blockquote></div><br></div>
--f46d0438904de57aed04d12201c3--
More information about the Ecodp-dev
mailing list