Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File contains invalid characters that can not be synced cross plattform #8217

Closed
ferdiga opened this issue Apr 15, 2014 · 9 comments
Closed
Labels

Comments

@ferdiga
Copy link

ferdiga commented Apr 15, 2014

Hello

I saved an EMail xxx.eml and got the above massage in the log
the mail has charset="iso-8859-1"

IMO

  1. show the invalid character(s) in the error log
  2. tell the user that the file is NOT synced to the server (red own cloud icon or exclamation mark instead of "green checked")
    currently the file is quietly NOT uploaded.
  3. propose a solution

desktop 1.5 on ubuntu 13.10
server 6.0.2 on debian 6

@PVince81
Copy link
Contributor

Was the file name "xxx.eml" ? The charset of the content itself shouldn't matter.

@ferdiga
Copy link
Author

ferdiga commented Apr 29, 2014

yes the "xxx" was obvious something more meaningful

@PVince81
Copy link
Contributor

Would be good to know what these special characters were.
Or were they wrongly encoded UTF-8 chars ? Or ISO encoded chars that were interpreted as UTF-8 ?

@ferdiga
Copy link
Author

ferdiga commented Apr 29, 2014

that's what I suggested - print the invalid characters in the error message

@PVince81
Copy link
Contributor

I was rather asking whether you could post the name of that file or at least the part that you believe contains the invalid characters.
We need a test case to be able to reproduce this issue to be able to fix it. I'm not sure where to put the check as I'm not sure what kind of invalid character issue it is and in what part of the code it happens.

Can you also post your owncloud.log and error log ? (ideally you should use the issue template to provide enough information: https://raw.github.com/owncloud/core/master/issue_template.md)

Thanks.

@ferdiga
Copy link
Author

ferdiga commented Apr 29, 2014

can I send / share the file with you - as it contains some company data not to be published

@PVince81
Copy link
Contributor

No worries, I understand. You can send me details at pvince81@owncloud.com

@PVince81
Copy link
Contributor

Please also include logs with error messages (feel free to blank out private data), it will save some time to find out what's going on, thanks.

@PVince81
Copy link
Contributor

Ok, I've got your email. The character in question is the colon (":") and this message is shown by the sync client. I raised an issue in the sync client's repo to improve the error message: owncloud/client#1733

@lock lock bot locked as resolved and limited conversation to collaborators Aug 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants