more updates
This commit is contained in:
1 parent
700c927cd8
commit
52f7b9abf0
9 files changed
+2177
-12
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1 @@
|
||||
[{"id_text": "P522614", "project_name": "atae/burmarina", "raw_text": "Fingernail of Babil\u0101yu, owner of the men being sold. [...]-S\u0113\u02be (and) [...]mu [...] The money is paid completely. These men are purchased and acquired. There will be no revocation, lawsuit, or litigation. Whoever in the future, at any time breaks the contract, whether Babil\u0101yu or his sons or his grandsons, and [seeks] a lawsuit or ltigation against Kubaba-l\u012bdi or his sons or his grandsons [...] Month [..., ...]th [day], eponym year of At\u0101r-[il\u012b] (673 BC). Witness [...]p\u00e2, chariot driver. Witness [...]gu\u1e2b\u1e2bab[...]. Witness Nergal-lamur. Witness Bas\u00ee, [...]. Witness Nab\u00fb-na\u02bedi, [...]. Witness [...]aya, [...]. Witness [...]ub-Kubaba, [...]. Witness [...]\u1e63ibu, [...]. Witness [...]-lamur, [...]."}, {"id_text": "P522615", "project_name": "atae/burmarina", "raw_text": "his [two] sons, in total, six people \u2013 Kubaba-l\u012bdi has contracted and acquired (them) from Babil\u0101yu for [x] minas and seven shekels of silver. [The mone]y is pa[id] completely. [The people] are pu[rchased and acquired]. Witness [...]. Witness S\u0113\u02be-[...]. Witness [...]. Witness [...]. Witness [...]."}, {"id_text": "P522616", "project_name": "atae/burmarina", "raw_text": "[Seal of ...], owner of the field being sold. [An estate of ... em\u0101ru belonging to these] me[n, ...] ... [...] \u2013 Kubaba-[gamil has] contracted [and] acqu[ired (it) for ...] minas (and) fifty shekels of [silver]. The money is pa[id comple]tely. [Th]is [field] is purchased [and acquired]. There will be no [revocation], law[suit], or litigation. Whoever [in the fu]ture, [at any ti]me breaks the cont[ract, wheth]er these men [or their sons or the]ir [grand]sons or [their] bro[thers or the]ir [brothers' sons], (and) [se]e[ks] a lawsu[it or ltigation against Kubaba-ga]mil or his sons or [his grandsons or] his brothers [or his brothers' sons or] the mayor of his city, shall giv[e] twenty minas of refined silver and [ten] minas of pure gold [to] Kubaba, who resides in Carchemesh; [he shall giv]e [the money tenfo]ld [to its owners]; he shall litigate in his [law]suit [and not] succeed. Witness S\u0113\u02be-\u1e2biari. Witness Na[...]. Witness Abu-dileni. Witness [...]l\u00ee. [Witness ...]. Witness Mannu-k\u012b-[...]. Witness Inurta-balli\u1e6d, [...]. Witness [...]b\u00e2. Witness [...]. Witness [Di]d\u00ee. Witness A[...]. [Witness] Gabbu-\u0101mur. [Witness] Ubru-Apladad."}, {"id_text": "P522617", "project_name": "atae/burmarina", "raw_text": "Fingernail of Taqqin-D\u0101di, son of [...], the owner of [the female slave being sold]. The woman [...], slave woman of Taqqin-D\u0101di \u2013 [PN\u2081] has [contracted and] ac[quired] (her) fo[r ... shekels/minas of silver. The money is paid completely. Th]is [slave woman] is purch[ased] (and) acquired. There will be no revocation, lawsuit, or litigation. Whoever in the future, at any ti[me], transgresses, s[hall give] twenty minas of silver; he shall litigate in [his] lawsuit [and] not [su]cceed; [he shall give the money tenfold] to [its] owners. Witness D\u0101d\u00ee. Witness S\u0113\u02be-b\u0113l-a\u1e2b\u1e2b\u0113. Witness S\u0113\u02be-[...]. Witness Ubru-S\u0113[\u02be]. Witness S\u0113\u02be-s\u016bru, priest. Witness Abd\u00e2, priest. Witness [...]. Witness [...]. Month Abu (V), 13th day, eponym year of At\u0101r-il\u012b (673 BC)."}, {"id_text": "P522618", "project_name": "atae/burmarina", "raw_text": "Seal of \u0160umma-abu, [chariot] owner. Seal of Sebi\u02be, [chariot] maker. Seal of Nergal-r\u0113manni, chariot driver. Seal of Amar-D\u0101di, ditto. Seal of Nab\u00fb-l\u0101din, [son of ...]ni. Seal of \u0160ama\u0161-a\u1e2bu-u\u1e63ur, [son of ...]ay[u]. Seal of Issar-uk\u012bn, [...]. Seal of At\u0101r-s\u016b[ri, ...]. [Witness] \u0160ama\u0161-na\u02bedi. [Witness ...]ani. [Witness] S\u0113\u02be-guppu. [Witness Man]nu-k\u012b-a\u1e2b\u012b, son of [...]ki. [Witness ...]d\u00fb, son of Urdu-D\u0101di. [Whoever] breaks the contract, shall give [...] white horses [to the la]p of S\u00een. Witness Nab\u00fb-iqbi, scribe."}, {"id_text": "P522619", "project_name": "atae/burmarina", "raw_text": "[Fingernail of ...], ditto of [..., fingernail of ...], ditto of \u0160ulu[...], fingernail of ...], ditto of [..., fingernail of ...]aya, ditto of [..., fingernail of ...]dia, [... In total, ... sons of] Eda[..., the owners of the peopl]e being sold. [...], his [wife], a baby, [...] ..., [...]ab, his sister, [...], Bel-\u1e2aarr\u0101n-dab\u0101ya, [..., ...]gi,"}, {"id_text": "P522620", "project_name": "atae/burmarina", "raw_text": "Seal of Kubaba-[...]. Seal of Abu-[...]. [Witness ...], son of S\u0113]\u02be-\u0161i\u02be[i]. [Witness ..., son of] Abqal\u0101[nu]. [Witness ...], scribe. [Witness ..., son of A]t\u0101r-l\u0101[mur]. [Witness ..., son] of At\u0101r-[...]. Witness S\u0113\u02be-[...]. Witness Lis\u00ee from the village [...]."}, {"id_text": "P522Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
[{"id_text": "P261352", "project_name": "babcity", "raw_text": "[1 1/2 minas of silver, the house rent from the 1st year] of Darius the king belonging to Bel-ittannu, son of Enlil-uballi\u1e6d, which was at the disposal of Tirirakamma, household dependent of Enlil-\u0161um-iddin \u2013 Ninurta-ahu-u\u1e63ur, servant of Bel-ittannu, received (it) from Tirirakamma; he is paid. Ninurta-ahu-u\u1e63ur shall register (the payment of) silver amounting to 1 1/2 minas, house rent from the 1st year, with Bel-ittannu and he shall give (the proof of it) to Tirirakamma. Witnesses: Ninurta-gamil, son of Tattannu; Ninurta-iddin, son of Ka\u1e63ir; Bala\u1e6du, son of Ninurta-gamil; Nabu-ku\u1e63ur\u0161u, son of Enlil-uballi\u1e6d; Ninurti, son of Iddinaya; the scribe [...], son of [...]. [Nippur, ... day of ..., 1st(?) year of Darius, king of the lands]."}, {"id_text": "P285916", "project_name": "babcity", "raw_text": "A house of Nidinti-Bel, son of \u0160irku, which is next to the house of Suqaya \u2013 Nidintu, son of \u0160irku, descendant of Egibi rented it to Itti-\u0160ama\u0161-bala\u1e6du, son of \u0160adunu, descendant of Eppe\u0161-ili, for 14 shekels of white silver per year, and Nidintu has received 7 shekels of white silver for half of the year from Itti-\u0160ama\u0161-bala\u1e6du. If Nidintu returns the silver to Itti-\u0160ama\u0161-bala\u1e6du, Itti-\u0160ama\u0161-bala\u1e6du will release the house to Nidintu. Witnesses: Marduk-iqi\u0161anni, son of Gimillu, descendant of Munabittu; Arad-\u0160erua, son of Gimillu, descendant of Sin-nadin-\u0161umi; Nabu-\u0161um-i\u0161kun, son of Taqi\u0161-Gula. Bul\u1e6daya, son of Etellu, descendant of Sin-ili; Liblu\u1e6d, scribe, son of \u0160adunu, descendant of Amel-Ea. Babylon, 7th day of Abu, 36th year of Darius."}, {"id_text": "P295135", "project_name": "babcity", "raw_text": "(Concerning) the with an outbuilding belonging to [...], son of Lu\u1e63u-ana-nur-Marduk [...] - he leased it to Nabu-ittannu, son of Nabu-lu-\u0161allim, the brewer [...], for a rent of 2 1/8 shekels [of silver] per year. He shall pay half of the silver at the beginning of the year and half of the silver in the middle of the year. He shall take care of the repairs to the wall footing and he shall re-seal the roof. [He will pay] the Day-[of-Enlil ... and] the \u0161ugarru-payment. [...] Marduk-iddin [... ...] Mu\u0161ezib-Bel, the scribe, son of [...], descendant of \u0160a-na\u0161i\u0161u. Borsippa, 29th day of Ta\u0161ritu, 2nd year of Cambyses, king of Babylon, king of the lands [(...)]. From the 12th day, the house will be at the disposal of [Nabu-ittannu]."}, {"id_text": "P295289", "project_name": "babcity", "raw_text": "(Concerning) 6 reeds (in) the Namtar Temple district which is in Borsippa belonging to Nadin, son of Lu\u1e63i-ana-nur-Marduk, descendant of Ili-bani, which Bel\u0161unu, son of Balassu, descendant of Ea-iluta-bani, took from Nadin as security for 1/3 mina of silver (on the condition of there being) no rent on the house and no interest on the silver - Nabu-bel\u0161unu will give the silver to Nadin. The promissory note [...] Nabu-bel[\u0161unu ... ...] Nadin [... ...]. Witnesses: Nadin [...], son of Remut, descendant of Bala\u1e6du; Mu\u0161ezib, son of Nabu-\u0161um-ere\u0161, descendant of Re'i-alpi. The scribe Nabu-mukin-apli, son of Nabu-nadin-ahi, descendant of Gahal. Borsippa, 6th day of Simanu, 5th year of Nabonidus, king of Babylon."}, {"id_text": "P296350", "project_name": "babcity", "raw_text": "The house belonging to Amat-Sutiti, daughter of Iddinaya, descendant of Rab-ase, is at the disposal of Nergal-uballi\u1e6d, son of Nabu-ahhe-iddin, for house rent. Each year Nergal-uballi\u1e6d will pay Amat-Sutiti 11 shekels of silver as house rent. He will take care of the repairs to the wall footing. In one year, [he will re-seal] one-third of the roof. He will pay the \u0161ugarr\u00fb-payment of the Day-of-Enlil [...] and the kinayy\u0101tu-offering. [(...)] From the 20th day the house is at the disposal of Nergal-uballi\u1e6d. They have each taken copies (of the document). Witnesses: \u0160ama\u0161-iddin, son of \u0160uzubu, descendant of Kidin-Nanaya; Nabu-zer-iddin, son of Tabnea, descendant of Hu\u1e63ab; the scribe Nabu-\u0161um-iddin, son of Remut-Gula, descendant of Iddin-Papsukkal. Borsippa. 11th day, of Ululu, 1st year of Nebuchadnezzar, king of Babylon. He will pay the rent of the house on a monthly basis. Remut-Nabu, son of Nabu-ahhi-iddin"}, {"id_text": "P296437", "project_name": "babcity", "raw_text": "The house which is next to the house of Bel-uballi\u1e6d and next to the house of Marduk-na\u1e63ir-apli, which Marduk-na\u1e63ir-apli and his brothers, sons of Itti-Marduk-bala\u1e6du, descendant of Egibi, gave for house rent of 13 shekels of white silver per year to Nanaya-iddin, son of Ah-abu. He will renew the roof and he will repair the wall-footing. He will pay half the silver at the beginning of the year and he will pay the remaLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
[{"id_text": "P223392", "project_name": "blms", "raw_text": "[...] of [...] You are obstinate, [you] do not listen. You are rigid, [you] do not relax. This is an examination, [do] not [complain]! Do [not] constantly be afraid, do not let (your throat) tighten. Your mouth [should] not [be full of complaints], Your [attention] should not be directed towards the door. Sit down and be submissive [to] the scribal art, May your heart ponder it [night and] day. [The scribal art is] a good lot, having [a protective spirit], [a bright eye], and is required [by the palace].\""}, {"id_text": "P223478", "project_name": "blms", "raw_text": "[...] [...] [...] [... because of his] transgression, [he constantly seeks your location]. [... because of his] transgression, [he constantly seeks your location]. [... because of his] transgression, [he constantly seeks your location]. [... because of his] transgression, [he constantly seeks your location]. [...] because of his transgression, [he constantly seeks your location]. [... because of] his transgression, [he constantly seeks your location]. [...] because of his transgression, [he constantly seeks your location]. [... because of] his transgression, [he constantly seeks your location]. [... because of] his transgression, [he constantly seeks your location]. ... [... because of] his [transgression, he constantly seeks your location]. [He] constantly seeks your [location, he constantly seeks the other(?)]. May [your ...] heart be restored to [its place]. [May] your furious heart [be restored to its place]. [May your] heart, [which is] darkened with anger(?) [be restored to its place]. ... [...] By means of ... supplication, [...] By means of devout prayer(?), [...] By means of ... treasure(?), [...] ... By means of ... weeping, [...] ... By means of the performance of the ub and meze drums, [...] ... [May] \"Look to him faithfully\" ... be uttered to you. [May] \"Turn your neck to him faithfully\" be uttered [to you]. May \"May your heart be pacified for me\" be uttered [to you]. May \"May your liver be soothed for me\" be uttered [to you]. His sin, seven times seven, release his sin! Lord, great bull, seven times seven, <(release his sin)>! Lord Enlil, seven times seven, <(release his sin)>! Lord Enki, seven times seven, <(release his sin)>! Lord, hero Asalluhi, seven times seven, <(release his sin)>! Lord Enbilulu, seven times seven, <(release his sin)>! Lord Nab\u00fb, seven times seven, <(release his sin)>! Bride, eldest daughter of Ura\u0161, seven times seven, <(release his sin)>! Release his sin, dispel my crime! Release his sin (new break) May your heart, like the heart of a [birth] mother, be restored to its place for me. Like the heart of a birth mother, like the heart of [a birth father], may it be restored to its place for me. It is an er\u0161ahu\u014ba prayer of [...] lines for An. Lord, may your angry heart be pacified. [...] tablet which is from? a writing board, a copy from Babylon [...] Ile\u02be\u02bei-bullu\u1e6d-Anum, the kal\u00fb priest of An and Antu [...] ..."}, {"id_text": "P237717", "project_name": "blms", "raw_text": "If he does not fear [the oath of the great gods], [the oath of the great gods] will reach him, and the great gods shall curse him. If he keeps coming back to the house, they will make him enter into a sealed house. If he roams around outside, they shall bring him outside to an inaccessible place. If he lingers at his gate, they shall make him enter a house with no exit. If he slips in by the door and the door bolt, they will detain him (in a house) with a door and a bolt that cannot be unlocked. If he slips through the thresholds and the door pivots, if he squeezes through the doorframe and hinge, they shall pour him out like water, they shall smash him like a pot, they shall scatter him like potsherds. [...] ... If he leans [into] the window, they shall slaughter him by the neck. If he looks at him through a side window, they shall strike his face. If he shouts through the overlooking window, they shall block off his mouth. If he barges in through the front window, they shall cover him with a mash tub that cannot be opened. If he darkens at sunrise, they shall uproot him in the light where the sun rises. If he flashes like lightning in darkness, they will bind him [with the darkness from the midst of] a grave. If he ascends [from a well], they [shall] cast him [into a pitfall]. [If he] slips through [the bathroom drain], they [shall] cast him [into a well with no exit]. If he drifts back and forth [through the reed screen], [...]"}, {"id_text": "P237742", "project_name": "blms", "raw_text": "They shall cast him [into a well with no exit]. If he [drifts back and forth] through the reed screen, [they shall extinguish him] wherever he goes. If he [slips] through the knots of [the reed screen], [they] shall [remove him] from [the house],"}, {"id_text": "P238386", "project_name": "blms", "raw_text": "(Sum) Hero of the gods, attentive, eLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
[{"id_text": "Q002769", "project_name": "cams/anzu", "raw_text": "The son of the king of the inhabited world, the resplendent one, the beloved of Mami, let me sing of the mighty one, the son of Enlil. Ninurta, the resplendent one, the beloved of Mami - let me praise the mighty one, the god, the son of Enlil, the offspring of the Ekur, the pre-eminent one of the Anunnaku, the trusted one of the Eninnu, the irrigator of pens, cultivated land, city, street and city, the wave of battle, the wave of battle, the whirling one, the sash of heroism. Furious tireless demons are fearful of his attack. Hear the praise of the strength of the mighty one, of the one who by his ferocity bound and fettered the things of stone, the one who conquered flying Anzu with his weapon, the one who killed the Kusarikku in the centre of the sea; powerful, valiant, roaring with his weapon, the strong one, the one who hastens, the servant in battle and combat Hitherto, cult daises had not been created among the Igigi; the Igigi were thus gathered together in their supreme divine power The rivers Tigris and Euphrates were created, but the sources were not bringing their waters to the land. With all the Igigi gathered before Enlil, their father, the hero of the gods, his sons brought news. \"Heed the propitious utterance\". The father of the gods, Duranki saw him and took their utterance to heart. Ea answered with a heart-felt speech. Ni\u0161\u0161iku said to Enlil: \"The wide earth conceived him. He is the one born in the rocks of the mountain. May he stand before you and may he not leave you. May he always block the seat of the shrine in the cella. The god answered \"Yes\" to the word he said to him. He took shrines ... and assigned the commissions of all the gods. He would repeat the fate and Anzu would hold it. Enlil entrusted the entrance of the shrine that he had completed to him. He would bathe in the pure waters before him He would observe the deeds of divine supremacy with his own eyes. Anzu would gaze on his lordly tiara, his divine cloak, and on the tablet of destinies in his hands. He would look upon the father of the gods, Duranki and decided to steal divine supremacy. Anzu would look upon the father of the gods, Duranki and decided to steal divine supremacy. \"I myself will take the tablet of destinies of the gods, and so gather up the commissions of all the gods, control the throne, extinguish the divine powers and assign all of the Igigi.\" In his heart, he plotted an assault as he awaited the day at the entrance to the shrine where he would gaze. When Enlil was bathing in the pure waters, stripped, with his tiara placed on the throne, he took control of the tablet of destinies with his hands. He took divine supremacy. The divine powers were overthrown. Anzu flew away and went off to his mountain. A deathly hush poured out and silence settled. Ellil, their father and adviser was deathly still. The shrine was stripped of its awe-inspiring radiance. The gods of the land convened for direction. Anu opened his mouth to speak, saying to the gods his sons: \"Which god will kill Anzu and magnify his name throughout the whole of the inhabited world?\" They called Gugallu, the son of Anum. Plan settled, they spoke to him. They called Adad, the canal inspector, the son of Anum. Plan settled, they spoke to him thus: \"O Adad, mighty one, O Adad, martial one, may your battle not turn back. Strike like lightning at Anzu with your weapons. May your name become great in the assembly of the great gods. May you have no rival among the gods, your brothers.\" \"Let there be daises built.\" \"Set up your shrines in the four world regions.\" \"Let your shrines enter the Ekur.\" \"Make your name splendid before the gods as the mighty one.\" Adad answered the command. He was saying these words to Anu his father: \"My father, who would hasten to an unapproachable mountain?\" \"Which among the gods your children is the conqueror of Anzu?\" \"He took control of the tablet of destinies into his hands. He took divine supremacy. The divine powers are overthrown. Anzu flew away and went off to his mountain.\" The utterance of his mouth has become like that of the god, Duranki. He pronounces and the one that he curses turns to clay The gods became despondent at the utterance of his mouth. He turned away. He refused to go. They called Gibil, the son of Annunitu. Plan settled, they spoke to him thus: \"O Gibil, mighty one, O Gibil, martial one, may your battle not turn back. Strike like lightning at Anzu with your weapons. May your name become great in the assembly of the great gods. May you have no rival among the gods, your brothers. Let there be daises built. Set up your shrines in the four world regions. Let your shrines enter the Ekur. Make your name splendid before the gods, may your name be Mighty One. Gibil answered the command. He was saying these words to Anu his father: \"My father, who would hasten to an unapproachable mountain?\" \"WhiLine truncated
|
||||
+11
-11
@@ -1,18 +1,18 @@
|
||||
#adsd
|
||||
#aemw
|
||||
#akklove
|
||||
#amgg
|
||||
#amgg####
|
||||
#ario
|
||||
armep
|
||||
arrim
|
||||
asbp
|
||||
atae
|
||||
babcity
|
||||
blms
|
||||
btmao
|
||||
btto
|
||||
cams
|
||||
caspo
|
||||
#armep
|
||||
#arrim
|
||||
#asbp
|
||||
#atae
|
||||
#babcity
|
||||
#blms
|
||||
#btmao
|
||||
#btto
|
||||
#cams
|
||||
#caspo##############
|
||||
ccpo
|
||||
cdli
|
||||
ckst
|
||||
|
||||
+14
-1
@@ -31,7 +31,20 @@
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"ename": "TypeError",
|
||||
"evalue": "'NoneType' object is not subscriptable",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
|
||||
"\u001b[1;31mTypeError\u001b[0m Traceback (most recent call last)",
|
||||
"Cell \u001b[1;32mIn[3], line 6\u001b[0m\n\u001b[0;32m 3\u001b[0m \u001b[39mwith\u001b[39;00m \u001b[39mopen\u001b[39m(\u001b[39m'\u001b[39m\u001b[39mproject_list\u001b[39m\u001b[39m'\u001b[39m) \u001b[39mas\u001b[39;00m f:\n\u001b[0;32m 4\u001b[0m \u001b[39mfor\u001b[39;00m project \u001b[39min\u001b[39;00m f\u001b[39m.\u001b[39mread()\u001b[39m.\u001b[39msplit(\u001b[39m'\u001b[39m\u001b[39m\\n\u001b[39;00m\u001b[39m'\u001b[39m):\n\u001b[0;32m 5\u001b[0m \u001b[39m# connection = connection.execute(\"insert into raw_texts values (%(id_text)s, %(project_name)s, %(raw_text)s)\", scrap)\u001b[39;00m\n\u001b[1;32m----> 6\u001b[0m scrap \u001b[39m=\u001b[39m scrapping\u001b[39m.\u001b[39;49mget_raw_english_texts_of_project(project)\n\u001b[0;32m 7\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[0;32m 8\u001b[0m execute_batch(connection, \u001b[39m\"\u001b[39m\u001b[39minsert into raw_texts values (\u001b[39m\u001b[39m%(id_text)s\u001b[39;00m\u001b[39m, \u001b[39m\u001b[39m%(project_name)s\u001b[39;00m\u001b[39m, \u001b[39m\u001b[39m%(raw_text)s\u001b[39;00m\u001b[39m)\u001b[39m\u001b[39m\"\u001b[39m, scrap)\n",
|
||||
"File \u001b[1;32mc:\\Users\\Saret\\Programming\\C#\\DH\\scrapping.py:46\u001b[0m, in \u001b[0;36mget_raw_english_texts_of_project\u001b[1;34m(project_dirname)\u001b[0m\n\u001b[0;32m 44\u001b[0m \u001b[39mfor\u001b[39;00m filename \u001b[39min\u001b[39;00m all_paths:\n\u001b[0;32m 45\u001b[0m cur_json \u001b[39m=\u001b[39m _load_json_from_path(filename)\n\u001b[1;32m---> 46\u001b[0m project_name \u001b[39m=\u001b[39m cur_json[\u001b[39m'\u001b[39;49m\u001b[39mproject\u001b[39;49m\u001b[39m'\u001b[39;49m]\n\u001b[0;32m 48\u001b[0m \u001b[39m# # Skip in case we are in saa project and the current sub project is not in neo-assyrian\u001b[39;00m\n\u001b[0;32m 49\u001b[0m \u001b[39m# if project_dirname == \"saao\" and project_name[-2:] not in SUB_PROJECTS_IN_NEO_ASS: # TODO: validate\u001b[39;00m\n\u001b[0;32m 50\u001b[0m \u001b[39m# continue\u001b[39;00m\n\u001b[0;32m 51\u001b[0m \n\u001b[0;32m 52\u001b[0m \u001b[39m# id_text = member.get('id_text', \"\") + member.get('id_composite', \"\")\u001b[39;00m\n\u001b[0;32m 53\u001b[0m \u001b[39m# html_dir = \"/\".join(path.parts[1:-1])\u001b[39;00m\n\u001b[0;32m 54\u001b[0m url \u001b[39m=\u001b[39m \u001b[39mf\u001b[39m\u001b[39m\"\u001b[39m\u001b[39mhttp://oracc.iaas.upenn.edu/\u001b[39m\u001b[39m{\u001b[39;00mproject_name\u001b[39m}\u001b[39;00m\u001b[39m/\u001b[39m\u001b[39m{\u001b[39;00mcur_json[\u001b[39m'\u001b[39m\u001b[39mtextid\u001b[39m\u001b[39m'\u001b[39m]\u001b[39m}\u001b[39;00m\u001b[39m/html\u001b[39m\u001b[39m\"\u001b[39m\n",
|
||||
"\u001b[1;31mTypeError\u001b[0m: 'NoneType' object is not subscriptable"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"conn = psycopg2.connect(\"dbname='dh' user='dh' host='dh.saret.tk' password='qwerty'\")\n",
|
||||
"connection = conn.cursor()\n",
|
||||
|
||||
Reference in new issue
Block a user