realbasic-nug
[Top] [All Lists]

Re: Strange Project Errors

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Strange Project Errors
From: "Greg O'Lone" <rbnuglist@stretchedout.com>
Date: Fri, 30 Jan 2009 14:53:37 -0500
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <CA1818B1-25DF-433A-A026-11BA96D258EB@mac.com>
References: <CA1818B1-25DF-433A-A026-11BA96D258EB@mac.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

On Jan 29, 2009, at 7:42 pm, Tom Benson wrote:

Some of the users who are downloading my sample project are reporting strange problems. This is the error that is reported.

==============================
An error has occurred while compiling this project.

Message: syntax error.
File: Office
Location: SourceListItem.Get
Code:
==============================

I can only guess that this refers to a problem with one of the Computed Property setters, but the 'File: Office' reference means nothing.

users seem to be in 2007 series of REALbasic, is ther a known issue with opening projects created by newer versions of RB???


Tom,

This sounds strangely like a problem we just worked through. The problem was that we had an encrypted class that had a deprecated function in it. For instance:

In RB 2007r4, you create a function that has this:

f = desktopfolder.child("Untitled.txt")

it compiles and runs okay, so you encrypt it and send it on its merry way.

A user using 2008r5 adds this encrypted class to their project. DesktopFolder has been deprecated and must be replaced with SpecialFolders.Desktop, but because the class is encrypted, that's not possible. Unfortunately the error message is worthless. We spent a long time looking for this error before stumbling on the solution.

Greg

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>