Comments (5)
I'm not sure why its like that for you. Using the same commands, I see:
chris@d6:$ hoorex -r ttf-mscorefonts -d$ hoorex -r cantarell-fonts -d
DEBUG: VERBOSE mode set at command line
DEBUG: Set sbo_path to /scratch/PKG/SBo/slackbuilds from config file
DEBUG: sbo_path: /scratch/PKG/SBo/slackbuilds
DEBUG: Loading existing repo data
DEBUG: PkgData loaded from file OK
DEBUG: Processing initial targets of: ['ttf-mscorefonts']
DEBUG: REVERSE mode set at command line
DEBUG: [['ttf-mscorefonts'], ['cabextract']]
DEBUG: Moving cabextract to sorted queue
DEBUG: Moving ttf-mscorefonts to sorted queue
cabextract ttf-mscorefonts
chris@d6:
DEBUG: VERBOSE mode set at command line
DEBUG: Set sbo_path to /scratch/PKG/SBo/slackbuilds from config file
DEBUG: sbo_path: /scratch/PKG/SBo/slackbuilds
DEBUG: Loading existing repo data
DEBUG: PkgData loaded from file OK
DEBUG: Processing initial targets of: ['cantarell-fonts']
DEBUG: REVERSE mode set at command line
DEBUG: [['cantarell-fonts'], []]
DEBUG: Moving cantarell-fonts to sorted queue
cantarell-fonts
chris@d6:~$
Your result is definitely strange - notice the line "Processing initial targets of: []" as if its not seeing the target package name. If you have some time for some extra testing, could you find line 81 in hoorex that says: 'args = parser.parse_args()'; then immediately after that line, add a new line saying 'print(args)'? That will print out whatever hoorex thinks has been passed from the command line. In that case, I see:
chris@d6:/src/hoorex$ ./hoorex -r ttf-mscorefonts -d/src/hoorex$
Namespace(app_version=False, debug_mode=True, force=False, multilevel=False, output_column=False, output_installed=False, output_long=False, output_strictly_installed=False, reverse_lookup=True, sbo_group=None, sbo_path=None, target=['ttf-mscorefonts'], unknown_strict=False)
DEBUG: VERBOSE mode set at command line
DEBUG: Set sbo_path to /scratch/PKG/SBo/slackbuilds from config file
DEBUG: sbo_path: /scratch/PKG/SBo/slackbuilds
DEBUG: Loading existing repo data
DEBUG: PkgData loaded from file OK
DEBUG: Processing initial targets of: ['ttf-mscorefonts']
DEBUG: REVERSE mode set at command line
DEBUG: [['ttf-mscorefonts'], ['cabextract']]
DEBUG: Moving cabextract to sorted queue
DEBUG: Moving ttf-mscorefonts to sorted queue
cabextract ttf-mscorefonts
chris@d6:
Notice that the extra output includes "target=['ttf-mscorefonts']". Does your new output have that?
from hoorex.
Yup, it seems to have that:
$ ./hoorex -r ttf-mscorefonts -d
Namespace(app_version=False, debug_mode=True, force=False, multilevel=False, output_column=False, output_installed=False, output_long=False, output_strictly_installed=False, reverse_lookup=True, sbo_group=None, sbo_path=None, target=['ttf-mscorefonts'], unknown_strict=False)
DEBUG: VERBOSE mode set at command line
DEBUG: Set sbo_path to /home/aaditya/slackbuilds from config file
DEBUG: sbo_path: /home/aaditya/slackbuilds
DEBUG: Loading existing repo data
DEBUG: PkgData loaded from file OK
DEBUG: Processing initial targets of: []
DEBUG: REVERSE mode set at command line
DEBUG: [[]]
Some more examples:
$ ./hoorex -r hoorex -d
Namespace(app_version=False, debug_mode=True, force=False, multilevel=False, output_column=False, output_installed=False, output_long=False, output_strictly_installed=False, reverse_lookup=True, sbo_group=None, sbo_path=None, target=['hoorex'], unknown_strict=False)
DEBUG: VERBOSE mode set at command line
DEBUG: Set sbo_path to /home/aaditya/slackbuilds from config file
DEBUG: sbo_path: /home/aaditya/slackbuilds
DEBUG: Loading existing repo data
DEBUG: PkgData loaded from file OK
DEBUG: Processing initial targets of: []
DEBUG: REVERSE mode set at command line
DEBUG: [[]]
$ ./hoorex -r wine -d
Namespace(app_version=False, debug_mode=True, force=False, multilevel=False, output_column=False, output_installed=False, output_long=False, output_strictly_installed=False, reverse_lookup=True, sbo_group=None, sbo_path=None, target=['wine'], unknown_strict=False)
DEBUG: VERBOSE mode set at command line
DEBUG: Set sbo_path to /home/aaditya/slackbuilds from config file
DEBUG: sbo_path: /home/aaditya/slackbuilds
DEBUG: Loading existing repo data
DEBUG: PkgData loaded from file OK
DEBUG: Processing initial targets of: ['wine']
DEBUG: REVERSE mode set at command line
DEBUG: [['wine'], ['fontforge', 'webcore-fonts']]
DEBUG: Moving fontforge to sorted queue
DEBUG: webcore-fonts still needed (in wine)
DEBUG: Moving webcore-fonts to sorted queue
DEBUG: Moving wine to sorted queue
fontforge webcore-fonts wine
$ ./hoorex -r dosbox -d
Namespace(app_version=False, debug_mode=True, force=False, multilevel=False, output_column=False, output_installed=False, output_long=False, output_strictly_installed=False, reverse_lookup=True, sbo_group=None, sbo_path=None, target=['dosbox'], unknown_strict=False)
DEBUG: VERBOSE mode set at command line
DEBUG: Set sbo_path to /home/aaditya/slackbuilds from config file
DEBUG: sbo_path: /home/aaditya/slackbuilds
DEBUG: Loading existing repo data
DEBUG: PkgData loaded from file OK
DEBUG: Processing initial targets of: ['dosbox']
DEBUG: REVERSE mode set at command line
DEBUG: [['dosbox'], []]
DEBUG: Moving dosbox to sorted queue
dosbox
Dont know why it is not working with some packages...
from hoorex.
Removing .local/share/hoorex/repoData.pkl
seems to have fixed the issue.
$ ./hoorex -r ttf-mscorefonts -d
Namespace(app_version=False, debug_mode=True, force=False, multilevel=False, output_column=False, output_installed=False, output_long=False, output_strictly_installed=False, reverse_lookup=True, sbo_group=None, sbo_path=None, target=['ttf-mscorefonts'], unknown_strict=False)
DEBUG: VERBOSE mode set at command line
DEBUG: Set sbo_path to /home/aaditya/slackbuilds from config file
DEBUG: sbo_path: /home/aaditya/slackbuilds
DEBUG: Loading existing repo data
DEBUG: PkgData loaded from file OK
DEBUG: Processing initial targets of: ['ttf-mscorefonts']
DEBUG: REVERSE mode set at command line
DEBUG: [['ttf-mscorefonts'], ['cabextract']]
DEBUG: Moving cabextract to sorted queue
DEBUG: Moving ttf-mscorefonts to sorted queue
cabextract ttf-mscorefonts
$ ./hoorex -r hoorex -d
Namespace(app_version=False, debug_mode=True, force=False, multilevel=False, output_column=False, output_installed=False, output_long=False, output_strictly_installed=False, reverse_lookup=True, sbo_group=None, sbo_path=None, target=['hoorex'], unknown_strict=False)
DEBUG: VERBOSE mode set at command line
DEBUG: Set sbo_path to /home/aaditya/slackbuilds from config file
DEBUG: sbo_path: /home/aaditya/slackbuilds
DEBUG: Loading existing repo data
DEBUG: PkgData loaded from file OK
DEBUG: Processing initial targets of: ['hoorex']
DEBUG: REVERSE mode set at command line
DEBUG: [['hoorex'], []]
DEBUG: Moving hoorex to sorted queue
hoorex
from hoorex.
Interesting. After removing the repoData.pkl file, a new one would be generated when you run the next hoorex command. Since it now works OK, the old one must have been faulty/corrupted somehow.
BTW when you say you removed the .local/share/hoorex/repoData.pkl, I assume you meant ~/.local/hoorex/share/repoData.pkl did you i.e. relative to the user's home directory?
from hoorex.
Yes on both counts, a new one was generated, and I meant relative to home directory.
from hoorex.
Related Issues (14)
- -i,--installed option HOT 1
- Reqirement for pyxdg HOT 1
- Relax unknown package names HOT 1
- Filter output to display only those pkgs from input list HOT 1
- deptarget = prereqs HOT 2
- Feature -1,--column output HOT 1
- bad targets HOT 1
- --long output in pipeline HOT 1
- Output to file HOT 4
- Edit user config
- Different dependency targets HOT 4
- Can't write initial configuration as root HOT 1
- Configurable groups for input HOT 1
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 hoorex.