Forum Archive

Bug: Run Pythonista script in share sheet shows tools instead of appex scripts

cvp

cvp

Even after restart iPad 😢

cvp

In Shortcuts, Share Extension shows the same screen as Editor Action, no more all my defined appex scripts

cvp

Of course, if somebody has the right idea...

cvp

In the Pythonista settings, the Share Extension Shortcuts shows a view with title "Extension Shortcuts" but the Tools Editor is shown, weird...

halloleooo

@cvp When does this happen for you? All the time? Or only when you open the Pyhtonista Share Sheet in Pythonista?

When I open the Pythonista Share Sheet, say, in Photos.app, I get only the appex scripts.

cvp

@halloleooo the first image in the topic shows that it happens in Safari, for instance, when I try to share an url but it also happens in Photos when I try to share a photo.

cvp

@halloleooo it happens everywhere, in all share sheets, only since yesterday

halloleooo

@cvp No idea what can cause this. Maybe reinstall Pythonista?

halloleooo

@Cvp And maybe making Ole Zorn aware of it? Not sure how responsive he is on Twitter...

cvp

@halloleooo said:

Not sure how responsive he is on Twitter..

No post for one year

cvp

@halloleooo said:

Maybe reinstall Pythonista?

Always afraid to lose my data

cvp

@jonB: you are our champion and you know some Pythonista internals: do you have an idea of where to search?

cvp

Additional info, thanks to filenav, i've found this file ExtensionShortcuts.json, which contains the scripts showed in this erroneous screen.
And it is not exactly the same as tools but an old version of it.
Not Understandable

cvp

If I manually re-add shares, they are added in this file of just previous post.

halloleooo

@cvp said::

Maybe reinstall Pythonista?

Always afraid to lose my data

Fair enough, but the Python files you should be able to get back via iCloud if you stored them there.

Of course all custom links you’ve put into the Wrench sheet, you’d need to rewire...

cvp

@halloleooo sure. But if the only changed thing is the list of my appex scripts, I can rebuild them in a few minutes. I only want to understand from where this bug comes to be sure it would not occur anymore.

halloleooo

@cvp Totally agree. Would be sooo good to be able to reach out to omz...

JonB

So, are you saying when you add a new wrench action, does it show on your appex page? What about if you add a new appex (does that show back up on your wrench?)

cvp

@JonB no, the wrench page is ok, it contains the old ones and if I add a new wrench, it goes in the wrench page.
But, the appex page contains the old wrenchs and the newly added appex. Of course, I will remove old wrench's and add also old appex as new ones, to go back to a normal situation.

JonB

Very strange indeed! Have you found the json for the appex scripts?

cvp

@JonB said:

Have you found the json for the appex scripts?

Yes, it is the file I have described above but it was containing old wrench's. now, when I add new appex scripts, the file is updated with these new ones.