-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to only update the template of a project #46
Comments
Hi, If you run:
You will get the following message:
In your comment, it looks like you added -task-presenter --presenter for updating the template. That part is not needed, can you try without it? It should work. |
Hi @teleyinex, sorry for the delayed response. As mentioned above,
I just realized I did not document this but I also tried doing
and was thrown the same exact error stack as above. |
Hi, Yes, the issue is that the file long_description.md is not in your folder, from where you run the command and therefore it triggers this error. We should fix with an empty string. Thanks for reporting! As a workaround for you: create a long_description.md file in the folder and it should work. |
Hi @teleyinex, As I found out, not only do you need Something like this: $ cd folderThatHasEverythingButTaskPresenter
$ ls
long_description.md results.html tutorial.html
$ ls /someOtherFolder/
task_presenter.html
$ pbs update_project --task-presenter /someOtherFolder/task_presenter.html |
Yes, we always use a copy of one of our templates, and that's the issue. We should create them or use an internal value to avoid this issue! Thanks for finding this bug. |
OS: Ubuntu 14.04 (through Vagrant)
Version: 2.4.4
Running the following command as recommended in README.md
Throws this error
I tried this instead
but was thrown another error
If I do
This is the error (still shown the same error after creating a "long_description.md" file in the "/tmp/" folder)
And if I navigate to "/tmp/" to run
pbs update_project
,pbs update_project --task-presenter
orpbs update_project --project /path/to/project.json
I get the same error message
Bonus: Running
pbs version
in a folder without a "project.json" file throws an error. Not sure if this is intendedThe text was updated successfully, but these errors were encountered: