Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Ada is PL/I trying to be Smalltalk. -- Codoso diBlini


devel / comp.lang.smalltalk.dolphin / shelllibrary not found?

SubjectAuthor
* shelllibrary not found?john c
`* Re: shelllibrary not found?john c
 `- Re: shelllibrary not found?danie...@gmail.com

1
shelllibrary not found?

<cc7340b8-cd15-4629-b7c4-aceacbbc38f1n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=258&group=comp.lang.smalltalk.dolphin#258

  copy link   Newsgroups: comp.lang.smalltalk.dolphin
X-Received: by 2002:ad4:4ba8:0:b0:63d:25f:71d5 with SMTP id i8-20020ad44ba8000000b0063d025f71d5mr25154qvw.1.1690728239178;
Sun, 30 Jul 2023 07:43:59 -0700 (PDT)
X-Received: by 2002:a05:6808:130e:b0:3a3:c78e:d863 with SMTP id
y14-20020a056808130e00b003a3c78ed863mr13912664oiv.0.1690728238906; Sun, 30
Jul 2023 07:43:58 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.smalltalk.dolphin
Date: Sun, 30 Jul 2023 07:43:58 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=24.61.160.97; posting-account=FxwEXgoAAADcSnrOjqy8Iwckyp5OTz8K
NNTP-Posting-Host: 24.61.160.97
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cc7340b8-cd15-4629-b7c4-aceacbbc38f1n@googlegroups.com>
Subject: shelllibrary not found?
From: jndbusiness@gmail.com (john c)
Injection-Date: Sun, 30 Jul 2023 14:43:59 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3568
 by: john c - Sun, 30 Jul 2023 14:43 UTC

hi all,

can't figure out why i'm getting file not found. running under win 11 and dolphin v7.0.57.2. i included 1) path 2) file not found 3) dump

thanks,

john

PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Users\jndbu\AppData\Local\Microsoft\WindowsApps;C:\Users\jndbu\.dotnet\tools;C:\windows\System32\Shell32..DLL;

a ShellLibrary(16r75DD0000 - 'C:\windows\System32\Shell32.DLL')

10:33:31 AM, Sunday, July 30, 2023: 'The system cannot find the file specified. (16r2: The system cannot find the file specified. )'
ShellLibrary(ExternalLibrary)>>systemError
ShellLibrary>>shellOpen:directory:parameters:
ShellLibrary>>shellOpen:directory:
ShellLibrary>>shellOpen:
JCReportManager>>openCurrentReport
JCReportManager>>print
JCFoodInventoryShell>>printReport:
JCFoodInventoryShell>>printReport
JCIngredientPrintDialog>>print
Symbol>>forwardTo:
CommandDescription>>performAgainst:
[] in Command>>value
BlockClosure>>ifCurtailed:
BlockClosure>>ensure:
Command>>value
DialogView>>performCommand:
JCIngredientPrintDialog(Shell)>>performCommand:
CommandQuery>>perform
DelegatingCommandPolicy(CommandPolicy)>>route:
[] in PushButton(View)>>onCommand:
BlockClosure>>ifCurtailed:
BlockClosure>>ensure:
Cursor>>showWhile:
PushButton(View)>>onCommand:
PushButton(CommandButton)>>onActionPerformed
PushButton(View)>>performAction
PushButton>>command:id:
ContainerView(View)>>wmCommand:wParam:lParam:
ContainerView(View)>>dispatchMessage:wParam:lParam:
[] in InputState>>wndProc:message:wParam:lParam:cookie:
BlockClosure>>ifCurtailed:
InputState>>wndProc:message:wParam:lParam:cookie:
PushButton(ControlView)>>defaultWindowProcessing:wParam:lParam:
MouseEvent(WindowsEvent)>>defaultWindowProcessing
PushButton(View)>>onLeftButtonReleased:
PushButton(View)>>wmLButtonUp:wParam:lParam:
PushButton(View)>>dispatchMessage:wParam:lParam:
[] in InputState>>wndProc:message:wParam:lParam:cookie:
BlockClosure>>ifCurtailed:
InputState>>wndProc:message:wParam:lParam:cookie:
DialogView(View)>>isDialogMessage:
DialogView(ShellView)>>preTranslateMouseInput:
DialogView(View)>>preTranslateMessage:
InputState>>preTranslateMessage:
InputState>>pumpMessage:
InputState>>loopWhile:
InputState>>mainLoop
[] in InputState>>forkMain
ExceptionHandler(ExceptionHandlerAbstract)>>markAndTry
[] in ExceptionHandler(ExceptionHandlerAbstract)>>try:

Re: shelllibrary not found?

<d0795994-109d-4111-b88a-4bb41eb0d067n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=259&group=comp.lang.smalltalk.dolphin#259

  copy link   Newsgroups: comp.lang.smalltalk.dolphin
X-Received: by 2002:a37:8782:0:b0:76c:891f:1be8 with SMTP id j124-20020a378782000000b0076c891f1be8mr20772qkd.12.1690729708406;
Sun, 30 Jul 2023 08:08:28 -0700 (PDT)
X-Received: by 2002:a05:6808:1986:b0:3a7:26fe:ed3 with SMTP id
bj6-20020a056808198600b003a726fe0ed3mr2693636oib.4.1690729708050; Sun, 30 Jul
2023 08:08:28 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.smalltalk.dolphin
Date: Sun, 30 Jul 2023 08:08:27 -0700 (PDT)
In-Reply-To: <cc7340b8-cd15-4629-b7c4-aceacbbc38f1n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=24.61.160.97; posting-account=FxwEXgoAAADcSnrOjqy8Iwckyp5OTz8K
NNTP-Posting-Host: 24.61.160.97
References: <cc7340b8-cd15-4629-b7c4-aceacbbc38f1n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d0795994-109d-4111-b88a-4bb41eb0d067n@googlegroups.com>
Subject: Re: shelllibrary not found?
From: jndbusiness@gmail.com (john c)
Injection-Date: Sun, 30 Jul 2023 15:08:28 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4233
 by: john c - Sun, 30 Jul 2023 15:08 UTC

On Sunday, July 30, 2023 at 10:44:00 AM UTC-4, john c wrote:
> hi all,
>
> can't figure out why i'm getting file not found. running under win 11 and dolphin v7.0.57.2. i included 1) path 2) file not found 3) dump
>
> thanks,
>
> john
>
> PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Users\jndbu\AppData\Local\Microsoft\WindowsApps;C:\Users\jndbu\.dotnet\tools;C:\windows\System32\Shell32.DLL;
>
> a ShellLibrary(16r75DD0000 - 'C:\windows\System32\Shell32.DLL')
>
> 10:33:31 AM, Sunday, July 30, 2023: 'The system cannot find the file specified. (16r2: The system cannot find the file specified. )'
> ShellLibrary(ExternalLibrary)>>systemError
> ShellLibrary>>shellOpen:directory:parameters:
> ShellLibrary>>shellOpen:directory:
> ShellLibrary>>shellOpen:
> JCReportManager>>openCurrentReport
> JCReportManager>>print
> JCFoodInventoryShell>>printReport:
> JCFoodInventoryShell>>printReport
> JCIngredientPrintDialog>>print
> Symbol>>forwardTo:
> CommandDescription>>performAgainst:
> [] in Command>>value
> BlockClosure>>ifCurtailed:
> BlockClosure>>ensure:
> Command>>value
> DialogView>>performCommand:
> JCIngredientPrintDialog(Shell)>>performCommand:
> CommandQuery>>perform
> DelegatingCommandPolicy(CommandPolicy)>>route:
> [] in PushButton(View)>>onCommand:
> BlockClosure>>ifCurtailed:
> BlockClosure>>ensure:
> Cursor>>showWhile:
> PushButton(View)>>onCommand:
> PushButton(CommandButton)>>onActionPerformed
> PushButton(View)>>performAction
> PushButton>>command:id:
> ContainerView(View)>>wmCommand:wParam:lParam:
> ContainerView(View)>>dispatchMessage:wParam:lParam:
> [] in InputState>>wndProc:message:wParam:lParam:cookie:
> BlockClosure>>ifCurtailed:
> InputState>>wndProc:message:wParam:lParam:cookie:
> PushButton(ControlView)>>defaultWindowProcessing:wParam:lParam:
> MouseEvent(WindowsEvent)>>defaultWindowProcessing
> PushButton(View)>>onLeftButtonReleased:
> PushButton(View)>>wmLButtonUp:wParam:lParam:
> PushButton(View)>>dispatchMessage:wParam:lParam:
> [] in InputState>>wndProc:message:wParam:lParam:cookie:
> BlockClosure>>ifCurtailed:
> InputState>>wndProc:message:wParam:lParam:cookie:
> DialogView(View)>>isDialogMessage:
> DialogView(ShellView)>>preTranslateMouseInput:
> DialogView(View)>>preTranslateMessage:
> InputState>>preTranslateMessage:
> InputState>>pumpMessage:
> InputState>>loopWhile:
> InputState>>mainLoop
> [] in InputState>>forkMain
> ExceptionHandler(ExceptionHandlerAbstract)>>markAndTry
> [] in ExceptionHandler(ExceptionHandlerAbstract)>>try:

i will add i tried doing a ShellLibrary default earlier in the processing to make sure the singleton was loaded but got the same result.

Re: shelllibrary not found?

<3a2e2b8c-3e71-423b-b258-a1a1f2516e23n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=260&group=comp.lang.smalltalk.dolphin#260

  copy link   Newsgroups: comp.lang.smalltalk.dolphin
X-Received: by 2002:a5d:440b:0:b0:317:3d36:b2cc with SMTP id z11-20020a5d440b000000b003173d36b2ccmr9318wrq.12.1690858617148;
Mon, 31 Jul 2023 19:56:57 -0700 (PDT)
X-Received: by 2002:a05:6808:1b24:b0:3a3:7087:bbfb with SMTP id
bx36-20020a0568081b2400b003a37087bbfbmr22068487oib.6.1690858616478; Mon, 31
Jul 2023 19:56:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.smalltalk.dolphin
Date: Mon, 31 Jul 2023 19:56:56 -0700 (PDT)
In-Reply-To: <d0795994-109d-4111-b88a-4bb41eb0d067n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:37a8:52b0:e0e2:dcac:ab5f:e133;
posting-account=T9QyoQoAAADOKeQdWgBWNEPoknBuEcQZ
NNTP-Posting-Host: 2600:1700:37a8:52b0:e0e2:dcac:ab5f:e133
References: <cc7340b8-cd15-4629-b7c4-aceacbbc38f1n@googlegroups.com> <d0795994-109d-4111-b88a-4bb41eb0d067n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3a2e2b8c-3e71-423b-b258-a1a1f2516e23n@googlegroups.com>
Subject: Re: shelllibrary not found?
From: daniels220@gmail.com (danie...@gmail.com)
Injection-Date: Tue, 01 Aug 2023 02:56:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: danie...@gmail.com - Tue, 1 Aug 2023 02:56 UTC

Looking at the stack, the file that can't be found isn't shell32.dll—that's right where it should be, and indeed probably the VM would not start without it—but rather whatever JCReportManager>>currentReport passed to #shellOpen:. Looks like you maybe saved a temp file, or are managing a directory of files, and want to open it/one of them in the default program so the user can print it? Make sure you're either passing an absolute path, or know what `File workingDirectory` is (and note that open/save dialogs will change it on you) and provide a correct path relative to that. Just sticking with absolute paths is probably best. Have a look at FileLocator for relative-to-absolute translation with an arbitrary starting point. I think there are some class methods on File that can handle simpler cases or be combined to do custom stuff.

If you're still stumped, break out the `ShellLibrary default shellOpen:` call on its own line and put a breakpoint (`self halt`) before it, then you can examine the argument live in the debugger and keep re-executing the shellOpen: call (just as a DoIt) until you figure out what's confusing it.

On Sunday, July 30, 2023 at 11:08:29 AM UTC-4, john c wrote:
> On Sunday, July 30, 2023 at 10:44:00 AM UTC-4, john c wrote:
> > hi all,
> >
> > can't figure out why i'm getting file not found. running under win 11 and dolphin v7.0.57.2. i included 1) path 2) file not found 3) dump
> >
> > thanks,
> >
> > john
> >
> > PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Users\jndbu\AppData\Local\Microsoft\WindowsApps;C:\Users\jndbu\.dotnet\tools;C:\windows\System32\Shell32.DLL;
> >
> > a ShellLibrary(16r75DD0000 - 'C:\windows\System32\Shell32.DLL')
> >
> > 10:33:31 AM, Sunday, July 30, 2023: 'The system cannot find the file specified. (16r2: The system cannot find the file specified. )'
> > ShellLibrary(ExternalLibrary)>>systemError
> > ShellLibrary>>shellOpen:directory:parameters:
> > ShellLibrary>>shellOpen:directory:
> > ShellLibrary>>shellOpen:
> > JCReportManager>>openCurrentReport
> > JCReportManager>>print
> > JCFoodInventoryShell>>printReport:
> > JCFoodInventoryShell>>printReport
> > JCIngredientPrintDialog>>print
> > Symbol>>forwardTo:
> > CommandDescription>>performAgainst:
> > [] in Command>>value
> > BlockClosure>>ifCurtailed:
> > BlockClosure>>ensure:
> > Command>>value
> > DialogView>>performCommand:
> > JCIngredientPrintDialog(Shell)>>performCommand:
> > CommandQuery>>perform
> > DelegatingCommandPolicy(CommandPolicy)>>route:
> > [] in PushButton(View)>>onCommand:
> > BlockClosure>>ifCurtailed:
> > BlockClosure>>ensure:
> > Cursor>>showWhile:
> > PushButton(View)>>onCommand:
> > PushButton(CommandButton)>>onActionPerformed
> > PushButton(View)>>performAction
> > PushButton>>command:id:
> > ContainerView(View)>>wmCommand:wParam:lParam:
> > ContainerView(View)>>dispatchMessage:wParam:lParam:
> > [] in InputState>>wndProc:message:wParam:lParam:cookie:
> > BlockClosure>>ifCurtailed:
> > InputState>>wndProc:message:wParam:lParam:cookie:
> > PushButton(ControlView)>>defaultWindowProcessing:wParam:lParam:
> > MouseEvent(WindowsEvent)>>defaultWindowProcessing
> > PushButton(View)>>onLeftButtonReleased:
> > PushButton(View)>>wmLButtonUp:wParam:lParam:
> > PushButton(View)>>dispatchMessage:wParam:lParam:
> > [] in InputState>>wndProc:message:wParam:lParam:cookie:
> > BlockClosure>>ifCurtailed:
> > InputState>>wndProc:message:wParam:lParam:cookie:
> > DialogView(View)>>isDialogMessage:
> > DialogView(ShellView)>>preTranslateMouseInput:
> > DialogView(View)>>preTranslateMessage:
> > InputState>>preTranslateMessage:
> > InputState>>pumpMessage:
> > InputState>>loopWhile:
> > InputState>>mainLoop
> > [] in InputState>>forkMain
> > ExceptionHandler(ExceptionHandlerAbstract)>>markAndTry
> > [] in ExceptionHandler(ExceptionHandlerAbstract)>>try:
> i will add i tried doing a ShellLibrary default earlier in the processing to make sure the singleton was loaded but got the same result.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor