GithubHelp home page GithubHelp logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 17, 2024
Portable, but places a hard dependency on pkg-resources in the rest of the 
modules.

Of course, there are solutions. I'll look into this once I have time.

/Adam Waldenberg

Original comment by [email protected] on 15 Oct 2013 at 9:22

  • Changed state: Accepted
  • Added labels: OpSys-Windows, Priority-Low
  • Removed labels: Priority-Medium

from gitinspector.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 17, 2024
I have the same bug on Linux.

Ubuntu 12.04 64bit
Python 2.7

$ gitinspector --grading -Fhtml
Traceback (most recent call last):
  File "/home/USER/.virtualenvs/py2.7/bin/gitinspector", line 9, in <module>
    load_entry_point('gitinspector==0.3.1', 'console_scripts', 'gitinspector')()
  File "build/bdist.linux-x86_64/egg/gitinspector/gitinspector.py", line 188, in main
  File "build/bdist.linux-x86_64/egg/gitinspector/gitinspector.py", line 77, in output
  File "build/bdist.linux-x86_64/egg/gitinspector/format.py", line 65, in output_header
  File "build/bdist.linux-x86_64/egg/gitinspector/format.py", line 53, in __output_html_template__
IOError: [Errno 20] Not a directory: 
u'/home/USER/.virtualenvs/py2.7/lib/python2.7/site-packages/gitinspector-0.3.1-p
y2.7.egg/gitinspector/html/html.header'

Original comment by [email protected] on 17 Dec 2013 at 6:47

from gitinspector.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 17, 2024
Thank you SledgY. That's not quite the same error, but it sure looks 
interesting ;). I will try to reproduce it on my own machine. Is this after a 
normal install with the setup.py script ?

/Adam Waldenberg

Original comment by [email protected] on 20 Dec 2013 at 2:53

from gitinspector.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 17, 2024
Yes normal install from setup.py

Original comment by [email protected] on 20 Dec 2013 at 2:56

from gitinspector.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 17, 2024
OK had a minute to investigate, the issue is that the package is being 
installed as egg file, when the html output formatter tries to load a template 
the folder does not exist causing the error.

Changing zip_safe to False fixes the issue.

Original comment by [email protected] on 20 Dec 2013 at 3:23

from gitinspector.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 17, 2024
Ah. Thank you for investigating. Changing zip_safe is (at least) the easiest 
fix. I'll get this sorted before the next release.

/Adam Waldenberg

Original comment by [email protected] on 26 Dec 2013 at 9:43

  • Added labels: Milestone-Release0.3.2, Priority-Medium
  • Removed labels: OpSys-Windows, Priority-Low

from gitinspector.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 17, 2024
This issue was closed by revision 3d6789f728b1.

Original comment by [email protected] on 14 Jan 2014 at 6:18

  • Changed state: Fixed

from gitinspector.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 17, 2024
Hopefully, the above change fixes the issue. Thanks to everyone for the 
feedback thus far. If anyone keeps having problems, just drop a comment here.

/Adam Waldenberg

Original comment by [email protected] on 14 Jan 2014 at 6:21

  • Changed title: Fails to load static resources in egg installation

from gitinspector.

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.