GithubHelp home page GithubHelp logo

Working on windows machine about gitdummy HOT 10 CLOSED

realtux avatar realtux commented on August 11, 2024
Working on windows machine

from gitdummy.

Comments (10)

realtux avatar realtux commented on August 11, 2024

This seems like a Windows path issue or something similar. Before I do anymore troubleshooting, could you try escaping the spaces in your "target_repo".

This
"C:\\Users\\oguzhangencoglu\\SkyDrive\\Oguz\\Universite\\Research\\Digital\ Health\ Revolution\ (DHR)\ -\ Health\ Data\ Mining\ (HDM)\\Suomi24"

in favor of

"C:\\Users\\oguzhangencoglu\\SkyDrive\\Oguz\\Universite\\Research\\Digital Health Revolution (DHR) - Health Data Mining (HDM)\\Suomi24"

from gitdummy.

ogencoglu avatar ogencoglu commented on August 11, 2024

Thanks a lot for quick reply. I think the previous was correct. Now can't even parse json.

Traceback (most recent call last):
  File "gitdummy.py", line 13, in <module>
    repos = json.load(open('repos.json'))
  File "C:\Users\oguzhangencoglu\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.5.5.3123.win-x86_64\lib\json\__init__.py", line 290, in load
    **kw)
  File "C:\Users\oguzhangencoglu\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.5.5.3123.win-x86_64\lib\json\__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "C:\Users\oguzhangencoglu\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.5.5.3123.win-x86_64\lib\json\decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Users\oguzhangencoglu\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.5.5.3123.win-x86_64\lib\json\decoder.py", line 382, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Invalid \escape: line 3 column 106 (char 113)

Line 3 column 106 corresponds to the first backslash after "Digital"

from gitdummy.

realtux avatar realtux commented on August 11, 2024

I need to hunt down a Windows box. I'll have a look at this again then.

from gitdummy.

webcaetano avatar webcaetano commented on August 11, 2024

@ogencoglu I use windows 8 , and acctually work.
Nice stuff @ebrian well done. πŸŽ‰

Maybe in you case those space and characters mess them up

Digital Health Revolution (DHR) - Health Data Mining (HDM)

btw ... i'm the 100 ⭐ ;)

from gitdummy.

realtux avatar realtux commented on August 11, 2024

@webcaetano Ha, congratulations on being the 100th :), I knew it was close and I'm proud to see how GitDummy has grown.

I wonder how I can go about fixing his issue. I simply don't own Windows machines, so, it's tough for me to troubleshoot.

from gitdummy.

webcaetano avatar webcaetano commented on August 11, 2024

I can try. But I have very sorth knowledge in python.
The error pretty sure are in escape the string

from gitdummy.

realtux avatar realtux commented on August 11, 2024

I installed a Windows VM, so I'll have a look at this shortly.

from gitdummy.

 avatar commented on August 11, 2024

I was also having this error. It turned out that git had not been added to the system file path, so the file not found error was being thrown because git was not registering as a valid command. This had previously not been an issue for me, because I had been using MINGW32 rather than the native windows command line.

from gitdummy.

realtux avatar realtux commented on August 11, 2024

@ogencoglu Issue #32 was this exact problem. It had something to do with a non-printable character slipping into the repos.json.

from gitdummy.

ogencoglu avatar ogencoglu commented on August 11, 2024

Thanks, I will check. You can close the issue.

from gitdummy.

Related Issues (18)

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.