texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] TeXmacs & Webassembly


From: Massimiliano Gubinelli
Subject: Re: [Texmacs-dev] TeXmacs & Webassembly
Date: Wed, 26 Jan 2022 15:39:12 +0100

I'm not sure I understand the log correctly. Which page have you requested? It 
seems is not finding the files but it is strange since in this case it should 
not request for qtloader.js or the others.

The files TeXmacs.* have to be right in the directory where you invoke the 
python script (i.e. in $PWD). And then you visit http://localhost:TeXmacs.html 
in the browser.

Max


> On 26. Jan 2022, at 15:04, TeXmacs <texmacs@lix.polytechnique.fr> wrote:
> 
> On Wed, Jan 26, 2022 at 02:37:51PM +0100, TeXmacs wrote:
>>> this will load the .wasm file and compile it  and then load the .data file 
>>> (which contains the resources like fonts, scripts, etc..) and create a 
>>> virtual FS out of it. 
>>> It takes some time but sooner or later you should see TeXmacs in the 
>>> window. (tested on Safari and Firefox on Mac).
>> 
>> I obtain a broken link to some image with the caption 'Qt for WebAssembly: 
>> TeXmacs'.
>> Nothing seems to happen appart from that.
> 
> I also got the following terminal output:
> 
> Joriss-iMac-Pro:webassembly vdhoeven$ python3 -m http.server
> Serving HTTP on :: port 8000 (http://[::]:8000/) ...
> ::ffff:127.0.0.1 - - [26/Jan/2022 14:32:55] "GET /TeXmacs.html HTTP/1.1" 200 -
> ::ffff:127.0.0.1 - - [26/Jan/2022 14:32:55] code 404, message File not found
> ::ffff:127.0.0.1 - - [26/Jan/2022 14:32:55] "GET /qtloader.js HTTP/1.1" 404 -
> ::ffff:127.0.0.1 - - [26/Jan/2022 14:32:55] code 404, message File not found
> ::ffff:127.0.0.1 - - [26/Jan/2022 14:32:55] "GET /qtlogo.svg HTTP/1.1" 404 -
> ::ffff:127.0.0.1 - - [26/Jan/2022 14:32:55] code 404, message File not found
> ::ffff:127.0.0.1 - - [26/Jan/2022 14:32:55] "GET /favicon.ico HTTP/1.1" 404 -
> ::1 - - [26/Jan/2022 14:33:43] "GET /TeXmacs.html HTTP/1.1" 200 -
> ::1 - - [26/Jan/2022 14:33:43] code 404, message File not found
> ::1 - - [26/Jan/2022 14:33:43] "GET /qtlogo.svg HTTP/1.1" 404 -
> ::1 - - [26/Jan/2022 14:33:43] code 404, message File not found
> ::1 - - [26/Jan/2022 14:33:43] "GET /qtloader.js HTTP/1.1" 404 -
> ::1 - - [26/Jan/2022 14:33:43] code 404, message File not found
> ::1 - - [26/Jan/2022 14:33:43] "GET /favicon.ico HTTP/1.1" 404 -
> ::1 - - [26/Jan/2022 14:34:10] "GET /TeXmacs.html HTTP/1.1" 200 -
> ::1 - - [26/Jan/2022 14:34:10] code 404, message File not found
> ::1 - - [26/Jan/2022 14:34:10] code 404, message File not found
> ::1 - - [26/Jan/2022 14:34:10] "GET /qtlogo.svg HTTP/1.1" 404 -
> ::1 - - [26/Jan/2022 14:34:10] "GET /qtloader.js HTTP/1.1" 404 -
> ::1 - - [26/Jan/2022 14:34:10] code 404, message File not found
> ::1 - - [26/Jan/2022 14:34:10] "GET /favicon.ico HTTP/1.1" 404 -
> ::1 - - [26/Jan/2022 14:34:26] code 404, message File not found
> ::1 - - [26/Jan/2022 14:34:26] "GET /qtlogo.svg HTTP/1.1" 404 -
> ::1 - - [26/Jan/2022 14:34:40] code 404, message File not found
> ::1 - - [26/Jan/2022 14:34:40] "GET /qtlogo.svg HTTP/1.1" 404 -
> ::1 - - [26/Jan/2022 14:34:40] code 404, message File not found
> ::1 - - [26/Jan/2022 14:34:40] "GET /qtloader.js HTTP/1.1" 404 -
> ::1 - - [26/Jan/2022 14:34:43] "GET / HTTP/1.1" 200 -
> ::1 - - [26/Jan/2022 14:34:52] "GET /TeXmacs.wasm HTTP/1.1" 200 -
> ----------------------------------------
> Exception occurred during processing of request from ('::1', 64116, 0, 0)
> Traceback (most recent call last):
>  File 
> "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/socketserver.py",
>  line 683, in process_request_thread
>    self.finish_request(request, client_address)
>  File 
> "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/socketserver.py",
>  line 360, in finish_request
>    self.RequestHandlerClass(request, client_address, self)
>  File 
> "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/server.py",
>  line 653, in __init__
>    super().__init__(*args, **kwargs)
>  File 
> "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/socketserver.py",
>  line 747, in __init__
>    self.handle()
>  File 
> "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/server.py",
>  line 427, in handle
>    self.handle_one_request()
>  File 
> "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/server.py",
>  line 415, in handle_one_request
>    method()
>  File 
> "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/server.py",
>  line 660, in do_GET
>    self.copyfile(f, self.wfile)
>  File 
> "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/server.py",
>  line 860, in copyfile
>    shutil.copyfileobj(source, outputfile)
>  File 
> "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/shutil.py",
>  line 208, in copyfileobj
>    fdst_write(buf)
>  File 
> "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/socketserver.py",
>  line 826, in write
>    self._sock.sendall(b)
> BrokenPipeError: [Errno 32] Broken pipe
> ----------------------------------------
> ::1 - - [26/Jan/2022 14:34:58] "GET /TeXmacs.js HTTP/1.1" 200 -
> ::1 - - [26/Jan/2022 14:35:04] code 404, message File not found
> ::1 - - [26/Jan/2022 14:35:04] code 404, message File not found
> ::1 - - [26/Jan/2022 14:35:04] "GET /qtloader.js HTTP/1.1" 404 -
> ::1 - - [26/Jan/2022 14:35:04] "GET /qtlogo.svg HTTP/1.1" 404 -
> 
> _______________________________________________
> Texmacs-dev mailing list
> Texmacs-dev@gnu.org
> https://lists.gnu.org/mailman/listinfo/texmacs-dev




reply via email to

[Prev in Thread] Current Thread [Next in Thread]