[Arches] Re: Standards in Resourse models
Many thanks for the detailed answers and sorry for the late replay. We want to do exactly that Phil Carlisle. For now we will stick to simple resource-resource relation and not migrate to v4.1 Best regards, Venci Pirinski On Tuesday, March 6, 2018 at 8:24:48 PM UTC+2, Vencislav Pirinski wrote: > > Hello, > My name is Ventsislav Pirinski and I am from the Bulgarian Academy of > Sciences. > We would like to integrate Arches in bulgarian museums and we are working > in close collaboration with some museums and heritage institutions. We want > to show the capabilities of Arches with a sample project. We have working > implementation of Arches 4.0. > The project is about type of tombs, dolmens. We have created Resource > model called "Dolmens" and modified it to suit our needs, but we want to > relate it to a more general model. > Something like this "Heritage resource model" -> "Archaeological site > model" -> "Tombs model" -> "Dolmens model". > We want to use a standard like CRM CIDOC for this relation. > Can this be done natively in Arches? > > Also we want to have partial translation in Bulgarian for the reports. We > know that the sections can not be translated, we are concerned only about > the translation of the data. What advice would you give me for the > implementation? > > Best regards, > Vencislav Pirinski > -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Standards in Resourse models
Hello, My name is Ventsislav Pirinski and I am from the Bulgarian Academy of Sciences. We would like to integrate Arches in bulgarian museums and we are working in close collaboration with some museums and heritage institutions. We want to show the capabilities of Arches with a sample project. We have working implementation of Arches 4.0. The project is about type of tombs, dolmens. We have created Resource model called "Dolmens" and modified it to suit our needs, but we want to relate it to a more general model. Something like this "Heritage resource model" -> "Archaeological site model" -> "Tombs model" -> "Dolmens model". We want to use a standard like CRM CIDOC for this relation. Can this be done natively in Arches? Also we want to have partial translation in Bulgarian for the reports. We know that the sections can not be translated, we are concerned only about the translation of the data. What advice would you give me for the implementation? Best regards, Vencislav Pirinski -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Re: GeoJSON is invalid
Many thanks! I get it to work, there were also problems with the conversion of coordinates, but all is good now. Sorry for the late replay. Best regards, Venci Pirinski -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] GeoJSON is invalid
Hello, I have installed the latest version of Arches on ubuntu 16.04 and want to add a polygon to the map using coordinates. But an error GeoJSON is invalid is given with multiple syntax's. This are the coordinates: 42.01210183, 26.15033095 42.01219511, 26.15037090 42.01222801, 26.15059553 42.01212651, 26.15074809 42.01200129, 26.15076827 42.01190826, 26.15066506 42.01189476, 26.15049550 42.01206854, 26.15041409 I have tried this : { "type": "Feature", "geometry": { "type": "Polygon", "coordinates": [ [ [42.01210183, 26.15033095], [42.01219511, 26.15037090], [42.01222801, 26.15059553], [42.01212651, 26.15074809], [42.01200129, 26.15076827], [42.01190826, 26.15066506], [42.01189476, 26.15049550], [42.01206854, 26.15041409] ] ] } But its not working. I couldn't find the proper syntax, can anyone direct me ? Best regards -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Can not export data from messed up Arches 4.03b
Hello, I had arches 4.03b installed a while ago with some data in it. After the release of v4.0 i tried to upgrade to it, but there were some errors. I don't care about the installation itself, but the data in the database. Now the command : python manage.py packages -o export_business_data -f 'csv' -c 'path_to_mapping_file' gives error: ValueError: No JSON object could be decoded. I tried to copy the database directly from psql command line and import them in another working arches v4.0, the import/export commands didn't give any errors, but now arches crashes when opening the map. The resource models are visible though. The data is not that important, but recovering it would be nice. Best regards, Venci Pirinski -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Re: Importing settings file in arches 4.0
I managed to fix the apache errors. https://github.com/archesproject/arches/issues/2375 On Friday, August 25, 2017 at 10:33:28 AM UTC+3, Vencislav Pirinski wrote: > > Thanks, i managed to safe the settings file and now its working after > setup_db. The problem is that the bug with settings is still present after > that and apache is giving the same errors. > > Best regards > > On Thursday, August 24, 2017 at 9:45:46 AM UTC+3, Vencislav Pirinski wrote: >> >> Hello, >> I tried to export and import settings file for arches, but due to changes >> in the structure of arches, current tutorial is not working. >> As of version 4.0, there is no folder "db" in the apps directory and this >> command can not be executed >> https://github.com/archesproject/arches/wiki/Managing-System-Settings >> >> Best regards >> > -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Re: Importing settings file in arches 4.0
Thanks, i managed to safe the settings file and now its working after setup_db. The problem is that the bug with settings is still present after that and apache is giving the same errors. Best regards On Thursday, August 24, 2017 at 9:45:46 AM UTC+3, Vencislav Pirinski wrote: > > Hello, > I tried to export and import settings file for arches, but due to changes > in the structure of arches, current tutorial is not working. > As of version 4.0, there is no folder "db" in the apps directory and this > command can not be executed > https://github.com/archesproject/arches/wiki/Managing-System-Settings > > Best regards > -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Importing settings file in arches 4.0
Hello, I tried to export and import settings file for arches, but due to changes in the structure of arches, current tutorial is not working. As of version 4.0, there is no folder "db" in the apps directory and this command can not be executed https://github.com/archesproject/arches/wiki/Managing-System-Settings Best regards -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Re: Cannot enter settings in Arches 4.0
Hi, Thanks for the fast replay. I tried to reset django permissions trough localhost:8000/admin settings, but that didn't help with the authentication problem. After that i did the trick with the resource model and entered settings and added mapbox api (100% working api), but it seems nothing changed, even after restart of all services. Also apache is having the same problems, nothing changed there. So for now the only thing i found out is that all 3 problems are about the settings of arches. I will test further and report if i find something. Best regards, Venci Pirinski -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Cannot enter settings in Arches 4.0
Hello, I am sorry for constantly asking questions, i always try to find the solutions myself first. I have installed cleanly the new version of Arches 4.0, on Ubuntu 16.04, without any errors. But I can not enter the settings menu in Arches. It prompts window for authentication and entering the admin user and admin password, only refreshes the page to prompt for authentication again. Meanwhile i have successfully logged in as admin and all other menus work. I have another problem too, apache is giving errors. I have set the permissions of arches log and folder, but still an error occurs in the apache.log file: [Fri Aug 18 10:53:04.488517 2017] [mpm_event:notice] [pid 32398:tid 139665391310720] AH00489: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations [Fri Aug 18 10:53:04.488574 2017] [core:notice] [pid 32398:tid 139665391310720] AH00094: Command line: '/usr/sbin/apache2' [Fri Aug 18 10:53:13.982306 2017] [mpm_event:notice] [pid 32398:tid 139665391310720] AH00491: caught SIGTERM, shutting down [Fri Aug 18 10:53:15.022462 2017] [wsgi:warn] [pid 32695:tid 139763048859520] mod_wsgi: Compiled for Python/2.7.11. [Fri Aug 18 10:53:15.022499 2017] [wsgi:warn] [pid 32695:tid 139763048859520] mod_wsgi: Runtime using Python/2.7.12. [Fri Aug 18 10:53:15.022825 2017] [mpm_event:notice] [pid 32695:tid 139763048859520] AH00489: Apache/2.4.18 (Ubuntu) mod_wsgi/4.3.0 Python/2.7.12 configured -- resuming normal operations [Fri Aug 18 10:53:15.022836 2017] [core:notice] [pid 32695:tid 139763048859520] AH00094: Command line: '/usr/sbin/apache2' [Fri Aug 18 11:07:10.754507 2017] [mpm_event:notice] [pid 32695:tid 139763048859520] AH00491: caught SIGTERM, shutting down [Fri Aug 18 11:07:11.826693 2017] [wsgi:warn] [pid 648:tid 139888233047936] mod_wsgi: Compiled for Python/2.7.11. [Fri Aug 18 11:07:11.826714 2017] [wsgi:warn] [pid 648:tid 139888233047936] mod_wsgi: Runtime using Python/2.7.12. [Fri Aug 18 11:07:11.827146 2017] [mpm_event:notice] [pid 648:tid 139888233047936] AH00489: Apache/2.4.18 (Ubuntu) mod_wsgi/4.3.0 Python/2.7.12 configured -- resuming normal operations [Fri Aug 18 11:07:11.827156 2017] [core:notice] [pid 648:tid 139888233047936] AH00094: Command line: '/usr/sbin/apache2' [Fri Aug 18 11:07:50.618531 2017] [wsgi:error] [pid 651:tid 139888129070848] [remote 192.168.1.249:21060] mod_wsgi (pid=651): Target WSGI script '/home/flame/Projects/mc4ch/mc4ch/wsgi.py' cannot be loaded as Python module. [Fri Aug 18 11:07:50.618556 2017] [wsgi:error] [pid 651:tid 139888129070848] [remote 192.168.1.249:21060] mod_wsgi (pid=651): Exception occurred processing WSGI script '/home/flame/Projects/mc4ch/mc4ch/wsgi.py'. [Fri Aug 18 11:07:50.618570 2017] [wsgi:error] [pid 651:tid 139888129070848] [remote 192.168.1.249:21060] Traceback (most recent call last): [Fri Aug 18 11:07:50.618580 2017] [wsgi:error] [pid 651:tid 139888129070848] [remote 192.168.1.249:21060] File "/home/flame/Projects/mc4ch/mc4ch/wsgi.py", line 33, in [Fri Aug 18 11:07:50.618615 2017] [wsgi:error] [pid 651:tid 139888129070848] [remote 192.168.1.249:21060] application = get_wsgi_application() [Fri Aug 18 11:07:50.618621 2017] [wsgi:error] [pid 651:tid 139888129070848] [remote 192.168.1.249:21060] File "/home/flame/Projects/ENV/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application [Fri Aug 18 11:07:50.618641 2017] [wsgi:error] [pid 651:tid 139888129070848] [remote 192.168.1.249:21060] django.setup() [Fri Aug 18 11:07:50.618647 2017] [wsgi:error] [pid 651:tid 139888129070848] [remote 192.168.1.249:21060] File "/home/flame/Projects/ENV/lib/python2.7/site-packages/django/__init__.py", line 17, in setup [Fri Aug 18 11:07:50.618665 2017] [wsgi:error] [pid 651:tid 139888129070848] [remote 192.168.1.249:21060] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) [Fri Aug 18 11:07:50.618669 2017] [wsgi:error] [pid 651:tid 139888129070848] [remote 192.168.1.249:21060] File "/home/flame/Projects/ENV/lib/python2.7/site-packages/django/conf/__init__.py", line 55, in __getattr__ [Fri Aug 18 11:07:50.618706 2017] [wsgi:error] [pid 651:tid 139888129070848] [remote 192.168.1.249:21060] self._setup(name) [Fri Aug 18 11:07:50.618711 2017] [wsgi:error] [pid 651:tid 139888129070848] [remote 192.168.1.249:21060] File "/home/flame/Projects/ENV/lib/python2.7/site-packages/django/conf/__init__.py", line 43, in _setup [Fri Aug 18 11:07:50.618719 2017] [wsgi:error] [pid 651:tid 139888129070848] [remote 192.168.1.249:21060] self._wrapped = Settings(settings_module) [Fri Aug 18 11:07:50.618722 2017] [wsgi:error] [pid 651:tid 139888129070848] [remote 192.168.1.249:21060] File "/home/flame/Projects/ENV/lib/python2.7/site-packages/django/conf/__init__.py", line 99, in __init__ [Fri Aug 18 11:07:50.618741 2017] [wsgi:error] [pid 651:tid 139888129070848] [remote 192.168.1.249:21060] mod = importlib.import_module(self.SETTINGS_MODULE) [Fri Aug
[Arches] Guests can't see reports
Hello, I am wondering how can i make guests (just visitors to the site, no profile name) can view the data in arches. Whenever i want to see something i am prompted with the authentication menu. I have edited the django admin settings only to make one of my installations not work properly due to permission errors. Any advice will be appreciated. Best regards, Venci Pirinski -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Re: Mapbox maps not showing
Hi, Thanks for the fast answer. I did that and its working fine now. Tested and doing "setup db", doesn't delete the API key. The only thing i did more was to change the names of both files which are generated by your command, one is .json and other is .relations. Best regards, Venci Pirinski On Monday, June 19, 2017 at 3:46:01 PM UTC+3, Vencislav Pirinski wrote: > > Hello, > > I have installed Arches again on Ubuntu 16.04, without any visible errors. > The problem is the map is not showing. > I have an API from Mapbox, even made a new one, tested and its 100% > working, on my previous installation its still working too. > > I checked the source of the html page and found that there is no API key > there: > > mapboxApiKey: 'None', > > On my previous installation there is the API key here. > My settings_local.py has my API key, i even tried to paste my API key also > in settings.py, but same results. > > Can someone please advice me what to do. > > Best regards, > Vencislav Pirinski > > -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Mapbox maps not showing
Hello, I have installed Arches again, without any visible errors. The problem is the map is not showing. I have an API from Mapbox, even made a new one, tested and its 100% working, on my previous installation its still working too. I checked the source of the html page and found that there is no API key there: mapboxApiKey: 'None', On my previous installation there is the API key here. My settings_local.py has my API key, i even tried to paste my API key also in settings.py, but same results. Can someone please advice me what to do. Best regards, Vencislav Pirinski -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Apache installation errors arches v4
Hello, I am continuing the installation with setting up apache, but again errors arise. I follow the guide from Github, Making Arches production ready. I install apache and wsgi: sudo apt-get install apache2 sudo apt-get install libapache2-mod-wsgi No errors while installing. Next i edit the file "/etc/apache2/sites-enabled/000-default.conf" and add this: WSGIDaemonProcess arches python-path=/home/kepler/Projects/arches/arches:/home/kepler/Projects/ENV/lib/python2.7/site-packages WSGIScriptAlias / /home/kepler/Projects/arches/arches/wsgi.py process-group=arches Options Indexes FollowSymLinks AllowOverride None Require all granted I found that in the guide the file "/home/ubuntu/Projects/my_hip_app/wsgi.py" is actually not there, the correct place must be "/home/ubuntu/Projects/my_hip_app/my_hip_app/wsgi.py". That is why I added "~Projects/arches/arches", not just "~/Projects/arches". Is this correct for every path from above? Next i run: sudo chown www-data /home/kepler/Projects/arches/arches/tileserver/cache -R But there is not such file there. Folder "tileserver" contains these files: https://lh3.googleusercontent.com/-qZA6OBq4k8Y/WPiYVPmwaaI/Iog/4hC0vay_H3sp_fHhP20jajiT_1kRxS58wCLcB/s1600/Screenshot%2Bfrom%2B2017-04-20%2B14-14-13.png I could not find such "cache" file. Please advice. Next i restart apache and my ip returns this: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Apache/2.4.18 (Ubuntu) Server at 195.96.250.4 Port 80 Please advise me what to do. Best regards -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Arches] Arches v4 Instalation description and errors
Hello, I am continuing the installation with setting up apache, but again errors arise. I follow the guide from Github, Making Arches production ready. I install apache and wsgi: sudo apt-get install apache2 sudo apt-get install libapache2-mod-wsgi No errors while installing. Next i edit the file "/etc/apache2/sites-enabled/000-default.conf" and add this: WSGIDaemonProcess arches python-path=/home/kepler/Projects/arches*/arches*:/home/kepler/Projects/ENV/lib/python2.7/site-packages WSGIScriptAlias / /home/kepler/Projects/arches/*arches/*wsgi.py process-group=arches Options Indexes FollowSymLinks AllowOverride None Require all granted I found that in the guide the file "/home/ubuntu/Projects/my_hip_app/wsgi.py" is actually not there, the correct place must be "/home/ubuntu/Projects/my_hip_app/*my_hip_app/*wsgi.py". That is why I added "~Projects/arches*/arches"*, not just "~/Projects/arches". *Is this correct ?* Next i run: sudo chown www-data /home/kepler/Projects/arches/arches/tileserver/cache -R But there is not such file there. Folder "tileserver" contains these files: https://lh3.googleusercontent.com/-qZA6OBq4k8Y/WPiYVPmwaaI/Iog/4hC0vay_H3sp_fHhP20jajiT_1kRxS58wCLcB/s1600/Screenshot%2Bfrom%2B2017-04-20%2B14-14-13.png I could not find such "cache" file. *Please advice.* Next i restart apache and my ip returns this: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. -- Apache/2.4.18 (Ubuntu) Server at 195.96.250.4 Port 80 Please advise me what to do. Best regards -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Arches] Arches v4 Instalation description and errors
Thanks Adam, it seems everything is ok for now. Best regards On Wednesday, April 19, 2017 at 7:11:46 PM UTC+3, Adam Cox wrote: > > Hi Vencislav, first, note that the ubuntu dependency install script should > take care of GEOS and GDAL, however, it sounds like the steps you took did > not cause any problems. Also, looks like it takes care of virtualenv as > well. > > Anyway, as for your final error, it's only because you are not quite > done... I moved a few basic database setup commands to the next section of > that guide, however, it seems like I should put setup_db into the end of > the documentation section that you have been working with. At any rate, all > of your installation steps look good, and by the way, thanks for listing > them so clearly! > > So to finish up, just follow this final section. > > > https://github.com/archesproject/arches/wiki/Developer-Installation#getting-started > > Hope that works! > > Adam > > On Wed, Apr 19, 2017 at 10:56 AM, Vencislav Pirinski <vpir...@gmail.com > > wrote: > >> >> Hello, >> >> I am having trouble installing correctly arches v4. I have tried two times, >> but in both cases some errors arise. >> That is why i am posting my entire actions step by step on a completely new >> installation of Ubuntu 16.04, dedicated for arches. >> I will describe my every action in detail, so it will be easier to see >> mistakes and to help others which having trouble installing arches. >> >> I follow the Developers Installation guide from github. >> >> So I start by making a folder "Projects" in my home directory. There I copy >> the script "ubuntu_xenial_setup.sh" from >> https://github.com/archesproject/arches/tree/master/arches/install. >> Then I use chmod to deal with the permissions: >> >> chmod +x ubuntu_xenial_setup.sh >> >> Then I run the script, saying yes to all packages, here is the output: >> >> https://gist.github.com/vpirinski/703ece640bcd833d3b8c8e0a012752b4 >> >> No errors at all, only some warnings are reported: >> >> Processing triggers for libc-bin (2.23-0ubuntu5) ... >> ALTER ROLE >> WARNING: nonstandard use of escape in a string literal >> LINE 5: '[\(\)]', '', 'g' >> ^ >> HINT: Use the escape string syntax for escapes, e.g., E'\r\n'. >> QUERY: >> SELECT >> regexp_replace( >> split_part(s.consrc, ' = ', 2), >> '[\(\)]', '', 'g' >> )::integer >> FROM pg_class c, pg_namespace n, pg_attribute a, pg_constraint s >> WHERE n.nspname = $1 >> AND c.relname = $2 >> AND a.attname = $3 >> AND a.attrelid = c.oid >> AND s.connamespace = n.oid >> AND s.conrelid = c.oid >> AND a.attnum = ANY (s.conkey) >> AND s.consrc LIKE '%st_srid(% = %'; >> >> WARNING: nonstandard use of escape in a string literal >> LINE 11: '[ \(\)]', '', 'g' >> ^ >> >> .. >> Warnings as the above are repeated about 10 times >> .. >> >> ^ >> HINT: Use the escape string syntax for escapes, e.g., E'\r\n'. >> QUERY: >> SELECT >> trim( >> both from split_part( >> regexp_replace( >> split_part(s.consrc, ' = ', 2), >> '[\(\)]', '', 'g' >> ), >> '::', 1 >> ) >> )::boolean[] >> FROM pg_class c, pg_namespace n, pg_attribute a, pg_constraint s >> WHERE n.nspname = $1 >> AND c.relname = $2 >> AND a.attname = $3 >> AND a.attrelid = c.oid >> AND s.connamespace = n.oid >> AND s.conrelid = c.oid >> AND a.attnum = ANY (s.conkey) >> AND s.consrc LIKE '%_raster_constraint_out_db(%'; >> >> CREATE EXTENSION >> GRANT >> GRANT >> GRANT >> >> I ignore the warnings and continue. Here i assume PostgreSQL 9.6, PostGIS >> 2.3, Bower and JDK are installed correctly. >> >> Ubuntu 16.04 comes with Python 2.7.12 and "pip", so no installation needed. >> >> Next I install git: >> >> sudo apt install git >> >> Next in the list is GEOS and GDAL, no link is given, so I used this article: >> https://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu . >> >> *I don't know if this method is a good one, please make an advice.* >> >> As described, I need some dependencies, so use this command: >> >> sudo apt-get install \ build-essential \ flex make bison gcc libgcc1 g++ >> cmake ccache \ python python-dev \ python-opengl \
[Arches] Arches v4 Instalation description and errors
Hello, I am having trouble installing correctly arches v4. I have tried two times, but in both cases some errors arise. That is why i am posting my entire actions step by step on a completely new installation of Ubuntu 16.04, dedicated for arches. I will describe my every action in detail, so it will be easier to see mistakes and to help others which having trouble installing arches. I follow the Developers Installation guide from github. So I start by making a folder "Projects" in my home directory. There I copy the script "ubuntu_xenial_setup.sh" from https://github.com/archesproject/arches/tree/master/arches/install. Then I use chmod to deal with the permissions: chmod +x ubuntu_xenial_setup.sh Then I run the script, saying yes to all packages, here is the output: https://gist.github.com/vpirinski/703ece640bcd833d3b8c8e0a012752b4 No errors at all, only some warnings are reported: Processing triggers for libc-bin (2.23-0ubuntu5) ... ALTER ROLE WARNING: nonstandard use of escape in a string literal LINE 5: '[\(\)]', '', 'g' ^ HINT: Use the escape string syntax for escapes, e.g., E'\r\n'. QUERY: SELECT regexp_replace( split_part(s.consrc, ' = ', 2), '[\(\)]', '', 'g' )::integer FROM pg_class c, pg_namespace n, pg_attribute a, pg_constraint s WHERE n.nspname = $1 AND c.relname = $2 AND a.attname = $3 AND a.attrelid = c.oid AND s.connamespace = n.oid AND s.conrelid = c.oid AND a.attnum = ANY (s.conkey) AND s.consrc LIKE '%st_srid(% = %'; WARNING: nonstandard use of escape in a string literal LINE 11: '[ \(\)]', '', 'g' ^ .. Warnings as the above are repeated about 10 times .. ^ HINT: Use the escape string syntax for escapes, e.g., E'\r\n'. QUERY: SELECT trim( both from split_part( regexp_replace( split_part(s.consrc, ' = ', 2), '[\(\)]', '', 'g' ), '::', 1 ) )::boolean[] FROM pg_class c, pg_namespace n, pg_attribute a, pg_constraint s WHERE n.nspname = $1 AND c.relname = $2 AND a.attname = $3 AND a.attrelid = c.oid AND s.connamespace = n.oid AND s.conrelid = c.oid AND a.attnum = ANY (s.conkey) AND s.consrc LIKE '%_raster_constraint_out_db(%'; CREATE EXTENSION GRANT GRANT GRANT I ignore the warnings and continue. Here i assume PostgreSQL 9.6, PostGIS 2.3, Bower and JDK are installed correctly. Ubuntu 16.04 comes with Python 2.7.12 and "pip", so no installation needed. Next I install git: sudo apt install git Next in the list is GEOS and GDAL, no link is given, so I used this article: https://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu . *I don't know if this method is a good one, please make an advice.* As described, I need some dependencies, so use this command: sudo apt-get install \ build-essential \ flex make bison gcc libgcc1 g++ cmake ccache \ python python-dev \ python-opengl \ python-wxversion python-wxtools python-wxgtk3.0 \ python-dateutil libgsl-dev python-numpy \ wx3.0-headers wx-common libwxgtk3.0-dev \ libwxbase3.0-dev \ libncurses5-dev \ zlib1g-dev gettext \ libtiff5-dev libpnglite-dev \ libcairo2 libcairo2-dev \ sqlite3 libsqlite3-dev \ libpq-dev \ libreadline6 libreadline6-dev libfreetype6-dev \ libfftw3-3 libfftw3-dev \ libboost-thread-dev libboost-program-options-dev liblas-c-dev \ resolvconf \ libjasper-dev \ subversion \ libav-tools libavutil-dev ffmpeg2theora \ libffmpegthumbnailer-dev \ libavcodec-dev \ libxmu-dev \ libavformat-dev libswscale-dev \ checkinstall \ libglu1-mesa-dev libxmu-dev \ ghostscript Everything installs correctly. The output: https://gist.github.com/vpirinski/48178bcfd2b77cb7497d7095d5d3ed99 So i continue installing GEOS: sudo apt-get install libgeos-dev The version of "libgeos-dev" is 3.5.1. The output: https://gist.github.com/vpirinski/d3df3056ce8c7a1b6d45b627506ecf79 Then I install GADL: sudo apt-get install libgdal-dev The version of "libgdal-dev" is 2.1.3. The output: https://gist.github.com/vpirinski/f40d3abfb5537287fc160b67c9a3427a The article continues with the installation of Python GDAL bindings and GDAL executables, so i decided to install that too: sudo apt-get install python-gdal gdal-bin The output: https://gist.github.com/vpirinski/81eed6aa5698820bdfb7103e043c579d I assume this has installed all GEOS and GDAL packages. *Please comment if this is correct.* As I haven't installed arches yet, Elasticsearch package will have to wait. (The guide is making you think that elasticsearch needs to be installed prier of installing arches, which is not true?) I decided to skip Mapnik for now, because of 2 reasons, first, it is not vital for the installation and second, in one of the installation attempts it gave errors with the database. So I assume that now I have all the dependencies installed and I am ready to install arches. I clone the arches repo: git clone https://github.com/archesproject/arches.git
[Arches] Arches v4 postgis/geos errors
Hello, I have successfully​ installed arches v4 on ubuntu 16.04 using the scripts and documentation provided on github. No installation errors occured, but when trying to save a position of an object it gives this error in terminal: InternalError: could not load library "/usr/lib/postgresql/9.6/lib/postgis-2.3.so": /usr/lib/liblwgeom-2.3.so.0: undefined symbol: GEOSClipByRect I have postgres 9.6, postgis 2.3 and geos installed on the system. Any help will be appreciated. Best regards, Venci Pirinski -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Re: Arches v4 Documentation
Hi, i see there are scripts that can install most the things from here https://github.com/archesproject/arches/tree/master/arches/install but when i ran install_arches.sh and ubuntu_xenial_setup.sh it gave error with elasticsearch and django. Should i stick with manual installation of things or i am missing something? Best regards Venci Pirinski -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Re: Resource manager errors
I have opened the 8000 port and migrated to apache, now things are running fast. But the problem with writing data persists. It seems every attempt to save some kind of data gives this kind of error. Can you direct me where to look for this kind of errors? Maybe problem is in my database? Best regards On Monday, March 6, 2017 at 12:55:44 PM UTC+2, Vencislav Pirinski wrote: > > Hello, > > I have installed arches and arches-hip on Ubuntu 16.04. > > The problem i have is in Resource manager. Sometimes when clicking one of > the default resources lets say Historic Resource, it wont load. In the > python server terminal the errors are this: > > > > *.../ENV/lib/python2.7/site-packages/arches/app/utils/context_processors.py:57: > > DeprecationWarning: Call to deprecated function user_can_edit. def > user_can_edit(request):* > Sometimes this happens too: > > Exception happened during processing of request from ('127.0.0.1', 32858) > Traceback (most recent call last): > File "/usr/local/lib/python2.7/SocketServer.py", line 593, in > process_request_thread > self.finish_request(request, client_address) > File "/usr/local/lib/python2.7/SocketServer.py", line 334, in > finish_request > self.RequestHandlerClass(request, client_address, self) > File > "/home/vpirinski/projects/ENV/lib/python2.7/site-packages/django/core/servers/basehttp.py", > > line 126, in __init__ > super(WSGIRequestHandler, self).__init__(*args, **kwargs) > File "/usr/local/lib/python2.7/SocketServer.py", line 651, in __init__ > self.finish() > File "/usr/local/lib/python2.7/SocketServer.py", line 710, in finish > self.wfile.close() > File "/usr/local/lib/python2.7/socket.py", line 279, in close > self.flush() > File "/usr/local/lib/python2.7/socket.py", line 303, in flush > self._sock.sendall(view[write_offset:write_offset+buffer_size]) > error: [Errno 32] Broken pipe > > > I have copied the default authority files from arches-hip and installed > the packages after that. No errors there and it recognizes all the > authority and concept files. > > Best regards, > V. Pirinski > -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Arches] Re: Authority files problem and user permissions
Dear Adam Cox, We really appreciate your taken time, thank you. The command python manage.py packages -o install gives error with "urllib3" permessions. Given the fact i was unable to fix the root permissions with some directories, maybe its best to start again with a new app. Thank you again, we will see if the error persists with the new installation. Best regards, V. Prinski On Wed, Jan 4, 2017 at 6:59 PM Adam Cox <mr.adam...@gmail.com> wrote: > Hi Vencislav, sorry for the late reply on this. Can you confirm that you > have successfully run python manage.py packages -o install since updating > the source_data folder with only Arches-HIP files? Perhaps it would be best > to create a new blank version of the Arches-HIP app, update the source_data > files from Arches-HIP, and then reinstall. > > Let me know if you have done all of that, and maybe it would be best to > e-mail directly, because it's technically possible that something went > wrong when you initially tried to load the CRIP files from my repo. > > Hope you are having a good new year so far! > > Adam > > > On Thursday, December 29, 2016 at 3:53:11 AM UTC-6, Vencislav Pirinski > wrote: > > We continue to have the same problems with the resource manager, even > after fixing some errors with python libraries. > The error is same as above: > > > ImportError at /resources/HERITAGE_RESOURCE.E18/summary/ > Exception Value:No module named resource > Exception Location: > /home/ubuntua/ENV/local/lib/python2.7/site-packages/arches/app/models/resource.py > in __new__, line 53 > > > Can you direct us on what to do? > > We really appreciate your advice. > > Best regards, > > V. Pirinski > > -- > -- To post, send email to archesproject@googlegroups.com. To unsubscribe, > send email to archesproject+unsubscr...@googlegroups.com. For more > information, visit https://groups.google.com/d/forum/archesproject?hl=en > --- > You received this message because you are subscribed to a topic in the > Google Groups "Arches Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/archesproject/3QoRzFjXHWM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > archesproject+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Re: Authority files problem and user permissions
We continue to have the same problems with the resource manager, even after fixing some errors with python libraries. The error is same as above: ImportError at /resources/HERITAGE_RESOURCE.E18/summary/ Exception Value:No module named resource Exception Location: /home/ubuntua/ENV/local/lib/python2.7/site-packages/arches/app/models/resource.py in __new__, line 53 Can you direct us on what to do? We really appreciate your advice. Best regards, V. Pirinski -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Re: Authority files problem and user permissions
Thanks for the fast reply! I have replaced the old "source_data" folder with that one from arches-HIP and that error was removed. The problem is the resource manager is still not functional. When clicked it gives : ImportError at /resources/HERITAGE_RESOURCE.E18/summary/ Exception Value:No module named resource Exception Location: /home/ubuntua/ENV/local/lib/python2.7/site-packages/arches/app/models/resource.py in __new__, line 53 Also i have added the line "from django.utils.translation import ugettext as _" in settings.py. Best regards, V Pirinski On Thursday, December 8, 2016 at 10:27:36 AM UTC+2, Vencislav Pirinski wrote: > > Dear Arches Team, > > My name is Vencislav Pirinski and I am from the Institute of Information > and Communication Technologies at the Bulgarian Academy of Sciences. We are > trying to install Arches on our HPC facility and to make it popular among > the community dealing with digitisation and preservation of cultural > heritage. > > We try to install Arches + Arches HIP on vitual ubuntu machine. We have > followed all the steps from the tutorials and most things are runing now. > We have errors when using search and resource manager. > I saw that we don't have any authority files, so i copied the entire > "source_data" folder from github project --->"Arches Crip" > <https://github.com/mradamcox/crip><--- and updated ---> "settngs.py" > <https://docs.google.com/document/d/1M8A1SsY54-F7jtIHFstA48N2pyzkOIhigGIaGJxqIw4/edit?usp=sharing> > <---, > but that didn't help. Now we have an error when runing the server: > > File "/home/ubuntua/Projects/viseem_herit/viseem_herit/settings.py", > line 34, in RESOURCE_TYPE_CONFIGS > 'name': _('Historic Resource'), > NameError: global name '_' is not defined > > I tried to reinstall arches, to accomudate the new files and settings with > the command "python manage.py packages -o install" but it gives me > permission denied to write some files. A huge problem with user > permissions. Maybe i shoud use "chmod" to fix this ? > > Your advice will be highly appreciated ! > > Best regards, > V Pirinski > > > > > -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Authority files problem and user permissions
Dear Arches Team, My name is Vencislav Pirinski and I am from the Institute of Information and Communication Technologies at the Bulgarian Academy of Sciences. We are trying to install Arches on our HPC facility and to make it popular among the community dealing with digitisation and preservation of cultural heritage. We try to install Arches + Arches HIP on vitual ubuntu machine. We have followed all the steps from the tutorials and most things are runing now. We have errors when using search and resource manager. I saw that we don't have any authority files, so i copied the entire "source_data" folder from github project --->"Arches Crip" <https://github.com/mradamcox/crip><--- and updated ---> "settngs.py" <https://docs.google.com/document/d/1M8A1SsY54-F7jtIHFstA48N2pyzkOIhigGIaGJxqIw4/edit?usp=sharing> <---, but that didn't help. Now we have an error when runing the server: File "/home/ubuntua/Projects/viseem_herit/viseem_herit/settings.py", line 34, in RESOURCE_TYPE_CONFIGS 'name': _('Historic Resource'), NameError: global name '_' is not defined I tried to reinstall arches, to accomudate the new files and settings with the command "python manage.py packages -o install" but it gives me permission denied to write some files. A huge problem with user permissions. Maybe i shoud use "chmod" to fix this ? Your advice will be highly appreciated ! Best regards, V Pirinski -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Arches] Sample settings.py
This is great, thank you so much! On Sat, Oct 22, 2016 at 7:03 PM Adam Cox <mr.adam...@gmail.com> wrote: > Hi Vencislav. Here are some settings.py examples from Arches apps that > folks have on github: > > afrh <https://github.com/mradamcox/afrh/blob/master/afrh/settings.py> > crip <https://github.com/mradamcox/crip/blob/master/crip/settings.py> > zbiva > <https://github.com/bojankastelic/zbiva/blob/master/zbiva/settings.py> > > I have the afrh app cloned to my laptop (windows 10) and also to the > production server (ubuntu 14.04), so in each location I have a different > settings_local.py file that is not tracked by the repo. I will attach those > two (renamed) settings_local.py files, so you can see what that looks like > as well. > > Hope that helps! > > On Sat, Oct 22, 2016 at 8:40 AM, Vencislav Pirinski <vpirin...@gmail.com> > wrote: > > Hi, > I am having trouble configuring the settings.py file. Can anyone give me a > sample one? From the demo arches site maybe? Things as API codes, could be > removed. > > > -- > -- To post, send email to archesproject@googlegroups.com. To unsubscribe, > send email to archesproject+unsubscr...@googlegroups.com. For more > information, visit https://groups.google.com/d/forum/archesproject?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Arches Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to archesproject+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > > -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Sample settings.py
Hi, I am having trouble configuring the settings.py file. Can anyone give me a sample one? From the demo arches site maybe? Things as API codes, could be removed. -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.