Comments (6)
Please add some debug info to findUseFlagCombis() in tatt/usecombis.py. Interesting would be the values of len(uselist), s, and r.
from tatt.
Does this help?
> /usr/lib/python3.5/site-packages/tatt/usecombis.py(42)findUseFlagCombis()
-> if config['usecombis'] == 0:
(Pdb) p len(uselist)
20
(Pdb) p s
*** NameError: name 's' is not defined
(Pdb) n
> /usr/lib/python3.5/site-packages/tatt/usecombis.py(49)findUseFlagCombis()
-> elif len(uselist) > math.log(config['usecombis'],2):
(Pdb) n
> /usr/lib/python3.5/site-packages/tatt/usecombis.py(51)findUseFlagCombis()
-> s = 2**(len (uselist))
(Pdb) n
> /usr/lib/python3.5/site-packages/tatt/usecombis.py(52)findUseFlagCombis()
-> rnds = set()
(Pdb) n
> /usr/lib/python3.5/site-packages/tatt/usecombis.py(53)findUseFlagCombis()
-> random.seed()
(Pdb) n
> /usr/lib/python3.5/site-packages/tatt/usecombis.py(54)findUseFlagCombis()
-> while len(swlist) < config['usecombis'] and len(rnds) < s:
(Pdb) p rnds
set()
(Pdb) p s
1048576
(Pdb) n
> /usr/lib/python3.5/site-packages/tatt/usecombis.py(55)findUseFlagCombis()
-> r = random.randint(0, s-1)
(Pdb) n
> /usr/lib/python3.5/site-packages/tatt/usecombis.py(56)findUseFlagCombis()
-> if r in rnds:
(Pdb) p r
710324
(Pdb) p rnds
set()
from tatt.
looks sensible so far. does r repeat it's value after a while or are things properly random?
from tatt.
Would call it random, see (print added in line 56):
tatt-debug.log.gz
from tatt.
Bug https://bugs.gentoo.org/show_bug.cgi?id=641566 is another bug which is triggering the loop.
from tatt.
I run into the same problem for a bug which was previously working with tatt (bug 631800). Reverting commit 8dd9253 fixed the problem for me.
from tatt.
Related Issues (20)
- Operation without bug number broken HOT 1
- "already keyworded" detection unreliable
- no keywords on stabilization bug should be discovered
- use correct use flags for testing HOT 3
- Way to disable adding "echo >> sequencer64.report" from generated script? HOT 4
- Tag new release? HOT 3
- use better ordering for commit script HOT 2
- Avoid invalid USE flag combinations HOT 5
- handle ALLARCHES packages specially HOT 8
- Honor masks
- tatt should use package.accept_keywords instead of package.keywords to honor p.use.stable.mask file HOT 4
- portage.exception.PortageKeyError: 'dev-python/fonttools-3.44.0' HOT 1
- Support nattka's new * syntax HOT 4
- problem with keywording bugs (ppc) HOT 2
- Support nattka's non-versioned syntax
- tatt crashes when 'unmaskdir' config value is unset HOT 1
- autodetect architecture
- tatt-9999: emerge: error: Invalid Atom(s) in --usepkg-exclude parameter ...
- "already stable" detection does not work anymore
- Forward error output from nattka
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 tatt.