Stupid question re: Walkback.log

164 views
Skip to first unread message

Totally Objects

unread,
Jun 18, 2012, 10:02:24 AM6/18/12
to va-sma...@googlegroups.com
I am making an executable in V8 for the first time (having done it many times in 6.x and earlier).

I am running into one of the usual UnidentifiedObject doesn't understand new type of message.
When I try to browse the walkback there isn't one!

Is there some switch in 8.5 that I am missing.

Any help would  be appreciated.

David
Totally Objects

Louis LaBrunda

unread,
Jun 18, 2012, 6:07:03 PM6/18/12
to va-sma...@googlegroups.com
Hi Dave,

Can you tell us a bit more.  Do you get the error during packaging or when running the packaged image.  Can you show us the exact error message.

Lou

Totally Objects

unread,
Jun 19, 2012, 3:39:05 AM6/19/12
to va-sma...@googlegroups.com
Sorry Lou but you are missing the point. I have no trouble with sorting out the errors. After all, I have been using VAST since V3.0.

I don't get a walkback file. Tell me how to get the package to write one when there is an error and I will be fine.

David

jtu...@objektfabrik.de

unread,
Jun 19, 2012, 3:59:14 AM6/19/12
to va-sma...@googlegroups.com
Dave, 

maybe you should check your package instructions. What Image startup class are you using in your Packaged Image Browser?

AFAIK, there have not been any changes in this area since 6.0. But this should surely be checked by Instantiations.

Joachim

Totally Objects

unread,
Jun 19, 2012, 12:03:13 PM6/19/12
to va-sma...@googlegroups.com
Well, I have to say that I am not doing anything different from every other time that I have made an executable. If there is some switch I can't find it.

I am using the defaults as they come and would expect to get a walkback log when it tells me to 'check the walkback log'. Seems reasonable to me after 17 years of working with VAST in all its shapes and forms.
David

jtu...@objektfabrik.de

unread,
Jun 20, 2012, 12:21:48 AM6/20/12
to va-sma...@googlegroups.com
Dave,

this may sound stupid, but have you checked if the image can write to the directory where you'd expect the error log to go to? Maybe all you have is a file permission problem?
As I said, AFAIK there have not been any changes to the way VAST writes walkbacks...

Joachim

Totally Objects

unread,
Jun 20, 2012, 4:01:39 AM6/20/12
to va-sma...@googlegroups.com

The directory I am using is a sub-directory of the home directory for VAST. I have put a small logging process into the exe which is succesfully writing to the same directiry.

I am going to re-install the package into my 6.0.3 image and write the exectuable tere. I know I get a walkback from there.

At least I will be able to move on.

Louis LaBrunda

unread,
Jun 20, 2012, 10:31:07 AM6/20/12
to va-sma...@googlegroups.com
Hey Dave,

It does seem like you have some kind of packaging problem.  At the very least something is missing or messed up to the point where you don't get a walkback.  A packaging problem can also be the cause of the "UnidentifiedObject doesn't understand new..." message because, if a class definition isn't packaged with the image, when the code tries to create an instance by sending #new to the missing class object, you will get this error.

I suggest you package from a clean image with all apps version-ed and released.  I have packaged with less than clean images that have worked fine but sometimes not so much.  Now I only do so to run a quick test that I can't run in development.  I have taken to building configurations, so I can start with a nearly empty image, load the config and package.

Lou

Donald MacQueen

unread,
Jun 20, 2012, 4:40:53 PM6/20/12
to va-sma...@googlegroups.com
Hi guys,

We -strongly- recommend using a clean image for packaging. 

Donald [|]

Totally Objects

unread,
Jun 20, 2012, 4:58:59 PM6/20/12
to va-sma...@googlegroups.com
Oh, don't I know that. I always start with a clean image and import config maps. I have been doing this for some time you know - grin.

I am going to do a new install of 8.5 tomorrow and load everything into it. I will keep you informed.

David

Thomas Holzer

unread,
Jun 21, 2012, 4:13:23 AM6/21/12
to va-sma...@googlegroups.com
Hi Guys,

we had a similar problem:

http://forum.world.st/Walkback-log-Path-in-Windows-td3580737.html

Reason was that Windows Vista/7/2008 applications are not allowed to write in the Program Files directory.

Solution was for us, execute something like this at startUp of your runtime image:
EsImageStartUp walkbackFileName: ‘’C:\ProgramData\YourAppName\walkback.log’

Hope this helps

Greetings Thomas
 

Totally Objects

unread,
Jun 21, 2012, 7:17:29 AM6/21/12
to va-sma...@googlegroups.com
That sorted it. I was suckered by the fact that I was writing log files so assumed that the permissions were OK but as I was writing to a sub directory it seemed to work.

I put that line in the startup class and I am now getting a walkback.

Thanks very much for your help.

David
Totally Objects.

John O'Keefe

unread,
Jun 21, 2012, 12:17:20 PM6/21/12
to va-sma...@googlegroups.com
David -
 
Even easier if you are running on V8.5.1 (maybe this was in V8.5 also, I don't remember) -- you can specify the location in the .INI file, [Kernel] stanza, walkbackFilename=C:\Users\me\walkback.log (or something similar).
 
John

David Pennington

unread,
Jun 21, 2012, 12:26:17 PM6/21/12
to va-sma...@googlegroups.com
Thanks John.
David Pennington
Totally Objects
The Smalltalk Specialists



--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/EcfzAT0Jn5UJ.
To post to this group, send email to va-sma...@googlegroups.com.
To unsubscribe from this group, send email to va-smalltalk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.

Klaus Breker

unread,
Jun 27, 2012, 7:12:51 AM6/27/12
to va-sma...@googlegroups.com
Hi,

we were also looking for a missing walkback.log of our in application installed in C:\Program Files (x86)\YourAppName for user YourUserName (no admin) under Windows 7 and found this and other files for app settings in

C:\Users\YourUserName\AppData\Local\VirtualStore\Program Files (x86)\YourAppName.

The setting were read from the file in the VirtualStore directory and not from the one in the program directory. Another strange behaviour occurs, when the settings file should be saved. We do this via standard Windows file dialog trying to save the file in the program directory seems to be ok - complains, no error - but the file were saved into the VirtualStore directory.

The files are not read only in the program directory but the directory itself is flagged read only. How can I determine in this case, that I really have write permission for my files? Is this possible with the actual Cfs-Classes?

Greetings

Klaus

John O'Keefe

unread,
Jun 27, 2012, 8:34:03 AM6/27/12
to va-sma...@googlegroups.com
Klaus -
 
VirtualStore is a feature of Windows (see http://msdn.microsoft.com/en-us/library/windows/desktop/bb756960.aspx). If you are running on Win7, you should pay particular attention to User Account Control Complience in the Installation Guide (see http://www.instantiations.com/docs/852/wwhelp/wwhimpl/js/html/wwhelp.htm#href=ig/instgd25-win.html).
 
John
Message has been deleted

Klaus Breker

unread,
Jun 27, 2012, 9:33:07 AM6/27/12
to va-sma...@googlegroups.com
Hi John,

thank you for your reply. But how can I determine, that I have UAC enabled? Is there anything in VA Smalltalk?

Klaus

John O'Keefe

unread,
Jun 27, 2012, 10:59:22 AM6/27/12
to va-sma...@googlegroups.com
Klaus -
 
There is nothing in VA Smalltalk that will tell you  if UAC is enabled. However, VirtualStore is suppoed to be transparent to applications (accourding to the MSDN article I referenced).
 
John
Reply all
Reply to author
Forward
0 new messages