Guild icon
PyScript πŸ’»
πŸ’¬ | General / β•°β•Έpyscript-dot-com
Questions and feedback related to https://pyscript.com/ or https://pysriptapps.com/
Avatar
Jeff Glass 13/01/2024 18:25
Welcome to the new PyScript.Com channel. πŸŽ‰ PyScript.com is a project of Anaconda, which uses the open source PyScript framework to allow users anywhere to write and publish their Python projects with zero downloads. Check it out at https://pyscript.com. While the two teams of core devs are somewhat separate, there is of course a huge amount of collaboration and communication between the two. If you have general PyScript questions, feel free to ask them anywhere. If you have specific feedback or questions about pyscript.com itself, this is a good channel to attract attention to it. 🐍
✨ 1
Avatar
Whoop whoop. πŸŽ‰
Avatar
I have a question I've been meaning to ask awhile... how do you add a folder to your PyScript.com project? I see an assets folder on some of the examples - like Altair. How can we create our own (besides cloning a project that has that structure already in place)? (edited)
πŸ₯Έ 1
Avatar
I was looking for an Add Folder button, similar to the attached (edited) screenshot.
Avatar
You can do this via the command line (ping @madhurt ) but this feature is coming "soon" (as they say).
😁 1
Avatar
FabioRosado 16/01/2024 16:51
We are also on the last touches for this feature and we will be deploying it soon πŸ˜„
❀️ 1
Avatar
Avatar
FabioRosado
We are also on the last touches for this feature and we will be deploying it soon πŸ˜„
Looking forward to it!
Avatar
Jeff Glass 16/01/2024 19:37
When I’m viewing a PSDC project on mobile (safari), and I click on Made on PSDC or View Code buttons, I get a β€œNavigation was blocked by cross-origin opener policy” message
19:40
Also Chrome Mobile
19:40
These both in iOS 16.1.1
Avatar
Avatar
Jeff Glass
When I’m viewing a PSDC project on mobile (safari), and I click on Made on PSDC or View Code buttons, I get a β€œNavigation was blocked by cross-origin opener policy” message
Hmmm.... interesting we'll take a look! Thanks for the report Jeff!
Avatar
I can't work out where to break this line when editing on pyscript.com. I want it to be easier to read. I think its an issue with the editor ?? item = ltk.Input(value).attr("type","number").attr("id", myid).on("change input", ltk.proxy(lambda event: self.fix_field(event))).on("mouseenter", ltk.proxy(lambda event: self.highlight_svg(event, True))).on("mouseout", ltk.proxy(lambda event: self.highlight_svg(event, False))) Would prefer: item = ltk.Input(value).attr("type","number").attr("id", myid) .on("change input", ltk.proxy(lambda event: self.fix_field(event))) .on("mouseenter", ltk.proxy(lambda event: self.highlight_svg(event, True))) .on("mouseout", ltk.proxy(lambda event: self.highlight_svg(event, False)))
Avatar
Second issue. Lines following this fthreequotes are shown in the editor as strings and not properly highlighted. Code does work though: svg_div = ltk.create(f""" <svg id="svg-01" height="{height}" width="{width}"> <ellipse id="ellipse" cx="44" cy="44" rx="33" ry="50" style="fill:yellow;stroke:purple;stroke-width:2" /> </svg> """).attr("id","isosvg")
Avatar
Avatar
sadukie
Looking forward to it!
FabioRosado 30/01/2024 16:51
Hello @sadukie we just released support for creating and uploading folders in pyscript.com πŸ˜„
πŸ‘€ 1
πŸš€ 1
Avatar
Ooh... Created a folder and dragged a file into it - nice UX!
😁 1
Avatar
Avatar
sadukie
Ooh... Created a folder and dragged a file into it - nice UX!
FabioRosado 30/01/2024 17:00
Thanks! All work from the great @almart
πŸŽ‰ 1
πŸ‘πŸ» 1
😊 1
Avatar
Not seeing anything in pinned messages, so I'll ask here - if there are features we'd like to ask about, is there a GitHub repo for PyScript.com? Or is there some place where we can request features/see a roadmap? Now that we have folders, I'll ask about uploading files such as images πŸ˜„
17:01
This is one of my PyScript demos that I'd love to copy over to PyScript.com: https://sadukie.github.io/codemash-countdown/ Almost there πŸ˜„
Avatar
FabioRosado 30/01/2024 17:01
We don't have a repo yet, but we are meeting tomorrow and it's likely we will create one for one feature that we are currently working on πŸ˜„
❀️ 1
Avatar
Avatar
sadukie
This is one of my PyScript demos that I'd love to copy over to PyScript.com: https://sadukie.github.io/codemash-countdown/ Almost there πŸ˜„
Very cool! You can drag-and-drop images, audio, and video files. Only restriction is the file cannot exceed 1MB. (edited)
Avatar
Got it! Will try that here this afternoon (about an hour or so)
πŸ‘ 1
Avatar
@almart So awesome! Dragged the image in and now everything is put together! https://pyscript.com/@sadukie/codemash-countdown/latest Including the bad screenshot crop πŸ˜‚ I'll be submitting PyScript talks to CodeMash next year - so beach-themed examples will be coming. πŸ˜„
πŸŽ‰ 3
Avatar
looks awesome! 🀩
18:21
We have support for markdown files as well. If you add a README.md file to any project, it'll show the compiled markdown to users viewing the project on page load
18:22
there's also a little toggle button to toggle between the md preview and source code (edited)
Avatar
Ooh! This is nice! (edited)
18:40
I'm making another GIF of my playing in Markdown - neat to see how far it goes.
18:41
Markdown support and rendering support always varies from tool to tool, especially with whatever frameworks or additional libraries you might bring in to support - like how some use highlight.js for syntax highlighting of codeblocks.
Avatar
Thanks! As usual, we're always welcome to feedback on bugs, UI/UX improvements, or anything really
18:43
yup, we're using highlight.js for our syntax highlighting
Avatar
Here's the animated GIF of me testing the Markdown capabilities - pretty neat! πŸ˜„
Avatar
nice!
Avatar
ok... now to go clean-up my README with actual content πŸ˜‚
πŸ˜† 1
18:53
Will there eventually be a way for us to link directly to a file within our PyScript.com project? Tried linking to my main.py and ended up getting "pyscript.com is blocked"
Avatar
ah that's a good feature request! Right now, the only way to link to a file would be by using the full URL. E.g. https://sadukie.pyscriptapps.com/codemash-countdown/latest/main.py
πŸ‘πŸ» 1
19:05
not an ideal experience. Ideally, that link would open the file in the editor.
πŸ’― 1
Avatar
That was going to be my next question
Avatar
I'll add a ticket in to see how we can best accomplish this. My first instinct is to handle any links in a .md file that start with ./ would call a function to open the file in the editor instead of acting as a normal link.
19:12
subject to change, but that seems ideal. I guess it would have to be any links that start with ./ or /
19:13
could conflict with internal links though πŸ€” . I'll have to flesh this out more when we start implementing it. I'm probably getting too into the implementation details πŸ˜…
😁 1
Avatar
If you need another set of eyes on testing it, feel free to reach out! πŸ™‚
πŸ‘ 1
Avatar
Hey guys, I saw the Q about pyscript.com repo - I was going to ask, if the source will be released also and if it will be free/oss? πŸ˜€
Avatar
Avatar
declann
Hey guys, I saw the Q about pyscript.com repo - I was going to ask, if the source will be released also and if it will be free/oss? πŸ˜€
Andrea Giammarchi 05/02/2024 14:04
I have no answer for this but surely even a repo with a README.md that can be used to at least address/track issues in there would be (imho) better ... as PyScript repository is really about the tech stack, not the site so ... it's a bit confusing for everyone this way.
Avatar
Avatar
declann
Hey guys, I saw the Q about pyscript.com repo - I was going to ask, if the source will be released also and if it will be free/oss? πŸ˜€
FabioRosado 05/02/2024 16:09
Hello the repository will be to track issues so folks can create bug reports or feature requests, we are currently waiting on approval for this. Pyscript has a generous free tier, so you can use it for free, as far as I am aware we don't have yet any plans into turning it oss
Avatar
Ok, thanks Fabio!
Avatar
FabioRosado 06/02/2024 14:18
Hello folks we have created a public repository to track pyscript.com bugs and feature requests, feel free to open issues or keep reporting them here and the team with keep an eye out πŸ˜„ https://github.com/anaconda/pyscript-dot-com-issues
Public issue tacker for PyScript.com. Contribute to anaconda/pyscript-dot-com-issues development by creating an account on GitHub.
πŸš€ 5
Avatar
Szabolcs Dombi 23/02/2024 13:35
Not sure why, but the syntax highlight is a bit off in the pyscript.toml:
Avatar
Szabolcs Dombi 24/02/2024 10:05
I found another minor bug: The UI says I cannot upload an icon > 1MB My Image is ~759KB
Avatar
@almart ^^^
πŸ‘ 1
Avatar
Szabolcs Dombi 24/02/2024 20:05
got some more clues about the icon, it seems the FE converts the image into a png with poor compression: now a simple 100KB image ends up slightly above 1MB: And the request has this in the body: filename=\"envmap.jpg\"\r\nContent-Type: image/png... i hope this helps with the issue (edited)
Avatar
FabioRosado 25/02/2024 15:46
This is correct we are using canvas to redraw the image and then upload it back to pyscript tomorrow I’ll open an issue on the pyscript.com public tracker and prioritise it
Avatar
FabioRosado 26/02/2024 16:23
@Szabolcs Dombi Apologies for the ping, I had Sunday brain and while talking with the rest of the team, I realised that for the project icon we need to convert the image to PNG because we are using it for the manifest.json which we create when serving your app so it can be a PWA. This means that theproject icon has a couple constraints:
  • has to be a PNG
  • has to be < 1MB Perhaps we should do a better work in explaining whats happening and the constrains?
Avatar
Avatar
FabioRosado
@Szabolcs Dombi Apologies for the ping, I had Sunday brain and while talking with the rest of the team, I realised that for the project icon we need to convert the image to PNG because we are using it for the manifest.json which we create when serving your app so it can be a PWA. This means that theproject icon has a couple constraints:
  • has to be a PNG
  • has to be < 1MB Perhaps we should do a better work in explaining whats happening and the constrains?
Szabolcs Dombi 26/02/2024 17:34
Hey Fabio, thanks for the reply. PNG is great. Do we have a recomended size? Maybe I am overshooting that. I was uploading in original size because I was not sure about all the places this icon might show up. The example image above is a PNG of ~750KB (this one comes from tinypng). Another thing that comes to my mind: When someone uploads a jpg, it can have jpg artifacts (noise) that png will store very poorly despite the original image might have compressed very well. When uploading PNG, is the re-encoding necessary? I assume there is no resizing involved at the moment.
Avatar
Szabolcs Dombi 26/02/2024 17:41
When i exported this image from chrome it was 2.6MB in png iirc. After running it through tinypng it got down to 750KB. I usually do this for the web, because of the huge difference in size. If this image gets re-encoded. The size will be again 2MB+ Is there any problem with user provided pngs?
Avatar
Just lost a pile of work again. Is someone resetting the pyscript.com server every day and making us log in again ? Did not used to IIRC.
almart started a thread. 27/02/2024 14:35
Avatar
I was viewing a project link from discord on pyscript.com on my phone. I then signed in and after login I was left on an anaconda cloud landing page. My expected behaviour was to return to pyscript.com so i thought I'd report this.
Avatar
Avatar
AndrewD
I was viewing a project link from discord on pyscript.com on my phone. I then signed in and after login I was left on an anaconda cloud landing page. My expected behaviour was to return to pyscript.com so i thought I'd report this.
Thanks for the heads up - you are right - you should go back to the pyscript.com page... ahh the joys of auth - we'll look into it!
πŸ‘ 1
Avatar
Python code written inside <script></script> is not colorful like code written in .py
Avatar
Avatar
zobi
Python code written inside <script></script> is not colorful like code written in .py
Andrea Giammarchi 08/04/2024 10:43
that's an editor thing, we can't tell the browser how to render scripts, I am afraid.
10:45
we should, at some point, provide at least a VSCode/ium plugin to highlight that but until then, you can put your code into main.py and use the src="./main.py" like PSDC does, then you'll see Python code, not just code-block content.
Avatar
@zobi yes, as @Andrea Giammarchi mentioned, it's preferred to put the python code into its own file. However, I was doing some research just now reading Codemirror's source code for the HTML language highlighter and I think I found an easy way to support Python syntax highlighting in HTML. When setting up the Codemirror html syntax highlighting, it can be configured like so: import { html } from '@codemirror/lang-html'; import { pythonLanguage } from '@codemirror/lang-python'; export default () => html({ nestedLanguages: [ { tag: 'script', attrs: (attrs) => attrs.type === 'py' || attrs.type === 'mpy', parser: pythonLanguage.parser, }, ], });
18:19
I'll continue testing this out locally. If it works out well, I'll let you know when we deploy this to production @zobi.
πŸ‘€ 2
Avatar
Avatar
almart
@zobi yes, as @Andrea Giammarchi mentioned, it's preferred to put the python code into its own file. However, I was doing some research just now reading Codemirror's source code for the HTML language highlighter and I think I found an easy way to support Python syntax highlighting in HTML. When setting up the Codemirror html syntax highlighting, it can be configured like so: import { html } from '@codemirror/lang-html'; import { pythonLanguage } from '@codemirror/lang-python'; export default () => html({ nestedLanguages: [ { tag: 'script', attrs: (attrs) => attrs.type === 'py' || attrs.type === 'mpy', parser: pythonLanguage.parser, }, ], });
Andrea Giammarchi 09/04/2024 09:32
this is wonderful thank you!
πŸ™Œ 1
Avatar
Avatar
almart
@zobi yes, as @Andrea Giammarchi mentioned, it's preferred to put the python code into its own file. However, I was doing some research just now reading Codemirror's source code for the HTML language highlighter and I think I found an easy way to support Python syntax highlighting in HTML. When setting up the Codemirror html syntax highlighting, it can be configured like so: import { html } from '@codemirror/lang-html'; import { pythonLanguage } from '@codemirror/lang-python'; export default () => html({ nestedLanguages: [ { tag: 'script', attrs: (attrs) => attrs.type === 'py' || attrs.type === 'mpy', parser: pythonLanguage.parser, }, ], });
I prefer the easiest way so better I will go for main.py.
Avatar
Avatar
almart
I'll continue testing this out locally. If it works out well, I'll let you know when we deploy this to production @zobi.
Jeff Glass 09/04/2024 12:08
Wow that’s awesome!
πŸ™Œ 1
Avatar
@zobi I deployed to production today. Now python code will be syntax highlighted when used within a <script type="py"> or <script type="mpy">.
πŸ₯³ 1
Avatar
Avatar
almart
@zobi I deployed to production today. Now python code will be syntax highlighted when used within a <script type="py"> or <script type="mpy">.
It looks perfect now.πŸ‘
Avatar
Py-script will be super cool if the packages get installed directly instead of using pyscript.toml
Avatar
Avatar
zobi
Py-script will be super cool if the packages get installed directly instead of using pyscript.toml
Andrea Giammarchi 11/04/2024 08:54
it's around ~280MB of download as first-contact ... the config allows you to decide how thin or fat your dependencies are instead. We could think about hooking into the import or offer something else you would need to await then when needed but we can't bootstrap or install out of the box everything available in Pyodide.
Avatar
Avatar
Andrea Giammarchi
it's around ~280MB of download as first-contact ... the config allows you to decide how thin or fat your dependencies are instead. We could think about hooking into the import or offer something else you would need to await then when needed but we can't bootstrap or install out of the box everything available in Pyodide.
the config allows you to decide how thin or fat your dependencies are instead..... can you elaborate?
Avatar
I am trying to upload a folder with multiple >1MB files.The error message is shown for each and every file.I think single message for all files will be better enhancement. https://www.youtube.com/watch?v=Wl3p2ZoQ-8M
πŸ‘€ 1
Avatar
Avatar
zobi
the config allows you to decide how thin or fat your dependencies are instead..... can you elaborate?
Andrea Giammarchi 12/04/2024 08:37
dependencies have a cost both in download and bootstrap time ... we can't push into the env all dependencies out of the box but you can import micropip and load or add whathever you like on demand
πŸ‘ 1
Avatar
Avatar
zobi
I am trying to upload a folder with multiple >1MB files.The error message is shown for each and every file.I think single message for all files will be better enhancement. https://www.youtube.com/watch?v=Wl3p2ZoQ-8M
FabioRosado 16/04/2024 16:29
We currently only support upload of files that are < than 1MB but we are considering increasing this
Avatar
Hi folks! All new projects on pyscript.com will use pyscript version 2024.4.1. Happy weekend!
Avatar
Annnd.... All new projects on pyscript.com will use pyscript version 2024.5.1. πŸ™‚
🎊 1
Avatar
Annnnnnnd... all new projects on pyscript.com will now use pyscript version 2024.5.2 πŸ™‚
πŸŽ‰ 3
πŸ‘ 1
Avatar
Andrea Giammarchi 04/06/2024 17:58
can we please drop that banner for yesterday conf before tomorrow talk? (edited)
Avatar
Avatar
Andrea Giammarchi
can we please drop that banner for yesterday conf before tomorrow talk? (edited)
Andrea Giammarchi 04/06/2024 17:59
hah ... never mind, I don't see it anymore πŸ₯³
Avatar
Great I'm ready to used pyscript in my all projects with django, ml, dl, I want to see pyscript like official frotend browser
πŸŽ‰ 3
Avatar
Jeff Glass 05/06/2024 15:20
@ PSDC team - there's an interesting question on Stack Overflow about why an embedded YouTube video in an iframe on PSDC doesn't work: https://stackoverflow.com/q/78578772/19718391
I am making webpages in pyscript. When I add an iframe tag for an embeded youtube clip to an html that is hosted by pyscript.com, the html on a brower shows "www.youtube.com refused to connect...
πŸ‘€ 1
Avatar
Avatar
Jeff Glass
@ PSDC team - there's an interesting question on Stack Overflow about why an embedded YouTube video in an iframe on PSDC doesn't work: https://stackoverflow.com/q/78578772/19718391
Why is it displaying the terminal of older version?https://_12.pyscriptapps.com/dry-silence/latest/ (edited)
Avatar
Avatar
Jeff Glass
@ PSDC team - there's an interesting question on Stack Overflow about why an embedded YouTube video in an iframe on PSDC doesn't work: https://stackoverflow.com/q/78578772/19718391
Andrea Giammarchi 10/06/2024 11:06
looks like yet another Safari and FF issue only that don't support credentialless ... I hope they'll fix that sooner than later πŸ˜₯
Avatar
I noticed the pyscript.net docs mention: https://docs.pyscript.net/2024.5.2/faq/
There are essentially four ways in which a third party package can become available in PyScript. > Host a standard Python package somewhere (such as PyScript.com or in a GitHub repository) so it can be fetched as a package via a URL at runtime.
Would you host a Python package on pyscript.com, like a CDN?
15:24
I thought pyscript.com was mostly just for example code or live demos of stuff
Avatar
Yep - no reason why not - its a simple way to host (and version) your packages.
Avatar
Avatar
bouncing
I thought pyscript.com was mostly just for example code or live demos of stuff
Andrea Giammarchi 11/06/2024 17:24
you can share projects across all examples code in there and it would work. The answer is then yes, you can, but if you want to distribute more broadly your solution based on that specific module maybe a proper CDN would work too? After all, GitHub pages themselves aren't usually really a production thing, right? we give that ability and it's super fast due pre-resolved DNS resolution around PyScript .com assets, so you are free to try it and we'll welcome back feedback on what didn't work or where.
Avatar
How can I download my projects/clones from pyscript dashboard? I don't see a download option.
Avatar
@AyushC unfortunately we don't have an option for that yet, but I'm adding a ticket to get this feature implemented 😁
πŸŽ‰ 1
Avatar
Hi, how do I use the secrets stored in pyscript.com?
Avatar
Avatar
Alexandre
Hi, how do I use the secrets stored in pyscript.com?
FabioRosado 20/06/2024 17:20
Hello you can use the secrets together with the API proxy by setting the value of the header to {MY_SECRET} so for example if you created a secret called MY_SECRET with a value of "Bearer 123", you can then create an api proxy and the header you can use:
  • key: Authorization
  • value: {MY_SECRET}
And when you call the proxy, it will convert "MY_SECRET" to "Bearer 123" when calling the url server side
17:20
We will be releasing documentation about this very soon πŸ™‚
Avatar
Avatar
FabioRosado
Hello you can use the secrets together with the API proxy by setting the value of the header to {MY_SECRET} so for example if you created a secret called MY_SECRET with a value of "Bearer 123", you can then create an api proxy and the header you can use:
  • key: Authorization
  • value: {MY_SECRET}
And when you call the proxy, it will convert "MY_SECRET" to "Bearer 123" when calling the url server side
Thank you, Fabio, I'll try!
Avatar
Is there a PyScript.com API? I'd like to rebuild my tutorials for PuePy automatically in CI and upload them to PyScript. ☘️
Avatar
@bouncing so @FabioRosado and @Martin are the ones working on this (you're not the only one to have asked). Now that I've pinged them, let's see what they say. πŸ˜‰
😻 1
Avatar
Paul Everitt 03/07/2024 21:01
Hey y'all. Just curious. What's the difference between icon 1 and 3? They both have Dashboard as title and /dashboard as route/url:
Avatar
Also: Is there a way I can embed PyScript.com on my own site? On PuePy.dev, I'd love to include examples with a live editor, but, writing that sounds painful and py-editor runs code in a worker so I can't use it to demonstrate GUI features.
17:52
Basically I just want to have a docs site where it'll be.. [Text text text] [ Code Editor ] | [ Running Example] [ Text text text ] [ Code Editor ] | [ Running Example] I can link to PyScript.com for those examples, but embedding them would be cool, especially if I can, in the embed, only highlight relevant parts of the larger example? 😬
Avatar
Avatar
Paul Everitt
Hey y'all. Just curious. What's the difference between icon 1 and 3? They both have Dashboard as title and /dashboard as route/url:
Hi Paul - no difference at the moment! πŸ™‚ The plan is to potentially have a 'real' dashboard that is more of a typical one in that it wouldn't just show projects, but maybe a news feed, updates from other users that you follow etc.
Avatar
Avatar
bouncing
Is there a PyScript.com API? I'd like to rebuild my tutorials for PuePy automatically in CI and upload them to PyScript. ☘️
Hiya! Yep - there is an API, we just haven't had time to document/publicise it yet. We also have a CLI for (hopefully) imminent release that makes using the API a whole lot easier -especially in CI/CD.
Avatar
@Martin nice! 🀘
Avatar
Paul Everitt 11/07/2024 18:09
@Martin I might do a small, low-ky video tour of PyScript.com ... that ok?
πŸ‘ 1
Avatar
Another question... Is there a way to deep-link to files in a project? Eg, I have a tutorial project with /step1.html, /step2.html, /step3.html I can link to the tutorial project itself, but not to files in the tutorial. (To let users edit them and clone them, etc)
Avatar
@bouncing we don't have that functionality implemented yet, but I really like that idea. If I'm understanding correctly, you're wanting a way to share a URL that will automatically open the files as editor tabs?
Avatar
Avatar
almart
@bouncing we don't have that functionality implemented yet, but I really like that idea. If I'm understanding correctly, you're wanting a way to share a URL that will automatically open the files as editor tabs?
Yeah, that's the idea -- just to directly link to examples, so that I can put all my examples in one project, and link to them individually
πŸ‘ 1
almart started a thread. 14/08/2024 19:28
Avatar
Hey folks! We just released a new feature called Collections, which allows you organize and manage your projects. https://pyscript.com/whats-new#aug-23-2024
18:26
Additionally, on project pages, refreshing will restore your previously opened files. You can also share these links with others to have the link open a set files. For example: https://pyscript.com/@examples/todo-app/latest?files=README.md,pyscript.toml,main.py
πŸ‘ 1
Avatar
is there a way to change the url of a project so that it does not include the username once deployed on pyscriptapps?
Avatar
I'm trying to make a link to another pyscript.com webpage. but I get a pyscript.com is blocked message if I just click on it. but if I ctrl-click then the link opens. What am I doing wrong here ? <a class="ltk-a button" href="https://pyscript.com/@neon22/weavemaker-file-converter" target="_blank">Iso Weaves Explorer</a> Fails if https://pyscript.com/ or https://neon22.pyscriptapps.com with same blocked message.
πŸ€” 1
Avatar
This is not a chrome problem - same response on Firefox.
almart started a thread. 10/09/2024 17:18
almart started a thread. 10/09/2024 17:41
Avatar
I'm trying to get a handmade svg into an image so I can drawImage() it onto the canvas. It looks like I've got the source made up right by: # drawing is an svg element node imgpart = drawing.outerHTML.encode('utf-8') srcpart = "data:image/svg+xml;base64,".encode('utf-8') source = str(srcpart + imgpart) image = ltk.window.Image.new() image.src = source self.canvas.context.drawImage(image, 0, 0) However the src is appearing expanded in the dubgger with maybe cors problems. How can I fix it ? What I have in src: data:image/svg+xml;base64,<svg width="40" viewbox="0 0 40 40" preserveaspectratio="xMidYMid meet" height="40" xmlns="http://www.w3.org/2000/svg"><g id="BG"><rect height="45" y="18" x="22" style="stroke: #000;stroke-width:%200px;fill:%20rgb(0%20255%200)%22%20width=%2245%22%3E%3C/rect%3E%3C/g%3E%3C/svg%3E what the debugger tells me it sees: https://neon22.pyscriptapps.com/mpy-master-template/latest/b'data:image/svg+xml;base64,%3Csvg%20width=%2240%22%20viewbox=%220%200%2040%2040%22%20preserveaspectratio=%22xMidYMid%20meet%22%20height=%2240%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cg%20id=%22BG%22%3E%3Crect%20height=%2245%22%20y=%2252%22%20x=%2249%22%20style=%22stroke:%20#000;stroke-width:%200px;fill:%20rgb(0%20255%200)%22%20width=%2245%22%3E%3C/rect%3E%3C/g%3E%3C/svg%3E' so its added my pyscript.com url on the front - and fails. Could be I have bigger problems than this but not sure yet. Any hints ?
Avatar
Here's a worked example. The Local Splat button does the work. You need the console open to see the error. - https://pyscript.com/@neon22/mpy-master-template/latest?files=main.py
10:04
Some kind of cors problem
Avatar
@almart any chance you can help with this ?
almart started a thread. 30/09/2024 18:05
Avatar
Floppypants 02/10/2024 15:11
Can we get an option on Pyscript.com projects to save all our files each time we click the green Run button? That would be handy.
15:13
Oh wait, we have the key combination CTRL-SH-S to do that. Nevermind.
Avatar
Good point though... it would be nice if it was more discoverable... would a "Save + Run" button be too much clutter I wonder?
Avatar
I mean there is a save button next to the run button. I do sometimes find it useful to run again without saving (when I've got debug output spammed all over my display) Also ctrl-S in Chrome initiates a save so you don't have to use ctrl-sh-S specially. Might bemore useful to bind ctrl-r to run....
Avatar
Home button doesn't respond from Collections tab and Examples tab.https://www.youtube.com/watch?v=IdIU5obMR-Y
Avatar
Avatar
zobi
Home button doesn't respond from Collections tab and Examples tab.https://www.youtube.com/watch?v=IdIU5obMR-Y
nice catch! I'll add a fix for this now πŸ‘
πŸ‘ 1
Avatar
Is it possible to get stars for pyscript.com projects like how you get stars in GitHub?
⭐ 2
Avatar
Avatar
zobi
Is it possible to get stars for pyscript.com projects like how you get stars in GitHub?
We have something very similar, but we call it favorites with a star icon. Ours differ from GtiHub in that our favorites are private to the user and a project's star count isn't public.
Avatar
Great idea though.... in 2025 we definitely want to push forward with the social aspects of pyscript.com!
☝️ 1
Avatar
Instead of stars, can we have carrots (for the bunny)? πŸ₯•πŸ₯•πŸ₯•πŸ₯•πŸ₯•
🀣 5
βž• 2
Avatar
Avatar
ntoll
Instead of stars, can we have carrots (for the bunny)? πŸ₯•πŸ₯•πŸ₯•πŸ₯•πŸ₯•
Good idea.I think star is for favourite in pyscript.
Avatar
Avatar
zobi
Unable to scroll and update Social Account details on browser. https://www.youtube.com/watch?v=tuwD1JdTX2c&list=PLibxX8JbhS944PTDHsnHezwVlzRMTbPKp&index=6
hey @zobi, sorry for the late reply. I'm trying to reproduce but I can't seem to. What browser and device are you using?
Avatar
Avatar
almart
hey @zobi, sorry for the late reply. I'm trying to reproduce but I can't seem to. What browser and device are you using?
I have tried checking in Microsoft edge and Google chrome browsers in my laptop for both it's not scrolling down to update details.In settings we can still update the details.You can just adjust the settings of editprofile button so that everything will be seen on that page if not scroll.
almart started a thread. 14/01/2025 18:19
Avatar
Last week we talked about how it should be possible now to download zipped up projects. I can't find this. @FabioRosado, where should I be looking for this?
Avatar
Avatar
ambv
Last week we talked about how it should be possible now to download zipped up projects. I can't find this. @FabioRosado, where should I be looking for this?
FabioRosado 16/01/2025 11:44
In the pyscript.toml file you can add export=true to generate the zip file, but it seems we haven't pushed the download feature yet - apologies when we spoke we had just merged that feature to dev
Avatar
what's the idea behind adding export=true to the config file? it seems to me like pyscript.toml is about runtime behavior, and exporting is an editor/project manager behavior.
Avatar
FabioRosado 16/01/2025 11:55
It's a way to allow you to use the zip file to import projects as modules, for example pyexcel uses the url for the export file to load whatever pyscript app you pointed at and use those imports
πŸ‘πŸ» 1
Avatar
OK, makes sense.
13:03
Is there a URL I can manually test to download or is that also not publicly available yet?
Avatar
FWIW I'm currently getting this:
13:12
Avatar
Avatar
ambv
FWIW I'm currently getting this:
FabioRosado 16/01/2025 17:24
Sorry for the delay, just noticed an issue when trying to bundle image files so this might be caused by a file type causing a similar issue will dig into it and fix πŸ˜„
Avatar
A new user is running into a problem when they run my app. If its all cached then the problem goes away but its to do with a report of the sourcemap being missing for 2024.11.1. Looks like this: Any ideas on what's going on ? (Its running in my chrome OK but I see this error in FF because have not been using it. Other new person sees same error but in chrome.)
Avatar
@FabioRosado ^^^
Avatar
OK I may have fixed it. I guess the sourcemap is not essential... but is it missing for 2024.11.1 ?
09:55
or is it missing for the fpdf package. Anyway - all good. Sorry for the alarm
Avatar
I don't think we've ever provided a sourcemap. Could it be the fpdf package?
Avatar
yes I believe it is.
Avatar
Hey folks! Humble apologies for the late notice, but we will be taking pyscript.com down for maintenance from 6am-7am UTC Tuesday 28th Jan (so in 5.5 hours from now!). We will keep you posted.
Avatar
I'm getting HTTP 409 when trying to clone any of my projects. Says there's a conflict with an existing project. I have a talk at a meetup in a few hours, please help me save it. 1. This should just then create genuary-template-copy-2 instead of silently failing with no error message in the UI. 2. As you can confirm by trying https://pyscript.com/@ambv/genuary-template-copy/latest, there is no project called genuary-template-copy.
12:01
@FabioRosado @ntoll any chance this can be fixed soon?
Avatar
@ambv ouch. Sorry to hear that. Lemme take a look - painfully aware of the time-sensitive nature of this.
12:02
The website isn't my "thing" - but I can poke the right people. I know that they've been migrating to new infra and this might be an unforeseen side effect.
Avatar
Cloning works when I created a new project and cloned it. It does not work for my "Genuary Template" project, which ironically is the one I'm copying the most.
Avatar
Avatar
ambv
Cloning works when I created a new project and cloned it. It does not work for my "Genuary Template" project, which ironically is the one I'm copying the most.
Random suggestion without knowing anything: what happens if you try to rename the project and then clone it?
Avatar
Right. I see. So a temporary work around could be to: 1. Download the assets for the "Genuary Template". 2. Create a new project. 3. Upload the "Genuary Template" assets to this new project. 4. Check you can clone it (which I think you intimate you can). 5. Delete the old template. 6. Rename the new one.
12:07
I.e. manually clone.
Avatar
Avatar
antocuni
Random suggestion without knowing anything: what happens if you try to rename the project and then clone it?
I'll try that later but this will make it impossible for others to spot where the bug is.
πŸ‘ 1
12:08
Manual cloning is annoying for this as there's 10 files across 3 folders.
Avatar
FabioRosado 29/01/2025 12:08
Hello @ambv apologies for the issues, we have migrated our backend to a new service today at 6am, let me have a look at the logs and see what's happening
Avatar
Avatar
ambv
Manual cloning is annoying for this as there's 10 files across 3 folders.
Once upon a time there was also the cli interface, which was able to download/upload entire projects locally. I don't know what is the magic incantation needed to have it working nowadays, though
Avatar
Manual cloning is annoying for this as there's 10 files across 3 folders.
I hear ya! πŸ˜‰ It should just work ℒ️ - but wanted to explore a "last resort" experiment if all else fails. Ultimately, we shouldn't be blocking you in any way... I want you to have all the things you need for your presentation.
Avatar
Avatar
antocuni
Once upon a time there was also the cli interface, which was able to download/upload entire projects locally. I don't know what is the magic incantation needed to have it working nowadays, though
I have web-scraped backups of all my Pyscript.com files since export is not available for me yet. Worst case I'll be showing PyScript without PyScript.com but that would be a bummer.
Avatar
Indeed (bummer).
Avatar
FabioRosado 29/01/2025 12:28
@ambv I manually added them to my project (dont have write perms for prod) can you try cloning that? I'm dming you a zip with them too https://pyscript.com/@fabiorosado/small-term/latest
Avatar
thanks, I have a copy of my files for now. when clicking "Clone project" on your small-term link, I'm getting a HTTP 500 on /api/projects/.../forks
Avatar
FabioRosado 29/01/2025 12:31
Also cloning that project seems to take forever looking into it
12:33
found the issue of the 500, working on it
Avatar
FabioRosado 29/01/2025 12:43
Both files in the assets folder seem to be the reason why cloning failed, will fix
Avatar
thank you
12:44
I'm leaving in 20 minutes so won't be able to verify before the actual event haha
12:44
in any case, I appreciate the super quick reaction on this
Avatar
FabioRosado 29/01/2025 12:49
No worries, also with the new push to prod that we did today, the export and download should now work - although I still need to fix the issue on those files (mp3, etc). I've cloned th minimal template and tested it https://pyscript.com/@fabiorosado/genuary-minimal-copy/latest?files=main.py,pyscript.toml
Avatar
Bravo @FabioRosado for picking this up. You're a ⭐ . @ambv best of luck with the event. Nothing like flying by the seat of your pants. I hope you've sacrificed enough chickens to the demo gods. πŸ” ⚑ 🀣
❀️ 1
Avatar
FabioRosado 29/01/2025 13:45
it will probably be too late, but I have a PR open to fix the issue we will deploy the fix soon πŸ™‚
Avatar
FabioRosado 29/01/2025 15:35
We just deployed the fix for these files, we are still looking into the 'this project exists' when cloning a project
Avatar
Thanks again for help yesterday, everything worked out fine. The wifi there was slow, which was problematic in its own right, but everything worked fine and my hastily written pyscript.com backup script was an example I could use for talking about asyncio task groups and retries.
πŸ‘ 2
Avatar
Phew!!! Glad to hear it - apologies again - we ran a big migration!
Avatar
Nice one @ambv
Avatar
FabioRosado 30/01/2025 17:00
nice!
Avatar
How to make POST request without Proxy. It is working only when I use proxy. Else, I am getting CORS error. Any help?
Avatar
Chris Laffra 28/02/2025 07:29
All the things you can do in JavaScript, you can also do in PyScript. All the things that are not allowed in JavaScript, are also not allowed in PyScript.
☝️ 1
😩 2
❀️ 2
Avatar
Avatar
magulan30
How to make POST request without Proxy. It is working only when I use proxy. Else, I am getting CORS error. Any help?
Yes, continue using the proxy to bypass the CORS error. There's no other way around CORS unless you allow it on the server you're POSTing to.
πŸ‘ 1
Avatar
On last tech call understand this week will be about maintenance and docs. It will be great if pyscript.com loads new project with the last version of pyscript.
Avatar
@Ridensium Ooo yes - thanks for the reminder... we usually keep up to date with new OSS releases but we missed (at least) one!
πŸ‘Œ 1
Avatar
Has anyone noticed big delays on pyscript.com. I come back to edit a page and I get no response from the server when saving or when Running. Generally after the third delayed attempt(after a 15 second wait) to (say) Run the page will refresh and run. It seems delays have been getting longer for a while now. Initially I just put it down to my very slow internet connection but it seems maybe that's not it...?
Avatar
FabioRosado 13/05/2025 14:59
Hello πŸ‘‹ have you noticed it got worse recently or this has happened for a couple months now?
Avatar
I remember that I have some extra storage on Pyscript.com. For my tutorial on Thursday, people will be cloning my projects. In case any of them is too big for the basic free account, what will happen if people try to clone the project?
Avatar
Avatar
FabioRosado
Hello πŸ‘‹ have you noticed it got worse recently or this has happened for a couple months now?
This started happening after the switch to Anaconda Cloud, and yes, I have also noticed it.
Avatar
Avatar
ambv
I remember that I have some extra storage on Pyscript.com. For my tutorial on Thursday, people will be cloning my projects. In case any of them is too big for the basic free account, what will happen if people try to clone the project?
@ntoll @Fabio do you happen to know?
Avatar
@ambv I think that was @Martin who dealt with that. @FabioRosado can you check folks who clone @ambv 's projects will be good to go..?
Avatar
@ntoll are you also using Pyscript.com for your tutorial tomorrow?
Avatar
Yes I am. But these will be much more beginner focussed.
Avatar
Avatar
ambv
@ntoll @Fabio do you happen to know?
What @ntoll said. Let me check on it asap
πŸŽ‰ 1
Avatar
FWIW I'm not in the pyscript.com team so don't have the "keys for the car" to look / fix. πŸ‘
πŸ‘πŸ» 1
16:58
I'm in the PyScript OSS project (which is not the same thing).
Avatar
FabioRosado 13/05/2025 17:27
Apologies for the delay, looking at it now
πŸ‘πŸ» 1
Avatar
FabioRosado 13/05/2025 17:38
Just had a look and also created a new account, I was able to clone those projects. Currently the restrictions are on file size (per file) up to 7Mb should be fine. Do you forsee any files bigger than that?
Avatar
no, this is perfect
17:38
thank you
Avatar
FabioRosado 13/05/2025 17:39
brilliant I will keep an eye on the logs during Pycon since I was unable to go and be there in person and try to help when needed
Avatar
I am trying currently and just cannot get a tab to run that was running yesterday. I have managed to "Save" but not "Run". https://pyscript.com/@neon22/fsmount-min-mpy/latest?files=main.py
22:05
Spent 15 min on this - rebooted, reopened/reloaded tabs, etc.. NG
Avatar
doesn't matter which page I am on - nothing running
Avatar
Avatar
Neon22
I am trying currently and just cannot get a tab to run that was running yesterday. I have managed to "Save" but not "Run". https://pyscript.com/@neon22/fsmount-min-mpy/latest?files=main.py
FabioRosado 14/05/2025 11:06
What do you see when you press run? I tested it now and I was able to see the page with the banner "new title", made with "LTK" and the blinking cursor. Looking at the devtools I see this error: Uncaught (in promise) Error: showDirectoryPicker is not supported at Object.Mr [as getFileSystemDirectoryHandle] (fs.js:25:13) at call1 (micropython.mjs:1:70346) at micropython.wasm:0x36585 at micropython.wasm:0x11a28 at micropython.wasm:0x11ab2 at invoke_iiii (micropython.mjs:1:74596) at micropython.wasm:0x28adf at micropython.wasm:0x18254 at micropython.wasm:0x12805 at invoke_iiiii (micropython.mjs:1:74764) Looking at the logs I don't see any infra issues around the time of your message unless I got the times wrong
Avatar
@FabioRosado not urgent but important: please make it so that when I clone a private project, it starts out as private as well. Currently it turns public, which isn't ideal for privacy.
Avatar
Avatar
ambv
@FabioRosado not urgent but important: please make it so that when I clone a private project, it starts out as private as well. Currently it turns public, which isn't ideal for privacy.
FabioRosado 14/05/2025 15:12
That shouldn't happen, will fix πŸ™‚
πŸ‘πŸ» 1
Avatar
also, unrelatedly, if you can avoid any deployments in the next two days, that would be ideal πŸ˜„
Avatar
FabioRosado 14/05/2025 15:15
Yeah we are going to hold off on any deploys unless something is very wrong haha
πŸ‘πŸ» 1
Avatar
I appreciate it
Avatar
Avatar
FabioRosado
What do you see when you press run? I tested it now and I was able to see the page with the banner "new title", made with "LTK" and the blinking cursor. Looking at the devtools I see this error: Uncaught (in promise) Error: showDirectoryPicker is not supported at Object.Mr [as getFileSystemDirectoryHandle] (fs.js:25:13) at call1 (micropython.mjs:1:70346) at micropython.wasm:0x36585 at micropython.wasm:0x11a28 at micropython.wasm:0x11ab2 at invoke_iiii (micropython.mjs:1:74596) at micropython.wasm:0x28adf at micropython.wasm:0x18254 at micropython.wasm:0x12805 at invoke_iiiii (micropython.mjs:1:74764) Looking at the logs I don't see any infra issues around the time of your message unless I got the times wrong
I get no feedback and the inspector tells me the page is just an html and body tag (inside your frame of course) As of this morning (here NZST) everthing seems to be working again
Avatar
I'm getting a cors error on pyscript.com if I try to use fs.mount Issue and error is here: https://github.com/pyscript/pyscript/issues/2338#issuecomment-2876405125
Checklist I added a descriptive title I searched for other issues and couldn&#39;t find a solution or duplication I already searched in Google and didn&#39;t find any good information or help What ...
Avatar
OK. so its the Editor - it uses iframes. So the only way the fs.mount system works is from within the whole page, not via the IDE (which uses iframes). We need some urgent docs here IMHO...
Avatar
Avatar
ambv
@FabioRosado not urgent but important: please make it so that when I clone a private project, it starts out as private as well. Currently it turns public, which isn't ideal for privacy.
FabioRosado 21/05/2025 15:34
Just merged the fix and its in dev we should deploy to prod soon πŸ˜„ thanks for letting us know
Avatar
Every time I select pyscript.com it takes me to @Fabio account not sure what's the issue?
😱 1
Avatar
probably browser url auto completion
πŸ‘ 1
Avatar
David Sides 26/05/2025 18:55
I'm having fun with the streamlined REPL that pyscript.com provides, thanks! Not sure where to suggest, but it would be handy to have a brief editable description field associated with a version as a simplified devlog/bookmark. I can see as I have many versions over time that knowing what a particular version represents would be helpful.
πŸ‘ 1
Avatar
reports on "chat" channel that new projects are still using 2025.2.1...
Avatar
getting a weird error now I am using 2025.7.1 on pyscript.com. I can't select anything in any window except for the preview. My mouse cursor has changed to a hand - see attached image. Over the Preview I see the regular mouse pointer and interaction works within the preview. But everywhere else its the hand and nothing is clickable. I can't even close the preview at startup to try to edit anything. Any ideas ? Totally jammed up.
23:40
If I change url to remove all files (https://pyscript.com/@neon22/stgc-graycodes/latest) then I get my cursor back but I can't select and act on anything. e.g. clicking on a file in left pane does nothing. (I'm using a worker and it is working but have I broken some other kind of connection. I can't edit the html to change to 2025.7.2 so I can't check...
Avatar
ok. I accidentally changed (in index.html) the interpreter to pyodide even though my main was written in mpy. But the page is unrecoverable. I will leave it there for a wile for you guys to look at to see if there is a way to detect this fail and recover from it. BUT at the moment that link cannot be recovered.
12:37
ok. I see in announcements thread that maybe 7.1 is just NG. maybe pull .7.1 completely...? imho its too dangerous to leave lying around. (my 2 cents)
Avatar
@Neon22 hmm... that's not good. Most of the PyScript team are together in Boston at Tufts this week (until Thursday afternoon). So perhaps @Martin will be able to take a look. I don't think we've changed anything in the code base recently.
Avatar
@Neon22 I can see your project ok and it seems to be running..... when you say the "page is unrecoverable" - what do you mean? Is it frozen?
Avatar
Avatar
Martin
@Neon22 I can see your project ok and it seems to be running..... when you say the "page is unrecoverable" - what do you mean? Is it frozen?
If I open the page, It opens preview and runs as normal. However mouse interaction is limited to the preview pane. In other panes I cannot select, or click (and get a response) on any other part of the on-page UI. not the files sectoin, not the code tabs, not the main logo to go back to the member page. All other interaction is blocked. I have tried cloning the page and get same result. I have now manually built page again and I'm ok. Problem seemed to come when I cut and pasted some index code which had addEventListener('py:ready', () => loading.close()); instead of mpy and the ran it. (also was using 2025.7.1) Am now using 7.2. I don't know what went wrong or how it is broken. I will delete page soon.
22:50
whatever it was persisted in my browser. On rebooting browser, things are operating as they used to. So whatever it was persisted in that tab. reloading did not fix it but restarting Chrome did fix it. Sorry for the noise... Loks like a ME problem. Cheers...
Avatar
@Neon22 No worries - I've noticed with Chrome that sometimes tabs can go "rogue" πŸ™‚
Avatar
Woah, so weird! Please let us know if you come across that again. I'm curious if this replicatable (edited)
Avatar
ok. so the new ai assistant does work. but I can't turn it off. Takes up a lot of room. Please make it so we can turn it off. Especially if invoke Inspector - then everything opens up even if its off... same with closing the inspector.
Avatar
If I clone a project - I don't need to see the AI telling me to replace it with something. A good place to see it would be on "create new project"
Avatar
@neon22 folks are aware of this.
πŸ‘ 2
Avatar
I must say the AI thing is working surprisingly well. Even wth ltk questions - whch I was surprised about. most ai code helpers seem to be super incompetent with old broken code and old pratces which no longer work. But the pyscript.com Ai is working very well. congrats
πŸŽ‰ 1
Avatar
Alas today we have the AI hallucinating. When asked if there is an ltk component to display markdown, it replied with a full set of code and insisted that ltk.Markdown existed - which alas it does not. Perhaps it is overeager to help.
Avatar
Avatar
Neon22
I must say the AI thing is working surprisingly well. Even wth ltk questions - whch I was surprised about. most ai code helpers seem to be super incompetent with old broken code and old pratces which no longer work. But the pyscript.com Ai is working very well. congrats
What are we going to work on?It gives answers for everything.
Avatar
Having answers and having useful answers - yet alone right answers - is a different thing... A bit like Discord really.
πŸ‘ 1
Avatar
Alas when starting a new project the AI assistant is unable to initiate an ltk UI. It does not know how to suggest the toml, nor that the ltk is even a graphical toolkit. Perhaps it has recently forgotten that it knew that, or perhaps it can only work if all the toml, imports, main-creation, etc are already setup.
Avatar
FabioRosado 18/07/2025 15:38
Hello folks, we have made some changes to pyscriptapps. If you encounter any issues viewing or utilising your application please just let us know πŸ˜ƒ
Avatar
I had a disagreement with the AI. I am using the web.serial protocol and teh AI was absolutely insistent that port = await window.navigator.serial.requestPort() await port.open(to_js(serial_options)) where serial_options = { 'baudRate': 115200, # Adjust as needed for your device 'dataBits': 8, # Common values: 7 or 8 'parity': 'none', # Common values: 'none', 'even', 'odd' 'stopBits': 1, # Common values: 1 or 2 'flowControl': 'none' # Can be 'none', 'hardware', 'software' } absolutely did not need the to_js to convert the python dict into its JS equivalent. After remonstrating with it I got this response: "Thank you for the clarification and feedback regarding the usage of the to_js function with the Web Serial API. You're absolutely correct; since the Web Serial API is primarily a JavaScript interface, to_js is necessary to convert the Python dictionary into a format that the JavaScript API can understand." However it appears it does not learn locally past this conversation.
03:26
Can I suggest a new section here - or in pyscript github - for AI feedback. Or some mechanism whereby the AI might be improved. CHeers πŸ™‚
Avatar
Avatar
FabioRosado
Hello folks, we have made some changes to pyscriptapps. If you encounter any issues viewing or utilising your application please just let us know πŸ˜ƒ
How to check?Do we need to replace old link with the updated latest once?
Avatar
Avatar
Neon22
Alas when starting a new project the AI assistant is unable to initiate an ltk UI. It does not know how to suggest the toml, nor that the ltk is even a graphical toolkit. Perhaps it has recently forgotten that it knew that, or perhaps it can only work if all the toml, imports, main-creation, etc are already setup.
It works the best with just index.html without including the python file and the .toml file
Avatar
Avatar
Nasrin
How to check?Do we need to replace old link with the updated latest once?
FabioRosado 19/07/2025 13:09
There will be no changes for users url wise and everything should work the same πŸ™‚
πŸ‘ 2
Avatar
I still have to click twice on the assistant button in footer to get rid of assistant after it exposes itself when closing Inspector.
Avatar
The Ai has stopped responding today...
Avatar
RIPAI
18:19
^^^ @Martin
Avatar
I just tried it now and it was working when I asked it to explain pyscript.web...
21:31
(be warned it is still in its infancy πŸ™‚ We have a lot of work to do to increase its accuracy and robustness)
Avatar
Avatar
Martin
I just tried it now and it was working when I asked it to explain pyscript.web...
Mine puts up the three thinking dots then just stops and re-runs the Preview pane. No other output...
Avatar
AI Still not working for me at all. Still same as above...
Avatar
Martin returns from holiday next week. I'll follow this up.
Avatar
OK. Worked out what it was. Just leaving this not here... If your project gets big, the AI assistant will not run. I do not know how the size is measured, nor where the limit is. But none of my big projects will respond to AI queries. For all of my small projects, the AI assistant runs
Avatar
please please please fix the editor - when I close the Javascript Inspector, the "AI Assistant" and the "Files" pane are auto-opened every time. I just don't have the screen real-estate for this not to really slow me down a lot (especially as you have to click on the assistant button (in footer) Twice to turn it off again. Please fix it so it only opens the panes that were open when the inspector was opened. Pretty please πŸ§‘β€πŸ¦― πŸ₯Ί (look I added two emojis - must be serious...)
Avatar
@Martin ^^^^^
08:17
@Neon22 I've pinged the right folks internally
Avatar
On it!
Avatar
Does spam like this actually work? I doubt you'll find any success here.
Avatar
Looks like pyscript.com is down?
18:34
Getting HTTP 504 responses
Avatar
@ambv thanks for reporting! It's back up. We're looking into what caused it.
Avatar
Update @ambv infra folks are on it...
Avatar
Hi all, update on the pyscript.com outage... the issue has been traced to an issue with one of our 3rd party vendors who seems to be having trouble with an AWS connection. So sorry for the disruption (the outage is affecting other Anaconda services too - if you see conda issues etc). The issue has been reported as an official "incident" which means our folks are on it and their folks are on it. We will post updates here and again, sorry for the downtime.
Avatar
Update: Outage is now resolved. Thanks for y'alls patience - please don't hesitate to shout if you see any more slowdowns/issues.
πŸŽ‰ 4
Avatar
Bravo Martin!
Avatar
I saw this question on the Anaconda forum just get posted: https://forum.anaconda.com/t/how-to-change-the-email-address-in-pyscript-com/107902
If I want to change email address for pyscript.com how can I change?
Exported 269 message(s)
Timezone: UTC+0