Git Product home page Git Product logo

Comments (3)

kieranjol avatar kieranjol commented on September 23, 2024

Hi Raelene - it's a unicode issue - I'd need filenames to figure out how to figure this out. I tried logging on to ES2 but couldn't find the paths in question so can you point me in the right direction please?

from ifiscripts.

raecasey avatar raecasey commented on September 23, 2024

Hi Kieran

the example I gave you above was from the stardom drive which is now disconnected. i'm pasting a new example below from ES2 desktop. it break has happened to me on macmini and es1 also in the last few weeks. let me know if you would like me to post more examples. - from different stations or with different av content. R

terminal:
Last login: Fri Jul 31 13:39:49 on ttys005
ifi-mac-pro:~ admin$ manifest.py -h
usage: manifest.py [-h] [-s] [-f] [-sha512] source

Generate manifest with checksums for a directory Written by Kieran O'Leary.

positional arguments:
source Input directory

optional arguments:
-h, --help show this help message and exit
-s, -sidecar Generates Sidecar
-f, -felix Felix Meehan workflow - places manifest inside of source
directory
-sha512 Generates sha512 checksums instead of md5
ifi-mac-pro:~ admin$ manifest.py -s /Users/admin/Desktop/rc_desktop/eu_blarney_qc/ucla/tiff_relevants
Traceback (most recent call last):
File "/Users/admin/ifigit/ifiscripts/manifest.py", line 164, in
main(sys.argv[1:])
File "/Users/admin/ifigit/ifiscripts/manifest.py", line 97, in main
generate_log(log_name_source, 'manifest.py started.')
File "/Users/admin/ifigit/ifiscripts/ififuncs.py", line 312, in generate_log
with open(log, "w", encoding='utf-8') as fo:
TypeError: 'encoding' is an invalid keyword argument for this function
ifi-mac-pro:~ admin$

from ifiscripts.

kieranjol avatar kieranjol commented on September 23, 2024

So this was weird - i didn't have the correct python3 shebang at the top, and python2 was running the script, not python3. All is fixed now. Thx for reporting.

from ifiscripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.