playground serve is broken due to launchpad path hierarchy

Bug #322501 reported by Jan on 2009-01-28
4
Affects Status Importance Assigned to Milestone
openWNS SDK
Undecided
Jan

Bug Description

"playground serve" does not work saying "No such file or directoy".

The reason is that wnsbase/playground/builtin/Serve.py is incompatible with the path hierarchy at launchpad.

E.g., when trying to link /my-openwns--sdk/ into /my-openwns-sdk/localRepo, it tries to do a:
ln -s /my-openwns-sdk loacalRepo/openwns-sdk/sdk--main--1.0 without first creating the middle directory "openwns-sdk".

Changing the path inside projects.py resolves this issue but breaks updating from launchpad.

Would you like to file a fix for that by patching

wnsbase/playground/builtin/Serve.py

accordingly? I can offer mentorship on how to fix this.

Reagrds,
  Daniel

Jan (jan-ellenbeck) wrote :

I submitted a patch and pushed it as lp:~jan-ellenbeck/openwns-sdk/FixForPlaygroundServe

It works for me and it should be OK for (almost) all environments.

I linked that branch to this bug. You can use the "Link a related branch" for this.

When you commit the patch you can use:

bzr commit --fixes=lp:BUGNUMBER

to tell bazaar/launchpad that this commit is a bugfix for the bug identified by BUGNUMBER

Best Regards,
 Daniel

Changed in openwns-application:
status: New → In Progress
assignee: nobody → jan-ellenbeck
Changed in openwns-application:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers