playground serve is broken due to launchpad path hierarchy

Bug #322501 reported by Jan
4
Affects Status Importance Assigned to Milestone
openWNS SDK
Fix Committed
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.

Revision history for this message
Daniel Bültmann (daniel.bueltmann) wrote :

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

Revision history for this message
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.

Revision history for this message
Daniel Bültmann (daniel.bueltmann) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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