Hi Sean, On 15 November 2017 at 10:23, Sean P. DeNigris <s...@clipperadams.com> wrote: > Alistair Grant wrote >> Sorry (and to Offray) for the trouble, but thanks for persevering. > > Not at all! Thanks for updating the library :) > > > Alistair Grant wrote >> Would you mind setting a breakpoint in >> AKGOSProcess>>command:arguments:, printing the command and arguments >> and making sure that the --user-data-dir exists? > > Sure: > command = '/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome' > "(after I added the leading slash)".
I've added the slash, so hopefully you won't have to do this again. > args = #('--user-data-dir=/tmp/pharo/GoogleChrome/debugSession' > '--remote-debugging-port=9222') > > > Alistair Grant wrote >> and making sure that the --user-data-dir exists? > > It does. > > Also, as a sanity check, the following works: > OSSUnixSubprocess new > command: 'open'; > arguments: { 'http://www.pharo.org' }; > run > As well as from the Terminal: > $ /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome > --user-data-dir=/tmp/pharo/GoogleChrome/debugSession > --remote-debugging-port=9222 > > > Alistair Grant wrote >> Also, as Mariano requested, can you confirm that it is MacOS, which >> version of Pharo, and a 32 bit VM? > > I think I'm on 32 bit. I created a fresh 6.1 from Launcher. How can one tell > for sure if one is in a 32 vs 64 bit image? OSPlatform current isUnix32 But if the OSSUnixSubprocess command above is working it must be 32 bit. I'm struggling to figure this one out. Sorry for making you do all the work, but the only things I can think of at the moment are: 1. If chrome is your default browser, can you try replacing the explicit command with "open" since it seems to work above, i.e. in OSXChromePlatform class>>openChromeWith: just set executableLocation := 'open'. 2. Try just opening the browser without any optional arguments, i,e, OSSUnixSubprocess new command: '/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome'; arguments: { 'http://www.pharo.org' }; run > Latest update: #60520 > > Operating System/Hardware > ------------------------- > Mac OS 1013.1 intel > > Virtual Machine > --------------- > /Users/sean/Documents/Pharo/vms/61-x86/Pharo.app/Contents/MacOS/Pharo > CoInterpreter VMMaker.oscog-eem.2254 uuid: > 4f2c2cce-f4a2-469a-93f1-97ed941df0ad Jul 20 2017 > StackToRegisterMappingCogit VMMaker.oscog-eem.2252 uuid: > 2f3e9b0e-ecd3-4adf-b092-cce2e2587a5c Jul 20 2017 > VM: 201707201942 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ > Date: Thu Jul 20 12:42:21 2017 -0700 $ Plugins: 201707201942 > https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ > > Mac OS X built on Jul 20 2017 21:45:23 UTC Compiler: 4.2.1 Compatible Apple > LLVM 6.1.0 (clang-602.0.53) > VMMaker versionString VM: 201707201942 > https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ Date: Thu Jul 20 > 12:42:21 2017 -0700 $ Plugins: 201707201942 > https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ > CoInterpreter VMMaker.oscog-eem.2254 uuid: > 4f2c2cce-f4a2-469a-93f1-97ed941df0ad Jul 20 2017 > StackToRegisterMappingCogit VMMaker.oscog-eem.2252 uuid: > 2f3e9b0e-ecd3-4adf-b092-cce2e2587a5c Jul 20 2017 > > > > ----- > Cheers, > Sean > -- > Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html >