1. EuGTK demos - minor stuff
- Posted by Jerry_Story Jan 20, 2012
- 6985 views
/demos$ eui test2.ex /demos/GtkEngine.e:178 in function defaults() true/false condition must be an ATOM ... called from /demos/GtkEngine.e:232 in function create() ... called from /demos/test2.ex:16
/demos$ eui test61.ex /demos/GtkEngine.e:252 in function create() passing a sequence where an atom is required ... called from /demos/test61.ex:4
2. Re: EuGTK demos - minor stuff
- Posted by Jerry_Story Jan 20, 2012
- 6999 views
Also: test6.ex test10.ex test18.ex test24.ex test27.ex test28.ex
Maybe something is wrong on my setup. But the whole /demos directory is a fresh download.
3. Re: EuGTK demos - minor stuff
- Posted by irv Jan 23, 2012
- 6764 views
These errors seem to be coming from trying to load an image which can't be found. First thing to do would be to be sure the image is there, and permissions are correct. Then you might try hard-coding the full path, instead of using the tilde:
constant img = create(GtkImage,"~/demos/images/euphoria.gif") --try instead: constant img = create(GtkImage,"/home/yourself/demos/images/euphoria.gif")
If the hard-coded path works, then there's something wrong with canonical_path(), which I use when loading images.
You might add a line to GtkEngine.e which will give a better error report: on or around line 178, add the 'crash' line shown below:
if string(args[1]) and file_exists(canonical_path(args[1])) then return "new_from_file" end if if string(args[1]) and match("gtk-",args[1]) = 1 then return "new_from_stock" end if if string(args[1]) then crash("Error: can't find %s\n",{args[1]}) end if -- ADD if args[1] = 0 then return "new" end if
4. Re: EuGTK demos - minor stuff
- Posted by irv Jan 25, 2012
- 6659 views
Fixed (I hope) to show a 'missing image' when the image file can't be found. Update:
5. Re: EuGTK demos - minor stuff
- Posted by irv Feb 09, 2012
- 5498 views
Update Feb. 9, more bug fixes, added demos:
6. Re: EuGTK demos - minor stuff
- Posted by irv Feb 17, 2012
- 4862 views
Updated Feb. 17, more bug fixes, and good printer support.
7. Re: EuGTK demos - minor stuff
- Posted by irv Mar 22, 2012
- 3609 views
Updated March 22, more demos, more documentation.
8. Re: EuGTK demos - minor stuff
- Posted by kinz Apr 01, 2012
- 2968 views
Hi Irv,
There are 2 entries on EuGTK in the RDS Archive now. What does it mean?
Regards
kinz
9. Re: EuGTK demos - minor stuff
- Posted by irv Apr 05, 2012
- 2775 views
Hi Irv,
There are 2 entries on EuGTK in the RDS Archive now. What does it mean?
Regards
kinz
I guess it means we can't use version numbers as part of the file name :( Maybe Rob can delete the older version, I don't see a way for me to do that.
10. Re: EuGTK demos - minor stuff
- Posted by kinz Apr 05, 2012
- 2625 views
I don't see a way for me to do that.
Try to use the "arrow_up" control to *update* the existing entry, do not use the link for a *new contrib* if you want just update some package.
To delete some extra entry, you can use that "arrow_up" and ask RDS to delete package in the "comments for RDS" window.
Good Luck!
kinz