GithubHelp home page GithubHelp logo

Comments (5)

thansau239 avatar thansau239 commented on July 30, 2024

have the same issue

from fastir_collector.

na1984 avatar na1984 commented on July 30, 2024

The same here, a couple of win10 machines without HOMEDRIVE :(.
Any hints for a rookie python programmer;)?

from fastir_collector.

DarkSurferZA avatar DarkSurferZA commented on July 30, 2024

Fix which can be added to the settings.py file on line 60. This happens when executing as a service or network account without a full environment variable stack. This fix will assume the default c:\ as the HOMEDRIVE. If OP could commit to master, you wont have to patch manually.

if 'HOMEDRIVE' not in os.environ:
os.environ['HOMEDRIVE'} = 'c:\'

from fastir_collector.

dubierthomas avatar dubierthomas commented on July 30, 2024

Same issue in a cmd, run as administrator on Windows XP (32bits)
C:\Documents and Settings\TestFastIR\Mes documents\Collecte_PC3>FastIR_x86.exe
Traceback (most recent call last):
File "", line 20, in
File "C:\pyinstaller-exedir\PyInstaller\loader\pyi_importers.py", line 270, in
load_module
File "C:\CatchEvidence\build\pyinstaller\out00-PYZ.pyz\factory.factory", line
3, in
File "C:\pyinstaller-exedir\PyInstaller\loader\pyi_importers.py", line 270, in
load_module
File "C:\CatchEvidence\build\pyinstaller\out00-PYZ.pyz\settings", line 61, in

File "C:\CatchEvidence\build\pyinstaller\out00-PYZ.pyz\os", line 425, in get
item

KeyError: u'HOMEDRIVE'

from fastir_collector.

sebdraven avatar sebdraven commented on July 30, 2024

Yep it's normal on Windows XP this env variable doesn't exist. So it's your profile file is not correctly configured

from fastir_collector.

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.