seafile4.3.1 + Windows Server +mysql deployment record (3)

Source: Internet
Author: User

found that this version of the group from the other system to show the list of Chinese characters (not measured in Linux), so simply change it yourself

seahub\thirdpart\seaserv\service.py

# groupdef get_group (group_id):     #group_id_int  = int (group_id)       "" "    try:        group =  ccnet_threaded_rpc.get_group (Group_id_int)     except SearpcError:         group = None     "" "         try:        from django.db import  connection        cursor = connection.cursor ()          sql = "Select distinct g.group_id ,g.group_name, g.creator_name,g.timestamp from  ' ccnet-db ', ' Group '  g where g.group_id =%s '                  cursor.execute (SQL,  [GROUP_ID]) &nbsP;       group = cursor.fetchone ()          return  dbgroup (group[0],group[1],group[2],group[3])     except  exception,e:        logger.error (e)     # Return group    return none

There are many other similar changes.

seafile4.3.1 + Windows Server +mysql deployment record (3)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.