Item image upload problem and non english character in page name

Hi all,
 I already sent this post to ERPNext Developer Forum but I did not get any answer. Maybe here is right pleace.

Queston 1: After I upload the item image in item page, there is no image file on image selection field. I got this error on my console:

Traceback (innermost last): File "lib/webnotes/handler.py", line 54, in uploadfile ret = webnotes.utils.file_manager.upload() File "lib/webnotes/utils/file_manager.py", line 26, in upload filedata = save_uploaded(dt, dn) File "lib/webnotes/utils/file_manager.py", line 35, in save_uploaded return save_file(fname, content, dt, dn) File "lib/webnotes/utils/file_manager.py", line 98, in save_file temp_fname = write_file(content, files_path) File "lib/webnotes/utils/file_manager.py", line 200, in write_file with open(fname, 'w+') as f: IOError: [Errno 13] Permission denied: u'/var/www/erpnext/public/files/1f47c94b8b8cce098735bf4133205e3cf6749cafb34a0f466f3679b4'

Questin 2: On website and shopping cart, Pagename is autogenerated by erpnext in all item group and items but there is problem with auto generate page name in non english character like "ü, ş, ğ, ö, ç,ı".

For example: İtem name is "Tuğla-çeşme" so page name should be "tugla-cesme".

How can we handle this non english character on page name? or change all non english character to english character?
ü>>u
ö>>o
ş>>s
ı>>i
ç>>c
ğ>>g

Thanks,

Ali



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/322349f7-bf8c-4328-ba57-d8ce41d5e1df%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Ali,

You can expect response for this issues on developer's forum. This forum is only for functional queries.


On Fri, Apr 4, 2014 at 12:40 PM, aliosman20 <at...@gmail.com> wrote:
Hi all,
I already sent this post to ERPNext Developer Forum but I did not get any answer. Maybe here is right pleace.

Queston 1: After I upload the item image in item page, there is no image file on image selection field. I got this error on my console:

Traceback (innermost last): File "lib/webnotes/handler.py", line 54, in uploadfile ret = webnotes.utils.file_manager.upload() File "lib/webnotes/utils/file_manager.py", line 26, in upload filedata = save_uploaded(dt, dn) File "lib/webnotes/utils/file_manager.py", line 35, in save_uploaded return save_file(fname, content, dt, dn) File "lib/webnotes/utils/file_manager.py", line 98, in save_file temp_fname = write_file(content, files_path) File "lib/webnotes/utils/file_manager.py", line 200, in write_file with open(fname, 'w+') as f: IOError: [Errno 13] Permission denied: u'/var/www/erpnext/public/files/1f47c94b8b8cce098735bf4133205e3cf6749cafb34a0f466f3679b4'

Questin 2: On website and shopping cart, Pagename is autogenerated by erpnext in all item group and items but there is problem with auto generate page name in non english character like "ü, ş, ğ, ö, ç,ı".

For example: İtem name is "Tuğla-çeşme" so page name should be "tugla-cesme".

How can we handle this non english character on page name? or change all non english character to english character?
ü>>u
ö>>o
ş>>s
ı>>i
ç>>c
ğ>>g

Thanks,

Ali



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/322349f7-bf8c-4328-ba57-d8ce41d5e1df%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.





Thanks and Regards,

Umair Sayyed
www.erpnext.com