2007-11-08:
[3:02] <kuccello> Noob Question: I'm trying to learn helma 1.6 but I keep getting the same error when I follow the tutorials[3:02] <kuccello> the error is "Error in application rssreader[3:02] <kuccello> Object not found.[3:02] <kuccello> "[3:02] <kuccello> then I tried the tutorial on the helma.org site[3:03] <kuccello> and I get "Action not found"[3:03] <kuccello> I have added the app name to apps.properties[3:04] <kuccello> I have created the code directory and the Root directory under code[3:04] <kuccello> <helma-apps-dir>/sample/code/Root[3:04] <kuccello> then I created main.hac[3:05] <kuccello> with the code provided on the helma tutorial[3:05] <kuccello> then I created html.skin[3:05] <kuccello> again with the code provided from the tutorial[3:05] <kuccello> Can anyone help point me in the right direction?[3:06] <kuccello> I found out about helma from linux pro magazine - November 2007 issue[3:06] <kuccello> I also could not get the sample code working from the article (I think the article was incomplete maybe?)[3:07] <kuccello> anyway I don't know where to get more info - i've read the helma docs etc. but no joy - i'm lost as to what I'm doing wrong[3:07] <kuccello> the sample application (welcome) works as does the manager application[3:18] <kuccello> Here is some info from the logs:[3:18] <kuccello> [2007/11/07 22:13:39] [INFO] Closing DB connection: com.mysql.jdbc.Connection@193f6e2[3:19] <kuccello> [2007/11/07 22:15:52] [INFO] Closing DB connection: com.mysql.jdbc.Connection@1e13e07[3:19] <kuccello> [2007/11/07 22:15:52] [ERROR] rssreader:get:/: Object not found.[3:19] <kuccello> helma.framework.FrameworkException: Object not found.[3:19] <kuccello> at helma.framework.core.RequestEvaluator.run(RequestEvaluator.java:321)[3:20] <kuccello> at java.lang.Thread.run(Thread.java:595)[3:43] <kuccello> ^F[7:06] <zumbrunn> kuccello, come back here[7:06] <zumbrunn> I'll help you sort it out[7:06] <zumbrunn> just can't do that while I'm sleeping ;-)[7:07] <zumbrunn> I didn't know about the linux pro article[7:15] <zumbrunn> http://www.linuxpromagazine.com/issues/2007/84/better_and_safer/[13:43] <kuccello> hi zumbrunn[13:43] <zumbrunn> hi kuccello![13:43] <kuccello> I played around a little more and discovered that I'm having issue with the .hac files[13:44] <kuccello> when I created a Root.js with a main action it worked[13:44] <kuccello> so I guess I'm not understanding the role of .hac[13:45] <zumbrunn> was that based on example code from the linux pro article?[13:45] <kuccello> if I have a main.hac does it handle the main action controll like defining a main_action in the prototype of root?[13:45] <kuccello> ya[13:46] <zumbrunn> yes, main.hac == main_action[13:46] <kuccello> here is my 2 lined main.hac (one sec... I need to open the file)[13:46] <zumbrunn> maybe you can paste the code you had inside the main.hac to the pastebin[13:46] <zumbrunn> http://helma.pastebin.com/[13:47] <kuccello> I'm really new to IRC so I'm not sure how to do that?[13:47] <kuccello> oh its on the site?[13:47] <zumbrunn> yep[13:47] <zumbrunn> then paste the url here[13:47] <kuccello> one sec...[13:48] <kuccello> http://helma.pastebin.com/m4a4c986f[13:48] <kuccello> I'll paste the html.skin file too[13:49] <kuccello> http://helma.pastebin.com/m20ec4317[13:49] <kuccello> that one is the html.skin[13:49] <zumbrunn> that looks like it should work the way you have it[13:49] <kuccello> I have that in the Global dir[13:50] <zumbrunn> put it in the HopObject dir instead[13:50] <kuccello> ok, let me try that...[13:51] <kuccello> where should the main.hac be?[13:51] <zumbrunn> both files should be in the HopObject directory[13:52] <zumbrunn> ./apps/yourapp/HopObject/[13:52] <zumbrunn> unless you specify another code repository location in your apps.properties file[13:52] <kuccello> I have only defined the app name[13:52] <zumbrunn> ok[13:53] <kuccello> so it should default to repository?[13:53] <zumbrunn> what's your app name?[13:53] <kuccello> I just created a new one called test[13:53] <kuccello> I created the directories[13:54] <kuccello> <helma>/apps/test/code/HopObject[13:54] <zumbrunn> ok, so both main.hac and title.skin should go into /apps/test/HopObject/[13:54] <zumbrunn> without the code[13:54] <kuccello> in there is main.hac and html.skin[13:54] <zumbrunn> without the "/code/"[13:54] <kuccello> ohhh[13:54] <kuccello> let me fix that[13:55] <zumbrunn> the code subdir structure is often used[13:55] <zumbrunn> but then you need to specify it in apps.properties[13:55] <kuccello> Ok, that was unclear to me when I read the docs[13:56] <kuccello> ok, I made the change - no error but now nothing is rendering either[13:56] <zumbrunn> hmm[13:57] <zumbrunn> what is the url you are accessing?[13:57] <kuccello> the main.hac and html.skin are the same as what I sent[13:57] <kuccello> url is: http://localhost:8080/test/[13:57] <zumbrunn> ok[13:58] <kuccello> let me paste you the log files[13:59] <zumbrunn> another good starting point to explore the first baby steps with helma is the HopObject directory inside the welcome app[14:00] <kuccello> here are the logs: http://helma.pastebin.com/m2f07444a[14:00] <kuccello> its the event.log that has me wondering[14:01] <zumbrunn> looks like it doesn't find the main.hac[14:01] <zumbrunn> do you have a type.properties file?[14:01] <kuccello> that may be from before I made the dir change....[14:01] <kuccello> let me check[14:01] <zumbrunn> (I don't know the linux pro article)[14:02] <kuccello> no type.properties file in the test app[14:03] <kuccello> I cleared the log files and now I have this in the access.log[14:03] <kuccello> [2007/11/08 09:03:30] [INFO] test:get:/ 0 inserted, 0 updated, 0 deleted in 0 millis[14:03] <kuccello> no error but nothing is happening[14:04] <kuccello> btw I'm using helma 1.6 (downloaded it three days ago)[14:04] <zumbrunn> try a main.hac that just says: res.write('Hello world');[14:04] <kuccello> ok[14:04] <kuccello> that worked[14:05] <kuccello> do I need to tweek anything to make the skin files work?[14:08] <zumbrunn> hmm[14:08] <zumbrunn> oh...[14:08] <zumbrunn> because I told you to move the files to the HopObject dir...[14:09] <zumbrunn> you need to change the one line in the main.hac to this.renderSkin('html')[14:09] <kuccello> ok[14:09] <zumbrunn> (or move the skin file back to the Global dir)[14:09] <kuccello> Sucess![14:10] <kuccello> thank you so much[14:11] <zumbrunn> do you know if that linux pro article is online anywhere?[14:11] <kuccello> Let me check...[14:11] <zumbrunn> or at least the example code?[14:11] <zumbrunn> I found this:[14:11] <zumbrunn> http://www.linuxpromagazine.com/issues/2007/84/better_and_safer/[14:11] <kuccello> I can send it to you...[14:11] <zumbrunn> but that seems to be just the cover[14:12] <zumbrunn> yes, please do![14:12] <zumbrunn> chris@zumbrunn.com[14:12] <kuccello> gonna scann it...[14:12] <zumbrunn> :-)[14:29] <kuccello> these pdf files are big[14:30] <kuccello> I'm going to put them on a server and send you the link[14:30] <zumbrunn> ok, thanks![14:46] <kuccello> check your email[14:46] <kuccello> let me know you got the message[14:47] <zumbrunn> got the message, but I can't get to kingdoms.ca so far[14:47] <zumbrunn> the domain name doesn't resolve[14:48] <kuccello> let me check something....[14:48] <kuccello> r u a linux or windows user?[14:48] <zumbrunn> macosx[14:48] <kuccello> lol, ok do you know how to change your host file?[14:49] <kuccello> point kingdoms.ca to 208.109.232.53[14:49] <zumbrunn> ok[14:49] <kuccello> I forgot that I have not updated the dns on that domain yet - i'll do it now but it could take 24 hrs[15:07] <zumbrunn> kuccello, I can read the directory page but not the individual pdf files[15:07] <zumbrunn> I get a 403 Forbidden when I try that[15:08] <kuccello> let me check the file permisions[15:10] <kuccello> try now[15:11] <zumbrunn> ok, they are coming in now[15:14] <zumbrunn> ok, got them all... thanks![15:15] <kuccello> thanks for the help[17:50] <kuccello> zumbrunn - if you figure out why the code in the article is not working would you let me know what I can do to make it work?[21:25] <kuccello> btw: I set up a blog at helmablog.com where I intend on posting as I learn.[21:25] <kuccello> http://www.helmablog.com is the full url[21:55] <zumbrunn> cool kuccello ...I'll be tracking it...[21:55] <zumbrunn> can't get to it yet, though[22:06] <kuccello> maybe the dns has not propogated yet
In the channel now:
Logs by date: