Welcome to CardStock Discussions! #1
Replies: 14 comments 9 replies
-
Hi everyone! |
Beta Was this translation helpful? Give feedback.
-
Hi All, I have a few questions about CardStock.
Should I file an issue for this? Like the app so far. I'll submit some stacks I've built with it in a few days. |
Beta Was this translation helpful? Give feedback.
-
1. Yes! You can design/edit and run CardStock stacks on
https://cardstock.run/. It even allows multiple users to collaboratively
edit a stack together.
2. I believe that warning is coming from the upstream wxWidgets/wxPython
project, so I don't think CardStock needs that issue filed.
Thanks for using CardStock! Please send any feedback and suggestions you
have for improving it.
Ben
…On Sat, Jan 13, 2024 at 6:55 AM Code Monki ***@***.***> wrote:
Hi All,
I have a few questions about CardStock.
1. Can it run in the browser or am I misreading the reference guide?
2. I am seeing the following text pop up when I launch CardStock on
Mac OS X:
Python[18576:1161003] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
Should I file an issue for this?
Like the app so far. I'll submit some stacks I've built with it in a few
days.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYMOXCZOQTQESFKWY663ETYOKN7ZAVCNFSM4XSPLXHKU5DIOJSWCZC7NNSXTOKENFZWG5LTONUW63SDN5WW2ZLOOQ5TQMJRHA2TCMY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Odd, when I export the die roller stack to a file and. double-click it in Finder, it crashes. :-/ M1 Mac Mini 2020
|
Beta Was this translation helpful? Give feedback.
-
Weird, I just tried to verify my account on cardstock.run via the email, but I got an HTTP 500 error. :-/ |
Beta Was this translation helpful? Give feedback.
-
Python 3.12.1 is not supported yet by wxPython, so make sure you're using
3.9.x-3.11.x.
But I see this error too now on an M-series mac, where an exported stack
app won't load. Please file a bug!
…On Sat, Jan 13, 2024 at 11:01 AM Code Monki ***@***.***> wrote:
Odd, when I export the die roller stack to a file and. double-click it in
Finder, nothing happens. No errors displayed, but nothing happens. :-/
M1 Mac Mini 2020
16GB RAM
Mac OS X 14.2.1 Sonoma
Python 3.12.1
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYMOXFOFGENTA632PYFJGLYOLKYLAVCNFSM4XSPLXHKU5DIOJSWCZC7NNSXTOKENFZWG5LTONUW63SDN5WW2ZLOOQ5TQMJRHE3TONA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi Ben, I removed all versions of Python from my system, then reinstalled 3.11. I reinstalled the CardStock app, loaded the stack and tried to export the stack as an app. Still no luck. I'm attaching the stack (had to add .txt as the extension so Github would accept it), the build log for the app, and a list of what Python libs are installed locally.
|
Beta Was this translation helpful? Give feedback.
-
I just pushed a fix for this problem up to github. On recent MacOS, the
standalone viewer was no longer finding stack.cds. This should be working
now if you run the latest code. I was planning to wait for an update to
wxPython before pushing a new app version, but if you can confirm that this
works for you now, I may push a release out sooner. Thanks for the report!
…On Sun, Jan 14, 2024 at 6:58 PM Code Monki ***@***.***> wrote:
Hi Ben,
I removed all versions of Python from my system, then reinstalled 3.11. I
reinstalled the CardStock app, loaded the stack and tried to export the
stack as an app. Still no luck. I'm attaching the stack (had to add .txt as
the extension so Github would accept it), the build log for the app, and a
list of what Python libs are installed locally.
cs.log <https://github.com/benjie-git/CardStock/files/13934375/cs.log>
2d6-Roller.cds.txt
<https://github.com/benjie-git/CardStock/files/13934379/2d6-Roller.cds.txt>
Package Version
------------------------- ----------
altgraph 0.17.4
attrdict3 2.0.2
cardstock 0.99.4
certifi 2023.11.17
charset-normalizer 3.3.2
greenlet 2.0.2
idna 3.6
macholib 1.16.3
numpy 1.26.3
packaging 23.2
pillow 10.2.0
pip 23.3.2
pyinstaller 6.3.0
pyinstaller-hooks-contrib 2023.12
pynvim 0.4.3
pyz 0.4.3
requests 2.31.0
setuptools 65.5.0
simpleaudio 1.0.4
six 1.16.0
urllib3 2.1.0
wxPython 4.2.1
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYMOXEDYOE3VF6PA5SZ3STYOSLMHAVCNFSM4XSPLXHKU5DIOJSWCZC7NNSXTOKENFZWG5LTONUW63SDN5WW2ZLOOQ5TQMJSHAZTOMI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi Ben, I'm going to move this discussion to an issue. Best regards, Chuck |
Beta Was this translation helpful? Give feedback.
-
This is a godsend! I'm programmer-experienced but gui-averse, and many of the "standard" gui toolkits are difficult for me to grasp, but this seems to work quite well for me so far. One thing I'm wondering: Is it possible to get it to automatically resize the card to a specific size upon entering a new card with goto_card? I've tried using animate_resize with a duration of 0 and a new Size(x,y) parameter. And putting it in each card's on_sho_card. it works when I make one of the cards larger, but when I try to go back to Size(500,500) after having done Size(920,720) the canvas doesn't shrink back down and it's full of stuff from the "bigger" card when it was shown. There must be a method of some kind to force a complete redraw. |
Beta Was this translation helpful? Give feedback.
-
I'm glad you're finding CardStock useful, and thank you for the feedback!
First, are you running the latest version? v0.99.6 fixed some card
resizing issues. Also just to check: are you running the CardStock app on
your computer, or running on the web at https://cardstock.run/ ?
I've found that animating the card's size in on_show_card() works for me in
the latest version. But only if the card is not already the size that
you're animating to. Attached is an example stack that animates between
two card sizes.
Please let me know if this doesn't solve your problem, or if you think
there's still a bug!
Thanks,
Ben
…On Mon, Jul 29, 2024 at 5:21 AM kozmikyak ***@***.***> wrote:
This is a godsend! I'm programmer-experienced but gui-averse, and many of
the "standard" gui toolkits are difficult for me to grasp, but this seems
to work quite well for me so far.
One thing I'm wondering: Is it possible to get it to automatically resize
the card to a specific size upon entering a new card with goto_card? I've
tried using animate_resize with a duration of 0 and a new Size(x,y)
parameter. And putting it in each card's on_sho_card. it works when I make
one of the cards larger, but when I try to go back to Size(500,500) after
having done Size(920,720) the canvas doesn't shrink back down and it's full
of stuff from the "bigger" card when it was shown. There must be a method
of some kind to force a complete redraw.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYMOXDQQ762KJF6BFVNDZTZOYXTBAVCNFSM6AAAAABLUFEM7OVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJXHEYTOMY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thank you. I see this bug now. You shouldn’t need to do anything
special. Cards with different sizes are meant to just work, but are a new
addition, and it looks like there are still bugs. I’ll work on a fix,
hopefully today.
Ben
…On Mon, Jul 29, 2024 at 12:06 PM kozmikyak ***@***.***> wrote:
I'm running on Lubuntu 24.04, with Python 3.11.9, from the cardstock app
built in that python version. Using lxqt window manager
—
Reply to this email directly, view it on GitHub
<#1 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYMOXFFGZPV2YG4MF6ITG3ZO2HETAVCNFSM6AAAAABLUFEM7OVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJYGMYDOMY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ok, I believe this is fixed with the latest commits to github. Do you need
a new build pushed to pip, or can you pull the updated code from git?
Ben
…On Mon, Jul 29, 2024 at 1:01 PM ben levitt ***@***.***> wrote:
Thank you. I see this bug now. You shouldn’t need to do anything
special. Cards with different sizes are meant to just work, but are a new
addition, and it looks like there are still bugs. I’ll work on a fix,
hopefully today.
Ben
On Mon, Jul 29, 2024 at 12:06 PM kozmikyak ***@***.***>
wrote:
> I'm running on Lubuntu 24.04, with Python 3.11.9, from the cardstock app
> built in that python version. Using lxqt window manager
>
> —
> Reply to this email directly, view it on GitHub
> <#1 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAYMOXFFGZPV2YG4MF6ITG3ZO2HETAVCNFSM6AAAAABLUFEM7OVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJYGMYDOMY>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
Thanks! I've certainly been enjoying using CardStock for quick prototyping
and for slapping a quick GUI on top of some python code. And I've also
been using it as a teaching tool for the kiddo and friends.
I just uploaded a new 0.99.6.1 bugfix release to pypi, so you should be
able to run `pip3 install cardstock -U` to upgrade. If pip doesn't find
the new version yet, you can grab the .whl file from its pypi page here:
https://pypi.org/project/cardstock/ and install it with `pip3
install cardstock-0.99.6.1-py3-none-any.whl`
And if you have a github account, you can "watch" a project, which emails
you about new releases.
Cheers,
Ben
…On Tue, Jul 30, 2024 at 7:40 PM kozmikyak ***@***.***> wrote:
And once again, thanks so much for being so responsive. These Hypercard
and dare I say it Visual Basic style environments have so been going out of
style, but I think they still serve a need for both learning and for those
GUI-uneducated trying to dip their toes into that area. I know systems
programming really well but front-end software is not my specialty, yet
this is easy to get started with. Even in its rather basic form it's quite
powerful, be proud of it. :-)
—
Reply to this email directly, view it on GitHub
<#1 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYMOXBYGCCB45BNSLM7UK3ZPBFBNAVCNFSM6AAAAABLUFEM7OVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJZGY2DONY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of the budding CardStock community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions