Comments (7)
For what it's worth, triggering an update fixes these permission issues on uploaded datasets. Uploading new sets still exhibit the same problem. I'm guessing that the process that saves the uploaded files is saving the files with permissions that the next part of the process (upload to node) isn't able to read and running the update does a global permission fix. Have been too busy to dig into it lately but will do if I get some time soon.
from nodemicmac.
Thanks. Can you provide some more details on the number of images/etc? Did you try uploading the same image set directly to the NodeMICMAC API at port 3000? Did that work?
from nodemicmac.
This is probably a problem with WebODM. Make sure to update to the latest version (1.1.0) and try again, since we fixed some race conditions bug since.
from nodemicmac.
Updated to: App Version: 1.1.0
Sadly the problem still exists, even with a brand new project and dataset.
from nodemicmac.
Well, this is interesting. Had a scoot through /var/log/messages and found this:
Jun 28 19:54:54 proc-dev.nwk1.com webodm.sh: #033[35mworker |#033[0m
Jun 28 19:54:54 proc-dev.nwk1.com journal: File "/usr/local/lib/python3.6/site-packages/pyodm/api.py", line 378, in create_task
Jun 28 19:54:54 proc-dev.nwk1.com journal: raise nonloc.error
Jun 28 19:54:54 proc-dev.nwk1.com journal: File "/usr/local/lib/python3.6/site-packages/pyodm/api.py", line 299, in worker
Jun 28 19:54:54 proc-dev.nwk1.com journal: 'images': [(os.path.basename(file), read_file(file), (mimetypes.guess_type(file)[0] or "image/jpg"))]
Jun 28 19:54:54 proc-dev.nwk1.com journal: File "/usr/local/lib/python3.6/site-packages/pyodm/api.py", line 281, in read_file
Jun 28 19:54:54 proc-dev.nwk1.com journal: with open(file_path, 'rb') as f:
Jun 28 19:54:54 proc-dev.nwk1.com journal: PermissionError: [Errno 13] Permission denied: '/webodm/app/media/project/13/task/7af86ef2-346b-4657-b9bc-da6cbe724e0a/1CD26242_987A_11E9_8009_064DA8AAA1DE.jpg'
Jun 28 19:54:54 proc-dev.nwk1.com journal:
Jun 28 19:54:54 proc-dev.nwk1.com journal: [2019-06-28 07:54:54,653: ERROR/ForkPoolWorker-8] worker.tasks.process_task[4ae2d0ec-4813-462f-9ff5-d775aa70f777]: Uncaught error! This is potentially bad. Please report it to http://github.com/OpenDroneMap/WebODM/issues: [Errno 13] Permission denied: '/webodm/app/media/project/13/task/7af86ef2-346b-4657-b9bc-da6cbe724e0a/1CD26242_987A_11E9_8009_064DA8AAA1DE.jpg' Traceback (most recent call last):
Jun 28 19:54:54 proc-dev.nwk1.com journal: File "/webodm/worker/tasks.py", line 103, in process_task
Jun 28 19:54:54 proc-dev.nwk1.com journal: task.process()
Jun 28 19:54:54 proc-dev.nwk1.com journal: File "/webodm/app/models/task.py", line 457, in process
Jun 28 19:54:54 proc-dev.nwk1.com journal: uuid = self.processing_node.process_new_task(images, self.name, self.options, callback)
Jun 28 19:54:54 proc-dev.nwk1.com journal: File "/webodm/nodeodm/models.py", line 119, in process_new_task
Jun 28 19:54:54 proc-dev.nwk1.com journal: task = api_client.create_task(images, opts, name, progress_callback)
Jun 28 19:54:54 proc-dev.nwk1.com journal: File "/usr/local/lib/python3.6/site-packages/pyodm/api.py", line 378, in create_task
Jun 28 19:54:54 proc-dev.nwk1.com journal: raise nonloc.error
Jun 28 19:54:54 proc-dev.nwk1.com journal: File "/usr/local/lib/python3.6/site-packages/pyodm/api.py", line 299, in worker
Jun 28 19:54:54 proc-dev.nwk1.com journal: 'images': [(os.path.basename(file), read_file(file), (mimetypes.guess_type(file)[0] or "image/jpg"))]
Jun 28 19:54:54 proc-dev.nwk1.com journal: File "/usr/local/lib/python3.6/site-packages/pyodm/api.py", line 281, in read_file
Jun 28 19:54:54 proc-dev.nwk1.com journal: with open(file_path, 'rb') as f:
Jun 28 19:54:54 proc-dev.nwk1.com journal: PermissionError: [Errno 13] Permission denied: '/webodm/app/media/project/13/task/7af86ef2-346b-4657-b9bc-da6cbe724e0a/1CD26242_987A_11E9_8009_064DA8AAA1DE.jpg'
Jun 28 19:54:54 proc-dev.nwk1.com journal:
[root@proc-dev ~]# ll /webodm
ls: cannot access /webodm: No such file or directory
This is a Docker install, it has never been a native install, so it's puzzling as to why it's looking for that directory. This doesn't explain why some begin processing though. Very strange.
from nodemicmac.
Looks like @pierotofy is aware and on it. It seems like a webodm or webodm vs nodemicmac integration issue. Thanks
from nodemicmac.
Reopen if still an issue
from nodemicmac.
Related Issues (20)
- NodeMicMac terminates with Error in /var/www/micmac/src/util/stringifie.cpp line 417 HOT 7
- ERROR: unauthorized: authentication required HOT 4
- Error lack of GPS Data? HOT 5
- Could not load point cloud HOT 18
- Processing instantly fails with error: Could not start process (spawn /code/run.sh ENOENT) HOT 3
- Ran out of storage space HOT 3
- Only one CPU is used HOT 8
- An orthophoto could not be generated. To generate one, make sure GPS information is embedded in the EXIF tags of your images, or use Ground Control Points (GCP) file HOT 10
- ERROR 6: zoom_level > 22 not supported HOT 8
- Error immediately at the start of processing HOT 6
- Micmac odm_georeferenced_model.ply model not displaying HOT 1
- NodeMICMAC fails after data load: "Could not start process (spawn /code/run.sh ENOENT)" HOT 1
- Adapt NodeMicMac for python3 HOT 5
- An orthophoto could not be generated. To generate one, make sure GPS information is embedded in the EXIF tags HOT 8
- View 3D model does not show anything HOT 3
- Docker image automation HOT 2
- Separate build of MicMac to NodeMicMac : faster creation. Avoid GH-A timeout for ARM64 #NodeMicMac HOT 1
- Entwine crash HOT 2
- Build instructions are incorrect HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodemicmac.