omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. montedavis

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    montedavis

    @montedavis

    0
    Reputation
    459
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    montedavis Unfollow Follow

    Latest posts made by montedavis

    • XCODE project -- Errno13 -- Permission Denied

      In my script that works fine within Pythonista -- the main file is a web form -- I am getting an error when trying to run it as a standalone XCODE Project.

      The first line run starts the web-server.

      server = HTTPServer(('', 80), RequestHandler)

      This is the line that gives me the permission denied error in the iOS Simulator.

      I have changed all project file permissions to 777 to see if it was web server access to files.

      I also ran XCODE under sudo.

      Any ideas as to what might be causing this permission error?

      posted in Pythonista
      montedavis
      montedavis
    • RE: XCODE project -- Errno13 -- Permission Denied

      Anybody? I think that the Error 13 is the standard Web Server error code, but I am really lost here. Has anyone succeeded in getting the webform app to run in the XCODE similar / as a standalone app.

      posted in Pythonista
      montedavis
      montedavis
    • RE: Including extra files in XCode Export

      I had something similar. I posted the solution here --

      https://omz-forums.appspot.com/pythonista/post/5882075823472640

      If this doesn't work, try and chown -R on this directory to your user.

      posted in Pythonista
      montedavis
      montedavis
    • RE: Including External Libraries / Multiple Python Files in XCODE Export

      It looks like I got this working by adding files into Support Files / pylib in the Xcode project. I still have another problem. But that's another post.

      posted in Pythonista
      montedavis
      montedavis
    • Including External Libraries / Multiple Python Files in XCODE Export

      I have the following challenge.

      I have built an application in pythonista. It depends on some additional code that I have written, Jinja2, and BeautifulSoup4. It works in pythonista perfectly. (My first line on the main web-form adds a library directory to the sys.path where all of this code sits.)

      When I select to export XCODE project, I get the project but when I hit run and the iOS simulator opens, I get an import error for the associated libraries.

      Is there a specific way to export so that all the dependencies are also exported?

      Is there a way to add these dependencies to the Xcode project manually?

      Thanks,
      Monte

      posted in Pythonista
      montedavis
      montedavis