Activity log for bug #976817

Date Who What changed Old value New value Message
2012-04-08 20:54:19 Dražen Lučanin bug added bug
2012-04-08 21:00:05 Dražen Lučanin description I am trying to work on a Quickly project created after the ubuntu-application template from PyDev. Now, this process is currently quite hard for several reasons: - there is no "entry python script" that can be launched simply (the bin/<project_name> is the same name as the main code module which causes attribute errors, it doesn't have a .py extension etc.) - the settings schemas are handled inside the quickly run command which makes the program depend on quickly; running just the bin/<project_name> in a terminal causes a missing schema error In my oppinion, a partial solution would be: - create a script called bin/<project_name>_dev_launcher.py or something similar so that users can run the project easily from external IDEs - add the snippet from quickly's run.py to compile the schemas to this dev_launcher: ### BEGIN inserted from Quickly's run.py # Compile schema if present schemapath = os.path.abspath("data/glib-2.0/schemas") if os.path.exists(schemapath): subprocess.call(["glib-compile-schemas", schemapath]) ### END This still requires from the user to append ":/path/to/your/project/data" to XDG_DATA_DIRS manually (can't this be solved more elegantlly?), such as by setting this environment variable inside PyDev's launch configuration, but at least no files must be editted after creating a project. All in all, I think the goal should be for the project generated from a Quickly template to be completely autonomous of Quickly itself for all development runs, tests etc. to enable various workflows for this and not just manually editing the files and using a terminal. I am trying to work on a Quickly project created after the ubuntu-application template from PyDev. Now, this process is currently quite hard for several reasons: - there is no "entry python script" that can be launched simply (the bin/<project_name> is the same name as the main code module which causes attribute errors, it doesn't have a .py extension etc.) - the settings schemas are handled inside the quickly run command which makes the program depend on quickly; running just the bin/<project_name> in a terminal causes a missing schema error In my oppinion, a partial solution would be: - create a script called bin/<project_name>_dev_launcher.py or something similar so that users can run the project easily from external IDEs - add the snippet from quickly's run.py to compile the schemas to this dev_launcher: ### BEGIN inserted from Quickly's run.py # Compile schema if present schemapath = os.path.abspath("data/glib-2.0/schemas") if os.path.exists(schemapath):     subprocess.call(["glib-compile-schemas", schemapath]) ### END This still requires from the user to append ":/path/to/your/project/data" to XDG_DATA_DIRS manually (can't this be solved more elegantlly?), such as by setting this environment variable inside PyDev's launch configuration, but at least no files must be editted after creating a project. All in all, I think the goal should be for the project generated from a Quickly template to be completely autonomous of Quickly itself for all development runs, tests etc. to enable various workflows for this and not just manually editing the files and using a terminal. Ideally the Eclipse's .project file could be generated as well to enable the user to import the project straight to Eclipse. It's 2 XML files, really nothing complicated. Something like 'quickly ide' to launch it comes to mind :)
2012-04-09 23:48:02 Tony Byrne bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589008
2012-04-15 09:15:05 Tony Byrne attachment added 976817-schemas.patch https://bugs.launchpad.net/quickly/+bug/976817/+attachment/3069953/+files/976817-schemas.patch
2012-06-09 15:11:30 Benjamin Heil bug added subscriber Benjamin Heil
2012-12-04 23:54:53 FvD bug added subscriber FvD