You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Aaron T. Myers (JIRA)" <ji...@apache.org> on 2009/03/12 20:18:50 UTC
[jira] Updated: (THRIFT-365) HTML compiler infinite loop
[ https://issues.apache.org/jira/browse/THRIFT-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron T. Myers updated THRIFT-365:
----------------------------------
Attachment: amie_api.thrift
The thrift file which causes the issue.
> HTML compiler infinite loop
> ---------------------------
>
> Key: THRIFT-365
> URL: https://issues.apache.org/jira/browse/THRIFT-365
> Project: Thrift
> Issue Type: Bug
> Environment: Ubuntu Linux 2.6.24-22-generic
> Reporter: Aaron T. Myers
> Attachments: amie_api.thrift
>
>
> When I attempt to run the HTML documentation generator on the following .thrift file, the generator writes 48 lines of legitimate HTML and then begins to spin writing nothing but newline characters to the generated HTML file. It will continue to do this until the process is killed.
> Contents of .thrift file:
> php_namespace api
> namespace as3 com.amiestreet.api
> enum AmieApiErrorCode {
> API_EC_UNKNOWN = 0
> API_EC_METHOD = 1
> API_EC_BADFINGERPRINT = 2
> API_EC_ARTIST_ALREADY_EXISTS = 3
> API_EC_USER_NOT_FOUND = 4
> API_EC_SONG_NOT_FOUND = 5
> API_EC_ALBUM_NOT_FOUND = 6
> API_EC_ARTIST_NOT_FOUND = 7
> API_EC_PLAYLIST_NOT_FOUND = 8
> API_EC_ALBUM_ALREADY_EXISTS = 9
> API_EC_SONG_ALREADY_EXISTS = 10
> API_EC_LOGIN_REQUIRED = 11
> API_EC_REC_NOT_FOUND = 12
> API_EC_SEARCH_ERROR = 13
> API_EC_SEARCH_FIND_MISMATCH = 14
> API_EC_SEARCH_FIND_ARTIST_REQUIRED = 15
> }
> typedef string errorMessage
> typedef string userFingerprint
> /**
> * The id, name or dasherized name of an artist.
> * Examples:
> * - The Walkmen
> * - the-walkmen
> * - 6KNMnd6NoOUx
> */
> typedef string artistIdentifierRef
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Updated: (THRIFT-365) HTML compiler infinite loop
Posted by Michael Greene <mi...@gmail.com>.
On Thu, Mar 12, 2009 at 3:37 PM, Todd Lipcon <tl...@gmail.com> wrote:
> I'm actually no longer at Amie Street, but you can take a look at the AS3
> stuff here:
>
>
> http://thrift-rpc.org/?p=thrift.git;a=commit;h=b3410968c7f878d598f67cfc5f7cf3bb4e5cf9a5
>
> I don't think Aaron is subscribed to the thrift-dev list but perhaps he's
> definitely interested in contributing it officially.
>
> -Todd
>
Thanks, Todd! I will have to try that out and bug Aaron if it works for me.
Michael
Re: [jira] Updated: (THRIFT-365) HTML compiler infinite loop
Posted by Todd Lipcon <tl...@gmail.com>.
On Thu, Mar 12, 2009 at 12:22 PM, Michael Greene
<mi...@gmail.com>wrote:
> Note: replying to thrift-dev on purpose
>
> Aaron T. Myers (JIRA) <ji...@apache.org> wrote:
>
> > When I attempt to run the HTML documentation generator on the following
> > .thrift file, the generator writes 48 lines of legitimate HTML and then
> > begins to spin writing nothing but newline characters to the generated
> HTML
> > file. It will continue to do this until the process is killed.
> > > Contents of .thrift file:
> > > php_namespace api
> > > namespace as3 com.amiestreet.api
> > >
>
>
> Any chance you guys at Amie Street can open your AS3 generator?
>
I'm actually no longer at Amie Street, but you can take a look at the AS3
stuff here:
http://thrift-rpc.org/?p=thrift.git;a=commit;h=b3410968c7f878d598f67cfc5f7cf3bb4e5cf9a5
I don't think Aaron is subscribed to the thrift-dev list but perhaps he's
definitely interested in contributing it officially.
-Todd
Re: [jira] Updated: (THRIFT-365) HTML compiler infinite loop
Posted by Michael Greene <mi...@gmail.com>.
Note: replying to thrift-dev on purpose
Aaron T. Myers (JIRA) <ji...@apache.org> wrote:
> When I attempt to run the HTML documentation generator on the following
> .thrift file, the generator writes 48 lines of legitimate HTML and then
> begins to spin writing nothing but newline characters to the generated HTML
> file. It will continue to do this until the process is killed.
> > Contents of .thrift file:
> > php_namespace api
> > namespace as3 com.amiestreet.api
> >
Any chance you guys at Amie Street can open your AS3 generator?
Michael