Issues with the TUdatalib REST interface

Using the REST interface is useful if you want to upload many files or directly from the Lichtenberg cluster.

This article is not designed as a tutorial, but only to help you, when you get stuck in the processes described in the detailed guide (actually for administrators).

Finding the Dataset ID

To find the DataSet ID of your item, click edit (see our main TUdatalib-article). Find the Dataset ID at A. Edit Item: ID

Error: lxml not found

You could encounter following error message:

> from bs4 import BeautifulSoup
> pip3 install --user beautifulsoup4

bs4.FeatureNotFound: CouldnĀ“t find a tree builder with the features you requested: lxml. Do you need to install a parser library?

Solution

Install lxml in your local user

> pip3 install --user lxml

# test, if your solution did work:
> python3 test_login.py

# if successful:
Hello XXX YYY, welcome to TUdatalib REST!

See also