Comments (7)
Hey vitaut, which version of javalang do you have installed?
from javasphinx.
I have version 0.9.4 of javalang installed.
from javasphinx.
Upgrading to javalang 0.9.5 should solve this.
from javasphinx.
Upgrading to version 0.9.5 solved the problem. Thanks!
from javasphinx.
I'm getting this error using 0.9.9 and 0.9.10. Here is the javadoc that is being parsed:
package test; /** Test */ public class Test {}
ERROR:root:Unexpected exception while compiling /Users/rob/code/motech/SphinxDocs/test/Test.java
Traceback (most recent call last):
File "/Users/rob/code/motech/SphinxDocs/env/lib/python2.7/site-packages/javasphinx/apidoc.py", line 170, in generate_from_source_file
documents = doc_compiler.compile(ast)
File "/Users/rob/code/motech/SphinxDocs/env/lib/python2.7/site-packages/javasphinx/compiler.py", line 297, in compile
document = self.compile_type_document(import_block, package, name, declaration)
File "/Users/rob/code/motech/SphinxDocs/env/lib/python2.7/site-packages/javasphinx/compiler.py", line 206, in compile_type_document
type_dir = self.compile_type(declaration)
File "/Users/rob/code/motech/SphinxDocs/env/lib/python2.7/site-packages/javasphinx/compiler.py", line 80, in compile_type
doc = self.__output_doc(declaration)
File "/Users/rob/code/motech/SphinxDocs/env/lib/python2.7/site-packages/javasphinx/compiler.py", line 42, in __output_doc
if doc.author:
AttributeError: 'DocBlock' object has no attribute 'author'
pip freeze:
Jinja2==2.7.2
MarkupSafe==0.21
Pygments==1.6
Sphinx==1.2.2
beautifulsoup4==4.3.2
docutils==0.11
javalang==0.9.5
javasphinx==0.9.10
lxml==3.3.5
wsgiref==0.1.2
from javasphinx.
Hi larubbio, this has been fixed in the master branch, but a release has not been cut for it yet. I'm working on releasing 0.9.11 right now and it should include the necessary fix.
from javasphinx.
javasphinx 0.9.11 has been released and uploaded to PyPI
from javasphinx.
Related Issues (20)
- Support for Java8 and new features such as lambdas and method references HOT 7
- Cache file creation fails on Windows HOT 2
- What version of python does javasphinx require? HOT 4
- Parallel building HOT 1
- External Javadoc method reference doesn't work HOT 1
- Javasphinx throws error if an interface has a default method defined HOT 8
- python3 Sphinx v1.4.4 error!
- Fails to compile on OSX HOT 4
- 4 column based index found HOT 3
- Request: add linkcode-like links to sources
- Change the structure of index to 5 columns based. HOT 1
- ImportError: No module named 'domain' HOT 3
- Add `docutils` and `sphinx` to dependencies
- How i can specific encoding for javasphinx-apidoc output? HOT 4
- javasphinx-apidoc throws an error when a file contains only commented code
- {@inheritDoc} tags are not being processed HOT 2
- Default interface methods cause errors HOT 2
- exception: No module named javasphinx HOT 1
- javasphinx-apidoc throws error when java file contains Java 8 stream to array (String[] :: new)
- Encoding issue running on javasphinx + py3 + windows 10 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javasphinx.