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.
[Share Code] gitsynchista now has pyzipista support
-
My little tool gitsynchista now offers support for my other little tool pyzipista: For each configured repository the app checks if the self-extracting archive is up-to-date. If not, the pyzipista button at the bottom will show a red border. The user can update the archive by simply pressing the button.
-
Looking good, I need to give this another try.
-
-
@mikael And it has just been ported to Pythonista 3.
-
@marcus67 : it's erroring out on me. Latest Pythonista 3 build. Working Copy up and running, WebDAV server on.
Console output follows:
log - INFO - Loaded logging configuration from etc/log_config.json log - INFO - Starting logging log - INFO - Loaded logging configuration from etc/log_config.json log - INFO - Starting logging gitsynchista - INFO - Starting gitsynchista config - INFO - reading configuration file '../EitD/gitsynchista_config.txt' for config 'SyncConfig' sync - INFO - No pyzipista found sync - INFO - Loading remote directory structure sync - INFO - Loading WebDav directory '/EitD-Pythonista' sync - INFO - Loading WebDav directory '/EitD-Pythonista/Docs' sync - INFO - Loading WebDav directory '/EitD-Pythonista/esper' sync - INFO - Loading local directory structure sync - INFO - Loading file directory '../EitD' sync - INFO - Loading file directory '../EitD/Docs' sync - INFO - Loading file directory '../EitD/esper' sync - INFO - Transferring '../EitD/esper/__init__.py' to '/EitD-Pythonista/esper/__init__.py' sync - ERROR - Error during scan: name 'basestring' is not defined Traceback (most recent call last): File "/private/var/mobile/Containers/Shared/AppGroup/EBB985EF-4968-4E86-B655-FB94E1213029/Pythonista3/Documents/gitsynchista/sync.py", line 520, in sync self.compare_info.transfer_new_files_to_remote() File "/private/var/mobile/Containers/Shared/AppGroup/EBB985EF-4968-4E86-B655-FB94E1213029/Pythonista3/Documents/gitsynchista/sync.py", line 317, in transfer_new_files_to_remote transfer_new_files(self.local_change_info, self.local_file_access, self.remote_file_access) File "/private/var/mobile/Containers/Shared/AppGroup/EBB985EF-4968-4E86-B655-FB94E1213029/Pythonista3/Documents/gitsynchista/sync.py", line 255, in transfer_new_files dest_file_access.save_from_string(dest_physical_name, source_file_access.load_into_string(file.physical_name, mode="rb"), mode="wb") File "/private/var/mobile/Containers/Shared/AppGroup/EBB985EF-4968-4E86-B655-FB94E1213029/Pythonista3/Documents/gitsynchista/sync.py", line 198, in save_from_string self.webdav_client.upload(string_file, path) File "/private/var/mobile/Containers/Shared/AppGroup/EBB985EF-4968-4E86-B655-FB94E1213029/Pythonista3/Documents/site-packages/client.py", line 182, in upload if isinstance(local_path_or_fileobj, basestring): NameError: name 'basestring' is not defined gitsynchista - INFO - Terminating gitsynchista
I'm willing to help with the error, just let me know what you need.
-
Since it is asking for pyzipista, did that need to be separately installed?
-
@athros Sorry, my fault. You will need to get the latest version of easywebdav (https://github.com/marcus67/easywebdav), too, and install it into your site-packages. Better restart Pythonista to make the changes visible.
-
@mikael pyzipista should be optional. If it still does not work after upgrading easywebdav I will have to look into this.