r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3-OLD1]

Mchean
17-Feb-2009
[11646]
I have a question about the Gui_Basics example in the R3 docs.  The 
ex. under Adding styles won't work for me.  title "Opinion Survey" 
comes back with title having no value - this after load-gui
Claude
18-Feb-2009
[11647x4]
hello,
i try to load rebDB-203 in R3 .................          but R3 return 
a error when a try to do a "db-create my-table [id date name]"   
   with  >> db-create "my-table" [id date nom]

** Script error: db-create does not allow string! for its 'table 
argument

** Note: use WHY? for more about this error
This is just to ask if someone has already try to bring tools like 
reddb on R3
rebdb !!!
PeterWood
18-Feb-2009
[11651]
You got further than I when I triead:
>> do %/Users/peter/Code/Library/Rebol/RebDB-203/db.r

** Syntax error: Invalid "string" -- {"Ashley G. TrŸter"}

** Where: to unless load case applier do
** Near: (line 3) Owner:		"Ashley G. TrŸter"
Claude
18-Feb-2009
[11652]
i copy the script and remove the header
PeterWood
18-Feb-2009
[11653]
I don't think anybody has looked at converting tools to R3 yet as 
it is still too early for them.
Claude
18-Feb-2009
[11654x2]
i do after if a load %my-copy-db.r
the function db-create is ok then !-) ............but need much more 
to be good for us
Henrik
18-Feb-2009
[11656]
In general you would be very lucky if a fairly large R2 product works 
directly under R3.
Claude
18-Feb-2009
[11657x4]
i thing it is important for every body who use rebdb !!!!
or perhaps R3 guru would give us a better way to do this ;-)
is the same for rebgui............il would like to see a R3
a R3 demo that do all rebgui do
PeterWood
18-Feb-2009
[11661x2]
The table name you supply to db-create should be a word! not a string!

>> ? db-create

USAGE:

	DB-CREATE 'table columns

DESCRIPTION:

	Creates a table.

	DB-CREATE is a function value
.

ARGUMENTS:

	table (word!)
	
	columns -- Column names (block!)
But when you correct that you get a real R3 compatability error:

>> db-create my-table [id date norm]

 ** Script error: write does not allow string! for its value argument

** Where: db-create

** Near: db-create my-table [id date norm]
Henrik
18-Feb-2009
[11663]
R3 will not be very compatible with R2. You will almost always need 
some kind of porting process, so this is up to the authors of rebdb 
and rebgui, if they want to do that.
Kaj
18-Feb-2009
[11664x4]
Claude and Peter, as I reported here one or two weeks ago, I ported 
my CMS of around two thousand lines
It took a full week to compensate for the changes and bugs. I think 
about half of that could be prevented after fixes and more attention 
to compatibility
The other half is due to planned changes to the design of R3
Anything but the smallest scripts will be affected
Claude
19-Feb-2009
[11668]
ok seem we must do a real port effot from R2 script to R3 !!!!!
DideC
19-Feb-2009
[11669]
Sure.!
BrianH
20-Feb-2009
[11670]
That's what R2-Forward is for.
Pavel
23-Feb-2009
[11671]
Demo is crashing instantly after fetching in a34, anybody has experienced 
the same?
Henrik
23-Feb-2009
[11672]
new alpha?
kib2
23-Feb-2009
[11673]
Henrik: yes. But I've got problems too here on Windows.
Mchean
23-Feb-2009
[11674]
Pavel:  Having same problem with r3-a34.exe
kib2
23-Feb-2009
[11675]
In fact, it's not the demo. Doing a "load-gui" from the console crashes 
all.
Henrik
23-Feb-2009
[11676]
confirmed
Ammon
24-Feb-2009
[11677x2]
I'm running r3-a35 and load-gui is working for me.
view [image %/path-to-img/img.jpg] 

doesn't work for me.
Henrik
24-Feb-2009
[11679]
make image! 88x88 => Crash is marked as fixed. that's interesting.
Ammon
24-Feb-2009
[11680]
Hrm...  I suppose this might have something to do with it.

>> img: load %/t/1.jpg
** Script error: load-jpeg has no value
** Where: case load
** Near: case [
    string? source [to-binary source]
    binary? sou...

** Note: use WHY? for more about this error
Henrik
24-Feb-2009
[11681x2]
ammon, image loading is not available at this time.
there used to be a jpeg loader, but it has been removed for now due 
to changes in LOAD and we're awaiting mediatypes, which would handle 
image loading.
Ammon
24-Feb-2009
[11683]
I guess I'll just have to keep waiting... 

Any idea when that might be done?
Henrik
24-Feb-2009
[11684]
Not yet. I believe there are other things that need to be done first.
kib2
24-Feb-2009
[11685]
After upgrading to r3-a35.exe, the TextView demo keeps crashing for 
me.
Henrik
24-Feb-2009
[11686]
looks like changes in the GUI dialect
kib2
24-Feb-2009
[11687]
Henrik: this demo never worked before for me.
Henrik
24-Feb-2009
[11688]
I haven't tried it in a while, so it may be an older bug, but it 
has been working for me in the past.
kib2
24-Feb-2009
[11689]
Ok. I've read that it was crashing somewhere here, but don't remember 
in wich group.
Henrik
24-Feb-2009
[11690x3]
looking at the code, it appears to be correct, so I don't know what 
change has occurred.
I can see now that it tries to load main.r, but that will fail. This 
gives a dialect error instead of a file error. Interesting.
submitted as bug 653.
kib2
24-Feb-2009
[11693]
Henrik: thanks. Also, I wonder what's new in r3-a35 ?
Henrik
24-Feb-2009
[11694]
kib2, go to http://curecode.org/rebol3/view-tickets.rsp

and filte by "Recent changes". The gray entries are the changes.
kib2
24-Feb-2009
[11695]
Nice!