Hello James,
The error message that you report is generated by Petunia (the user
interface) and not the web server.  As a measure of precaution,
Petunia only allows access to directories below a certain hierarchy,
which can be specified when you install the software.

In order to make these change (which won't be overridden when you
upgrade to a newer version of TPP), open the tpp_gui_config.pl  file,
and add the following lines after the line "# SET TPP_GUI DEFAULTS
HERE":

'base_dir' => '/usr/local/apps/tpp/',
'www_root' => '/usr/local/apps/tpp/data/',

Make sure you include the trailing commas and preserve the quotes.
You can adjust these values, as necessary, as well as others.  You can
override other default values in Petunia that are specified by the
"readconfig" assignments; look through the first couple of dozen lines
of tpp_gui.pl to view them all.  On your next upgrade, just remember
to copy this file over to preserve your changes.

Hope this helps, and thanks for using the tools.
--Luis


On Fri, Jan 27, 2012 at 12:13 AM, sirlark <[email protected]> wrote:
> Hi,
>
> I'm trying to install TPP on Ubuntu Lucid 10.04.3. I had the previous
> version (4.4 Vuvuzela) sort of working, that is I could select files
> without error, but the results were always empty. This included the
> demo data set following the tutorial instructions. I though I would
> reinstall from scratch to see if I could get it working, and whilst I
> was at it, to get the latest version (TPP v4.5 RAPTURE rev 1, Build
> 201201261618 (linux)). The steps I followed were
>
> 1. sudo su to root
> 2. moved old installtion directory of tpp from /usr/local/apps/tpp to /
> usr/local/apps/tpp-4.4
> 3. change into the trans_proteomic_pipeline/src directory
> 4. create Makefile.config.incl
> 5. change TPP_ROOT in Makefile.config.incl to /usr/local/apps/tpp
> 6. make
> 7. make install
> 8. created /usr/local/apps/tpp/data, and set ownership to www-data:www-
> data and permissions to 0770
>
> I didn't make any changes to my apache config assuming it would still
> be correct for the version of TPP which ended up in the same directory
> as the previous one. Indeed, I can log in to petunia without issue.
> But whenever I need to select file for any purposes, I get the
> "Attempted to access forbidden directory" message. I have tried
> setting everything in /usr/local/apps/tpp to ownership www-data:www-
> data, without any noticeable effect.
>
> Once I sort this out, I'd be happy to draw up step by step
> instructions for installation on Ubuntu, and update the wiki
> appropriately, which leads me to an aside question. Will TPP work with
> boost-1.4, and if so, which boost libraries does it actually need.
> This might make life a lot easier for ubuntu users, since boost-1.4
> libs are in the repos.
>
> Thanks,
> James
>
> --
> You received this message because you are subscribed to the Google Groups 
> "spctools-discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/spctools-discuss?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"spctools-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spctools-discuss?hl=en.

Reply via email to