Created on 2018-08-22 10:24 by austin, last changed 2018-08-30 07:36 by austin.
|msg6216||Author: [hidden] (austin)||Date: 2018-08-22 10:24|
WangXus-MacBook-Pro:trackers wangxu$ sudo roundup-admin install Password: Enter tracker home: /Users/wangxu/Documents/tmpwork/trackers/support Templates:: Select template [classic]: Back ends:: anydbm, mysql, sqlite Select backend [anydbm]: Traceback (most recent call last): File "/usr/local/bin/roundup-admin", line 3, in <module> run() File "/Library/Python/2.7/site-packages/roundup/scripts/roundup_admin.py", line 49, in run sys.exit(tool.main()) File "/Library/Python/2.7/site-packages/roundup/admin.py", line 1635, in main ret = self.run_command(args) File "/Library/Python/2.7/site-packages/roundup/admin.py", line 1510, in run_command return self.do_install(self.tracker_home, args) File "/Library/Python/2.7/site-packages/roundup/admin.py", line 433, in do_install init.install(tracker_home, templates[template]['path'], settings=defns) KeyError: 'classic'
|msg6217||Author: [hidden] (austin)||Date: 2018-08-22 10:25|
It's MacOSX, the roundup was installed by "sudo pip install roundup"
|msg6218||Author: [hidden] (rouilj)||Date: 2018-08-22 21:53|
Hi Austin: Sorry you are having trouble with this. In message <firstname.lastname@example.org>, austin writes: >WangXus-MacBook-Pro:trackers wangxu$ sudo roundup-admin install >Password: >Enter tracker home: /Users/wangxu/Documents/tmpwork/trackers/support >Templates:: This indicates that the templates were not properly installed. How did you install roundup? I am not sure where they get installed on a mac, but you should have template directories in: /usr/share/roundup/templates/ where /usr is the prefix you used when installing roundup (or installed roundup using pip IIRC). You should see something like: $ roundup-admin install Enter tracker home: foo Templates:: responsive, devel, jinja2, minimal, classic Select template [classic]: ... Note the list of templates. Have a great day. -- -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions.
|msg6220||Author: [hidden] (austin)||Date: 2018-08-23 09:44|
Thanks John for the detailed clarification. It's very helpful. I think I can fix it manually. Will try to install template manually. I installed roundup using PIP. say "sudo pip install roundup" Looks like the template was not installed ( or installed in proper location) by this way.
|msg6221||Author: [hidden] (rouilj)||Date: 2018-08-23 12:48|
Hi Austin: In message <email@example.com>, austin writes: >austin added the comment: >I installed roundup using PIP. say >"sudo pip install roundup" > >Looks like the template was not installed ( or installed in proper >location) by this way. Try doing a find down your filesystem looking for files with the name: TEMPLATE-INFO.txt if the templates were installed, that file should be present in the template directories. I'll try to get access to a mac and see if I can figure out what happend here. Also if you can send an email to roundup-users, somebody may be able to debug/get a fix before I can get to it. Have a great day.
|msg6223||Author: [hidden] (austin)||Date: 2018-08-30 07:36|
Hi John, The file TEMPLATE-INFO.txt and also the template directory was not installed after "pip install" I managed to have it running by downloading the source code and run the demo.py. Still working on how to config it. THanks, Austin
|2018-08-30 07:36:36||austin||set||messages: + msg6223|
|2018-08-23 12:48:55||rouilj||set||messages: + msg6221|
|2018-08-23 09:44:46||austin||set||messages: + msg6220|
messages: + msg6218
|2018-08-22 10:25:46||austin||set||messages: + msg6217|