site  contact  subhomenews

Genie bugs reported

October 26, 2009 — BarryK
I'm working through my Genie web pages, updating them, and of course testing all the examples.

I am using vala from git, October 24, 2009.

Two of the examples (so far) do not compile and I have reported to the bugzilla:

https://bugzilla.gnome.org/show_bug.cgi?id=599635
https://bugzilla.gnome.org/show_bug.cgi?id=599636

Comments

Genie strings
Username: Caleb
Hi Barry, While you're looking at your Genie web pages, there's a reference to a string function 'up' which converts a string to uppercase. If the usage is supposed to be: up("string"), it does not work. I get: The name `up' does not exist in the context of `Tray.get_current' That last bit is just a class and method I'm working on. I'm using Vala 0.7.4. here. Regards Caleb

Bug N
°1"Niko33"Hi Barry, If you have updated the libgee, the bug n°1 is not a bug, but a change in the lib ! Use this: [indent=4] init /* test dicts */ var d = new dict of string,string /* add or change entries with following */ d["Genie"] = "Great" d["Vala"] = "Rocks" /* access entires using d[key] */ for s in d.keys print "%s => %s", s, d[s] See you, Nicolas.

hiawatha admin scripts
Username: clarf
"Hi Barry, I donīt see any administrative command line for hiawatha in Puppy, then I requested for that feature in Hiawatha forum and the answer was: "The Hiawatha source tarball comes with a start, stop, restart and status script. If Puppy didn't use it, it's not my fault." Barry, Does Puppy has or not those scripts?. These command line parameters are not included in the hiawatha executable, but seems some scripts added in /usr/local/etc/rc.d/ for some other distros. Could be those scripts included in Puppy? To read my feature request post in haiwatha see: http://www.hiawatha-webserver.org/forum/topic/328 Thank you, clarf

Genie strings
Username: Niko33
"Caleb, If you want to use this function, try this: yourstring.up(-1) Nicolas.

Aha
Username: Caleb
"Thanks Nicholas. I'm obviously getting tied-up in terminology. I always think of a function as: func(args) And I think of a method as: object.method(args) That's where my mistake was. Regards Caleb

Hiawatha
Username: BarryK
"clarf, The most appropriate thing to do would have been to get the hiawatha pet pkg from ibiblio and see what is in it. #> tar -zxf hiawatha-6.17.1-p4.pet ...and you would have discovered /usr/sbin/hiawatha.run.

d.keys
Username: BarryK
"Nicolas, Thanks for that! yes, I upgraded to the latest libgee. Ah, so it logically follows that "d.values" will work too ...yes it does. I'll be glad when they get close to vala 1.0 and freeze things like this.

Genie bugs resolved
Username: BarryK
"Both bugs have been resolved, and I have closed them at the bugzilla.

Is it??
Username: Jota
"Barry, I really don't think your answer to "clarf" makes good sense!! (Somehow, maybe is just my impression, but lately you seem a little too hard and bitter??)

hiawatha.run
Username: clarf
"Hi Barry, I know you are a busy man, I should search for my self first before ask you (at least you reply). My intention is not to bother you with small problems, I want to collaborate, learn and also make Puppy better. Excuse me if I was inopportune... Well I donīt know if you tried it but, the /usr/sbin/hiawatha.run file doesnīt work, when I try to run it I get: [b]Duplicate extension (pl) found in CGIhandler /usr/bin/perl[/b]. Reading the hiawatha.run script, it seems to call a binary call "wigwam", if I run wigwam I get the same error. Iīll search in google and look at the error, Maybe itīs a stupid error that you can fix easily or maybe I making something wrong or stupid, I only want to report it to you. Thank you for you attention pleased Barry, clarf.

hiawatha.run fixed
Username: clarf
"Hi Barry, I could manage to use hiawatha.run and get ride off the duplicated extension error. Iīll write it just for the record, I modified line 23 from /etc/hiawatha.conf, removing the pl extension (leaving only: CGIextension=bin). Surely I removed some "Puppy" functionality and surely you knew it, but now I can start and restart hiawatha using hiawatha.run (as far as I see its running just fine, I didnīt broke anything that I normally use). Thank you again, clarf

hiawatha.bin
Username: BarryK
"clarf, The personal blog, PPLOG, needs that .pl extension. The .bin is needed by QUISP. It was the Hiawatha developer himself who advised me to put both with comma delimiter: CGIextension = pl,bin My scripts /usr/sbin/pplog_gui and quisp_shell only call hiawatha.run when they want to stop the server. ...just tested it, yep works. Ah, "hiawatha.run start" does give an error. It is actually the line "wigwam -q". Yeah, ok, I will get onto the developer about that. Actually, my previous rather terse reply to you was mostly concern that you had gone to the Hiawatha developer with a problem that you could easily have dealt with. The Hiawatha developer has a reputation for quite caustic replies. He would likely have the view that he just says it like it is, doesn't pull any punches. Hmmm, his 'wigwam' is faulty, it contradicts the advise he personally gave me. I'll let him know pronto. You could just take the "wigam -q" line out of hiwatha.run.

hiawatha.bin
Username: clarf
"Hi Barry, I did a second test to the personal blog PPLOG, after changed /etc/hiawatha.conf in line 23 to fix the "hiawatha.run start" error. PPLOG seems to works fine, I started it and the helcome HomePage was shown, later I created some new entries and could look at them at "Archive" link content. Also read the new Categories created.... I really think that my previous little fix does not remove any functionality (I started QUISP and seems to run fine too), the previous error pointed that the perl component was initialized [b]twice[/b], then itīs logical that perl apps work. Barry, could you please look at this change. I did some basic test and everything works fine, but I just started to use PPLOG and QUISP from now. In this case we can keep the "wigam -q" command and we could add the status command to hiawatha.run defined here: [u]http://www.hiawatha-webserver.org/forum/topic/336[/u] Thank you for the attention and waiting for an answer. clarf

Hiawatha
Username: BarryK
"Clarf, I have had some email communication with the Hiawatha developer. He said these two lines are clashing: [i]CGIhandler = /usr/bin/perl:pl CGIextension = pl,bin[/i] He indicated that we could either remove the "pl" from the second line or remove the first line. I have chosen to comment-out the first line, and have modified the hiawatha pet package. I'll upload it to ibiblio soon.

hiawatha pet
Username: clarf
"Hi Barry, I canīt see any new hiawatha pet in ibiblio (searched in 4 and 5 series, also Woof)are you going to upload it soon?. Iīm asking because a new version 6.18 was released. Then it could be good to compile the new version, adding the changes to hiawatha.conf and updating hiawatha.run script as we discussed before. Thank you for the attention pleased Barry.

genie in geany
Username: technosaurus
"fyi 3 days ago Nick Treleaven added custom filetype [i]genie[/i] into the SVN/GIT tree of [b]Geany[/b]

Re: Genie
Username: BarryK
"technosaurus, That is [i]very[/i] interesting!


Tags: woof