• deloriel42

    . Is there a repository or a list about unsupported modules in Pythonista?

    So it seems that I have to switch to Pyto for that task. Strange but OK.

    @JonB 1000 thanks

    posted in Pythonista read more
  • deloriel42

    Ok, that helped a little.
    I checked and there are no pptx scripts

    Restarting Pythonista changes the error to lxml module (I am still looking for that...)

    Traceback (most recent call last):
      File "/var/mobile/Library/Mobile Documents/iCloud~com~omz-software~Pythonista3/Documents/2020-10/test.py", line 1, in <module>
        from pptx import Presentation
      File "/private/var/mobile/Containers/Shared/AppGroup/CB775338-75D0-4D40-BCA3-F31D6F8FFE4C/Pythonista3/Documents/site-packages-3/pptx/__init__.py", line 14, in <module>
        from pptx.api import Presentation  # noqa
      File "/private/var/mobile/Containers/Shared/AppGroup/CB775338-75D0-4D40-BCA3-F31D6F8FFE4C/Pythonista3/Documents/site-packages-3/pptx/api.py", line 15, in <module>
        from .package import Package
      File "/private/var/mobile/Containers/Shared/AppGroup/CB775338-75D0-4D40-BCA3-F31D6F8FFE4C/Pythonista3/Documents/site-packages-3/pptx/package.py", line 11, in <module>
        from .opc.package import OpcPackage
      File "/private/var/mobile/Containers/Shared/AppGroup/CB775338-75D0-4D40-BCA3-F31D6F8FFE4C/Pythonista3/Documents/site-packages-3/pptx/opc/package.py", line 13, in <module>
        from .oxml import CT_Relationships, serialize_part_xml
      File "/private/var/mobile/Containers/Shared/AppGroup/CB775338-75D0-4D40-BCA3-F31D6F8FFE4C/Pythonista3/Documents/site-packages-3/pptx/opc/oxml.py", line 12, in <module>
        from lxml import etree
    ImportError: cannot import name 'etree'
    

    After second call it’s the former error again.

    posted in Pythonista read more
  • deloriel42

    after finding the right way to install py3 libraries with stash properly, I am still running in this weird import error in the python-pptx library

    Traceback (most recent call last):
      File "/private/var/mobile/Containers/Shared/AppGroup/D1B77FF7-7126-4C9B-B6FC-0470A3A25828/File Provider Storage/Repositories/md2pptx/md2pptx.py", line 15, in <module>
        from pptx import Presentation
      File "/private/var/mobile/Containers/Shared/AppGroup/CB775338-75D0-4D40-BCA3-F31D6F8FFE4C/Pythonista3/Documents/site-packages-3/pptx/__init__.py", line 8, in <module>
        import pptx.exc as exceptions
    AttributeError: module 'pptx' has no attribute 'exc'
    

    But in fact it has a exc.py in the pptx folder.

    Am I missing something?
    Help would be appreciated..

    posted in Pythonista read more
  • deloriel42

    Sorry if I forgot that there is a obvious place for a manual. I am through the github readme of stash
    and found

    pip.py - Search, download, install, update and uninstall pure Python packages from PyPI
    

    This does not say anything about the inner working of pip with the two interpreters.

    But it was a nice read.

    The issue described by problem but did not really solve it.

    The ‘not everything runs’ is not very helpful to understand what would run (the issue flags git as a py2 only but still says nothing about pip)

    Thanks a lot for the other replies they help me better to act. The launch_stash3.py would be my choice.

    Thanks again!

    posted in Pythonista read more
  • deloriel42

    Hi Pythonistas,

    I have a comprehensive question to the inner workings of stash related to the double interpreter (Python 2.x and Python 3.x)

    stash allows me to pip install. How do I tell it which version of python to use? (I was looking for a pip3 command but did not find it)

    the question gets mor complex. Stash wants to be launched in python 2.7. How would that impact the Python 3 package installation with pip.

    The source of my question is the wonderful ‘python-pptx’ module. I can not install it in Pythonista though I am sure (and can show you) that it runs under a Python 3.x environment on iOS. The problems that are popping up are completely Py2to3 issues that look like a misplaced library (site-packages) which brings me back to pip and stash.

    Would be great to find out the reason and solve it. Because I want to promote the script in other forums with both Python Apps available (Pythonista and the other one that shall not be named ...)

    Cheers
    Andreas

    posted in Pythonista read more
  • deloriel42

    Dear Ole,
    Thanks for your great Applications.
    I really like your software.

    As a software engineer I can really appreciate how much work it is to get such a super application with the great ecosystem

    In my personal and professional life I am discovering Asciidoc as a great replacement for markdown and would really like to see it in more apps like draft. Would it be possible to add a good 20/80 syntax highlighting for such a language?

    Sincerely
    Felix

    posted in Editorial read more
  • deloriel42

    two possibilitie improvements:

    • use (new) magic variables in workflow wFlow
    • pass json object to pythonista

    posted in Pythonista read more
  • deloriel42

    good idea, did you post that scripts on github?

    posted in Pythonista read more
  • deloriel42

    I only know about iCal/ics parser modules.
    No direct calender access to iOS.

    there is a calender module able to generate HTML output. that might help if you can hook it up with your iCal account/service.
    That might be any Google, Exchange or iCloud based service .

    BUT no Integration like that Reminders or contacts. Maybe upcoming?

    posted in Pythonista read more
  • deloriel42

    Yes affirmed, that works.
    Is there a workflow that supports PDF export with those images?
    The preview shows all images, but in the PDF they are not included.

    posted in Editorial read more

Internal error.

Oops! Looks like something went wrong!