• 000007 by yuri@... on 2009/02/01 at 02:44 GMT
  • 000005 by vieuxtech@... on 2009/01/30 at 08:56 GMT

Page Content

From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:56:01 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])
	by localhost (mpop-1.0.11) with POP3
	for <yuri>; Fri, 30 Jan 2009 08:56:01 +0000
Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.191.1 with SMTP id o1cs10223wff;
        Wed, 28 Jan 2009 22:00:33 -0800 (PST)
Received: by 10.100.164.20 with SMTP id m20mr2564232ane.97.1233208832780;
        Wed, 28 Jan 2009 22:00:32 -0800 (PST)
Return-Path: <sputnik-list-bounces@lists.luaforge.net>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])
        by mx.google.com with ESMTP id b29si28795242ana.11.2009.01.28.22.00.21;
        Wed, 28 Jan 2009 22:00:32 -0800 (PST)
Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by mail.luaforge.net with esmtp (Exim 4.50)
	id 1LSRlp-0000o3-GL; Thu, 29 Jan 2009 05:57:05 -0200
Received: from wf-out-1314.google.com ([209.85.200.171])
	by mail.luaforge.net with esmtp (Exim 4.50) id 1LSRln-0000ny-GP
	for sputnik-list@lists.luaforge.net; Thu, 29 Jan 2009 05:57:03 -0200
Received: by wf-out-1314.google.com with SMTP id 28so7322276wfc.20
	for <sputnik-list@lists.luaforge.net>;
	Wed, 28 Jan 2009 22:00:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:received:date:message-id:subject
	:from:to:content-type:content-transfer-encoding;
	bh=+jsGHXhLdsPq+DYdmo8s0gW6kBW3Og2VMy2gius2ulg=;
	b=rpCAtuwBNs/Om3TNGSsrLCbhqvwtyEwdCsSjOdIcQbjWiimgMelKMdrkabIdvIjnBo
	nb4TNI4biF3/XUgqg7POOaPl6KCVdL4E1CWJ8z5U1y72i7esA78MCzgKo2PXYc8E9rlg
	MKHLzJiednd6f7hHspF2ORJPJVyr/e+5XQOuA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:date:message-id:subject:from:to:content-type
	:content-transfer-encoding;
	b=kaVmWklp7P4xCtGK+52u36uvjU6cc4CuMjI8uII79Ye/nRC3TziR5SVd8rJGxi6pSo
	9zowMTn2YgRkJXREPHEI1ayPlmxrV8CA3IG0L/MzPkVX9QzPeZXkPoz9C5cuZMs762/f
	Mefan9Jrh/WUy57q5L5IS/mon0sdgqltruQEg=
MIME-Version: 1.0
Received: by 10.142.153.8 with SMTP id a8mr1253227wfe.152.1233208807522; Wed, 
	28 Jan 2009 22:00:07 -0800 (PST)
Date: Wed, 28 Jan 2009 22:00:07 -0800
Message-ID: <17eac67c0901282200q42fe7aa4tdf4f19e5854a2ac8@mail.gmail.com>
From: Sam Roberts <vieuxtech@gmail.com>
To: sputnik-list@lists.luaforge.net
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [Sputnik-list] Default installation errors
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
List-Archive: <http://lists.luaforge.net/pipermail/sputnik-list>
List-Post: <mailto:sputnik-list@lists.luaforge.net>
List-Help: <mailto:sputnik-list-request@lists.luaforge.net?subject=help>
List-Subscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net

Followed instructions here:

http://spu.tnik.org/en/Installation

on webfaction, followed up to running xavante by hand/

Edited the start page, no changes, selected save and it errors.

Created an Admin user.

Edited the config page, no changes, selected save, and it hangs, my
browser just sat there spinning.


I guess I should replace some pieces of this with a newer sputnik? Or
is this a wsapi problem, it looks like its parsing the http request
headers? Is there a log, or debug mode somewhere?

Also, if I wanted to inject print() calls to debug, any suggestions?
io.stderr:write()?

Cheers,
Sam

"""
There was an error in the specified application. The full error message follows:

...pps/sputnik/rocks//wsapi/1.0-2/lua/wsapi/request.lua:54: bad
argument #2 to 'sub' (number expected, got nil)
stack traceback:
	[C]: in function 'sub'
	...pps/sputnik/rocks//wsapi/1.0-2/lua/wsapi/request.lua:54: in
function 'read_field_headers'
	...pps/sputnik/rocks//wsapi/1.0-2/lua/wsapi/request.lua:92: in
function '(for generator)'
	...pps/sputnik/rocks//wsapi/1.0-2/lua/wsapi/request.lua:112: in
function 'parse_multipart_data'
	...pps/sputnik/rocks//wsapi/1.0-2/lua/wsapi/request.lua:127: in
function 'parse_post_data'
	...pps/sputnik/rocks//wsapi/1.0-2/lua/wsapi/request.lua:141: in function 'new'
	...putnik/rocks//sputnik/8.08.13-0/lua/sputnik/init.lua:846: in
function <...putnik/rocks//sputnik/8.08.13-0/lua/sputnik/init.lua:841>
	(tail call): ?
	(tail call): ?
stack traceback:
	...ps/sputnik/rocks//coxpcall/1.13.0-1/lua/coxpcall.lua:24: in
function <...ps/sputnik/rocks//coxpcall/1.13.0-1/lua/coxpcall.lua:22>
	(tail call): ?
	(tail call): ?
	(tail call): ?
	(tail call): ?
	(tail call): ?
	[string "  if (select(2,...)) then..."]:66: in function <[string "
if (select(2,...)) then..."]:63>

_______________________________________________
Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list


From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:56:01 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])
	by localhost (mpop-1.0.11) with POP3
	for <yuri>; Fri, 30 Jan 2009 08:56:01 +0000
Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.191.1 with SMTP id o1cs15117wff;
        Thu, 29 Jan 2009 00:23:42 -0800 (PST)
Received: by 10.100.210.9 with SMTP id i9mr501420ang.154.1233217421242;
        Thu, 29 Jan 2009 00:23:41 -0800 (PST)
Return-Path: <sputnik-list-bounces@lists.luaforge.net>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])
        by mx.google.com with ESMTP id c37si21986946ana.2.2009.01.29.00.23.31;
        Thu, 29 Jan 2009 00:23:41 -0800 (PST)
Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by mail.luaforge.net with esmtp (Exim 4.50)
	id 1LSU0M-0005Ad-Lw; Thu, 29 Jan 2009 08:20:14 -0200
Received: from rv-out-0506.google.com ([209.85.198.225])
	by mail.luaforge.net with esmtp (Exim 4.50) id 1LSU0K-0005AY-Pd
	for sputnik-list@lists.luaforge.net; Thu, 29 Jan 2009 08:20:13 -0200
Received: by rv-out-0506.google.com with SMTP id k40so7343614rvb.29
	for <sputnik-list@lists.luaforge.net>;
	Thu, 29 Jan 2009 00:23:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:sender:received:in-reply-to
	:references:date:x-google-sender-auth:message-id:subject:from:to:cc
	:content-type:content-transfer-encoding;
	bh=54YdKfFJkSI0GsyeEhfPd9/HZH2o/QyxpI2Ez45PM5U=;
	b=cj6wxd9RpggB0mqBIyihXH6A+7sBtV6BbqeTlSnXZvuaBmD5wffpVI0Z407zXTXxb5
	nJRTTt2bl1CEuDMMeEHYBukNzFIREpE0I9tBf+ZebUbMExbLqHudzEpcyWCJCXWjVUnl
	90nJc8mDUp15zjEJYl2+2+zVQeL9wRIPfpDZI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:sender:in-reply-to:references:date
	:x-google-sender-auth:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	b=ZEl31pRCB9fgc4nlbz0cOsDvPchtgnRuXfAlVMc2MtIk9lqThYtKUZv4NNbatUVk+l
	ygFeHQpYUKvyinWbHO2tsg88W5vmMBUXZjKGEj0DEshz9wlwU+39tlZHpeMVophQzorV
	jeqsxtRZQ7qQ7AWh2rWXseyVBXO0dbSbuv0oE=
MIME-Version: 1.0
Received: by 10.141.96.19 with SMTP id y19mr1649044rvl.116.1233217396935; Thu, 
	29 Jan 2009 00:23:16 -0800 (PST)
In-Reply-To: <17eac67c0901282200q42fe7aa4tdf4f19e5854a2ac8@mail.gmail.com>
References: <17eac67c0901282200q42fe7aa4tdf4f19e5854a2ac8@mail.gmail.com>
Date: Thu, 29 Jan 2009 00:23:16 -0800
X-Google-Sender-Auth: 6ab6faa1527dee8b
Message-ID: <fa4efbc00901290023g70bc11fdn2b99c2a3bbc968b8@mail.gmail.com>
Subject: Re: [Sputnik-list] Default installation errors
From: Yuri Takhteyev <yuri@sims.berkeley.edu>
To: Sam Roberts <vieuxtech@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: sputnik-list@lists.luaforge.net
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
List-Archive: <http://lists.luaforge.net/pipermail/sputnik-list>
List-Post: <mailto:sputnik-list@lists.luaforge.net>
List-Help: <mailto:sputnik-list-request@lists.luaforge.net?subject=help>
List-Subscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net

If you use Sputnik with Xavante, you need to restart Xavante after
creating the Admin account and after editing sputnik/config. This is
because we are reusing the same Sputnik states between requests, and
some of the changes cannot be applied on the fly. It's a bug though -
http://spu.tnik.org/en/Tickets/000061. This doesn't happen with CGI.

It shouldn't _hang_ though... I'll see if I can reproduce it with a
fresh installation.

> Also, if I wanted to inject print() calls to debug, any suggestions?
> io.stderr:write()?

Just print() should work with Xavante.

> There was an error in the specified application. The full error message follows:

Where did you get this message?

- yuri

-- 
http://spu.tnik.org/

_______________________________________________
Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list


From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:56:02 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])
	by localhost (mpop-1.0.11) with POP3
	for <yuri>; Fri, 30 Jan 2009 08:56:02 +0000
Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.191.1 with SMTP id o1cs41306wff;
        Thu, 29 Jan 2009 10:46:16 -0800 (PST)
Received: by 10.100.166.10 with SMTP id o10mr357228ane.126.1233254775675;
        Thu, 29 Jan 2009 10:46:15 -0800 (PST)
Return-Path: <sputnik-list-bounces@lists.luaforge.net>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])
        by mx.google.com with ESMTP id b29si161253ana.51.2009.01.29.10.46.14;
        Thu, 29 Jan 2009 10:46:15 -0800 (PST)
Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by mail.luaforge.net with esmtp (Exim 4.50)
	id 1LSdiw-0002jb-Ue; Thu, 29 Jan 2009 18:42:54 -0200
Received: from yx-out-2324.google.com ([74.125.44.30])
	by mail.luaforge.net with esmtp (Exim 4.50) id 1LSdiv-0002jW-4D
	for sputnik-list@lists.luaforge.net; Thu, 29 Jan 2009 18:42:53 -0200
Received: by yx-out-2324.google.com with SMTP id 3so22299yxj.89
	for <sputnik-list@lists.luaforge.net>;
	Thu, 29 Jan 2009 10:45:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:received:in-reply-to:references
	:date:message-id:subject:from:to:content-type
	:content-transfer-encoding;
	bh=imczYBUgzrdaKcw+4VWVEwzbD/lRagquX+bR09mAKvU=;
	b=N2F1iRt915a+6kd7PKHU7ba6+d38S2iz8MSxVuahp8Jd9F4cuWUa7WLSy1Dc+B3TZz
	IZdSqthenAStC+C2G/ear6ehjB0RoFUN7edhqo8kJxL7bNRKExuXq7AJ3dc77WRi7l3+
	IGxhfhPV/b0WlJ6bxqwcwuednerBl/ImXyKck=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type:content-transfer-encoding;
	b=T56hCzJ6XKKIJGruGOfJvRi1WvMetjciHMKqvo2yqGQcbSVpwWF2RJxJy1SzETOX7d
	wwJ0+kPFG5nmPqOffaSVllAgcI30NwyGKy1uIfNI6cILLw6NNJbq/BCvePxPoLC0l/xa
	m85WDgbPdAXHtuu2hVXDjcA/26ndVWGypZgSo=
MIME-Version: 1.0
Received: by 10.143.35.4 with SMTP id n4mr118921wfj.160.1233254757485; Thu, 29 
	Jan 2009 10:45:57 -0800 (PST)
In-Reply-To: <fa4efbc00901290023g70bc11fdn2b99c2a3bbc968b8@mail.gmail.com>
References: <17eac67c0901282200q42fe7aa4tdf4f19e5854a2ac8@mail.gmail.com>
	<fa4efbc00901290023g70bc11fdn2b99c2a3bbc968b8@mail.gmail.com>
Date: Thu, 29 Jan 2009 10:45:57 -0800
Message-ID: <17eac67c0901291045je409a9el7c73dd367135af98@mail.gmail.com>
Subject: Re: [Sputnik-list] Default installation errors
From: Sam Roberts <vieuxtech@gmail.com>
To: sputnik-list@lists.luaforge.net
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
List-Archive: <http://lists.luaforge.net/pipermail/sputnik-list>
List-Post: <mailto:sputnik-list@lists.luaforge.net>
List-Help: <mailto:sputnik-list-request@lists.luaforge.net?subject=help>
List-Subscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net

On Thu, Jan 29, 2009 at 12:23 AM, Yuri Takhteyev <yuri@sims.berkeley.edu> wrote:
> If you use Sputnik with Xavante, you need to restart Xavante after
> creating the Admin account and after editing sputnik/config. This is
> because we are reusing the same Sputnik states between requests, and
> some of the changes cannot be applied on the fly. It's a bug though -
> http://spu.tnik.org/en/Tickets/000061. This doesn't happen with CGI.

I'll try restart.

> It shouldn't _hang_ though... I'll see if I can reproduce it with a
> fresh installation.
>
>> Also, if I wanted to inject print() calls to debug, any suggestions?
>> io.stderr:write()?
>
> Just print() should work with Xavante.

Great.

>> There was an error in the specified application. The full error message follows:
>
> Where did you get this message?

On the Start page. Pressed "Edit". Scrolled down. Pressed "Save".

Same error when editing config.

Sam

_______________________________________________
Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list


From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:56:02 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])
	by localhost (mpop-1.0.11) with POP3
	for <yuri>; Fri, 30 Jan 2009 08:56:02 +0000
Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.191.1 with SMTP id o1cs42480wff;
        Thu, 29 Jan 2009 11:13:13 -0800 (PST)
Received: by 10.100.32.6 with SMTP id f6mr399573anf.87.1233256392324;
        Thu, 29 Jan 2009 11:13:12 -0800 (PST)
Return-Path: <sputnik-list-bounces@lists.luaforge.net>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])
        by mx.google.com with ESMTP id c1si177085ana.20.2009.01.29.11.13.09;
        Thu, 29 Jan 2009 11:13:10 -0800 (PST)
Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by mail.luaforge.net with esmtp (Exim 4.50)
	id 1LSe96-00043u-Tf; Thu, 29 Jan 2009 19:09:56 -0200
Received: from rv-out-0506.google.com ([209.85.198.227])
	by mail.luaforge.net with esmtp (Exim 4.50) id 1LSe95-00043p-E6
	for sputnik-list@lists.luaforge.net; Thu, 29 Jan 2009 19:09:55 -0200
Received: by rv-out-0506.google.com with SMTP id g9so2423229rvb.5
	for <sputnik-list@lists.luaforge.net>;
	Thu, 29 Jan 2009 11:13:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:sender:received:in-reply-to
	:references:date:x-google-sender-auth:message-id:subject:from:to:cc
	:content-type:content-transfer-encoding;
	bh=e1cdWitiFthJZeWlfF528vXb7bqaJWhUIKYyvw9bFA4=;
	b=DcrYUS9VAlgWLz4kNSxtW1JzS1Ybtuua3f3hLWjeB4xNznCBaDmvWZ2ZwLV76DbPVB
	rvO8PV+9p223lCgINqbzXZvm3pFG+8O9OYbwgiA/2Nd2GUber/brycCNcJOzy/VQoZIS
	YAe5aWQTHiT11HuDSVWY3s32gx3bly60CI9k0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:sender:in-reply-to:references:date
	:x-google-sender-auth:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	b=aFm+Ujz2uxvLF+BgSZg+jBkOJTCuwb1kDxZnVCELaGvblbQjxcBLHaWxa4iT+/5RHa
	UeS5Vkpkfj8xFfQD7kSMkLgYeAaAcp6S/kwX/y9dcxHq4DctNpQU8yP3DPoJS0fI9nfV
	lPAIosxWL8DYSmdICgzVJBWYdFI+89uiib89I=
MIME-Version: 1.0
Received: by 10.140.163.12 with SMTP id l12mr169827rve.41.1233256380281; Thu, 
	29 Jan 2009 11:13:00 -0800 (PST)
In-Reply-To: <17eac67c0901291045je409a9el7c73dd367135af98@mail.gmail.com>
References: <17eac67c0901282200q42fe7aa4tdf4f19e5854a2ac8@mail.gmail.com>
	<fa4efbc00901290023g70bc11fdn2b99c2a3bbc968b8@mail.gmail.com>
	<17eac67c0901291045je409a9el7c73dd367135af98@mail.gmail.com>
Date: Thu, 29 Jan 2009 11:13:00 -0800
X-Google-Sender-Auth: 19448ef7043fa935
Message-ID: <fa4efbc00901291113q3a7f1f47jfc4d25c178f422e1@mail.gmail.com>
Subject: Re: [Sputnik-list] Default installation errors
From: Yuri Takhteyev <yuri@sims.berkeley.edu>
To: Sam Roberts <vieuxtech@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: sputnik-list@lists.luaforge.net
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
List-Archive: <http://lists.luaforge.net/pipermail/sputnik-list>
List-Post: <mailto:sputnik-list@lists.luaforge.net>
List-Help: <mailto:sputnik-list-request@lists.luaforge.net?subject=help>
List-Subscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net

>> Just print() should work with Xavante.
>
> Great.

To clarify, if you run xavante as a foreground process, then standard
out will go to the console. Not a good solution for log messages that
would stay in the code, but works for quick debugging.

If you need more serious logging, you should use lualogging, which is
integrated into Sputnik. You will just need to install lualogging and
set two parameters:

LOGGER - set to a lualogging submodule (e.g. "file") to enable logging
LOGGER_PARAMS - logger-specific parameters, e.g.  {"/tmp/sputnik.log"}

See http://www.keplerproject.org/lualogging/index.html for available
logging methods and how to configure them.

BTW, see http://spu.tnik.org/en/Configuration and
http://spu.tnik.org/en/More_Parameters for more info on Sputnik
configuration.

>> Where did you get this message?
>
> On the Start page. Pressed "Edit". Scrolled down. Pressed "Save".

I thought you said it hangs...

- yuri

-- 
http://spu.tnik.org/

_______________________________________________
Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list


From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:56:03 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])
	by localhost (mpop-1.0.11) with POP3
	for <yuri>; Fri, 30 Jan 2009 08:56:03 +0000
Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.191.1 with SMTP id o1cs44068wff;
        Thu, 29 Jan 2009 11:55:51 -0800 (PST)
Received: by 10.100.132.14 with SMTP id f14mr434310and.107.1233258950479;
        Thu, 29 Jan 2009 11:55:50 -0800 (PST)
Return-Path: <sputnik-list-bounces@lists.luaforge.net>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])
        by mx.google.com with ESMTP id d12si236994and.4.2009.01.29.11.55.48;
        Thu, 29 Jan 2009 11:55:49 -0800 (PST)
Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by mail.luaforge.net with esmtp (Exim 4.50)
	id 1LSeoQ-0004EF-Pt; Thu, 29 Jan 2009 19:52:38 -0200
Received: from an-out-0708.google.com ([209.85.132.248])
	by mail.luaforge.net with esmtp (Exim 4.50) id 1LSeoO-0004EA-V9
	for sputnik-list@lists.luaforge.net; Thu, 29 Jan 2009 19:52:37 -0200
Received: by an-out-0708.google.com with SMTP id c37so40282anc.44
	for <sputnik-list@lists.luaforge.net>;
	Thu, 29 Jan 2009 11:55:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:received:in-reply-to:references
	:date:message-id:subject:from:to:content-type
	:content-transfer-encoding;
	bh=QsdaM0f/qFUlyHwhhozVludwFW+OYtWu+0njZmrYsqE=;
	b=Q/WTwbeteu/iFJ0HYF6wS/1+CXWAnytKSzLd8AObmSuqOQEKPGCxjWvNP6PRLIVeTS
	JddmqxM4r7Ht+ELvBYgkxqQ2AGgnWAggRzhG8dcZcxOtH3B60BEbOLV5HsJv/ugVqH/l
	r13JBbh1twEzChdLUxs0tW/eV5sW9D/xMLFjA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type:content-transfer-encoding;
	b=c3wm00gV8wWQmQEiw5F7BkQyjf+CeOOQXN8P0eWqzNOqQ9EbL2FrhUscjWwSKnnX6g
	dGzb3znC5+St20Dx3LoEDwyXjSfmd9gPjCroCViBnu/F28mLrWwtmCxsv8iZke/BeJqD
	LHJxb2itoEAjm9ah5YdgngeBUsOdd0HqjivxA=
MIME-Version: 1.0
Received: by 10.142.81.7 with SMTP id e7mr139516wfb.106.1233258937370; Thu, 29 
	Jan 2009 11:55:37 -0800 (PST)
In-Reply-To: <fa4efbc00901291113q3a7f1f47jfc4d25c178f422e1@mail.gmail.com>
References: <17eac67c0901282200q42fe7aa4tdf4f19e5854a2ac8@mail.gmail.com>
	<fa4efbc00901290023g70bc11fdn2b99c2a3bbc968b8@mail.gmail.com>
	<17eac67c0901291045je409a9el7c73dd367135af98@mail.gmail.com>
	<fa4efbc00901291113q3a7f1f47jfc4d25c178f422e1@mail.gmail.com>
Date: Thu, 29 Jan 2009 11:55:37 -0800
Message-ID: <17eac67c0901291155k1ee729ddtb1d58c232a4f2e00@mail.gmail.com>
Subject: Re: [Sputnik-list] Default installation errors
From: Sam Roberts <vieuxtech@gmail.com>
To: sputnik-list@lists.luaforge.net
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
List-Archive: <http://lists.luaforge.net/pipermail/sputnik-list>
List-Post: <mailto:sputnik-list@lists.luaforge.net>
List-Help: <mailto:sputnik-list-request@lists.luaforge.net?subject=help>
List-Subscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net

On Thu, Jan 29, 2009 at 11:13 AM, Yuri Takhteyev <yuri@sims.berkeley.edu> wrote:
>>> Where did you get this message?
>>
>> On the Start page. Pressed "Edit". Scrolled down. Pressed "Save".
>
> I thought you said it hangs...

I misspoke, my apologies!

To recap, I saw two things:

> Edited the start page, no changes, selected save and it errors.

The error message printed to the browser was the lua stack trace I
included at the bottom of the original email, and repeated below my
signature in this message.

> Created an Admin user.
>
> Edited the config page, no changes, selected save, and it hangs, my
> browser just sat there spinning.

The config page had a different problem, it just hung (with latest
Safari on OS X 10.5, btw).

Cheers,
Sam

"""
There was an error in the specified application. The full error message follows:

...pps/sputnik/rocks//wsapi/1.0-2/lua/wsapi/request.lua:54: bad
argument #2 to 'sub' (number expected, got nil)
stack traceback:
       [C]: in function 'sub'
       ...pps/sputnik/rocks//wsapi/1.0-2/lua/wsapi/request.lua:54: in
function 'read_field_headers'
       ...pps/sputnik/rocks//wsapi/1.0-2/lua/wsapi/request.lua:92: in
function '(for generator)'
       ...pps/sputnik/rocks//wsapi/1.0-2/lua/wsapi/request.lua:112: in
function 'parse_multipart_data'
       ...pps/sputnik/rocks//wsapi/1.0-2/lua/wsapi/request.lua:127: in
function 'parse_post_data'
       ...pps/sputnik/rocks//wsapi/1.0-2/lua/wsapi/request.lua:141: in
function 'new'
       ...putnik/rocks//sputnik/8.08.13-0/lua/sputnik/init.lua:846: in
function <...putnik/rocks//sputnik/8.08.13-0/lua/sputnik/init.lua:841>
       (tail call): ?
       (tail call): ?
stack traceback:
       ...ps/sputnik/rocks//coxpcall/1.13.0-1/lua/coxpcall.lua:24: in
function <...ps/sputnik/rocks//coxpcall/1.13.0-1/lua/coxpcall.lua:22>
       (tail call): ?
       (tail call): ?
       (tail call): ?
       (tail call): ?
       (tail call): ?
       [string "  if (select(2,...)) then..."]:66: in function <[string "
if (select(2,...)) then..."]:63>

_______________________________________________
Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list


From sputnik-list-bounces@lists.luaforge.net Sun Feb  1 02:44:24 2009
Received: from pop.gmail.com (an-in-f111.google.com [209.85.133.111])
	by localhost (mpop-1.0.11) with POP3
	for <yuri>; Sun, 01 Feb 2009 02:44:24 +0000
Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.191.1 with SMTP id o1cs87555wff;
        Fri, 30 Jan 2009 09:28:49 -0800 (PST)
Received: by 10.100.45.9 with SMTP id s9mr1192800ans.103.1233336528146;
        Fri, 30 Jan 2009 09:28:48 -0800 (PST)
Return-Path: <sputnik-list-bounces@lists.luaforge.net>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])
        by mx.google.com with ESMTP id c1si1820482ana.40.2009.01.30.09.28.46;
        Fri, 30 Jan 2009 09:28:47 -0800 (PST)
Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by mail.luaforge.net with esmtp (Exim 4.50)
	id 1LSyzT-0003lp-Nm; Fri, 30 Jan 2009 17:25:23 -0200
Received: from yw-out-2324.google.com ([74.125.46.29])
	by mail.luaforge.net with esmtp (Exim 4.50) id 1LSyzS-0003lk-4I
	for sputnik-list@lists.luaforge.net; Fri, 30 Jan 2009 17:25:22 -0200
Received: by yw-out-2324.google.com with SMTP id 2so183594ywt.89
	for <sputnik-list@lists.luaforge.net>;
	Fri, 30 Jan 2009 09:28:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:received:in-reply-to:references
	:date:message-id:subject:from:to:content-type
	:content-transfer-encoding;
	bh=f8sq5XjEeKTYxBM4I5+9C77bYO1q/NinlL6R8qoqaQM=;
	b=Hsb12u1PRk3dqzKyCX8PUpV/pHjG/CawUWlJZQig9QzU3by4XIv4feMzPzZ86//J6I
	kjzLwRONMzfSEKBvLmyhI3a17NK0aeTcjWUpnrtppxSAXfjceqi1j+5zT+X8ZCAaWM82
	9jgN+DKGGGNoSDIqb5yn/4HIB3+FLq2j370JQ=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type:content-transfer-encoding;
	b=uqEytGls757Gl5CMlReOPBgVg7DNvVPENDzdNO+N82SM9vmlCGvnAU5KRqgGR0gAXo
	ghZSJODO7EEnr8LQ0UkAivYAyUBn/T2KBgsGrorXgewzmZnbHxnzlSdM/aBqNHicpEan
	nuV4VCFWGYBenhuGwGqLrZZ4olp+gb1XDKcTA=
MIME-Version: 1.0
Received: by 10.142.241.10 with SMTP id o10mr404274wfh.275.1233336508231; Fri, 
	30 Jan 2009 09:28:28 -0800 (PST)
In-Reply-To: <fa4efbc00901292319v2f1c3ab6w6426f8dcb6725afa@mail.gmail.com>
References: <17eac67c0901282200q42fe7aa4tdf4f19e5854a2ac8@mail.gmail.com>
	<fa4efbc00901290023g70bc11fdn2b99c2a3bbc968b8@mail.gmail.com>
	<17eac67c0901291045je409a9el7c73dd367135af98@mail.gmail.com>
	<fa4efbc00901291113q3a7f1f47jfc4d25c178f422e1@mail.gmail.com>
	<17eac67c0901291155k1ee729ddtb1d58c232a4f2e00@mail.gmail.com>
	<fa4efbc00901292319v2f1c3ab6w6426f8dcb6725afa@mail.gmail.com>
Date: Fri, 30 Jan 2009 09:28:28 -0800
Message-ID: <17eac67c0901300928l49f3e68aw9b9573088d37a947@mail.gmail.com>
Subject: Re: [Sputnik-list] Default installation errors
From: Sam Roberts <vieuxtech@gmail.com>
To: sputnik-list@lists.luaforge.net
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
List-Archive: <http://lists.luaforge.net/pipermail/sputnik-list>
List-Post: <mailto:sputnik-list@lists.luaforge.net>
List-Help: <mailto:sputnik-list-request@lists.luaforge.net?subject=help>
List-Subscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net

On Thu, Jan 29, 2009 at 11:19 PM, Yuri Takhteyev <yuri@sims.berkeley.edu> wrote:
> Just to check, on what server are you running Sputnik with Xavante?

webfaction

> In case you are trying to do this on webfaction, this probably won't
> play nice with their firewalls, etc. For me, Xavante works well for

I had no trouble.

Well, I had the trouble I mentioned, but no trouble just running
Xavante and browsing the default wiki in read-only mode.

> development and can be used for deployment if you fully control the
> server. On shared hosting, however, you'll have to use cgi of fastcgi.

Webfaction actually has support specifically for custom apps where you
run a server yourself on a specific port.

That would work with Xavante, but my next step was going to work on
the deployment as cgi.

Do you think the wsapi error is an incompatibility between wsapi and
the internal http server?

I can try deploying as .cgi tonight, I think.

Sam

_______________________________________________
Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list


From sputnik-list-bounces@lists.luaforge.net Sun Feb  1 02:44:24 2009
Received: from pop.gmail.com (an-in-f111.google.com [209.85.133.111])
	by localhost (mpop-1.0.11) with POP3
	for <yuri>; Sun, 01 Feb 2009 02:44:24 +0000
Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.191.1 with SMTP id o1cs88682wff;
        Fri, 30 Jan 2009 10:04:40 -0800 (PST)
Received: by 10.100.144.11 with SMTP id r11mr1248933and.24.1233338679554;
        Fri, 30 Jan 2009 10:04:39 -0800 (PST)
Return-Path: <sputnik-list-bounces@lists.luaforge.net>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])
        by mx.google.com with ESMTP id b29si1410973ana.11.2009.01.30.10.04.37;
        Fri, 30 Jan 2009 10:04:39 -0800 (PST)
Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by mail.luaforge.net with esmtp (Exim 4.50)
	id 1LSzYL-0004tw-ML; Fri, 30 Jan 2009 18:01:25 -0200
Received: from qb-out-0506.google.com ([72.14.204.226])
	by mail.luaforge.net with esmtp (Exim 4.50) id 1LSzYK-0004tr-R8
	for sputnik-list@lists.luaforge.net; Fri, 30 Jan 2009 18:01:24 -0200
Received: by qb-out-0506.google.com with SMTP id b14so224809qbc.11
	for <sputnik-list@lists.luaforge.net>;
	Fri, 30 Jan 2009 10:04:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:sender:received:in-reply-to
	:references:date:x-google-sender-auth:message-id:subject:from:to:cc
	:content-type:content-transfer-encoding;
	bh=/tGO1Fb/6pF3C9CmjnL6vo/XUwoTVst8KW7exjq2d7w=;
	b=FOuGi3nSx4yyIqz1OhQnzvFQ2mwsrje5/lsXcOonh06FlOKn7ticmGX/eUDE3fECQP
	n7Ig5CVKAtHEwpwwiaLpgXRh5OHdug0NXX878BUuXE08029jCnmMjd8gcVSzLCNoe9hp
	77Av0Z0Whcn1KEJgWK38HcgA3xsVBKzyS0/EU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:sender:in-reply-to:references:date
	:x-google-sender-auth:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	b=lOplwqu+OHtk035wCNsfnMBAJkEnKRXVZQuujOpgXrDaWfDnY/DvHKvgIoRNXPyyCS
	XZzXurNMUrBI5KZBzuEJD0mqH7QD71SEITx7mJGKRudFb35Zi8k+HPPtneg5S8jgbsC3
	RuvAd7cQsW+hv1GdxiKrjauLwXm1RWjq7j6EQ=
MIME-Version: 1.0
Received: by 10.141.85.13 with SMTP id n13mr741946rvl.102.1233338664145; Fri, 
	30 Jan 2009 10:04:24 -0800 (PST)
In-Reply-To: <17eac67c0901300928l49f3e68aw9b9573088d37a947@mail.gmail.com>
References: <17eac67c0901282200q42fe7aa4tdf4f19e5854a2ac8@mail.gmail.com>
	<fa4efbc00901290023g70bc11fdn2b99c2a3bbc968b8@mail.gmail.com>
	<17eac67c0901291045je409a9el7c73dd367135af98@mail.gmail.com>
	<fa4efbc00901291113q3a7f1f47jfc4d25c178f422e1@mail.gmail.com>
	<17eac67c0901291155k1ee729ddtb1d58c232a4f2e00@mail.gmail.com>
	<fa4efbc00901292319v2f1c3ab6w6426f8dcb6725afa@mail.gmail.com>
	<17eac67c0901300928l49f3e68aw9b9573088d37a947@mail.gmail.com>
Date: Fri, 30 Jan 2009 10:04:24 -0800
X-Google-Sender-Auth: 8fcb9047a558339f
Message-ID: <fa4efbc00901301004m5e041b9fqd92c6ebb4706fc8f@mail.gmail.com>
Subject: Re: [Sputnik-list] Default installation errors
From: Yuri Takhteyev <yuri@sims.berkeley.edu>
To: Sam Roberts <vieuxtech@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: sputnik-list@lists.luaforge.net
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
List-Archive: <http://lists.luaforge.net/pipermail/sputnik-list>
List-Post: <mailto:sputnik-list@lists.luaforge.net>
List-Help: <mailto:sputnik-list-request@lists.luaforge.net?subject=help>
List-Subscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net

> Do you think the wsapi error is an incompatibility between wsapi and
> the internal http server?

I am not sure whether Sputnik, WSAPI or Xavante are to blaim, but I am
quite sure this problem is limited to the Sputnik/WSAPI/Xavante stack.
I've never heard of anyone having this problem with CGI.

The same problem was reported by Alexander last month, also running Xavante:

http://spu.tnik.org/en/list/Problems_installing_Sputnik#message_agladysh_3

I saw something like this once in early January but have never been
able to reproduce it. I'll look into it more and try it on webfaction
in particular.

 - yuri

-- 
http://spu.tnik.org/

_______________________________________________
Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list
Powered by Sputnik | XHTML 1.1