Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

problems with SDK under Windows 2000

 [1/5] from: rebol:meurrens at: 29-Apr-2003 1:26


Hello all, I am new on this list; so let me first present myself and why I am using REBOL: as a professor of computer sciences in a Public Health School (Brussels University), I have decided to use REBOL for a cooperative medical application that need simultaneously (1) acces to the net, (2) encryption (as to protect medical data) and (3) a graphical user interface. Also, (4) I need to provide my end users (they are M.D.'s) with executables. For now, I have a REBOL script running perfectely under REBOL/View (free version) but without encryption of course. I have just purchased and installed the SDK on Windows 2000. ==== But I cannot run my existing script with my new licensed software and I cannot encapsulate it !!!!!!!!!!!! Here are the problems. 1) I understand from REBOL.COM site that SDK (that I just purchased ) is "View/PRO + other things" and that View/PRO is thus included in SDK. I observed that, in my purchased and downloaded zip file, there is no replacement for the free REBOL/View I used before. Is this a mistake? 2) Thus, in the absence of a View/PRO version, I try to use the FACE version (rebface.exe) after adding 3 #include's statements for %mezz.r , %prot.r and %view.r in my script as suggested in the documentation. Unfortunately, this result in an error "layout has no value". 3) I have tried to encapsulate the same script using enface.exe ( I have in fact tried with several simple scripts with several names.) The preprocessing seems to run well. The list of files is displayed properly. But then I receive the (encap) error message Output file cannot be created. Is it running? Is it a directory? Obviously, the name for the .exe file was available but enface.exe seems to be enable to write the file. 4) To make sure that all files are effectively found, I made some tries with all the executables, the scripts, the licence key, etc in just one unique directory. But it does not work better... === Anybody encountering similar problems? Any idea or suggestion ? Thanks... </marc> Prof. Ir Marc Meurrens TEL: +32 (0)2 537 2812 FAX: +32 (0)2 537 7645 GSM: +32 (0)475 46 2812 EMAIL: [marc--meurrens--org] URL: http://www.meurrens.org/ PGPKEY: http://www.meurrens.org/pgp/ Evitez les fichiers attach=E9s au couriel, utilisez plut=F4t mon 'exchange area' : Please don't mail me attached files, instead, use my 'exchange area' : EXCHANGE AREA: http://www.meurrens.org/exchange/ (HTTP/FTP upload/download of temporary/persistent files)

 [2/5] from: greggirwin:mindspring at: 28-Apr-2003 18:24


Hi Marc, MM> I am new on this list; so let me first present myself and why I am using REBOL: MM> as a professor of computer sciences in a Public Health School (Brussels University), MM> I have decided to use REBOL for a cooperative medical application that need MM> simultaneously (1) acces to the net, (2) encryption (as to protect medical data) MM> and (3) a graphical user interface. MM> Also, (4) I need to provide my end users (they are M.D.'s) with executables. That sounds great! Let's see if we can track down your issues and get you rolling, or at least work around it. MM> 1) I understand from REBOL.COM site that SDK (that I just purchased ) MM> is "View/PRO + other things" and that View/PRO is thus included in SDK. MM> I observed that, in my purchased and downloaded zip file, there is no MM> replacement for MM> the free REBOL/View I used before. MM> Is this a mistake? The SDK is rather new and doesn't include the equivalent of a View product. Before the SDK there was Encap, which has both View and Command binaries you can bind against. You might give Cindy a call and see if they'll give you any kind of a deal on that. I'm testing with the SDK but, since it's still beta and has at least one bug that I can't avoid right now (more below), I still use the Encap pieces for production work. That should get you running with little effort, so the only question would be cost. MM> 2) Thus, in the absence of a View/PRO version, I try to use the FACE MM> version (rebface.exe) MM> after adding 3 #include's statements for %mezz.r , %prot.r and %view.r in MM> my script MM> as suggested in the documentation. MM> Unfortunately, this result in an error "layout has no value". I haven't seen that, but I haven't tried to build View from Face yet either. :) The LAYOUT function is there and being set in %view.r, so I'm guessing there's a bug somewhere that's causing it. I'll try to find time to check into it, but you might send it to feedback (from www.rebol.com) and see what they say - if anything. MM> 3) I have tried to encapsulate the same script using enface.exe MM> ( I have in fact tried with several simple scripts with several names.) MM> The preprocessing seems to run well. The list of files is displayed properly. MM> But then I receive the (encap) error message MM> "Output file cannot be created. Is it running? Is it a directory?" MM> Obviously, the name for the .exe file was available but enface.exe MM> seems to be enable to write the file. I've seen this as well. As near as I can figure (and what I sent to RT feedback), having a TITLE set in the ENCAP field of the script's header is bad; that's the bug that gets a lot of us right now. If you put the encap app (e.g. EnPro) in the same dir as the script, it builds OK but the resulting EXE crashes. Running from the SDK dir and using fully qualified path names for In/Out files seems to cause the "Is it running?..." error. If you have a TITLE value in your encap header, you might try removing that and see what effect it has as well. HTH! -- Gregg

 [3/5] from: gchiu:compkarori at: 29-Apr-2003 13:23


On Tue, 29 Apr 2003 01:26:53 +0200 Marc Meurrens <[rebol--meurrens--org]> wrote:
>I am new on this list; so let me first present myself and
Welcome.
>why I am using REBOL: >as a professor of computer sciences in a Public Health
<<quoted lines omitted: 20>>
>is "View/PRO + other things" and that View/PRO is thus >included in SDK.
View/Pro is not included.
>I observed that, in my purchased and downloaded zip file, > there is no replacement for >the free REBOL/View I used before. >Is this a mistake?
Correct, there is no replacement.
>2) Thus, in the absence of a View/PRO version, I try to >use the FACE version (rebface.exe) >after adding 3 #include's statements for %mezz.r , >%prot.r and %view.r in my script >as suggested in the documentation.
That won't work. You need to build your script first with the #include statements, and *then* run it with rebface. #include is a preprocessor statement, and is not understood by rebface.
>But then I receive the (encap) error message >"Output file cannot be created. Is it running? Is it a >directory?" >Obviously, the name for the .exe file was available but >enface.exe >seems to be enable to write the file.
If you have the "title" option in the encap header, it won't build the binary .. bug. Quickest thing to do if you didn't follow the above is: 1. Download a Altme client from www.safeworlds.com 2. Log onto rebol world and request an account 3. Someone there can talk you thru building an encap application -- Graham Chiu http://www.compkarori.com/vanilla Rebol Encyclpaedia Project

 [4/5] from: ptretter:charter at: 28-Apr-2003 19:45


In short, you need to include more files for your LAYOUT problem such as view-vid.r. Also, there is currently a problem with encapping when you try to create a title for your encap. Therefore try it without adding an encap title. If I had a few more minutes I would have better explained but hopefully this gets you up running a bit faster. Paul Tretter ----- Original Message ----- From: "Marc Meurrens" <[rebol--meurrens--org]> To: <[rebol-list--rebol--com]> Sent: Monday, April 28, 2003 6:26 PM Subject: [REBOL] problems with SDK under Windows 2000 Hello all, I am new on this list; so let me first present myself and why I am using REBOL: as a professor of computer sciences in a Public Health School (Brussels University), I have decided to use REBOL for a cooperative medical application that need simultaneously (1) acces to the net, (2) encryption (as to protect medical data) and (3) a graphical user interface. Also, (4) I need to provide my end users (they are M.D.'s) with executables. For now, I have a REBOL script running perfectely under REBOL/View (free version) but without encryption of course. I have just purchased and installed the SDK on Windows 2000. ==== But I cannot run my existing script with my new licensed software and I cannot encapsulate it !!!!!!!!!!!! Here are the problems. 1) I understand from REBOL.COM site that SDK (that I just purchased ) is "View/PRO + other things" and that View/PRO is thus included in SDK. I observed that, in my purchased and downloaded zip file, there is no replacement for the free REBOL/View I used before. Is this a mistake? 2) Thus, in the absence of a View/PRO version, I try to use the FACE version (rebface.exe) after adding 3 #include's statements for %mezz.r , %prot.r and %view.r in my script as suggested in the documentation. Unfortunately, this result in an error "layout has no value". 3) I have tried to encapsulate the same script using enface.exe ( I have in fact tried with several simple scripts with several names.) The preprocessing seems to run well. The list of files is displayed properly. But then I receive the (encap) error message Output file cannot be created. Is it running? Is it a directory? Obviously, the name for the .exe file was available but enface.exe seems to be enable to write the file. 4) To make sure that all files are effectively found, I made some tries with all the executables, the scripts, the licence key, etc in just one unique directory. But it does not work better... === Anybody encountering similar problems? Any idea or suggestion ? Thanks... </marc> Prof. Ir Marc Meurrens TEL: +32 (0)2 537 2812 FAX: +32 (0)2 537 7645 GSM: +32 (0)475 46 2812 EMAIL: [marc--meurrens--org] URL: http://www.meurrens.org/ PGPKEY: http://www.meurrens.org/pgp/ Evitez les fichiers attachés au couriel, utilisez plutôt mon 'exchange area' : Please don't mail me attached files, instead, use my 'exchange area' : EXCHANGE AREA: http://www.meurrens.org/exchange/ (HTTP/FTP upload/download of temporary/persistent files)

 [5/5] from: g::santilli::tiscalinet::it at: 29-Apr-2003 10:58


Hi Marc, On Tuesday, April 29, 2003, 1:26:53 AM, you wrote: MM> 1) I understand from REBOL.COM site that SDK (that I just purchased ) MM> is "View/PRO + other things" and that View/PRO is thus included in SDK. MM> I observed that, in my purchased and downloaded zip file, there is no MM> replacement for MM> the free REBOL/View I used before. MM> Is this a mistake? I don't know if this is a mistake; View/Pro and the SDK are two different things; however, maybe the license.key from the SDK can be used with View too? I never tried as I have both /Pro and the SDK. MM> 2) Thus, in the absence of a View/PRO version, I try to use the FACE MM> version (rebface.exe) MM> after adding 3 #include's statements for %mezz.r , %prot.r and %view.r in MM> my script MM> as suggested in the documentation. MM> Unfortunately, this result in an error "layout has no value". rebface.exe does not automatically call prebol.r to process your include directives. You could write a little stub script to do that for you. MM> 3) I have tried to encapsulate the same script using enface.exe MM> ( I have in fact tried with several simple scripts with several names.) MM> The preprocessing seems to run well. The list of files is displayed properly. MM> But then I receive the (encap) error message MM> "Output file cannot be created. Is it running? Is it a directory?" MM> Obviously, the name for the .exe file was available but enface.exe MM> seems to be enable to write the file. There is a bug in the current version of the SDK that causes that problem in case you use the Encap: header (IIRC the title option is what is causing the problems). Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted