" quickly tutorial ubuntu-pygame" cannot find tutorial

Bug #559565 reported by kenden
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Quickly
Fix Released
Undecided
Unassigned
quickly (Ubuntu)
Fix Released
Undecided
Didier Roche-Tolomelli

Bug Description

On Ubuntu Lucid beta
Quickly 0.3.90

Typing:
"quickly tutorial"
gives the message:
"ERROR: tutorial command must be followed by a template and no template was found on the command line.
Candidates template are: ubuntu-pygame, ubuntu-application
Aborting."

-> This is expected.

Typing:
"quickly tutorial ubuntu-application",
opens a Help window

-> (not a tutorial for ubuntu-application, that's strange, but not the problem reported here)

Typing:
"quickly tutorial ubuntu-pygame"
"ERROR: tutorial command must be followed by a template and no template was found on the command line.
Candidates template are: ubuntu-pygame, ubuntu-application
Aborting."

-> This is unexpected, the error says to type what was just entered.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Thanks for taking the time to report this bug and help Quickly to be better.
Confirmed :)
Indeed, we previously imported the command from the ubuntu-application template, but Rick changed that as a workaround to an issue I have for tweaking the import command (will fix that soon). Consequently, I didn't redefined its property in commandsconfig from ubuntu-pygame template to tell it can be launched outside a projet (hence the fact "quickly tutorial" just work in a ubuntu-pygame project).

The fix is quite easy and will be in 0.4 (pushed in trunk right now) which will be released next week in lucid.
If you want to fix it manually, you can edit:
/usr/share/quickly/templates/ubuntu-pygame/commandsconfig

and replace the commented #COMMANDS_LAUNCHED_IN_OR_OUTSIDE_PROJECT line by:
COMMANDS_LAUNCHED_IN_OR_OUTSIDE_PROJECT = tutorial

Changed in quickly:
status: New → Fix Committed
Changed in quickly (Ubuntu):
status: New → Triaged
assignee: nobody → Didier Roche (didrocks)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package quickly - 0.4-0ubuntu1

---------------
quickly (0.4-0ubuntu1) lucid; urgency=low

  * New bugfix upstream release:
    - various fix to tutorial command (LP: #559565)
    - update some part of the existing tutorial (LP: #556237, #550510)
    - fix gpg key creation parameter %commit with right error message as we
      don't push it to LP (LP: #554302)
    - fix some case where gpg secret key wasn't exported to sign the package
      (LP: #555384)
    - add debug command relying on winpdb (Nafai)
    - remove some debug message
    - updated translations
 -- Didier Roche <email address hidden> Wed, 14 Apr 2010 19:10:50 +0200

Changed in quickly (Ubuntu):
status: Triaged → Fix Released
Changed in quickly:
status: Fix Committed → Fix Released
Revision history for this message
Geoff (palmerg) wrote :

On Lucid using Quickly 0.4.3, typing ...
quickly tutorial

Results in ...
Traceback (most recent call last):
  File "/usr/share/quickly/templates/ubuntu-application/tutorial.py", line 50, in <module>
    subprocess.Popen(['yelp', help_file], stderr=file("/dev/null"))
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
ERROR: tutorial command failed
Aborting

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Thanks for using Quickly and reporting this bug.

I can't reproduce it, there.
Do you have yelp installed?
try launching in a command line: $ yelp

Revision history for this message
Geoff (palmerg) wrote :

Thanks Didier, that fixes it. I'll add it to the Quickly Getting Started wiki.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.