Bugs item #3031529, was opened at 2010-07-19 13:58 Message generated for change (Comment added) made by shcheklein You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=713730&aid=3031529&group_id=129076
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: Sedna (development) Status: Open Resolution: Accepted Priority: 3 Private: No Submitted By: chun chen (goodluckfish) Assigned to: Ivan Shcheklein (shcheklein) Summary: Error SE4211 under path with 2 bytes characters Initial Comment: version of Sedna - 3.3.55 operating system version - Windows 5.1.2600 (SP3.0) x86 When trying to create a database under path with 2 bytes characters, I got the ERROR SE4211. 2 bytes characters means Chinese or Japanese characters. Command lines : E:\publish\版本发布\sedna\bin>se_gov GOVERNOR has been started in the background mode E:\publish\版本发布\sedna\bin>se_cdb aaa Creating a data base (it can take a few minutes)... SEDNA Message: ERROR SE4211 Failed to create the database Details: aaa Cannot complete cleanup. Please stop Sedna and remove the following: file - /cfg/aaa_cfg.xml folder - /data/aaa_files Sorry for inconvenience. E:\publish\版本发布\sedna\bin> ---------------------------------------------------------------------- Comment By: Ivan Shcheklein (shcheklein) Date: 2010-10-02 02:08 Message: Lance, why do you think that your problem is the same? Please contact us on [email protected] or sedna discussion list. We'll try to help you. ---------------------------------------------------------------------- Comment By: http://lance.vaughn.myopenid.co () Date: 2010-10-02 01:39 Message: I have received a similar error after installing via binaries on Mac OS 10.6.4. Upon issuing the following command: se_cdb xxx ... SEDNA Message: ERROR SE4040 Can't create file Details: database configuration file Cannot complete cleanup. Please stop Sedna and remove the following: file - /cfg/xxx_cfg.xml folder - /data/xxx_files Sorry for inconvenience. I have executed chown on data and cfg directories. Should I build from source? Thanks, Lance ---------------------------------------------------------------------- Comment By: Ivan Shcheklein (shcheklein) Date: 2010-07-19 16:55 Message: Hi Chun, This is a known limitation of Sedna. For the moment the only workaround is to use ASCII chars in path. Technical comments for developers for further work on this issue: 1. On windows seems we have to define UNICODE (see MSND, Conventions for Function Prototypes) and use wchar* for all system calls. Everywhere we need we should translate Sedna's UTF-8 strings (like SEDNA_DATA) -> wchar and backward. 2. On windows we should also explicitly use _wfopen instead of fopen, etc ... 3. On Linux there is no "wfopen()" (just plain old "fopen()" will suffice), but there *are* Unicode equivalents for each of the file read and write APIs. Should we use them? 4. We should also check other supported platforms - OS X, Solaris, BSD. 5. As a temporary fix probably we may raise some exception on se_gov if there are non ASCII chars? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=713730&aid=3031529&group_id=129076 ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Sedna-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sedna-discussion
