Opened 10 years ago

Closed 7 years ago

#2821 closed defect (fixed)

Library Save Bug

Reported by: sanjay9591@… Owned by: somebody
Priority: high Milestone: 1.12.0
Component: *unknown* Version: trunk
Keywords: Cc:

Description

Hi. Consider the following scenario that I did.

  1. Load a Library in OMEdit, say VehicleInterfaces for example.
  2. I change something in the script view and save the library.
  3. I get the following errors for all the packages, I believe

Error: Expected the package to have within ; but got within VehicleInterfaces.Roads;.

  1. I unload and try to load the library again and I get the following error.

[C:\Users\SMM\Desktop\M2P\/VehicleInterfaces/package.order:0:0-0:0] Error: The same class is defined in multiple files:
..\VehicleInterfaces\UsersGuide.mo,..\VehicleInterfaces\UsersGuide\package.mo,..\VehicleInterfaces\Types.mo,..\VehicleInterfaces\Types\package.mo,..\VehicleInterfaces\Transmissions.mo,..\VehicleInterfaces\Transmissions\package.mo,..\VehicleInterfaces\Roads.mo,..\VehicleInterfaces\Roads\package.mo,..\VehicleInterfaces\PowertrainMounts.mo,..\VehicleInterfaces\PowertrainMounts\package.mo,..\VehicleInterfaces\Mechanics.mo,..\VehicleInterfaces\Mechanics\package.mo,..\VehicleInterfaces\Interfaces.mo,..\VehicleInterfaces\Interfaces\package.mo,..\VehicleInterfaces\Icons.mo,..\VehicleInterfaces\Icons\package.mo,..\VehicleInterfaces\Examples.mo,..\VehicleInterfaces\Examples\package.mo,..\VehicleInterfaces\Engines.mo,..\VehicleInterfaces\Engines\package.mo,..\VehicleInterfaces\EnergyStorage.mo,..\VehicleInterfaces\EnergyStorage\package.mo,..\VehicleInterfaces\ElectricDrives.mo,..\VehicleInterfaces\ElectricDrives\package.mo,..\VehicleInterfaces\Drivers.mo,..\VehicleInterfaces\Drivers\package.mo,..\VehicleInterfaces\DriverEnvironments.mo,..\VehicleInterfaces\DriverEnvironments\package.mo,..\VehicleInterfaces\Drivelines.mo,..\VehicleInterfaces\Drivelines\package.mo,..\VehicleInterfaces\DataDictionaries.mo,..\VehicleInterfaces\DataDictionaries\package.mo,..\VehicleInterfaces\Controllers.mo,..\VehicleInterfaces\Controllers\package.mo,..\VehicleInterfaces\Chassis.mo,..\VehicleInterfaces\Chassis\package.mo,..\VehicleInterfaces\Brakes.mo,..\VehicleInterfaces\Brakes\package.mo,..\VehicleInterfaces\Blocks.mo,..\VehicleInterfaces\Blocks\package.mo,..\VehicleInterfaces\Atmospheres.mo,..\VehicleInterfaces\Atmospheres\package.mo,..\VehicleInterfaces\Accessories.mo,..\VehicleInterfaces\Accessories\package.mo.

Version used : OpenModelica 1.9.1 Beta2 (r19512) (RML version)

Change History (8)

comment:1 by Martin Sjölund, 10 years ago

Milestone: 1.9.11.9.2

This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).

comment:2 by Martin Sjölund, 10 years ago

Milestone: 1.9.21.9.3

Milestone changed to 1.9.3 since 1.9.2 was released.

comment:3 by Martin Sjölund, 9 years ago

Milestone: 1.9.31.9.4

Moved to new milestone 1.9.4

comment:4 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.5

Milestone pushed to 1.9.5

comment:5 by Martin Sjölund, 9 years ago

Milestone: 1.9.51.10.0

Milestone renamed

comment:6 by Martin Sjölund, 8 years ago

Milestone: 1.10.01.11.0

Ticket retargeted after milestone closed

comment:7 by Martin Sjölund, 8 years ago

Milestone: 1.11.01.12.0

Milestone moved to 1.12.0 due to 1.11.0 already being released.

comment:8 by Francesco Casella, 7 years ago

Resolution: fixed
Status: newclosed

This type of problems should have been fixed long time ago. Please reopen the ticket if you still see problems.

Note: See TracTickets for help on using tickets.