Coder Social home page Coder Social logo

Comments (6)

fredrikaverpil avatar fredrikaverpil commented on May 20, 2024

Can we just print the error instead of halting?

		try:
			copy(join(r'c:\Windows\System32', dll), path('${freeze_dir}'))
		except FileNotFoundError as error:
			print('Could not copy file:', error)

from fbs.

mherrmann avatar mherrmann commented on May 20, 2024

By "I can see that the file indeed exists within the target\Tutorial folder." you mean that target\Tutorial\api-ms-win-crt-multibyte-l1-1-0.dll exists for you even though you apparently don't have it in C:\Windows\System32?

The file is needed to avoid fman-users/fman/issues/126 on some users' system.

from fbs.

fredrikaverpil avatar fredrikaverpil commented on May 20, 2024

you mean that target\Tutorial\api-ms-win-crt-multibyte-l1-1-0.dll exists

Correct. It exists in the target\Tutorial folder.

The copy command fails as the file is not found in C:\Windows\System32, hence the error:

FileNotFoundError: [Errno 2] No such file or directory: 'c:\\Windows\\System32\\api-ms-win-crt-multibyte-l1-1-0.dll'

Something else is copying that file into the target dir...?

from fbs.

mherrmann avatar mherrmann commented on May 20, 2024

PyInstaller probably! I just committed 30d284c. Can you let me know whether it fixes the problem?

from fbs.

fredrikaverpil avatar fredrikaverpil commented on May 20, 2024

Yes, thanks - works great!

from fbs.

mherrmann avatar mherrmann commented on May 20, 2024

Cool!

from fbs.

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.