Forum

Author Topic: Export othoimage error when replacing previous file  (Read 6351 times)

Gall

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Export othoimage error when replacing previous file
« on: December 16, 2015, 05:19:59 PM »
In version 1.2.1, an error is displayed after exporting a orthoimage to rewrite a previous export.
Code: [Select]
Error: Can't write image: /path/to/file.tifBut the exported file is actually written.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15029
    • View Profile
Re: Export othoimage error when replacing previous file
« Reply #1 on: December 17, 2015, 01:36:12 PM »
Hello Gall,

We weren't able to reproduce the problem.

Maybe you have the orthomosaic opened in another application when trying to export to the same file?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Gall

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Re: Export othoimage error when replacing previous file
« Reply #2 on: December 17, 2015, 01:43:20 PM »
No I don't have the orthomosaic opened in anything. I'm using the linux version inside Virtual Box and write results in a shared folder (Windows host).

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15029
    • View Profile
Re: Export othoimage error when replacing previous file
« Reply #3 on: December 17, 2015, 06:21:12 PM »
Seems strange, have tried under both Windows and Linux and got no issues with overwriting. I'll also check on the virtual machine.

Could you please specify if you can reproduce this issue on any project with any export filename?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Gall

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Re: Export othoimage error when replacing previous file
« Reply #4 on: December 18, 2015, 12:16:49 PM »
Ok I just ran some more tests on a different project, same issue. But it only happens when saving on the shared folder so it might be a issue with my version of Virtual Box (I had issues of this kind with mmap function, I guess you might have changed the way you save it perhaps).

I noticed another writting issue when trying to save a new project from Python. If I create a new psx project I get this error.
Code: [Select]
>>> doc.save('project.psx')
False

2015-12-18 09:53:31 Saving project...
2015-12-18 09:53:31 Finished processing in 0.000361 sec (exit code 0)
2015-12-18 09:53:31 Error: Can't save project
No project file is written and it only happens if I save it on the VM. Works ok if I save it from the GUI or to the windows shared folder.

I also had this error but can't reproduce it.
Code: [Select]
2015-12-17 15:48:33 Saving project...
2015-12-17 15:48:35 saved project in 0.835446 sec
2015-12-17 15:48:35 Finished processing in 0.835703 sec (exit code 1)
2015-12-17 15:48:35 Loading project...
2015-12-17 15:48:35 Finished processing in 0.0776 sec (exit code 0)
2015-12-17 15:48:35 Error: Disk IO error