• peterdougstuart

    For those of you on Twitter it would be great if you could follow @mapmangame. We are working up to our release and it would be great to build up a bit of a following before we go live. thanks!

    posted in Pythonista read more
  • peterdougstuart

    Hi

    Pleased to say that I got my first iOS app approved last night which was written on Pythonista. The app called MapMan is a puzzle game which is free to download with an optional in app purchase.

    I am planning a release in the next 1-2 weeks. I’ll post again when it’s live. I owe a lot of thanks to the Pythonista forum for helping me out which many challenges I faced along the way, thanks everyone! and of course thanks to OMZ for the wonderful Pythonista (and Pythonista App template).

    More details here http://mapmangame.com

    P.S. if anyone has any suggestions about how I can spread the word about MapMan please let me know.

    posted in Pythonista read more
  • peterdougstuart

    Hi @xino386 can you PM on twitter and I’ll send you a zip of my scripts (same handle as here). Note that my scripts have been trimmed down to match the subset of the libraries used in my app so you might be better off following the steps above to get it to work.

    posted in Pythonista read more
  • peterdougstuart

    Sorry for delay responding....

    Happy to share @RomSpy, but please note that my templates have been minimized to my project i.e. deleted lots of modules I'm not using. Therefore it may not work for your project. You might be better off following the principles of steps I outlined above.

    If you are still interested in my templates can you send me a PM on twitter (same handle as here) and I'll send you a zip or something. Alternatively point me to somewhere I can upload the files and I'll do so.

    posted in Pythonista read more
  • peterdougstuart

    I'm making a bit of progress:

    • My original error related to the future.py file in pylib, after running the script the Xcode error changed.
    • I noticed that after running the above script the specific file that I was getting the 'Invalid Signature' error on had change to pylib/compiler/init.py. I had a look at that file and it didn't have a #\input texinfo up the top so I added it manually.
    • I then reran the script and the error changed to pylib/compiler/ast.py This did have lots of #\input texinfo, so I copy and pasted all of them to double the amount of #\input texinfo lines at the top of the file. This seemed to satisfy Xcode.
    • I then reran the script and the error changed one of the files in pylib/ctypes/test. I just deleted the whole pylib/ctypes/test folder.
    • I than reran the script and the error changed to pylib/dateutil/READEME. I deleted the README file and the NEWS file while I was at it.
    • I than reran the script and the error changes to pylib/site-packages/dropbox/init.py. As I'm not using dropbox in my app I just deleted the dropbox folder.
    • I then had errors on pylib/site-packages/twitter.py, webbrowser.py, xmltodict.py and ui.py. They all had just one #\input texinfo line so I inserted an extra 1000 #\input texinfo lines at the top of each.
    • I then had remaining errors in the files in pylib_ext/ so I added about #\input texinfo lines at the top of each.
    • Finally my app submitted successfully!!!!

    I must confess I really don't understand all of this. Feels like there's got to be a better way....

    Thanks to @sreyemnayr for posting the script as I would not have solved this without it.

    posted in Pythonista read more
  • peterdougstuart

    Hi @sreyemnayr, just tried your script, but still getting an error on upload to app store. Any other ideas or refinements to your script?

    posted in Pythonista read more
  • peterdougstuart

    OK got this sorted. After rolling back the requests and DropBox updates (latest versions) I installed the specific version that synchronator quoted as the minimum using stash

    pip install ‘dropbox==7.2.1‘

    Now everything works! Thanks everyone.

    posted in Pythonista read more
  • peterdougstuart

    Ok so I realised when you pip in pythonista with stash it puts the modules under ‘Modules & Templates/Site-Packages’ which overrides the modules in the ‘Modules & Templates/standard library (x.x)’. I deleted the newly download requests, DropBox Etc from there and I’m back to where I started.

    It seems like there is currently some issue with the latest version DropBox and Request packages. Synchronator needs an updated version of these libraries, but currently they are not working.

    Does anyone have any other ideas?

    posted in Pythonista read more
  • peterdougstuart

    Hi

    I’m managed to install stash and attempted to update requests as per the readme in Synchonator and am now getting the following error, anyone know how I fix this?

    /private/var/mobile/Containers/Shared/AppGroup/C0C8A414-409D-4540-878C-0DDC5320C51A/Pythonista3/Documents/site-packages/requests/init.py:80: RequestsDependencyWarning: urllib3 (1.4) or chardet (3.0.4) doesn't match a supported version!
    RequestsDependencyWarning)
    stash: <type 'exceptions.ImportError'>: cannot import name DependencyWarning

    posted in Pythonista read more
  • peterdougstuart

    That's great, I'll give it a go.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!