• mygeekdaddy

    Appears there is an updated WF that works: Editorial Backup

    This one doesn't list Ole as the creator, but has the same functionality and features as the one listed in 'Staff Picks' section.

    posted in Editorial read more
  • mygeekdaddy

    I got a new iPad and was working on setting up Editorial on it. The current version (v1.3) does not seem to work with the Backup/Restore workflow.

    Attempting to do a back gives the following error:

    Traceback (most recent call last):
      File "/var/mobile/Containers/Data/Application/183A22F2-49B9-4F4C-B473-3D1C961F0E8F/Library/Application Support/Commands/workflow_action_tmp.py", line 36, in <module>
        shutil.make_archive('Documents', 'zip', doc_path)
      File "/var/containers/Bundle/Application/6BA64918-0218-4AEF-A525-47892CCAA145/Editorial.app/Frameworks/Py2Kit.framework/pylib/shutil.py", line 559, in make_archive
        filename = func(base_name, base_dir, **kwargs)
      File "/var/containers/Bundle/Application/6BA64918-0218-4AEF-A525-47892CCAA145/Editorial.app/Frameworks/Py2Kit.framework/pylib/shutil.py", line 461, in _make_zipfile
        zf.write(path, path)
      File "/var/containers/Bundle/Application/6BA64918-0218-4AEF-A525-47892CCAA145/Editorial.app/Frameworks/Py2Kit.framework/pylib/zipfile.py", line 1137, in write
        zinfo = ZipInfo(arcname, date_time)
      File "/var/containers/Bundle/Application/6BA64918-0218-4AEF-A525-47892CCAA145/Editorial.app/Frameworks/Py2Kit.framework/pylib/zipfile.py", line 307, in __init__
        raise ValueError('ZIP does not support timestamps before 1980')
    ValueError: ZIP does not support timestamps before 1980

    Attempting to do a Restore results in an error stating no backup were found.

    Has anyone had the same issues?

    posted in Editorial read more
  • mygeekdaddy

    I'm trying to take a comma separated text block from the clipboard and convert it to a CSV file. A sample text that I'm using in test looks like this:

    apple, orange, pear
    bread , donut, bagel
    car, toy, truck

    My current script is supposed to read the text from the clipboard and create a CSV file:

    import csv
    import clipboard
    data = clipboard.get()
    f = open('cv_data.csv', 'wb')
    w = csv.writer(f, delimiter = ',')

    I get the file to write, but the output from the script ends up being this:

    apple, orange," pear
    bread", donut," bagel
    car", toy, truck

    Any suggestions on what I can do differently to not get the extra quotes in the output file?

    posted in Pythonista read more
  • mygeekdaddy

    Perfect! Thanks for the help.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!