peter.kober

Members
  • Content count

    5
  • Joined

  • Last visited

  • Days Won

    1
  1. How to Display HTML Link in Custom Attributes

    Thank you Mattias raising it with your team. FYI. The link would open a marmoset html website where u could tumble and inspect the model straight from the ftrack website. 😁 Let's hope that your team makes the html link markdown syntax happen soon. It looks like custom attributes already support markdown. It just doesn't display <a href http:.... Tags as links. That's all. Cheers
  2. Hi, I would like to create a 'Custom Attribute' which displays as an HTML link similar to the already existing 'Version Link' which you guys provide by default. I tried the html markdown syntax but it is not working out for me and ftrack is only displaying formatted string as a 'text only' I did a quick mockup screenshot of what I am trying to achieve ... cheers, Peter
  3. ftrack_api InsecureRequestWarning

    In case one can not install packages you can ignore the error this way: import requests.packages.urllib3requests.packages.urllib3.disable_warnings()
  4. Errors in provided dropbox_accessor.py by ftrack?

    Never mind. I got it sorted. I adjusted your code by taking out self.client.connect(access_token) and putting new_client instead. from dropbox.client import DropboxClientnew_client = DropboxClient('6oxM_7NTdfMHJGjhgkjhfkjgfhg....')class DropboxAccessor(ftrack.Accessor): '''Provide Dropbox access to a location.''' def __init__(self, access_token, **kwargs): self.client = new_client # self.client.connect(access_token) super(DropboxAccessor, self).__init__(**kwargs)...
  5. Hi, I am trying to run the provided example of the dropbox_accessor.py in the docs but getting error upon execution. All ftrack and dropbox module load fine. There is some problem with None in self.client of the dropbox_accessor.py When I try to run following: python interpreter: > access_token = u'6oxM_7NTdfMAAAAAAAAkadsfasdgfasgasdg...'> accessor = DropboxAccessor(access_token) I get Result: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "dropbox_accessor.py", line 52, in __init__ self.client.connect(access_token)AttributeError: 'NoneType' object has no attribute 'connect' In the dropbox_accessor.py we find self.client = None ...That seems to be the source for the error. Any ideas of how to exectute the example code in dropbox_accessor.py provided by ftrack without errors? What am I missing? Excerpt from the dropbox_accessor.py :...class DropboxAccessor(ftrack.Accessor): '''Provide Dropbox access to a location.''' def __init__(self, access_token, **kwargs): self.client = None self.client.connect(access_token) super(DropboxAccessor, self).__init__(**kwargs) thanks Peter