Switching Proposals Error then Frozen Application "invalid stoi argument"

Switching Proposals Error then Frozen Application "invalid stoi argument"

ceethreedee.com
Collaborator Collaborator
1,205 Views
7 Replies
Message 1 of 8

Switching Proposals Error then Frozen Application "invalid stoi argument"

ceethreedee.com
Collaborator
Collaborator

Im in 2019.3 and i have a few projects that just wont let me switch proposals.

 

When i first try it brings up the "log view" and states 

 

unhandled exception: invalid stoi argument

unhandled exception: invalid stoi argumentunhandled exception: invalid stoi argument The next time i try it freezes completely.

 

I have attempted both of these KB articles neither works.
https://knowledge.autodesk.com/support/infraworks/troubleshooting/caas/sfdcarticles/sfdcarticles/Inf...

https://knowledge.autodesk.com/support/infraworks/troubleshooting/caas/sfdcarticles/sfdcarticles/How...

Civil 3D 2025 / Infraworks 2025
Win 10 -DELL Precision Notebook 7680

Want FREE TOOLS! Come get my free productivity tools for civil 3d from the appstore here Ceethreedee tools
Or from my website below!
https://ceethreedee.com/ceethreedee-tools
0 Likes
Accepted solutions (1)
1,206 Views
7 Replies
Replies (7)
Message 2 of 8

Karsten.Saenger
Autodesk Support
Autodesk Support

Hi @ceethreedee.com ,

 

is it possible to share the InfraWorks log file from path %appdata%\Autodesk\Autodesk InfraWorks\logs ?

I hope to see more details aboit the error there?

 

Regards,

Karsten.



Karsten Saenger
0 Likes
Message 3 of 8

bkanther
Enthusiast
Enthusiast

See attached

0 Likes
Message 4 of 8

bkanther
Enthusiast
Enthusiast

Although i think this is the initial crash after I restored the project. to its "pre christmas state". Not sure what happened over christmas period. But all of our infraworks projects are doing this now.

2020-01-07T23:14:13Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\coreapi\data\coremodel.cpp(1704): timing: Retrieve Data Import Configs spent: 30 ms
2020-01-07T23:14:22Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\studio\visibility\surfacelayertreemodelbase.cpp(89): debug: onDataChanged
2020-01-07T23:14:22Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\studio\visibility\surfacelayertreemodelbase.cpp(89): debug: onDataChanged
2020-01-07T23:14:23Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\studio\visibility\surfacelayertreemodelbase.cpp(89): debug: onDataChanged
2020-01-07T23:14:23Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\studio\visibility\surfacelayertreemodelbase.cpp(89): debug: onDataChanged
2020-01-07T23:14:29Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\studio\visibility\gsvmodel.cpp(126): debug: reloading data while having unsaved changes!
2020-01-07T23:14:29Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\coreapi\data\coremodel.cpp(1704): timing: Retrieve Data Import Configs spent: 31 ms
2020-01-07T23:14:29Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\coreapi\data\coremodel.cpp(1704): timing: Retrieve Data Import Configs spent: 38 ms
2020-01-07T23:14:44Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\coreapi\data\coremodel.cpp(1704): timing: Retrieve Data Import Configs spent: 31 ms
2020-01-07T23:14:53Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\coreapi\data\coremodel.cpp(1704): timing: Retrieve Data Import Configs spent: 24 ms
2020-01-07T23:15:00Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\coreapi\data\coremodel.cpp(1704): timing: Retrieve Data Import Configs spent: 35 ms
2020-01-07T23:15:05Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\studio\visibility\surfacelayertreemodelbase.cpp(89): debug: onDataChanged
2020-01-07T23:15:05Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\studio\visibility\surfacelayertreemodelbase.cpp(89): debug: onDataChanged
2020-01-07T23:15:07Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\studio\visibility\surfacelayertreemodelbase.cpp(89): debug: onDataChanged
2020-01-07T23:15:07Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\studio\visibility\surfacelayertreemodelbase.cpp(89): debug: onDataChanged
2020-01-07T23:15:13Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\studio\visibility\gsvmodel.cpp(126): debug: reloading data while having unsaved changes!
2020-01-07T23:15:13Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\coreapi\data\coremodel.cpp(1704): timing: Retrieve Data Import Configs spent: 31 ms
2020-01-07T23:15:13Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\coreapi\data\coremodel.cpp(1704): timing: Retrieve Data Import Configs spent: 34 ms
2020-01-07T23:15:20Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\coreapi\data\coremodel.cpp(1704): timing: Retrieve Data Import Configs spent: 42 ms
2020-01-07T23:15:29Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\coreapi\data\coremodel.cpp(1704): timing: Retrieve Data Import Configs spent: 32 ms
2020-01-07T23:15:30Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\coreapi\data\coremodel.cpp(1704): timing: Retrieve Data Import Configs spent: 26 ms
2020-01-07T23:15:44Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\coreapi\data\coremodel.cpp(1704): timing: Retrieve Data Import Configs spent: 30 ms
2020-01-07T23:15:50Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\coreapi\data\coremodel.cpp(1704): timing: Retrieve Data Import Configs spent: 25 ms
2020-01-07T23:15:51Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\coreapi\data\coremodel.cpp(1704): timing: Retrieve Data Import Configs spent: 24 ms
2020-01-07T23:16:00Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\coreapi\data\coremodel.cpp(1704): timing: Retrieve Data Import Configs spent: 29 ms
2020-01-07T23:16:03Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\framework\alxapplication.cpp(2865): fatal: unhandled exception: invalid stoi argument
2020-01-07T23:17:34Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\framework\alxmainwindow.cpp(525): info: Request closing of the application
2020-01-07T23:17:34Z [21176]: d:\iwdrprod\git_source\desktop\source\alx\application\core\isession.cpp(185): debug: [session] ending session: AlxModelSession
0 Likes
Message 5 of 8

Karsten.Saenger
Autodesk Support
Autodesk Support

Hi @bkanther .

 

your first log files shows problems during model upgrade to InfraWorks version 2020.1.

The second log file is from InfraWorks 2019.3.

 

My first question is what kind of drive is B:/ ? Is it a local drive in the Windows Network or is it a files server, mapped cloud drive or similar?

 

Regards,

Karsten.



Karsten Saenger
0 Likes
Message 6 of 8

bkanther
Enthusiast
Enthusiast
Accepted solution

All good found the problem, B drive is a file server and we found that a file backup program called HUBSTOR (https://www.hubstor.net/) was creating these little hidden files called ".hubstorinfo" in our directories every time a backup was run.
You can only see them if you tick "Hide protected files" off in folder options in explorer.
Hide proected files turn offHide proected files turn off

Hubstor info files in directories.Hubstor info files in directories.

 

It creates one in every directory it is backing up and was the reason we couldn't upgrade or change proposals in a project. We kept getting this error.

invalid stoi argumentinvalid stoi argument

 

As soon as i deleted them all it was working again.

0 Likes
Message 7 of 8

Karsten.Saenger
Autodesk Support
Autodesk Support

Hi @ceethreedee.com ,

 

I am happy to hear you could find the explanation and a solution.

 

I would like to mention that the only way supported way to place InfraWorks models on a network or the cloud is by using Bim360 docs for collaboration (- and backup) or a Microsoft Windows network drive, for example a folder on another computer or drive.

Any other mapped cloud network drive or a local server possibly corrupts the model database. The main reason is that the git part of the models has files with a filename (no extension) only or files with an extension only (no filename). Some technologies don't like that and tend to remove those data or rename it - with the result of a corrupt model.
If you don't experience that behavior with hubstore, then all good, though.

 

Regards,

Karsten.



Karsten Saenger
0 Likes
Message 8 of 8

ceethreedee.com
Collaborator
Collaborator

Just to be clear. We are on a windows network file server. So it all works fine. HUBSTOR is a thirdparty backup solutution. When HUBSTOR runs over all the directories on the file server it creates ".hubstorinfo" files in every directory as "Hidden Protected Files". Its these files that cause the error in infraworks.

Civil 3D 2025 / Infraworks 2025
Win 10 -DELL Precision Notebook 7680

Want FREE TOOLS! Come get my free productivity tools for civil 3d from the appstore here Ceethreedee tools
Or from my website below!
https://ceethreedee.com/ceethreedee-tools