So after figuring this out, sadly I'm still back to the original problem :(
I'm almost positive the web code has been updated now as the upgrade script seemed to complete just fine, and I've also had to make a news forum and get that working. Still, when I try to use the profile_screen_form.php, it just repeatedly asks me to log in, and I can't actually get to the page. On Jan 11, 2010, at 12:20 AM, Travis Desell wrote: > I think that's the problem. Since I was using the trunk and hadn't compiled > it yet (as I was just trying to update to the web code), the > boinc_path_config.py looks like this: > > import sys, os > > TOP_BUILD_DIR = "@TOP_BUILD_DIR@" > sys.path.insert(0, os.path.join(TOP_BUILD_DIR, 'py')) > > > And for some reason it was choosing some weird location for the python path. > > --Travis > > > On Jan 11, 2010, at 12:17 AM, Jeremy Cowles wrote: > >> Did you configure & make BOINC? I think the Python path file >> (boinc_path_config.py) is generated at that point. Mine looks like this: >> >> #... >> import sys, os >> >> TOP_BUILD_DIR = "/home/jeremy/src/boinc" >> sys.path.insert(0, os.path.join(TOP_BUILD_DIR, 'py')) >> >> -- >> Jeremy >> >> On Sun, Jan 10, 2010 at 9:11 PM, Travis Desell <[email protected]> wrote: >> I think I found the problem, for some reason our server was set up to use >> the python files from a different directory. I'm going to have to see if I >> can get this fixed. >> >> --Travis >> >> >> On Jan 11, 2010, at 12:09 AM, Jeremy Cowles wrote: >> >>> You could do a "svn stat" to see if py/Boinc/setup_project.py is modified. >>> >>> Or you can check what file it's loading in the update script: >>> >>> boinc\tools $ python >>> >>>>>> import boinc_path_config >>>>>> import Boinc.setup_project >>>>>> help(Boinc.setup_project) >>> >>> The file's path will be listed and it should be something like >>> boinc/py/Boinc/setup_project.py >>> >>> -- >>> Jeremy >>> >>> >>> On Sun, Jan 10, 2010 at 8:44 PM, Travis Desell <[email protected]> wrote: >>> It should have been server_stable 20121. However, there was some weirdness >>> in our old setup, and I've been trying to get it to use all the default >>> BOINC scripts and packages now as I have access to everything, so there's a >>> possibility there were some old files laying around. >>> >>> --Travis >>> >>> On Jan 10, 2010, at 11:41 PM, Jeremy Cowles wrote: >>> >>>> I updated to the latest revision, rebuilt and tried the same command and >>>> it ran fine. >>>> >>>> Do you know what revision you were on before? >>>> >>>> -- >>>> Jeremy >>>> >>>> >>>> On Sun, Jan 10, 2010 at 7:24 PM, Travis Desell <[email protected]> wrote: >>>> I'm trying to upgrade our webcode from the trunk (to get the >>>> profile_screen_form.php) to work from the ops directory, however I'm >>>> getting the following error with the upgrade script: >>>> >>>> milkyway tools $ ./upgrade --project_root /export/www/boinc/ --web_only >>>> milkyway >>>> Overwrite files in /export/www/boinc/milkyway [y/N] y >>>> Upgrading files... >>>> Traceback (most recent call last): >>>> File "./upgrade", line 75, in <module> >>>> install_boinc_files(INSTALL_DIR, not options.server_only, not >>>> options.web_only) >>>> TypeError: install_boinc_files() takes exactly 1 argument (3 given) >>>> >>>> Am I missing something? Or should I try not to run upgrade from the >>>> trunk... >>>> >>>> --Travis >>>> >>>> ---------------------------------------------------------------------------------------------------------- >>>> Travis Desell >>>> <deselt @ cs.rpi.edu> >>>> 1-518-867-1054 >>>> Worldwide Computing Laboratory ( http://wcl.cs.rpi.edu/ ) >>>> milky...@home ( http://milkyway.cs.rpi.edu/ ) >>>> Rensselaer Polytechnic Institute, 110 8th Street, Troy NY 12180, USA >>>> ---------------------------------------------------------------------------------------------------------- >>>> >>>> >>>> >>>> _______________________________________________ >>>> boinc_dev mailing list >>>> [email protected] >>>> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev >>>> To unsubscribe, visit the above URL and >>>> (near bottom of page) enter your email address. >>>> >>> >>> ---------------------------------------------------------------------------------------------------------- >>> Travis Desell >>> <deselt @ cs.rpi.edu> >>> 1-518-867-1054 >>> Worldwide Computing Laboratory ( http://wcl.cs.rpi.edu/ ) >>> milky...@home ( http://milkyway.cs.rpi.edu/ ) >>> Rensselaer Polytechnic Institute, 110 8th Street, Troy NY 12180, USA >>> ---------------------------------------------------------------------------------------------------------- >>> >>> >>> >>> >> >> ---------------------------------------------------------------------------------------------------------- >> Travis Desell >> <deselt @ cs.rpi.edu> >> 1-518-867-1054 >> Worldwide Computing Laboratory ( http://wcl.cs.rpi.edu/ ) >> milky...@home ( http://milkyway.cs.rpi.edu/ ) >> Rensselaer Polytechnic Institute, 110 8th Street, Troy NY 12180, USA >> ---------------------------------------------------------------------------------------------------------- >> >> >> >> > > ---------------------------------------------------------------------------------------------------------- > Travis Desell > <deselt @ cs.rpi.edu> > 1-518-867-1054 > Worldwide Computing Laboratory ( http://wcl.cs.rpi.edu/ ) > milky...@home ( http://milkyway.cs.rpi.edu/ ) > Rensselaer Polytechnic Institute, 110 8th Street, Troy NY 12180, USA > ---------------------------------------------------------------------------------------------------------- > > > > _______________________________________________ > boinc_dev mailing list > [email protected] > http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev > To unsubscribe, visit the above URL and > (near bottom of page) enter your email address. ---------------------------------------------------------------------------------------------------------- Travis Desell <deselt @ cs.rpi.edu> 1-518-867-1054 Worldwide Computing Laboratory ( http://wcl.cs.rpi.edu/ ) milky...@home ( http://milkyway.cs.rpi.edu/ ) Rensselaer Polytechnic Institute, 110 8th Street, Troy NY 12180, USA ---------------------------------------------------------------------------------------------------------- _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
