|
Post by Rod on Jul 18, 2021 3:33:43 GMT -5
The Mac OS is very new to me. I have latest lb .zip downloaded. When I look at with Finder it automatically unzips and lists the file contents, in downloads directory. It won't run from there or appears not to. I dragged the zip to my desktop and now I have a folder with the various lb5 files. Clicking on lb5alpha64.im I get a dialog saying no app associated. Clicking on lb5x64-352 I get an app started in the tray and a file dialog pops up. Navigate to a.bas file and click on it only gets an error message from lb5 saying no such file or directory, I never see the editor.
Anyone better versed on iMac got any hints?
|
|
|
Post by Stefan Pendl on Jul 18, 2021 9:15:19 GMT -5
The alphaTestNotes.txt file contains the instructions about how to run LB5 alpha on operating systems other than Windows. Have you tried method 2) in the terminal window? Have you tried opening the .IM file from the launched app?
|
|
|
Post by Rod on Jul 18, 2021 10:59:13 GMT -5
Thanks, devil is on the detail, for example there is no unzip step. Neither is it obvious how you get to the user directory. I need a little time to experiment but if anyone has hints or tips or step by step on iMac please shout.
I will try the terminal option and see how that goes.
|
|
|
Post by metro on Jul 18, 2021 18:56:07 GMT -5
Thanks, devil is on the detail, for example there is no unzip step. Neither is it obvious how you get to the user directory. I need a little time to experiment but if anyone has hints or tips or step by step on iMac please shout. I will try the terminal option and see how that goes. Rod, this may be of interest www.youtube.com/watch?v=eoO-BrVhpaU
|
|
|
Post by Stefan Pendl on Jul 19, 2021 13:12:37 GMT -5
Even Windows allows opening a ZIP file as a folder, but starting an application from within will seldom work. You should be able to select extract from the context menu of the ZIP file.
I would not try to do things like you are used to do them in Windows, Mac is a Unix system and they pretty much work very differently.
|
|
|
Post by Rod on Jul 19, 2021 15:01:49 GMT -5
Yes all very different. The terms we use in Windows are obsolete. On the Mac you are never aware its a .zip file. Permissions seems to be the stone wall. At this point I would really like to hear from someone who owns a real iMac, not a virtual machine. Someone who has downloaded the lb5 .zip to downloads, unlocked it. copied it and managed to get it to fire up. Please post step by step instructions. This is not about Crossover Wine, this is about plain vanilla lb5 on Mac OS.
|
|
|
Post by Rod on Jul 21, 2021 2:50:55 GMT -5
Still struggling with the OS. Using terminal I get this conversation
Last login: Mon Jul 19 14:14:18 on ttys000 rodbird@Rods-iMac ~ % ls Applications Movies Desktop Music Documents Pictures Downloads PlayOnMac's virtual drives HomeSafe View Public Library liberty rodbird@Rods-iMac ~ % cd liberty rodbird@Rods-iMac liberty % ./lb5x64-352.app/Contents/MacOS/vm lb5alpha64.im zsh: no such file or directory: ./lb5x64-352.app/Contents/MacOS/vm rodbird@Rods-iMac liberty % ls rodbird@Rods-iMac liberty %
The lb5 .zip files are in a folder on my desktop, I can open that and see the file icons. The folder is called Liberty. Using terminal I can CD to Liberty but the command to start lb5 always just says no such file. When I use LS to list the directory contents I get nothing. It is as if I am working in two different folders. Previously I have unlocked the app and .im files. It is the OS that is defeating me. Perhaps the .dlls are locked as well. More experimenting to do.
|
|
|
Post by colinmcm on Jul 21, 2021 6:41:50 GMT -5
Rod, I have recently started playing with RISC OS on the rpi. I know they are not the same, but they share a common ancestor I believe. What I tend to do with zip files is to download them to my personal folder( called Colin). then I create a new folder within colin called , say thisapp. I then open the zip file and copy all the files in the zip to the thisapp folder, and work from there. This last step is probably not neccessary in most cases, but it might be worth a try.
|
|
|
Post by Rod on Jul 21, 2021 10:18:47 GMT -5
Thanks Colin. I managed to get LB5 running on my raspberry quite a while ago, can’t recall the exact steps but it was quite straight forwards.
The iMac on the other hand is deliberately standing in the way. One example, right click to manage permissions, there is no right click on an iMac. The mouse has no left right buttons but some scripts talk of a two fingered tap. On the screen? On the mouse? The screen is not touch sensitive and two figured tap on the mouse brings up nothing.
The mouse is touch sensitive, swipe left right and scroll up down works but …….. more to explore unless a guru pops up.
|
|
|
Post by Chris Iverson on Jul 21, 2021 15:05:08 GMT -5
Try ctrl-clicking. From using Mac OS X years ago, I seem to remember that's how you do a right-click if you don't have a two-button mouse.
As for actually starting it, I'm unsure.
|
|
|
Post by Stefan Pendl on Jul 22, 2021 9:13:52 GMT -5
|
|
|
Post by Rod on Jul 22, 2021 12:27:52 GMT -5
A little progress. Apparently there are three Librarys on an iMac. The user library is only visible if you click on finder, then Go in the menu and Option while you are viewing! Very intuitive. Now I have the files in a directory called Liberty in the user Library and I can list the files back with LS. Using the specified terminal code gets the same error.
rodbird@Rods-iMac ~ % ls Applications Movies Desktop Music Documents Pictures Downloads PlayOnMac's virtual drives HomeSafe View Public Library rodbird@Rods-iMac ~ % cd ~/Library/Liberty
rodbird@Rods-iMac Liberty % ls alphaTestNotes.txt lb5alpha64.im libsqlite3.dylib bas_files lb5x64-352.app lin64-352 callers.db lbasic5.ini sqlite3.dll lb5alpha64.exe libsqlite3.0.dylib vcruntime
rodbird@Rods-iMac Liberty % ./lb5x64-352.app/Contents/MacOS/vm lb5alpha64.im
This results in the smalltalk app opening but I always get an Unhandled Exception, no such file or directory dialog. Close closes the app, Continue leaves it running needing force close.
|
|
|
Post by Rod on Jul 22, 2021 14:42:17 GMT -5
The error.log. It must be a permissions thing. The OS is at this point in time unfathomable. I will get there but it is frustrating.
==2021/7/22==18:17:40==BEGIN RUNTIME DIAGNOSTIC DUMP Note: this file stored in VisualWorks #source (UTF-8) encoding
Cause of Dump: Unhandled exception: No such file or directory Smalltalk Version: 'VisualWorks®, 8.3.2 of November 16, 2018' Object Memory versionId: #[72 72 76 176 83 130 0 0 72 69 76 176] Class creating this dump: ErrorDumper ------------------------------------------------------------ Active Process Process named: 'Unnamed Process' Process priority: 50 Process identity hash: 216965 Context Stack: [1] optimized [] in OSErrorHolder class>>initializeErrorActions [2] SystemError>>handleErrorFor: [3] MacOSXSystemSupport(ExternalInterface)>>externalAccessFailedWith: [4] MacOSXSystemSupport(UnixSystemSupport)>>setCurrentDirectory: [5] ExternalMethod>>unlinkedCall:arguments: [6] MacOSXSystemSupport(OSSystemSupport)>>setCurrentDirectoryFromFilename: [7] Filename class>>setCurrentDirectory: [8] BASICIDE class>>startup [9] RuntimePackager.RuntimeManager class>>startupApplication [10] RuntimeApplicationStartupSystem>>main [11] optimized [] in UserApplication>>setUp [12] BlockClosure>>on:do: [13] optimized [] in Process class>>forBlock:priority:
------------------------------------------------------------ Unhandled Exception: class: UnhandledException creator: UnhandledException errorString: Unhandled exception: No such file or directory parameter: an OsInaccessibleError
==2021/7/22==18:17:40==END RUNTIME DIAGNOSTIC DUMP
==2021/7/22==18:25:06==BEGIN RUNTIME DIAGNOSTIC DUMP Note: this file stored in VisualWorks #source (UTF-8) encoding
Cause of Dump: Unhandled exception: No such file or directory Smalltalk Version: 'VisualWorks®, 8.3.2 of November 16, 2018' Object Memory versionId: #[72 72 76 176 83 130 0 0 72 69 76 176] Class creating this dump: ErrorDumper ------------------------------------------------------------ Active Process Process named: 'Unnamed Process' Process priority: 50 Process identity hash: 216965 Context Stack: [1] optimized [] in OSErrorHolder class>>initializeErrorActions [2] SystemError>>handleErrorFor: [3] MacOSXSystemSupport(ExternalInterface)>>externalAccessFailedWith: [4] MacOSXSystemSupport(UnixSystemSupport)>>setCurrentDirectory: [5] ExternalMethod>>unlinkedCall:arguments: [6] MacOSXSystemSupport(OSSystemSupport)>>setCurrentDirectoryFromFilename: [7] Filename class>>setCurrentDirectory: [8] BASICIDE class>>startup [9] RuntimePackager.RuntimeManager class>>startupApplication [10] RuntimeApplicationStartupSystem>>main [11] optimized [] in UserApplication>>setUp [12] BlockClosure>>on:do: [13] optimized [] in Process class>>forBlock:priority:
------------------------------------------------------------ Unhandled Exception: class: UnhandledException creator: UnhandledException errorString: Unhandled exception: No such file or directory parameter: an OsInaccessibleError
==2021/7/22==18:25:06==END RUNTIME DIAGNOSTIC DUMP
==2021/7/22==18:26:23==BEGIN RUNTIME DIAGNOSTIC DUMP Note: this file stored in VisualWorks #source (UTF-8) encoding
Cause of Dump: Unhandled exception: No such file or directory Smalltalk Version: 'VisualWorks®, 8.3.2 of November 16, 2018' Object Memory versionId: #[72 72 76 176 83 130 0 0 72 69 76 176] Class creating this dump: ErrorDumper ------------------------------------------------------------ Active Process Process named: 'Unnamed Process' Process priority: 50 Process identity hash: 216965 Context Stack: [1] optimized [] in OSErrorHolder class>>initializeErrorActions [2] SystemError>>handleErrorFor: [3] MacOSXSystemSupport(ExternalInterface)>>externalAccessFailedWith: [4] MacOSXSystemSupport(UnixSystemSupport)>>setCurrentDirectory: [5] ExternalMethod>>unlinkedCall:arguments: [6] MacOSXSystemSupport(OSSystemSupport)>>setCurrentDirectoryFromFilename: [7] Filename class>>setCurrentDirectory: [8] BASICIDE class>>startup [9] RuntimePackager.RuntimeManager class>>startupApplication [10] RuntimeApplicationStartupSystem>>main [11] optimized [] in UserApplication>>setUp [12] BlockClosure>>on:do: [13] optimized [] in Process class>>forBlock:priority:
------------------------------------------------------------ Unhandled Exception: class: UnhandledException creator: UnhandledException errorString: Unhandled exception: No such file or directory parameter: an OsInaccessibleError
==2021/7/22==18:26:23==END RUNTIME DIAGNOSTIC DUMP
|
|
|
Post by gidiom2 on Jul 23, 2021 14:17:50 GMT -5
I know nothing about iMac and have probably never even seen one, but Stefan said it is a unix machine. I use linux 100% now and a common problem encountered with command lines including a space used to give me headaches. Have you tried enclosing the command line with quotes ("" or '')? That usually works for me and 'No such file or directory' errors are avoided. Could that be the answer?
|
|
|
Post by Stefan Pendl on Jul 24, 2021 9:23:10 GMT -5
May be we need to also include the relative path in your case for the image file: ./lb5x64-352.app/Contents/MacOS/vm ./lb5alpha64.im This might be the cause for the failing setCurrentDirectoryFromFilename function.
Have you also tried starting the application and selecting the image file in the startup file dialog?
|
|