pshung29 / turbocare

Automatically exported from code.google.com/p/turbocare
0 stars 0 forks source link

Problem with LAST installation step. #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. follow through the installation, and I get this at the end, all other
steps went fine to my knowledge.

What is the expected output? What do you see instead?
Program should start?, but I get after th command:
---------------------------------------------
c:\> C:\python24\python start-turbocare.py    
Traceback (most recent call last):
   File "start-turbocare.py.", line 26, in ?
     from turbocare.controllers import Root
   File "C:\Turbocare\turbocare\turbocare\controllers.py", line 15, in ?
     imports controllers_UDReport
   File "C:\Turbocare\turbocare\turbocare\controllers_UDReport.py", line
20, in ?

     import ReportDefinition
ImportError: No modeule named ReportDefinition
--------------------------------------------------

What version of the product are you using? On what operating system?
just downloaded the latest verison, windows XP MCE

Please provide any additional information below.

what else would you like to know, please help, this is my first
installation attempt!

thanks!

Original issue reported on code.google.com by eon...@gmail.com on 17 Jun 2007 at 6:18

GoogleCodeExporter commented 8 years ago
the file ReportDefinition-Sample.py needs to be copied to ReportDefinition.py

I'll update the documentation.

I'll close this ticket in a couple of days if there is no more feedback 
concerning
this issue.

Original comment by umpen...@gmail.com on 17 Jun 2007 at 6:44

GoogleCodeExporter commented 8 years ago
I did that step.

I went ahead and made sure the file was there, and recoppied it again, just in 
case I
had made an error. 

It's still producing the same error.

Original comment by eon...@gmail.com on 17 Jun 2007 at 7:27

GoogleCodeExporter commented 8 years ago
Ok, I think I found the problem.. CASE SENSITIVE! .. 

thanks for the quick reply, that was cool!

.. It seems to be hanging on this last statement now:
------------------------------
2007-06-17 14:30:09.141 cherrypy.msg INFO HTTP: Serving HTTP on 
http://localhost:8080/
----------------------------------

nothing happens after. no prompt either.

Original comment by eon...@gmail.com on 17 Jun 2007 at 7:35

GoogleCodeExporter commented 8 years ago
When you reach the point where you are at, you need to open a web-browser 
(firefox
works best because some of the javascript has problems in Internet Explorer) 
and then
point it to http://localhost:8080/

Then you will get the start screen.

The documentation is very rough at this point, and I haven't had the time to 
fill in
all the gaps.  I wish I had more documentation to help you get started, but 
this is
not the case, and at this point in time I cannot write the needed 
documentation. 
What you see on the wiki is all I have, aside from the source code itself.

I will try to answer questions as best as I can though,... time permitting.  
Good luck.

Original comment by umpen...@gmail.com on 18 Jun 2007 at 2:47

GoogleCodeExporter commented 8 years ago
great. that did it.  I may be having a brainfart, but whats the default un/pw?

Original comment by eon...@gmail.com on 21 Jun 2007 at 1:55

GoogleCodeExporter commented 8 years ago
Tried an insert on the care_users table:

INSERT INTO care_users (name, login_id, password, permission, exc, status, 
history,
modify_id, create_id) VALUES ('kirk', 'admin', PASSWORD('kirk'), 
'System_Admin', 1,
'', '', 1, 1);

no luck w login.

Original comment by eon...@gmail.com on 21 Jun 2007 at 2:02

GoogleCodeExporter commented 8 years ago
Access to the program is managed by permissions, which are assigned to groups, 
which
are assigned to users.  I didn't make any easy way to initialize the data.

Give me a couple of days to add the necessary documentation/code.

Original comment by umpen...@gmail.com on 21 Jun 2007 at 11:15

GoogleCodeExporter commented 8 years ago
Revision 263 has a new function which I'll document in the installation 
instructions
in a moment.  Here's the basics:

1. Go to the project folder in a command line window
2. type: {{{
tg-admin shell
}}}
3. In the TurboGears python shell, type {{{
import utils
utils.InitAdmin('Admin','Password')
}}}
NOTE: some warning messages will scroll past during the command
4. Exit the shell window (Linux/Unix <Ctrl>+d, windows <Ctrl>+z ??)
5. When it asks to commit the transactions, choose "yes"
6. Restart the server, you should be able to log-in with administrative rights 
using
the new login

Original comment by umpen...@gmail.com on 2 Jul 2007 at 8:51

GoogleCodeExporter commented 8 years ago

Original comment by umpen...@gmail.com on 12 Jul 2007 at 2:36