Comments (5)
This is an interesting bug. It seems the terminal fails to report width and
height.
It works great under Windows 7 (and previous versions); but reading up on it it
seems things have changed slightly in Windows 8 and people use yet another
method to get the terminal size.
I will look into it shortly.
/Adam Waldenberg
Original comment by [email protected]
on 22 Jul 2013 at 2:37
- Changed title: gitinspector crashed on Windows 8
- Changed state: Started
- Added labels: OpSys-Windows, Priority-Critical
- Removed labels: Priority-Medium
from gitinspector.
I don't have a Windows 8 installation; so you will have to assist me a little.
Reading around there seems to be a method used in conjunction with tput. Could
you check if the tput command is available in your terminal in Windows 8? In
that case, that command could be used to fetch the terminal size, executing the
commands;
tput cols
tput lines
... should return the number of columns and lines of the current terminal.
/Adam Waldenberg
Original comment by [email protected]
on 22 Jul 2013 at 1:06
from gitinspector.
Unfortunately, neither of them works in PowerShell or cmd prompt
PS C:\Users\ZhijieWang> tput cols
tput : The term 'tput' is not recognized as the name of a cmdlet, function,
script file, or operable program. Che
the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ tput cols
+ ~~~~
+ CategoryInfo : ObjectNotFound: (tput:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\ZhijieWang> tput lines
tput : The term 'tput' is not recognized as the name of a cmdlet, function,
script file, or operable pro
the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ tput lines
+ ~~~~
+ CategoryInfo : ObjectNotFound: (tput:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\ZhijieWang>
Original comment by [email protected]
on 22 Jul 2013 at 2:26
from gitinspector.
This issue was closed by revision 9b5e82bc2cdf.
Original comment by [email protected]
on 22 Jul 2013 at 11:10
- Changed state: Fixed
from gitinspector.
The terminal now falls back to default size (80*25) if the size of the terminal
could not be determined. See the revision above for more information.
This is the correct behavior anyway (even if it shouldn't fail). Reading up on
it the current method *SHOULD* work under Windows 8 as well. Something in your
environment probably makes it fail. Maybe some missing modules in the Python
installation? I will add some error printouts to stderr; when the terminal size
can't be determined for some reason, so that it is easier to do something about
it.
/Adam Waldenberg
Original comment by [email protected]
on 22 Jul 2013 at 11:16
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.