Comments (4)
I think I have had a fix for this, but I got distracted by some documentation work and didn't cut a release.
I've now released v0.6.7 and opened NixOS/nixpkgs#145577 if you can confirm either of those work :)
from resholve.
Sadly, that didn't appear to work. Same trace, different version :(
Traceback (most recent call last):
File "/nix/store/lv77mh62aqm82g1k78gc4wvzy4bbx6wy-resholve-0.6.7/bin/.resholve-wrapped", line 4515, in <module>
sys.exit(punshow())
File "/nix/store/lv77mh62aqm82g1k78gc4wvzy4bbx6wy-resholve-0.6.7/bin/.resholve-wrapped", line 903, in punshow
resolve_cmdlikes()
File "/nix/store/lv77mh62aqm82g1k78gc4wvzy4bbx6wy-resholve-0.6.7/bin/.resholve-wrapped", line 2921, in resolve_cmdlikes
cmdlike.resolve()
File "/nix/store/lv77mh62aqm82g1k78gc4wvzy4bbx6wy-resholve-0.6.7/bin/.resholve-wrapped", line 2893, in resolve
self._resolve_invocations(solution)
File "/nix/store/lv77mh62aqm82g1k78gc4wvzy4bbx6wy-resholve-0.6.7/bin/.resholve-wrapped", line 2859, in _resolve_invocations
source.look_for_external_sub_execution(self.name, invocation)
File "/nix/store/lv77mh62aqm82g1k78gc4wvzy4bbx6wy-resholve-0.6.7/bin/.resholve-wrapped", line 3812, in look_for_external_sub_execution
parsed = parser.parse_known_args(invocation.args)
File "/nix/store/w05yrq8d41vbd7cz3gyq3ysidz2qyfdp-python-2.7.18/lib/python2.7/argparse.py", line 1737, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/nix/store/w05yrq8d41vbd7cz3gyq3ysidz2qyfdp-python-2.7.18/lib/python2.7/argparse.py", line 1943, in _parse_known_args
start_index = consume_optional(start_index)
File "/nix/store/w05yrq8d41vbd7cz3gyq3ysidz2qyfdp-python-2.7.18/lib/python2.7/argparse.py", line 1883, in consume_optional
take_action(action, args, option_string)
File "/nix/store/w05yrq8d41vbd7cz3gyq3ysidz2qyfdp-python-2.7.18/lib/python2.7/argparse.py", line 1811, in take_action
action(self, namespace, argument_values, option_string)
File "/nix/store/lv77mh62aqm82g1k78gc4wvzy4bbx6wy-resholve-0.6.7/bin/.resholve-wrapped", line 339, in __call__
Invocation(words=values),
File "/nix/store/lv77mh62aqm82g1k78gc4wvzy4bbx6wy-resholve-0.6.7/bin/.resholve-wrapped", line 3150, in __new__
self.first_spid = firstword.first_spid
AttributeError: 'str' object has no attribute 'first_spid'
from resholve.
v0.6.8 here and NixOS/nixpkgs#145586 will hopefully actually have this, now :)
from resholve.
Confirmed fixed! Thanks!
from resholve.
Related Issues (20)
- `AttributeError` when resolving `install --strip-program` HOT 2
- `AttributeError` when resolving `sort --compress-program=`
- exercer rule not being applied HOT 3
- support mkDerivation `finalAttrs` call pattern? HOT 1
- Function argument substitution failed HOT 2
- Build error on package using resholve HOT 1
- failure to correctly resolve absolute paths shadowed by builtins HOT 2
- explore using resholve in a Nix bundle/containerization workflow
- Parsing error on &! HOT 3
- resholve Nix API mangling package meta HOT 1
- Issue parsing zsh nested expansion. HOT 1
- Port to Python 3 HOT 8
- when invoked with multiple scripts, `--prologue` only applies to the first HOT 2
- handling commands that run other commands in a different path-space (different system, chroot, vm, etc.) HOT 2
- position indicators may be wrong in tab-indented scripts
- look for "unresholved" paths
- doublecheck coproc and execer check
- Missing subsequent `! type <command>` replacements HOT 4
- `make ci` fails to `touch` files HOT 4
- `make update` fails to find `../../nixpkgs` HOT 2
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 resholve.