Closed jnoortheen closed 1 year ago
I have no question about autoloading:
It selects the recent tag by default. please use --vcs-ref
copier --vcs-ref=HEAD . /tmp/test
I've got the error:
@anki-code here I have a recording. https://asciinema.org/a/FNMru5WnVN40MqasYfLvXSSFq
try making a new clone in different directory
After recreating the directory the error has gone.
But when I try to cd xontrib-ggg && pip install .
I got:
error: package directory 'xontrib' does not exist
So because no xontrib
directory:
cd xontrib-ggg
ls
#LICENSE pyproject.toml tests xontrib_ggg.egg-info
#README.md setup.py xontrib_ggg
@anki-code I've pushed fix and tests for that
deleted
@anki-code were you able to install?
xonsh is not working after installation the xontrib:
cd /tmp/xontrib-template/xontrib-ggg
sudo pip install .
XONSH_DEBUG=1 XONSH_SHOW_TRACEBACK=1 xonsh --no-rc
# loading xontrib 'xontrib_ggg.main'
# [3]+ Stopped
sudo pip uninstall xontrib-ggg
XONSH_DEBUG=1 XONSH_SHOW_TRACEBACK=1 xonsh --no-rc
# working
xonfig
#| xonsh | 0.12.6.dev5 |
#| Git SHA | cbf23e60 |
#| Commit Date | Jul 1 19:47:01 2022 |
#| Python | 3.10.5
a traceback would be helpful. You can disable the autoload and use xontrib load
to see the traceback
This is not working for me:
XONSH_DEBUG=1 XONSH_SHOW_TRACEBACK=1 XONTRIBS_AUTOLOAD_DISABLED=1 xonsh --no-rc
# loading xontrib 'xontrib_ggg.main'
# Stopped
@anki-code I've updated the PR with the fix sometime back. Could you check it?
cd /tmp
rm -rf xontrib-template
git clone https://github.com/xonsh/xontrib-template
cd xontrib-template
git checkout remotes/origin/autoloading
copier --vcs-ref=HEAD . .
is this a new copy?
is this a new copy?
Yeah, I reinstalled the dir and it works. One comment above. Thanks!
@jnoortheen thank you for improving the xontrib ecosystem and for improvements in xontrib-template! You rock! 🚀
Closes #16