Code Monkey home page Code Monkey logo

alfresco-api-python-examples's Introduction

Howdy, folks ๐Ÿ‘‹

I used to implement custom solutions as part of my consulting company, Metaversant. Those solutions usually involved content management, search, and workflow technology. I've also written blog posts, tips, and tutorials at ECM Architect and a couple of books. You can follow me on Twitter and YouTube.

These days I work for Apple, and they've got pretty tight restrictions on what I can do with my open source projects, so feel free to log issues, create pull requests, and fork these projects to keep them moving forward without me for now.

alfresco-api-python-examples's People

Contributors

jpotts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kikou2016

alfresco-api-python-examples's Issues

Unable to upload documents to Alfresco CMIS

Hi I am trying to load documents into Alfreso CMIS and I am getting this following error-

Python 3

from cmislib.model import CmisClient

FILE = '/home/monu/Fair-Work-Information-Statement.pdf'
file = open(FILE, 'rb')
fileName = file.name.split('/')[-1]
doc = None
FILE_TYPE = 'application/pdf'

try:
    doc = archive_folder_2.createDocument(str(fileName), contentFile=file, contentType=str(FILE_TYPE))
    print(f'Create Document { doc.id}')
except Exception as e:
    print(e)
    
file.close()

ERROR - 'bytes' object has no attribute 'encode'

Python 2.7

ERROR - Unable to parse non-GMT values at this stage

Not able to understand what is exactly wrong, as even .txt files are not getting uploaded. Can you help me to understand this error. Any hint would be highly appreciated. I am working on Mac OS.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.