• JonB

    I will point out that I was able to run synchronator, and it seemed to be working. I used the requests and dropbox modules installed in the beta (2.9.0 and 6.4.0 respectively). The script ran, and started copying files, though I cancelled it before it got too far.

    posted in Pythonista read more
  • JonB

    can anyone post tracebacks of the issues?

    posted in Pythonista read more
  • JonB

    Glad that worked out. If your program is shareable, I hope you consider sharing it via git or github. It is always useful to see what others are doing pushing the envelope of pythonista.

    posted in Pythonista read more
  • JonB

    Did you try theraminsim? (note i just pushed a change that fixed a crash ). There are some tricks to getting a wav to play with Player:

    A few issues you might notice:

    1. iirc compressed wav is not supported, and i think only certain sample frequencies are supported.
    wf=wave.open(file,'w')
    wf.setparams((1, 1, self.fs, 0, 'NONE', 'not compressed'))
    wf.writeframes(tone)
    wf.close()
    
    1. be sure to close the file, and dont write to it while Player is playing. Writing to the file cancels playback, iirc. Hence the pingpong file scheme in theraminsim-- while file 1 is playing, file 2 gets written to, then it swaps.

    I probably should try porting theraminsim over to scene -- since scene supports very precise timing, it might be possible to have a more continuous tone.

    posted in Pythonista read more
  • JonB

    The version you have installed is version 0.7 or earlier. Pythonista comes installed with version 0.10.1. Current version is 0.12.x.

    The pythonista version is compatible with py3 ( as are current versions), so if you delete the version in site packages, you should be good to go with 0.10.

    If you need 0.12, pip install should work, but often requires some manual intervention. In this case, you just need to manually install the missing click dependency:

    pip install flask
    pip install click
    

    In other cases, with complex setup.py, you can pip download, then tar -xvzf then figure out what needs to be copied.

    posted in Pythonista read more
  • JonB

    https://forum.omz-software.com/topic/1701/core-audio-support-split-view-in-editor

    sound.Player does not cache effects. See an example of real time audio generated in numpy + wave.

    https://github.com/jsbain/theraminsim/blob/master/theramin.py

    posted in Pythonista read more
  • JonB

    when you use stash pip to install modules, it installes the 2.7 version. pythonista comes with flask installed, so just delete that folder from site packages,

    posted in Pythonista read more
  • JonB

    This doesnt answer your questi n... but i wonder if this
    https://github.com/alekstorm/backports.ssl would work for you...

    posted in Pythonista read more
  • JonB

    I thought you said @enceladus 's code worked, which if true, you should be able to just call one of those methods, wrapped with on_main_thread and achieve the same result. @zrzka seemed to clarify that this launches safari, not in a tab.

    posted in Pythonista read more
  • JonB

    actually, if you have an internet connection available, you can use the sagecell server.
    https://forum.omz-software.com/topic/4200/data-analysis-workflow/17
    the above thread has a few options, such as a wrench menu that lets you "run" sagecell scripts, or a way to manually execute them within the conext of another script, and then use the outputs.

    posted in General Discussion read more

Internal error.

Oops! Looks like something went wrong!