Changeset 38714


Ignore:
Timestamp:
2024-02-07T23:14:14+13:00 (4 months ago)
Author:
davidb
Message:

Updated instructions

Location:
gs3-installations/thewillow/trunk/sites/thewillow/collect/community-contributions/prepare
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gs3-installations/thewillow/trunk/sites/thewillow/collect/community-contributions/prepare/README.txt

    r37649 r38714  
    44#----
    55
    6 # headless/minimal version
     6# headless/minimal version for Debian, Ubuntu, etc
    77
    8 sudo apt-get --no-install-recommends install libreoffice
     8    sudo apt-get --no-install-recommends install libreoffice
     9
     10Or for CentOS/RedHat:
     11
     12    sudo yum install libreoffice
    913
    1014
     
    1317#----
    1418
    15 pip install openpyxl
    16 pip install gdown
     19    pip3 install -requirements
     20   
     21#----
     22# Now run the full prepare sequence
     23#----
    1724
    18 pip install requests
    19 
    20 
    21 ./DOWNLOAD-SHARED-GSHEET--THEWILLOW.sh
    22 
    23 ./xlsx-to-csv--thewillow-directorysheet.py
     25    ./01-DOWNLOAD-SHARED-GSHEET--THEWILLOW.sh
     26    ./02-XLSX-TO-GSFRIENDLY-CSV.sh
     27    ./03-RSYNC-TO-IMPORT.sh
     28    ./04-PREP-VIDEOS.sh
     29    ./05-RSYNC-TO-IMPORT.sh
  • gs3-installations/thewillow/trunk/sites/thewillow/collect/community-contributions/prepare/xlsx-to-csv--thewillow-directorysheet.py

    r38313 r38714  
    249249    print("Downloading Google Doc url:")
    250250    print("  " + url)
    251    
    252     download_filename = gdown.download(url, output=downloads_outputdir, fuzzy=True, quiet=True)
    253 
     251
     252    download_filename = None
     253   
     254    try:
     255        download_filename = gdown.download(url, output=downloads_outputdir, fuzzy=True, quiet=True)
     256    except Exception as error:
     257        print(error)
     258       
    254259    if download_filename != None:
    255260        print("Downloaded filename:", download_filename)
Note: See TracChangeset for help on using the changeset viewer.