[gentoo-user] Awesome WM, io.popen() attempt to index io nil value

March 01st, 2012 - 10:40 am ET by trevor donahue | Report spam

Hi folks,
is anyone of you using awesome wm?
I've been struggling with a little bit of a problem lately, wanted to
create a widget that retrieves gmail data using curl. The problem
encountered is the function io.popen() that returns nil [attempt to index
io nil value] (as having an error in lua) even though not doing anything
special, tested also with ls -l and other trivial bash commands...

Can somebody help me resolve the problem?


<div>Hi folks,</div><div>is anyone of you using awesome wm?</div><div>I&#39;ve been struggling with a little bit of a problem lately, wanted to create a widget that retrieves gmail data using curl. The problem encountered is the function io.popen() that returns nil [attempt to index io nil value] (as having an error in lua) even though not doing anything special, tested also with ls -l and other trivial bash commands... </div>
<div><br></div><div>Can somebody help me resolve the problem?</div>

email Follow the discussionReplies 4 repliesReplies Make a reply

Similar topics

Replies

#1 trevor donahue
March 04th, 2012 - 02:20 pm ET | Report spam

anyone?

On Thu, Mar 1, 2012 at 3:17 PM, trevor donahue wrote:

http://www.lua.org/manual/5.1/manual.html#5.7
the doc
also found on other resources scripts using IO not io, that still aint
working...


On Thu, Mar 1, 2012 at 3:14 PM, trevor donahue wrote:

Hi folks,
is anyone of you using awesome wm?
I've been struggling with a little bit of a problem lately, wanted to
create a widget that retrieves gmail data using curl. The problem
encountered is the function io.popen() that returns nil [attempt to index
io nil value] (as having an error in lua) even though not doing anything
special, tested also with ls -l and other trivial bash commands...

Can somebody help me resolve the problem?






Thanks,
Donahue Trevor






Thanks,
Donahue Trevor


anyone?<br><div><br><div class="gmail_quote">On Thu, Mar 1, 2012 at 3:17 PM, trevor donahue <span dir="ltr">&lt;<a href="mailto:"></a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="http://www.lua.org/manual/5.1/manua...#5.7" target="_blank">http://www.lua.org/manual/5.1/manua...div>the doc</div><div>also found on other resources scripts using IO not io, that still aint working...<div>
<div class="h5"><br><br><div class="gmail_quote">
On Thu, Mar 1, 2012 at 3:14 PM, trevor donahue <span dir="ltr">&lt;<a href="mailto:" target="_blank"></a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>Hi folks,</div><div>is anyone of you using awesome wm?</div><div>I&#39;ve been struggling with a little bit of a problem lately, wanted to create a widget that retrieves gmail data using curl. The problem encountered is the function io.popen() that returns nil [attempt to index io nil value] (as having an error in lua) even though not doing anything special, tested also with ls -l and other trivial bash commands... </div>


<div><br></div><div>Can somebody help me resolve the problem?</div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Thanks,<div>Donahue Trevor</div><br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks,<div>Donahue Trevor</div><br>
</div>

Replies Reply to this message
#2 Michael Mol
March 04th, 2012 - 02:40 pm ET | Report spam
I use AwesomeWM, but I haven't messed with the Lua side of things. You
might try in #awesome on Freenode.

On Sun, Mar 4, 2012 at 2:13 PM, trevor donahue wrote:
anyone?

On Thu, Mar 1, 2012 at 3:17 PM, trevor donahue
wrote:

http://www.lua.org/manual/5.1/manual.html#5.7
the doc
also found on other resources scripts using IO not io, that still aint
working...


On Thu, Mar 1, 2012 at 3:14 PM, trevor donahue
wrote:

Hi folks,
is anyone of you using awesome wm?
I've been struggling with a little bit of a problem lately, wanted to
create a widget that retrieves gmail data using curl. The problem
encountered is the function io.popen() that returns nil [attempt to index io
nil value] (as having an error in lua) even though not doing anything
special, tested also with ls -l and other trivial bash commands...

Can somebody help me resolve the problem?






Thanks,
Donahue Trevor






Thanks,
Donahue Trevor






:wq
Replies Reply to this message
#3 Michael Mol
March 04th, 2012 - 02:40 pm ET | Report spam
Er. #awesome on OFTC apparently has more users.

On Sun, Mar 4, 2012 at 2:28 PM, Michael Mol wrote:
I use AwesomeWM, but I haven't messed with the Lua side of things. You
might try in #awesome on Freenode.

On Sun, Mar 4, 2012 at 2:13 PM, trevor donahue wrote:
anyone?

On Thu, Mar 1, 2012 at 3:17 PM, trevor donahue
wrote:

http://www.lua.org/manual/5.1/manual.html#5.7
the doc
also found on other resources scripts using IO not io, that still aint
working...


On Thu, Mar 1, 2012 at 3:14 PM, trevor donahue
wrote:

Hi folks,
is anyone of you using awesome wm?
I've been struggling with a little bit of a problem lately, wanted to
create a widget that retrieves gmail data using curl. The problem
encountered is the function io.popen() that returns nil [attempt to index io
nil value] (as having an error in lua) even though not doing anything
special, tested also with ls -l and other trivial bash commands...

Can somebody help me resolve the problem?






Thanks,
Donahue Trevor






Thanks,
Donahue Trevor






:wq





:wq
Replies Reply to this message
#4 Claudio Roberto França Pereira
March 05th, 2012 - 08:30 am ET | Report spam
Repeat the question on Subscribe to it as usual,
awesome+
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search