Modify

Opened 5 years ago

Closed 5 years ago

#6920 closed defect (invalid)

Trying to import into MS Project gives 404 error

Reported by: Chris.Nelson@… Owned by: okazaki
Priority: high Component: VisualBasicTracConnectorIntegration
Severity: major Keywords:
Cc: Trac Release: 0.11

Description

I am trying to get started with the Trac Connector. I downloaded the .zip file and unpacked it. I opened TracProject.mpp. After lowering my macro security level, I see the Import button. I created a new project file and clicked Import. In the "Import from Trac" dialog I copied the URL of my Trac instance into the URL field, the project name (directory under trac of my project's Trac instance), and entered the user name. We have no password set. When I click the "Validation" button I get a message:

Run-time error '-2147220991 (80040201)':

Error:Not Found(404)

Clicking "Debug" leads to:

Private Function hasMilestone() As Boolean
    hasMilestone = False
    
    Dim trac As TracXMLRPC
    Set trac = Nothing
    If m_aTrac Is Nothing Then Exit Function
    
    Set trac = m_aTrac.item(1)
    If Not trac.milestone Is Nothing Then
        On Error GoTo err1
        If trac.milestone.count <> 0 Then
            hasMilestone = True
        End If
    End If
err1: 'itemŽæ“¾Žž‚ÉŽ¸”s‚µ‚½ê‡‚Ífalse
End Function

with If Not trac.milestone Is Nothing Then highlighted.

I need help diagnosing this.

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by okazaki

  • Status changed from new to assigned

comment:2 Changed 5 years ago by Chris.Nelson@…

This may be my misunderstanding about what belongs in the fields. At least once, If I put http://myhostname in the URL and trac in the projects field, I was able to get past the 404 and on to another error.

comment:3 Changed 5 years ago by Chris.Nelson@…

  • Resolution set to invalid
  • Status changed from assigned to closed

The documentation could be clearer but this is essentially user error. I can connect to my Trac project now.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.