Drawing corruption - unable to reopen models - "another git process seems to be running"

m_kingdon
Advisor

Drawing corruption - unable to reopen models - "another git process seems to be running"

m_kingdon
Advisor
Advisor

Hi all,

 

My Infraworks has been acting strange recently.  On my two most recent projects, I have been building models in the same workflow I normally use.  However, once I have finished and close a model I am unable to reopen it.

 

Looking at the error log I noticed this message seems to repeat often

 

fatal: Unable to create '//Aireys-File/jobs/Jobs 85000-95000/85055 T.A. Homes Limited/001 216 Sandringham Road, Sandringham/002 CAD/Infraworks/216 Sandringham Road.files/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
2021-03-04T21:22:15Z [13560]: D:\IWDRprod\Git_Source\Desktop\Source\alx\Git\GitRepoUndo.cpp(163): error: Model Repair: Could not add files.
2021-03-04T21:22:15Z [13560]: D:\IWDRprod\Git_Source\Desktop\Source\alx\ModelUpgrade\DatabaseUpgrade.cpp(3638): error: Could not repair feature repo. Aborting upgrade.
2021-03-04T21:22:15Z [13560]: D:\IWDRprod\Git_Source\Desktop\Source\alx\Git\GitRepo.cpp(242): error: Git command: git --no-pager add -A
Git repo: Z:/Jobs 85000-95000/85055 T.A. Homes Limited/001 216 Sandringham Road, Sandringham/002 CAD/Infraworks/216 Sandringham Road.files/
Git exit code: 128
Git output:

 

Can someone advise me on how to proceed?  I have the latest version of Infraworks with the latest hotfix.

 

 

Mike Kingdon
Civil 3D Zealot

EESignature

0 Likes
Reply
Accepted solutions (1)
987 Views
3 Replies
Replies (3)

roskirko
Collaborator
Collaborator
Accepted solution

From this article: https://knowledge.autodesk.com/search-result/caas/sfdcarticles/sfdcarticles/How-to-recover-an-Infraw...

 

  • The 2 .git folder locations are:
    • …\Autodesk InfraWorks Models\<modelname>.files\.git
    • …\Autodesk InfraWorks Models\<modelname>.files\ \unver\.git
  • Check for and delete index.lock files in each of the above folders.
    • Note: If the index file does not contain .lock, do not delete the index files. The .lock extension only appears when the project crashes. Deleting the Index file will not help in the recovery of your project.

 

Geographic Information Systems
Fanshawe College

m_kingdon
Advisor
Advisor

Thanks,

 

Deleting the index.lock file worked.

 

The other project I think stopped working because the file path was too long.

 

A deeper look into this error message reads:

 

Git repo: Z:/Jobs 10000-20000/12970 XXXX Transportation Specialists Ltd/001 Rose Street Bus Station, XXXXXXXX/002 CAD/Infraworks/Rose Street Bus Station Point Cloud.files/
Git exit code: 128
Git output:
fatal: unable to stat 'Resources/IMX/51503eee-5336-4d0a-b718-750865071c54/14D40.aecc.2FBD6AA38C4DCD2695420D0F21A33E3B.pnt': Filename too long

 

I guess calling the Infraworks Model "Rose Street Bus Station Point Cloud" along with Infrawork generating long file names was enough to tip the file path over the 256 characters limit.

Mike Kingdon
Civil 3D Zealot

EESignature

0 Likes

Karsten.Saenger
Autodesk Support
Autodesk Support

Hi @m_kingdon ,

 

overall file name/path limit of 256 characters is a Windows limitation.
Often time file names of added data end up in something like this "51503eee-5336-4d0a-b718-750865071c54/14D40.aecc.2FBD6AA38C4DCD2695420D0F21A33E3B.pnt" which makes the path names very long.

The "index.lock" files exist to prevent other users working on the same model at the same time. The file is usually removed once you close the model or shut down InfraWorks.

 

Regards,

Karsten.



Karsten Saenger
0 Likes