News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
readDirectory in 0.6.0
Author Message
dcharno
Junior Member
**


Posts: 10
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #1
readDirectory in 0.6.0

Did readDirectory disappear in 0.6.0?

01-23-2008 05:34 AM
Find all posts by this user Quote this message in a reply
iGame3D
Moderator
***


Posts: 231
Group: Moderators
Joined: Apr 2007
Status: Offline
Reputation: 0
Post: #2
RE: readDirectory in 0.6.0

Didn't that go away .5.5?
lfs is the way to go.

Code:
for file in lfs.dir("your/path/here") do
print(file)
end


I thought I had been referring to your scripts for help remembering how to do that.

01-23-2008 06:31 AM
Visit this user's website Find all posts by this user Quote this message in a reply
dcharno
Junior Member
**


Posts: 10
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #3
RE: readDirectory in 0.6.0

iGame3D Wrote:
Didn't that go away .5.5?
lfs is the way to go.

Code:
for file in lfs.dir("your/path/here") do
print(file)
end


I thought I had been referring to your scripts for help remembering how to do that.


Thanks. I had skipped many of the releases because x86_64 was not supported. I figured I'd give the latest a try, although I'm currently on just a 32 bit machine.

01-23-2008 07:12 AM
Find all posts by this user Quote this message in a reply
iGame3D
Moderator
***


Posts: 231
Group: Moderators
Joined: Apr 2007
Status: Offline
Reputation: 0
Post: #4
RE: readDirectory in 0.6.0

oops, see what happens when I post as soon as I wake up, I mistook you for mikshaw. I thought it odd he'd ask that question. :-)

01-23-2008 08:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
dcharno
Junior Member
**


Posts: 10
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #5
RE: readDirectory in 0.6.0

dcharno Wrote:
Thanks. I had skipped many of the releases because x86_64 was not supported. I figured I'd give the latest a try, although I'm currently on just a 32 bit machine.


No luck running on 64-bit linux. Darn ...

01-23-2008 01:56 PM
Find all posts by this user Quote this message in a reply
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #6
RE: readDirectory in 0.6.0

Quote:
No luck running on 64-bit linux.

I can't say how well it works, but have you tried compiling the source?

Quote:
I mistook you for mikshaw.

=opppp
Ain't nothing compared to some of the stupid mistakes I've made prior to coffee, or long after I shoulda been sleeping =o)

01-23-2008 02:21 PM
Find all posts by this user Quote this message in a reply
JohnMurga
Administrator
*******


Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #7
RE: readDirectory in 0.6.0

dcharno Wrote:

dcharno Wrote:
Thanks.  I had skipped many of the releases because x86_64 was not supported.  I figured I'd give the latest a try, although I'm currently on just a 32 bit machine.


No luck running on 64-bit linux. Darn ...


It runs fine for me on Mephis 64Bit ... As soon as my family leaves (this weekend), I am going to take a look at the code and try to make it 64Bit safe.

Right now it doesn't compile natively on 64Bit.

Cheers
JohnM

This post was last modified: 01-24-2008 06:56 PM by JohnMurga.

01-24-2008 06:55 PM
Visit this user's website Find all posts by this user Quote this message in a reply
dcharno
Junior Member
**


Posts: 10
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #8
RE: readDirectory in 0.6.0

JohnMurga Wrote:
It runs fine for me on Mephis 64Bit ... As soon as my family leaves (this weekend), I am going to take a look at the code and try to make it 64Bit safe.

Right now it doesn't compile natively on 64Bit.


Hmmm. It complained loading libsqlite. I'll have to look at it again later tonight.

01-25-2008 07:02 AM
Find all posts by this user Quote this message in a reply
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #9
RE: readDirectory in 0.6.0

Quote:
It complained loading libsqlite.

Without seeing the error message I can only guess, but it sounds like you might just need to install or upgrade sqlite.

01-25-2008 07:22 AM
Find all posts by this user Quote this message in a reply
dcharno
Junior Member
**


Posts: 10
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #10
RE: readDirectory in 0.6.0

mikshaw Wrote:

Quote:
It complained loading libsqlite.

Without seeing the error message I can only guess, but it sounds like you might just need to install or upgrade sqlite.


Its looking for a 32-bit version, but the installed version is 64-bit.

01-25-2008 08:19 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: