Galaxy was recently updated to use a newer version of webhelpers, version 1.3, in which the signatures of those methods have changed.  It looks like you're running a newer version of webhelpers (thus stylesheet_link_tag not being found), but an older version of galaxy.  I'm not sure how this would be the case, but is it possible for you to update your galaxy and run with a clean environment (using galaxy's provided webhelper egg), to see if this resolves your issue?

-Dannon


On Fri, Feb 7, 2014 at 12:11 PM, Adhemar <azneto@gmail.com> wrote:
Hi!
I was running mpileup and it's showing the error bellow. 
The strange thing is that 'galaxy/web/framework/helpers/__init__.py' is trying to import 'stylesheet_link_tag' and it's not available in the webhelpers I've installed for both python versions 2.6.6 or 2.7.3 
Could you help me with this?
Thanx,
Adhemar


Traceback (most recent call last):
  File "./scripts/set_metadata.py", line 29, in <module>
    import galaxy.model.mapping #need to load this before we unpickle, in order to setup properties assigned by the mappers
  File "/opt/bioinformatics/share/galaxy20130410/lib/galaxy/model/__init__.py", line 23, in <module>
    import galaxy.datatypes.registry
  File "/opt/bioinformatics/share/galaxy20130410/lib/galaxy/datatypes/registry.py", line 5, in <module>
    import data, tabular, interval, images, sequence, qualityscore, genetics, xml, coverage, tracks, chrominfo, binary, assembly, ngsindex, graph
  File "/opt/bioinformatics/share/galaxy20130410/lib/galaxy/datatypes/data.py", line 2, in <module>
    import metadata
  File "/opt/bioinformatics/share/galaxy20130410/lib/galaxy/datatypes/metadata.py", line 24, in <module>
    from galaxy.web import form_builder
  File "/opt/bioinformatics/share/galaxy20130410/lib/galaxy/web/__init__.py", line 4, in <module>
    from framework import expose
  File "/opt/bioinformatics/share/galaxy20130410/lib/galaxy/web/framework/__init__.py", line 28, in <module>
    import helpers
  File "/opt/bioinformatics/share/galaxy20130410/lib/galaxy/web/framework/helpers/__init__.py", line 4, in <module>
    from webhelpers import date, stylesheet_link_tag, javascript_include_tag, url_for
ImportError: cannot import name stylesheet_link_tag

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/