Comments (8)
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.
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.
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.
Yes normal install from setup.py
Original comment by [email protected]
on 20 Dec 2013 at 2:56
from gitinspector.
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.
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.
This issue was closed by revision 3d6789f728b1.
Original comment by [email protected]
on 14 Jan 2014 at 6:18
- Changed state: Fixed
from gitinspector.
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)
- Brazilian Portuguese Translation
- Stability, Age, % in comments HOT 1
- AttributeError: 'Commit' object has no attribute 'timestamp' HOT 1
- Add Support for Dart HOT 3
- Ability to combine different names of the same author under the same person stats HOT 2
- Expand "Show" sections by default. HOT 1
- TypeError: 'bool' object is not iterable HOT 13
- AttributeError: 'NoneType' object has no attribute 'add_filediff' HOT 1
- Dockerfile and Dockerhub deployment for easy Windows execution HOT 2
- Authorless commits crash tool HOT 4
- Translation
- ModuleNotFoundError: No module named 'localization' (python 3.9) HOT 3
- AttributeError: 'Commit' object has no attribute 'sha' HOT 1
- Cannot use `gitinspector --help` outside of a repository HOT 1
- Specify which Python/gettext versions are currently supported
- Uncaught exception on unexisting folder
- Any interest for a gitinspector GUI with stand-alone Windows and Mac apps? HOT 2
- Gitinspector does not look at the css, fxml and csv files in the resource folder HOT 1
- How to use it on Win? HOT 1
- Add support for reStructuredText and Markdown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitinspector.