2 Komitmen 77281bb1b2 ... f4581da350

Pembuat SHA1 Pesan Tanggal
  www-data f4581da350 speriamo_2 2 tahun lalu
  www-data e261f9235e speriamo 2 tahun lalu
6 mengubah file dengan 43 tambahan dan 0 penghapusan
  1. 1 0
      .gitignore
  2. 13 0
      app.log
  3. 7 0
      app.wsgi
  4. 0 0
      requirements.txt
  5. 11 0
      samples/RDF/AR20IMR_Datini.ttl
  6. 11 0
      samples/RDF/bibD.ttl

+ 1 - 0
.gitignore

@@ -1,3 +1,4 @@
 fvenv/*
 __pycache__
+venv/*
 .vscode/*

+ 13 - 0
app.log

@@ -0,0 +1,13 @@
+2022-10-18 13:25:58,412 Exception on / [POST]
+Traceback (most recent call last):
+  File "/var/www/html/Semantization_Interface/venv/lib/python3.8/site-packages/flask/app.py", line 2525, in wsgi_app
+    response = self.full_dispatch_request()
+  File "/var/www/html/Semantization_Interface/venv/lib/python3.8/site-packages/flask/app.py", line 1822, in full_dispatch_request
+    rv = self.handle_user_exception(e)
+  File "/var/www/html/Semantization_Interface/venv/lib/python3.8/site-packages/flask/app.py", line 1820, in full_dispatch_request
+    rv = self.dispatch_request()
+  File "/var/www/html/Semantization_Interface/venv/lib/python3.8/site-packages/flask/app.py", line 1796, in dispatch_request
+    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
+  File "/var/www/html/Semantization_Interface/app.py", line 47, in main
+    return redirect(url_for('error'))
+NameError: name 'url_for' is not defined

+ 7 - 0
app.wsgi

@@ -0,0 +1,7 @@
+import sys
+import logging
+
+logging.basicConfig(level=logging.DEBUG, filename='/var/www/html/Semantization_Interface/app.log', format='%(asctime)s %(message)s')
+sys.path.insert(0, '/var/www/html/Semantization_Interface')
+sys.path.insert(0, '/var/www/html/Semantization_Interface/venv/lib/python3.8/site-packages')
+from app import app as application

+ 0 - 0
requirements.txt


+ 11 - 0
samples/RDF/AR20IMR_Datini.ttl

@@ -0,0 +1,11 @@
+@prefix mpp: <https://palazzopretorio.prato.it/it/le-opere/alcuni-capolavori/> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix aut: <https://palazzopretorio.prato.it/it/opere/autori/> .
+@prefix crm: <http://www.cidoc-crm.org/cidoc-crm/> .
+@prefix aat: <http://vocab.getty.edu/aat/> .
+@prefix schema: <http://www.schema.org/> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix aspo: <http://www.archiviodistato.prato.it/accedi-e-consulta/aspoMV001/scheda/> .
+

+ 11 - 0
samples/RDF/bibD.ttl

@@ -0,0 +1,11 @@
+@prefix mpp: <https://palazzopretorio.prato.it/it/le-opere/alcuni-capolavori/> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix aut: <https://palazzopretorio.prato.it/it/opere/autori/> .
+@prefix crm: <http://www.cidoc-crm.org/cidoc-crm/> .
+@prefix aat: <http://vocab.getty.edu/aat/> .
+@prefix schema: <http://www.schema.org/> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix aspo: <http://www.archiviodistato.prato.it/accedi-e-consulta/aspoMV001/scheda/> .
+