Autodesk-Forge / forge-configurator-inventor

[DEPRECATED] Demo for Autodesk Forge Design Automation for Inventor
http://inventor-config-demo.autodesk.io
MIT License
44 stars 34 forks source link

Not able to load Project List #416

Closed Gnyasha closed 3 years ago

Gnyasha commented 3 years ago

Hi Good day, I have followed the setup described but currently am not able to load any projects. Meaning, on the project tab the list is empty and I am seeing error messages like "You don't have any drawings in your package."

Is there anything I am doing wrong, or how should I make sure the app sees the projects.

I am able to access the projects in the appsettings.json from my browser and can download them but I am not able to load them in the system. please assist. Thanks

Houmicek commented 3 years ago

Hi @Gnyasha , I would like to ask you if you could provide me more information about your problem. I tried it on my machine and cannot reproduce it. If you can send me your report Log file and a screenshot of the error that will help us to understand the problem. Thank you a lot

Gnyasha commented 3 years ago

Hi @Houmicek, Thanks much for the response, I have attached the screenshot and also the console log.


Console.Log

2021-08-26 01:59:39.752 +02:00 [INF] In Development environment
2021-08-26 01:59:40.816 +02:00 [INF] Now listening on: https://localhost:5001
2021-08-26 01:59:40.826 +02:00 [INF] Application started. Press Ctrl+C to shut down.
2021-08-26 01:59:40.829 +02:00 [INF] Hosting environment: Development
2021-08-26 01:59:40.831 +02:00 [INF] Content root path: C:\Users\...\Source\Oldies\source\repos\Forge\WebApplication
2021-08-26 02:00:20.374 +02:00 [ERR] (node:8132) [ESLINT_PERSONAL_CONFIG_SUPPRESS] DeprecationWarning: '~/.eslintrc.*' config files have been deprecated. Please remove it or add 'root:true' to the config files in your projects in order to avoid loading '~/.eslintrc.*' accidentally. (found in "..\..\..\..\..\..\..\.eslintrc")

2021-08-26 02:00:25.517 +02:00 [INF] HTTP GET / responded 200 in 37921.654 ms
2021-08-26 02:00:25.793 +02:00 [INF] HTTP GET /static/js/main.chunk.js responded 200 in 60.2534 ms
2021-08-26 02:00:27.817 +02:00 [INF] HTTP GET /static/js/bundle.js responded 200 in 2083.5345 ms
2021-08-26 02:00:27.859 +02:00 [INF] HTTP GET /static/js/vendors~main.chunk.js responded 304 in 2091.2836 ms
2021-08-26 02:00:28.359 +02:00 [INF] HTTP GET /logo.png responded 200 in 21.0958 ms
2021-08-26 02:00:28.437 +02:00 [INF] HTTP GET /logo-xs-white-BG.svg responded 200 in 8.6705 ms
2021-08-26 02:00:29.034 +02:00 [INF] Get profile
2021-08-26 02:00:29.082 +02:00 [INF] Refreshing Forge token
2021-08-26 02:00:29.108 +02:00 [INF] HTTP GET /login/profile responded 200 in 299.951 ms
2021-08-26 02:00:37.421 +02:00 [INF] HTTP GET /showParametersChanged responded 200 in 8612.403 ms
2021-08-26 02:00:39.093 +02:00 [INF] HTTP GET /projects responded 200 in 10283.6894 ms

The screenshots: image image image

mivasi commented 3 years ago

Hi @Gnyasha, how do you run the application? You have to fill the projects at least once. We are doing it using dotnet run initialize=true

Houmicek commented 3 years ago

Hi @Gnyasha, thank you for screenshots.

  1. From the first screenshot it looks like that you do not have any project loaded. Could you try to do this step:
    • Clear and then load initial data: from the WebApplication directory, run dotnet run initialize=true clear=true
  2. Second screenshot shows that that a project doesn't have BOM usually it is valid for IPT file because there is no assembly
  3. Third screenshot - Drawing tab displays this message if your project do not have any IDW/DWG file.
Gnyasha commented 3 years ago

Thank you @Houmicek and @mivasi

I was able to resolve the issue by clearing and loading initial data. run dotnet run initialize=true clear=true

Regards