loading systems no longer seems to work

Bug #1406498 reported by Glyph Lefkowitz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pydoctor
Fix Committed
Undecided
Unassigned

Bug Description

even if I carefully generate a tiny subset of the documentation, I get an error like "KeyError: 'twisted 0.internet'" if I ever use the -p option.

Revision history for this message
Ralph Meijer (ralphmeijer) wrote :

I bisected this issue to start with revision 596.

Revision history for this message
Glyph Lefkowitz (glyph) wrote :

Due to this issue, I had to pin the pydoctor version for Tubes to 0.4, so that this would work:

https://github.com/twisted/tubes/blob/master/tox.ini#L30-L38

which is rather unfortunate.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Oops, sorry. Really anything using this should use intersphinx instead, but that's not ready. I'll try to fix the bug.

The time I've been able to spend on pydoctor lately has been a bit tiny, not sure what to do about that in the medium term.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Sigh, renaming things is hard. This should be fixed now.

Changed in pydoctor:
status: New → Fix Committed
Revision history for this message
Glyph Lefkowitz (glyph) wrote :

Thanks, Michael!

Any chance this will be in a PyPI-visible release soon? If not, do you know of the appropriate invocation to have Tubes' build automation install this version for now?

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I just uploaded 0.6b1 which includes this fix (and also a first cut at intersphinx support, which maybe you can use to get away from depending on pickles?)

Revision history for this message
Glyph Lefkowitz (glyph) wrote :

Hmm. This worked for me locally, but:

https://travis-ci.org/twisted/tubes/jobs/46153472

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 1406498] Re: loading systems no longer seems to work

Well, that's peculiar!

sent from my phone, please excuse brevity
On 7 Jan 2015 16:45, "Glyph Lefkowitz" <email address hidden> wrote:

> Hmm. This worked for me locally, but:
>
> https://travis-ci.org/twisted/tubes/jobs/46153472
>
> --
> You received this bug notification because you are subscribed to
> pydoctor.
> https://bugs.launchpad.net/bugs/1406498
>
> Title:
> loading systems no longer seems to work
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/pydoctor/+bug/1406498/+subscriptions
>

Revision history for this message
Glyph Lefkowitz (glyph) wrote :

Anything I can do to help diagnose?

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I've just uploaded 0.6b2 which should fix this.

Can you use the intersphinx support instead? Pickle is horrible :(

A disadvantage would be that you currently can't generate the objects.inv without also generating the html and that's fairly slow. Maybe you could just check them in or download them from somewhere?

Revision history for this message
Glyph Lefkowitz (glyph) wrote :

I certainly plan to switch to intersphinx, but as you said, it's pretty slow. Any chance you can produce it without generating HTML?

Revision history for this message
Glyph Lefkowitz (glyph) wrote :

Looks like 0.6b2 fixed it, although I'm still waiting for master to build.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Glyph Lefkowitz <email address hidden> writes:

> I certainly plan to switch to intersphinx, but as you said, it's pretty
> slow. Any chance you can produce it without generating HTML?

It feels a bit odd in some ways, but sure, revision 623 of trunk (pass
--make-intersphinx). Have you figured out how to use a branch revision
on travis yet? Would it be easier if I moved to github? Pushing every
rev to pypy would feel a bit crummy.

Revision history for this message
Glyph Lefkowitz (glyph) wrote :

many things would be easier if you moved to github, sadly :).

Revision history for this message
Glyph Lefkowitz (glyph) wrote :

I do know how to tell tox / setuptools / etc how to install a particular git hash, I do not presently know how to do it with a specific bzr rev. It is probably possible, though.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Well, feel free to point at https://github.com/mwhudson/pydoctor, it's
not "official" in any way yet though!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.