Comments (8)
@ccfiel can you send us traceback it will help us to debug
from frappe-attachments-s3.
@jvfiel can you tell us how you are sending an attachment?
from frappe-attachments-s3.
@shridarpatil via ERPNext compose mail
from frappe-attachments-s3.
@jvfiel can you send a screenshot?
from frappe-attachments-s3.
Hello @shridarpatil
I made a screen record.
Hope that helps
Cheers,
Chris
from frappe-attachments-s3.
@shridarpatil this is the traceback
File "/home/frappe/tailerp02/apps/frappe/frappe/app.py", line 62, in application
response = frappe.handler.handle()
File "/home/frappe/tailerp02/apps/frappe/frappe/handler.py", line 22, in handle
data = execute_cmd(cmd)
File "/home/frappe/tailerp02/apps/frappe/frappe/handler.py", line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/home/frappe/tailerp02/apps/frappe/frappe/__init__.py", line 939, in call
return fn(*args, **newargs)
File "/home/frappe/tailerp02/apps/frappe/frappe/core/doctype/communication/email.py", line 86, in make
add_attachments(comm.name, attachments)
File "/home/frappe/tailerp02/apps/frappe/frappe/core/doctype/communication/email.py", line 410, in add_attachments
"Home/Attachments", attach.is_private)
File "/home/frappe/tailerp02/apps/frappe/frappe/utils/file_manager.py", line 102, in save_url
f.insert();
File "/home/frappe/tailerp02/apps/frappe/frappe/model/document.py", line 242, in insert
self.run_method("after_insert")
File "/home/frappe/tailerp02/apps/frappe/frappe/model/document.py", line 757, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "/home/frappe/tailerp02/apps/frappe/frappe/model/document.py", line 1026, in composer
return composed(self, method, *args, **kwargs)
File "/home/frappe/tailerp02/apps/frappe/frappe/model/document.py", line 1011, in runner
add_to_return_value(self, f(self, method, *args, **kwargs))
File "/home/frappe/tailerp02/apps/frappe_s3_attachment/frappe_s3_attachment/controller.py", line 188, in file_upload_to_s3
file_path, doc.file_name, doc.is_private, parent_doctype, parent_name
File "/home/frappe/tailerp02/apps/frappe_s3_attachment/frappe_s3_attachment/controller.py", line 90, in upload_files_to_s3_with_key
mime_type = magic.from_file(file_path, mime=True)
File "/home/frappe/tailerp02/env/local/lib/python2.7/site-packages/magic.py", line 136, in from_file
return m.from_file(filename)
File "/home/frappe/tailerp02/env/local/lib/python2.7/site-packages/magic.py", line 86, in from_file
with open(filename):
IOError: [Errno 2] No such file or directory: u'./wela.tailerp.com/api/method/frappe_s3_attachment.controller.generate_file?key=wela/2018/11/09/Salary Slip/CZDPK3IZ_pc2f0e9b' ```
from frappe-attachments-s3.
Hello @shridarpatil any idea what cause this? :)
from frappe-attachments-s3.
Facing the same issue, any update on the same??
from frappe-attachments-s3.
Related Issues (20)
- Is this app still being maintained? We can help. HOT 1
- Migrating existing files failing HOT 2
- Attach field not displaying correctly
- Company uploaded Image not showing
- Why year/month/day? HOT 4
- Cannot run this app in erpnext v12 HOT 1
- Boto3 outdated HOT 3
- Got error when attachment is private on the dialog HOT 1
- Error: Document has been modified after you have opened it . Please refresh to get the latest document.
- Reload File document after S3 Upload HOT 1
- Boto version required by s3_attachments is incompatible with boto version required by frappe 15 dev
- How do we restore existing files from S3 to frappecloud? HOT 3
- Timestamp mismatch error on uploading file in Patient table HOT 1
- while migrating existing files HOT 1
- frappe_docker unable to upload files to s3 bucket with no error logs
- on site installation it gives error : cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py) HOT 2
- prepared report fails HOT 6
- Attach a PDF file and try to open it, it fails HOT 10
- doc with attachment is cancelled , on amend it gives error HOT 1
- attach file to data import : it gives error 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 frappe-attachments-s3.