Skip to Content.
Sympa Menu

emacspeak - Re: [Emacspeak] Sharpwin First (hopefully) Useable Release

Subject: Emacspeak discussion list

List archive

Re: [Emacspeak] Sharpwin First (hopefully) Useable Release


Chronological Thread 
  • From: Robert Melton <lists AT robertmelton.com>
  • To: Devin Prater <r.d.t.prater AT gmail.com>
  • Cc: Emacspeaks <emacspeak AT emacspeak.net>
  • Subject: Re: [Emacspeak] Sharpwin First (hopefully) Useable Release
  • Date: Thu, 11 Apr 2024 08:07:35 -0400

Devin--

The first thing I would do is switch to the directory and
ensure you can run it by hand from the location.

Invalid Argument sounds like maybe the path to the binary
is causing an issue.

> On Apr 11, 2024, at 07:27, Devin Prater <r.d.t.prater AT gmail.com> wrote:
>
> Okay, so putting require common-lisp at the top did fix that. That was a
> last-minute idea. So, now, Emacspeak loads, but the speech server doesn't
> start.
>
> Debugger output:
>
> Debugger entered--Lisp error: (file-error "Spawning child process" "Invalid
> argument")
> make-process(:name "Speaker" :buffer nil :command
> ("c:/Users/devin/Downloads/emacspeak-59.0/servers/es..."))
> start-process("Speaker" nil
> "c:/Users/devin/Downloads/emacspeak-59.0/servers/es...")
> dtk-make-process("Speaker")
> dtk-initialize()
> emacspeak()
> byte-code("\305\10!\306\1\11\307\310$\203\20\0\11\202\23\0\211\11B\262\1\21\311\312!\210\n\204*\0\313\211\33\34\314\315!\210\316
> *\210\317\320!\207" [load-file-name load-path noninteractive
> load-source-file-function file-name-handler-alist file-name-directory
> cl-member :test string= require emacspeak-preamble nil load
> "emacspeak-loaddefs" emacspeak provide emacspeak-setup] 6)
> load-file("C:\\Users\\devin\\Downloads\\emacspeak-59.0\\lisp\\emacs...")
> load-with-code-conversion("c:/Users/devin/AppData/Roaming/.emacs"
> "c:/Users/devin/AppData/Roaming/.emacs" t t)
> load("~/.emacs" noerror nomessage)
> startup--load-user-init-file(#f(compiled-function () #<bytecode
> -0x1dcc18aad9894e66>) #f(compiled-function () #<bytecode
> -0x1f3c61addc0c4f35>) t)
> command-line()
> normal-top-level()
>
>
> On 4/10/2024 6:16 PM, Robert Melton wrote:
>> Devin--
>> So, the major difference between you and other users is having the dotnet
>> cli installed via scoop. Maybe try installing visual studio or the standard
>> dotnet SDK to ensure the issue doesn't live in the scoop package of dotnet.
>> If you are open to trying in any order, official .NET SDK then if that does
>> not fix it visual studio community edition. I only know for sure of a few
>> users at this point, but they are mostly developers, so might well be they
>> all had VS installed already.
>>> On Apr 10, 2024, at 17:55, Devin Prater <r.d.t.prater AT gmail.com> wrote:
>>>
>>> PS C:\Users\devin\Nextcloud\src\sharpwin> dotnet restore
>>> Determining projects to restore...
>>> C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : warning NU1604:
>>> Project dependency System.Speech does not contain an inclusive lower
>>> bound. Include
>>> a lower bound in the dependency version to ensure consistent restore
>>> results. [C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.sln]
>>> C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : error NU1100:
>>> Unable to resolve 'NAudio (>= 2.2.1)' for 'net8.0'.
>>> [C:\Users\devin\Nextcloud\src\sha
>>> rpwin\SharpWin.sln]
>>> C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : error NU1100:
>>> Unable to resolve 'NVorbis (>= 0.10.5)' for 'net8.0'.
>>> [C:\Users\devin\Nextcloud\src\s
>>> harpwin\SharpWin.sln]
>>> C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : error NU1100:
>>> Unable to resolve 'System.Speech ' for 'net8.0'.
>>> [C:\Users\devin\Nextcloud\src\sharpw
>>> in\SharpWin.sln]
>>> Failed to restore C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj
>>> (in 119 ms).
>>>
>>>
>>> On 4/10/2024 4:41 PM, Robert Melton wrote:
>>>> Devin--
>>>> What do you get if you type "dotnet restore", it was my understanding
>>>> NuGet
>>>> should just grab those files on your behalf (the NAudio files).
>>>>> On Apr 10, 2024, at 17:32, Devin Prater (via emacspeak Mailing List)
>>>>> <emacspeak AT emacspeak.net> wrote:
>>>>>
>>>>> So, I tried to build it. I ran make.ps1, had to install dotnet-sdk, did
>>>>> it with Scoop. Then, when I ran make again, I got the below errors
>>>>> about dependencies. I don't know a thing about DotNet, but do I have
>>>>> the wrong version? Scoop gave me SDK Version: 8.0.204.
>>>>>
>>>>> Determining projects to restore...
>>>>> C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : warning NU1604:
>>>>> Project dependency System.Speech does not contain an inclusive lower
>>>>> bound. Include
>>>>> a lower bound in the dependency version to ensure consistent restore
>>>>> results. [C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.sln]
>>>>> C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : error NU1100:
>>>>> Unable to resolve 'NAudio (>= 2.2.1)' for 'net8.0'.
>>>>> [C:\Users\devin\Nextcloud\src\sha
>>>>> rpwin\SharpWin.sln]
>>>>> C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : error NU1100:
>>>>> Unable to resolve 'NVorbis (>= 0.10.5)' for 'net8.0'.
>>>>> [C:\Users\devin\Nextcloud\src\s
>>>>> harpwin\SharpWin.sln]
>>>>> C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : error NU1100:
>>>>> Unable to resolve 'System.Speech ' for 'net8.0'.
>>>>> [C:\Users\devin\Nextcloud\src\sharpw
>>>>> in\SharpWin.sln]
>>>>> Failed to restore
>>>>> C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj (in 104 ms).
>>>>>
>>>>>
>>>>>
>>>>> On 4/10/2024 12:00 PM, Robert Melton (via emacspeak Mailing List) wrote:
>>>>>> Update, there is now a make.ps1 that will build both SharpWin and
>>>>>> Emacspeak, so the four step install is:
>>>>>> 1. Switch to Sharpwin directory in powershell
>>>>>> 2. $env:EMACSPEAK_DIR="/path/to/downloaded/emacspeak"
>>>>>> 3. ./make.ps1
>>>>>> 4. Setup your init.el with normal emacspeak stuff.
>>>>>> The make.ps1 will copy the files for you, modify the .servers, and
>>>>>> build the loaddefs and the lisp files for you.
>>>>>>> On Apr 9, 2024, at 17:39, Robert Melton <lists AT robertmelton.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>> SharpWin 1.2.0 is available for the Brave and True.
>>>>>>>
>>>>>>> https://github.com/robertmeta/sharpwin
>>>>>>>
>>>>>>> It works, and is a reasonable implementation, with some notable
>>>>>>> missing things, the biggest being pitch manipulation. It will
>>>>>>> have to be done by hand and I am working on it. A log-sharpwin
>>>>>>> is also notably missing, Windows stdin/stdout handling is a
>>>>>>> thing of nightmares, trying to find a way to do this with
>>>>>>> powershell and a batch file (you can see attempt in the repo,
>>>>>>> doesn't work).
>>>>>>>
>>>>>>> But notifications, voice selection, all the other basics are
>>>>>>> in place and mostly working. It is all in either standard C#
>>>>>>> or using NAudio for additional processing.
>>>>>>>
>>>>>>> Report any bugs you find to the github repo! Thanks.
>>>>>>>
>>>>>>> --
>>>>>>> Robert "robertmeta" Melton
>>>>>>> lists AT robertmelton.com <mailto:lists AT robertmelton.com>
>>>>>> --
>>>>>> Robert "robertmeta" Melton
>>>>>> lists AT robertmelton.com
>>>>>> Emacspeak discussion list -- emacspeak AT emacspeak.net
>>>>>> To unsubscribe send email to:
>>>>>> emacspeak-request AT emacspeak.net with a subject of: unsubscribe
>>>>>
>>>>> --
>>>>> Devin Prater
>>>>> Emacspeak discussion list -- emacspeak AT emacspeak.net
>>>>> To unsubscribe send email to:
>>>>> emacspeak-request AT emacspeak.net with a subject of: unsubscribe
>>>> --
>>>> Robert "robertmeta" Melton
>>>> lists AT robertmelton.com
>>>
>>> --
>>> Devin Prater
>> --
>> Robert "robertmeta" Melton
>> lists AT robertmelton.com
>
> --
> Devin Prater

--
Robert "robertmeta" Melton
lists AT robertmelton.com




Archive powered by MHonArc 2.6.19+.

Top of Page