RobotStudio .NET exception: End of Central Directory record could not be found
scadkins
✭
in RobotStudio
Any help on this will be greatly appreciated. Last night before leaving work I saved my robot studio station like normal. This morning when I started studio and tried to open the station this is the error I have. Any ide
RobotStudio .NET exception: End of Central Directory record could not be found.
============================================
Base exception: InvalidDataException
End of Central Directory record could not be found.
at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)
at RobotStudio.API.Persistence.PimDocument.LoadZip(Stream fileStream, Int64 fileSize, String docType, Boolean readOnly, Nullable`1 requiredGuid)
at RobotStudio.API.Persistence.PimDocument.InternalLoad(String fileName, String docType, Boolean readOnly, Nullable`1 requiredGuid)
at RobotStudio.API.Persistence.PimDocument.Load(String fileName, String docType, Boolean readOnly, Boolean allowExisting, Nullable`1 requiredGuid, ProgressNotification progressDelegate, Double progressStart, Double progressEnd)
at ABB.Robotics.RobotStudio.Stations.Station.Load(String fileName, Boolean asReadOnly, ProgressNotification progressDelegate, FileNotFoundNotification fileNotFoundDelegate, Boolean loadGeometry)
at ABBInternal.FileCommands.FileCommandServices.OpenStation(String fileName, Boolean loadGeometry)
at ABBInternal.FileCommands.RecentStationsCommandHandler.LoadRecentStationOrSolution(String fileName)
at RobotStudio.Backstage.BackstageRecent.btn_ExecuteCommand(Object sender, ExecuteCommandEventArgs e)
at ABB.Robotics.RobotStudio.Environment.CommandBarButton.<RaiseExecuteCommand>d__0.MoveNext()
RobotStudio .NET exception: End of Central Directory record could not be found.
============================================
Base exception: InvalidDataException
End of Central Directory record could not be found.
at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)
at RobotStudio.API.Persistence.PimDocument.LoadZip(Stream fileStream, Int64 fileSize, String docType, Boolean readOnly, Nullable`1 requiredGuid)
at RobotStudio.API.Persistence.PimDocument.InternalLoad(String fileName, String docType, Boolean readOnly, Nullable`1 requiredGuid)
at RobotStudio.API.Persistence.PimDocument.Load(String fileName, String docType, Boolean readOnly, Boolean allowExisting, Nullable`1 requiredGuid, ProgressNotification progressDelegate, Double progressStart, Double progressEnd)
at ABB.Robotics.RobotStudio.Stations.Station.Load(String fileName, Boolean asReadOnly, ProgressNotification progressDelegate, FileNotFoundNotification fileNotFoundDelegate, Boolean loadGeometry)
at ABBInternal.FileCommands.FileCommandServices.OpenStation(String fileName, Boolean loadGeometry)
at ABBInternal.FileCommands.RecentStationsCommandHandler.LoadRecentStationOrSolution(String fileName)
at RobotStudio.Backstage.BackstageRecent.btn_ExecuteCommand(Object sender, ExecuteCommandEventArgs e)
at ABB.Robotics.RobotStudio.Environment.CommandBarButton.<RaiseExecuteCommand>d__0.MoveNext()
1
Comments
-
Looks like the file is corrupt unfortunately.
What happens if you try to open the file in a zip tool (like 7zip)?Johannes Weiman
Software Engineer
RobotStudio Team, ABB Robotics0 -
I haven't tried yet, but I will. Thanks!0
-
Its a little late for scadkins, but maybe helps another people.
I had the same problem today, the archive .rsstn was corrupted, so i open the station not from it, but from StationBackups folder in Station folder.
1 -
Hello,RS should ask to open backup when main crash.0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings