Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8144821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:29:00+00:00 2026-06-06T13:29:00+00:00

I am trying to debug a plugin issue with Trac and TracMercurial . The

  • 0

I am trying to debug a plugin issue with Trac and TracMercurial. The plugin does not quite work for me when packaged as an egg and deployed normally.

Using setup.py develop results in plugin not being visible. Using setup.py install works fine, but I can’t debug the results, which I intend to do by adding some logging code to the plugin, so that when the module tries to load, I will be able to inspect the environment and see where it’s failing.

I tried to do this command so I could possibly begin to debug the python code that is in the plugin to see where it fails, and why:

c:\workdir> python setup.py develop --exclude-scripts --install-dir "C:\...\python\Lib\site-packages" 

After doing this, there is an egg-link file in the site-packages directory, but Trac does not see the plugin. If however I use “setup.py install”, and it copied the full .egg over to the site-packages directory, then Trac does see the plugin.

Clearly I’m not understanding “setup.py develop” mode. My goal is to get started with debugging a plugin that is not in any virtual-env, just a simple use of “setup.py develop”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T13:29:01+00:00Added an answer on June 6, 2026 at 1:29 pm

    If setuptools or distribute is installed you can use the easy_install command with the -Z option to install the egg unzipped:

    python setup.py easy_install -Z
    

    so you can still edit the installed source code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I'm trying to debug a somewhat confusing problem. I'm using a Wordpress plugin
I was trying to debug a sorting issue with the jquery plugin tablesorter which
I am trying to debug an issue involving a ClassCastException in Java. In the
I'm trying to do a little test-plugin using NPAPI for firefox. This is my
I am trying to use the JQGrid plugin and have run into an issue
I am trying to test my application using Selenium tool via the Hudson plugin
I'm trying to debug my form POST code. Is there any firefox plugin so
I'm trying to debug a rest/json service that i build using Jersey and Amazon
Im trying to debug a nagios plugin (check_aacraid.py) that uses NRPE. The system in
I'm trying to write a simple task using Maven: <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.3</version> <executions> <execution>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.