Re: [QGIS-it-user] IMPORTPHOTOS - ERROR - OSX

2018-04-15 Per discussione Tony75
Ciao

ho seguito ciò che hai indicato, con la speranza di aver scaricato il
pacchetto  giusto. continua a darmi questo errore

➜  ~ pip3 install exifread 
Collecting exifread
  Downloading ExifRead-2.1.2.tar.gz
Building wheels for collected packages: exifread
  Running setup.py bdist_wheel for exifread ... done
  Stored in directory:
/Users/Harlock/Library/Caches/pip/wheels/bf/4a/e3/7c17937fac0c09f5a22d5c80021d85ad47befebef193197f11
Successfully built exifread
Installing collected packages: exifread
Successfully installed exifread-2.1.2
You are using pip version 9.0.3, however version 10.0.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

*HO AGGIORNATO PIP :*

➜  ~ sudo pip install --upgrade pip
Password:
The directory '/Users/Harlock/Library/Caches/pip/http' or its parent
directory is not owned by the current user and the cache has been disabled.
Please check the permissions and owner of that directory. If executing pip
with sudo, you may want sudo's -H flag.
The directory '/Users/Harlock/Library/Caches/pip' or its parent directory is
not owned by the current user and caching wheels has been disabled. check
the permissions and owner of that directory. If executing pip with sudo, you
may want sudo's -H flag.
Collecting pip
  Downloading pip-10.0.0-py2.py3-none-any.whl (1.3MB)
100% || 1.3MB 506kB/s 
Installing collected packages: pip
  Found existing installation: pip 9.0.3
Uninstalling pip-9.0.3:
  Successfully uninstalled pip-9.0.3
Successfully installed pip-10.0.0
➜  ~ sudo pip3 install exifread
sudo: pip3: command not found

*HO PROVATO COSÌ  E : *

➜  ~ pip install exifread  
Requirement already satisfied: exifread in /Library/Python/2.7/site-packages
(2.1.2)
matplotlib 1.3.1 requires nose, which is not installed.
matplotlib 1.3.1 requires tornado, which is not installed.
➜  ~ pip3 install exifread 
zsh: command not found: pip3
➜  ~ 

CONTINUA A DARMI L'ERRORE :

Impossibile caricare il plugin 'ImportPhotos' a causa di un errore chiamando
il metodo classFactory() 

ModuleNotFoundError: No module named 'exifread' 





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[QGIS-it-user] IMPORTPHOTOS - ERROR - OSX

2018-04-05 Per discussione Tony75
errori con python 3.6 e qgis 3 , qualche altro ha avuto lo stesso problema??
grazie

Impossibile caricare il plugin 'ImportPhotos' a causa di un errore chiamando
il metodo classFactory() 

ModuleNotFoundError: No module named 'exifread' 
Traceback (most recent call last):
  File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 336, in startPlugin
plugins[packageName] = package.classFactory(iface)
  File "/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/ImportPhotos/__init__.py",
line 32, in classFactory
from .ImportPhotos import ImportPhotos
  File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/ImportPhotos/ImportPhotos.py",
line 33, in 
from .MouseClick import MouseClick
  File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/ImportPhotos/MouseClick.py",
line 31, in 
import exifread
  File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'exifread'


Versione Python: 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28) [GCC 4.2.1
(Apple Inc. build 5666) (dot 3)] 
Versione di QGIS: 3.0.0-Girona Girona, exported 

Percorso Python:
/Applications/QGIS3.app/Contents/MacOS/../Resources/python
/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python
/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins
/Library/Frameworks/GEOS.framework/Versions/3B/Python/3.6/site-packages
/Library/Frameworks/GDAL.framework/Versions/2.2/Python/3.6/site-packages
/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Comandi GDAL in QGIS 3.0

2018-03-17 Per discussione Tony75
Grazie.
Bisognerebbe aprirne uno per OSX



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Comandi GDAL in QGIS 3.0

2018-03-15 Per discussione Tony75
Come me. Poi ho reistallato GDAL ma niente.

Gli unici che possono darci una mano son Salvatore e Ivano






--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Qgis3 - Problemi persistono - OSX

2018-03-15 Per discussione Tony75
Se inserisco le stringhe di cui sopra da errore, non trova il percorso
se scrivo sudo nano ~/.bash_profile 


 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Comandi GDAL in QGIS 3.0

2018-03-15 Per discussione Tony75
Ciao
Se leggi sotto Ho inserito un post dove parlo proprio di questo problema.

Per curiosità hai problemi anche con grass e python?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Qgis3 - Problemi persistono - OSX

2018-03-15 Per discussione Tony75
ciao Salvatore
E se disinstallo tutto e uso  Homebrew    per
installare gdal?

O ripetere l'installazione con KyngChaos ? Seguito da:


echo 'export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH' >>
~/.bash_profile
source ~/.bash_profile

E dopo per verificare : gdalinfo --version


Mi restano anche altri due problemi sostanziali.
1)non trova Grass e mi dice che non esiste ( ma se apro il plug in mi fa
vedere le icone del programma, ossia riconosce l'interfaccia ma non lo
script. PS: Ho installato anche la versione di Grass 7 per mac esterna a
qgis e la devo testare)

2) gli errori di riconoscimento degli script Python.  Come posso verificare?

Grazie




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Qgis3 - Problemi persistono - OSX

2018-03-15 Per discussione Tony75

niente da fare
Se do il comando dal terminale ecco il risultato 


➜  ~ gdaldem aspect /Users/Harlock/Downloads/DTM10M/5_460.asc
/Users/Harlock/Downloads/DTM10M/Merge/Ombra.asc -of AAIGrid -b 1
 Usage: 
 - To generate a shaded relief map from any GDAL-supported elevation raster
: 

 gdaldem hillshade input_dem output_hillshade 
 [-z ZFactor (default=1)] [-s scale* (default=1)] 
 [-az Azimuth (default=315)] [-alt Altitude (default=45)]
 [-alg ZevenbergenThorne] [-combined]
 [-compute_edges] [-b Band (default=1)] [-of format] [-co
"NAME=VALUE"]* [-q]

 - To generates a slope map from any GDAL-supported elevation raster :

 gdaldem slope input_dem output_slope_map 
 [-p use percent slope (default=degrees)] [-s scale*
(default=1)]
 [-alg ZevenbergenThorne]
 [-compute_edges] [-b Band (default=1)] [-of format] [-co
"NAME=VALUE"]* [-q]

 - To generate an aspect map from any GDAL-supported elevation raster
   Outputs a 32-bit float tiff with pixel values from 0-360 indicating
azimuth :

 gdaldem aspect input_dem output_aspect_map 
 [-trigonometric] [-zero_for_flat]
 [-alg ZevenbergenThorne]
 [-compute_edges] [-b Band (default=1)] [-of format] [-co
"NAME=VALUE"]* [-q]

 - To generate a color relief map from any GDAL-supported elevation raster
 gdaldem color-relief input_dem color_text_file output_color_relief_map
 [-alpha] [-exact_color_entry | -nearest_color_entry]
 [-b Band (default=1)] [-of format] [-co "NAME=VALUE"]* [-q]
 where color_text_file contains lines of the format "elevation_value red
green blue"

 - To generate a Terrain Ruggedness Index (TRI) map from any GDAL-supported
elevation raster
 gdaldem TRI input_dem output_TRI_map
 [-compute_edges] [-b Band (default=1)] [-of format] [-co
"NAME=VALUE"]* [-q]

 - To generate a Topographic Position Index (TPI) map from any
GDAL-supported elevation raster
 gdaldem TPI input_dem output_TPI_map
 [-compute_edges] [-b Band (default=1)] [-of format] [-co
"NAME=VALUE"]* [-q]

 - To generate a roughness map from any GDAL-supported elevation raster
 gdaldem roughness input_dem output_roughness_map
 [-compute_edges] [-b Band (default=1)] [-of format] [-co
"NAME=VALUE"]* [-q]

 Notes : 
   Scale is the ratio of vertical units to horizontal
for Feet:Latlong use scale=370400, for Meters:LatLong use scale=20 


FAILURE: Missing destination.
zsh: no such file or directory:
/Users/Harlock/Downloads/DTM10M/Merge/Ombra.asc
➜  ~ echo 'export PATH="/Library/Frameworks/GDAL.framework/Programs:$PATH"'
export PATH="/Library/Frameworks/GDAL.framework/Programs:$PATH"
➜  ~ gdaldem aspect /Users/Harlock/Downloads/DTM10M/5_460.asc
/Users/Harlock/Downloads/DTM10M/Merge/Ombra.asc -of AAIGrid -b 1
 Usage: 
 - To generate a shaded relief map from any GDAL-supported elevation raster
: 

 gdaldem hillshade input_dem output_hillshade 
 [-z ZFactor (default=1)] [-s scale* (default=1)] 
 [-az Azimuth (default=315)] [-alt Altitude (default=45)]
 [-alg ZevenbergenThorne] [-combined]
 [-compute_edges] [-b Band (default=1)] [-of format] [-co
"NAME=VALUE"]* [-q]

 - To generates a slope map from any GDAL-supported elevation raster :

 gdaldem slope input_dem output_slope_map 
 [-p use percent slope (default=degrees)] [-s scale*
(default=1)]
 [-alg ZevenbergenThorne]
 [-compute_edges] [-b Band (default=1)] [-of format] [-co
"NAME=VALUE"]* [-q]

 - To generate an aspect map from any GDAL-supported elevation raster
   Outputs a 32-bit float tiff with pixel values from 0-360 indicating
azimuth :

 gdaldem aspect input_dem output_aspect_map 
 [-trigonometric] [-zero_for_flat]
 [-alg ZevenbergenThorne]
 [-compute_edges] [-b Band (default=1)] [-of format] [-co
"NAME=VALUE"]* [-q]

 - To generate a color relief map from any GDAL-supported elevation raster
 gdaldem color-relief input_dem color_text_file output_color_relief_map
 [-alpha] [-exact_color_entry | -nearest_color_entry]
 [-b Band (default=1)] [-of format] [-co "NAME=VALUE"]* [-q]
 where color_text_file contains lines of the format "elevation_value red
green blue"

 - To generate a Terrain Ruggedness Index (TRI) map from any GDAL-supported
elevation raster
 gdaldem TRI input_dem output_TRI_map
 [-compute_edges] [-b Band (default=1)] [-of format] [-co
"NAME=VALUE"]* [-q]

 - To generate a Topographic Position Index (TPI) map from any
GDAL-supported elevation raster
 gdaldem TPI input_dem output_TPI_map
 [-compute_edges] [-b Band (default=1)] [-of format] [-co
"NAME=VALUE"]* [-q]

 - To generate a roughness map from any 

Re: [QGIS-it-user] Qgis3 - Problemi persistono - OSX

2018-03-14 Per discussione Tony75
Ho sbagliato una delle immagini scusa


 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Qgis3 - Problemi persistono - OSX

2018-03-14 Per discussione Tony75
Salvatò niente da fare

se uso gli strumenti di processing di qgis


 
Altrimenti 



 


 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Qgis3 - Problemi persistono - OSX

2018-03-14 Per discussione Tony75
Ciao Gabriella. Si dovresti aprire un altra discussione, perche Win e OSX
funzionano in modo diverso :)
 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[QGIS-it-user] Qgis3 - Problemi persistono - OSX

2018-03-14 Per discussione Tony75
Salve 
Non capisco se ho sbagliato io installando e devo disinstallare tutto , ma i
problemi persistono

1) Ho caricato un raster.asc  precisamente il 5000_460.asc della sardegna
a) ho provato a fare un profilo con il profile tools :

 *Errore Python*: Si è verificato un errore durante l'esecuzione del
codice Python: 
   Vedi il log dei messaggi (Python Error) per maggiori dettagli.

2018-03-14T18:17:40 WARNING Traceback (most recent call last):
  File "/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/profiletool/tools/ptmaptool.py",
line 78, in moved
   
self.profiletool.rubberband.addPoint(QgsPoint(self.pointstoDraw[i][0],self.pointstoDraw[i][1]))
TypeError: QgsRubberBand.addPoint(): argument 1 has 
unexpected type
'QgsPoint'

  
   b) Ho provato a creare un raster Esposizione
(raster/analisi/Esposizione):

GDAL command:
gdaldem aspect /Users/Harlock/Downloads/DTM10M/5_460.asc
/Users/Harlock/Downloads/DTM10M/Merge/Ombra.asc -of AAIGrid -b 1
GDAL command output:
/bin/sh: gdaldem: command not found 
Execution completed in 0.06 seconds
Results:
{'OUTPUT': }

Caricamento layer
I seguenti layers non sono stati caricati correttamente
/Users/Harlock/Downloads/DTM10M/Merge/Ombra.asc

insomma credo ci siano problemi sia con Python che con GDAL ma non capisco
che cosa

chi è più esperto potrebbe dare qualche suggerimento in merito? 

Grazie


  



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[QGIS-it-user] Qgis3 Grass version OSX

2018-03-13 Per discussione Tony75
Salve nuovo post nuova corsa.
il solito problema che ho riscontrato con altre versioni di qGis e avevo
risolto installando 
ActiveTcl8.5.7.0.290198-macosx-universal-threaded
come scritto in questo post
https://gis.stackexchange.com/questions/241697/set-qgis-2-18-7-on-osx-10-12-to-use-grass-7

  
Questa volta niente
allora rispetto alla posizione di default

errore inizializzazione GRASS: GRASS non trovato in
'/Users/Shared/unix/grass-qgis-yosemite/grass-7.2.2' (GISBASE), la sorgente
e il plugin non funzioneranno.

rispetto ad una posizione imposta

errore inizializzazione GRASS: GRASS non trovato in '/Applications/QGIS
3.app/Contents/MacOS/grass7/grass72' (GISBASE), la sorgente e il plugin non
funzioneranno.

avete riscontrato qualche cosa?

grazie



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Qgis3 - KyngChaos

2018-03-13 Per discussione Tony75
 adesso nessun errore, quindi era un problema della precedente installazione
delle librerie.

unico errore : 

*errore inizializzazione GRASS: GRASS non trovato in
'/Users/Shared/unix/grass-qgis-yosemite/grass-7.2.2' (GISBASE), la sorgente
e il plugin non funzioneranno*.

ho poi provato a fare un merge di 4 file asc :

Input parameters:
{ 'INPUT' :
['/vsizip//Users/Harlock/Downloads/DTM10M/ascii_5_460.asc.zip','/vsizip//Users/Harlock/Downloads/DTM10M/ascii_5_461.asc.zip','/vsizip//Users/Harlock/Downloads/DTM10M/ascii_5_480.asc.zip','/vsizip//Users/Harlock/Downloads/DTM10M/ascii_5_481.asc.zip'],
'PCT' : False, 'SEPARATE' : False, 'OPTIONS' : '', 'DATA_TYPE' : 5, 'OUTPUT'
: '/Users/Harlock/Downloads/DTM10M/Merge/Pattada.asc' }

GDAL command:
gdal_merge.py -ot Float32 -of AAIGrid -o
/Users/Harlock/Downloads/DTM10M/Merge/Pattada.asc
/vsizip//Users/Harlock/Downloads/DTM10M/ascii_5_460.asc.zip
/vsizip//Users/Harlock/Downloads/DTM10M/ascii_5_461.asc.zip
/vsizip//Users/Harlock/Downloads/DTM10M/ascii_5_480.asc.zip
/vsizip//Users/Harlock/Downloads/DTM10M/ascii_5_481.asc.zip
GDAL command output:
/bin/sh: gdal_merge.py: command not found 
Execution completed in 0.04 seconds
Results:
{'OUTPUT': }

Caricamento layer
I seguenti layers non sono stati caricati correttamente
/Users/Harlock/Downloads/DTM10M/Merge/Pattada.asc
Puoi verificare il "Pannello dei messaggi" nella finestra principale di QGIS
per trovare maggiori informazioni circa l'esecuzione dell'algoritmo



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Qgis3 - KyngChaos

2018-03-13 Per discussione Tony75
Salvatore scusa il ritardo
ecco il contenuto del file gdal-py3.6.pth

import sys;
sys.path.insert(0,'/Library/Frameworks/GDAL.framework/Versions/2.2/Python/3.6/site-packages')




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Qgis3 - KyngChaos

2018-03-12 Per discussione Tony75
Eja, è la versione 2.2, però mi ritrovo anche 1.11 e la 2.1


 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] macOS QGIS 3 Girona

2018-03-12 Per discussione Tony75
Grazie Ivano per la dritta





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Qgis3 - KyngChaos

2018-03-12 Per discussione Tony75
ciao Salvatore scusa il ritardo 
ecco il risultato

import sys
sys.path
['/Applications/QGIS 3.app/Contents/MacOS/../Resources/python',
'/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python',
'/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins', '/Applications/QGIS
3.app/Contents/MacOS/../Resources/python/plugins',
'/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip',
'/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6',
'/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload',
'/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages',
'/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python']



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Qgis3 - KyngChaos

2018-03-12 Per discussione Tony75
Haha 
Scusa, mi son fatto prendere dalla fretta.
Adesso non sono in casa. Più tardi verifico 
Al più reinstallo.

Più tosto un modo per disintallare il tutto?
Linea di comando? 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Qgis3 - KyngChaos

2018-03-12 Per discussione Tony75
ok
se metto importsys (senza il punto)
Traceback (most recent call last):
  File
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/code.py",
line 91, in runcode
exec(code, self.locals)
  File "", line 1, in 
NameError: name 'importsys' is not defined

La PATH è corretta

sudo nano ~/.bash_profile 

PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"

export PATH



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] macOS QGIS 3 Girona

2018-03-12 Per discussione Tony75
Ciao Ivano 

io non sono riuscito a fare il porting

puoi suggerire un modo per pulire tutto compreso il porting? grazie





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Qgis3 - KyngChaos

2018-03-12 Per discussione Tony75
credo anche io che siano le librerie
ecco il risultato dalla console 

import.sys
Traceback (most recent call last):
  File
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/code.py",
line 64, in runsource
code = self.compile(source, filename, symbol)
  File
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/codeop.py",
line 168, in __call__
return _maybe_compile(self.compiler, source, filename, symbol)
  File
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/codeop.py",
line 99, in _maybe_compile
raise err1
  File
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/codeop.py",
line 87, in _maybe_compile
code1 = compiler(source + "\n", filename, symbol)
  File
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/codeop.py",
line 133, in __call__
codeob = compile(source, filename, symbol, self.flags, 1)
  File "", line 1
import.sys
  ^
SyntaxError: invalid syntax
sys.path
Traceback (most recent call last):
  File
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/code.py",
line 91, in runcode
exec(code, self.locals)
  File "", line 1, in 
NameError: name 'sys' is not defined



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[QGIS-it-user] Qgis3 - KyngChaos

2018-03-12 Per discussione Tony75
Salve 
Ieri sera come da  post precedente

  
ho tentato vanamente di installare Qgis 3 eseguendo il porting con  macports
  . Questa mattina è stato inserita su KynChaos il
primo dgm della versione di Qgis3.0.1 per OSX. 

Ho installato, ma quando avvio il programma  appare  schermata di errore e
un riquadro in cui sono appunto segnalati gli errori. Sapreste darmi qualche
info in merito? potrebbe essere causato dal porting? 
Grazie 


 

*Tutto il contenuto del riquadro è :* 


Impossibile caricare il plugin 'processing' 

ModuleNotFoundError: No module named 'osgeo' 
Traceback (most recent call last):
  File "/Applications/QGIS
3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 311, in
loadPlugin
__import__(packageName)
  File "/Applications/QGIS
3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 664, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Applications/QGIS
3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
line 28, in 
from processing.tools.dataobjects import *  # NOQA
  File "/Applications/QGIS
3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 664, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Applications/QGIS
3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/dataobjects.py",
line 51, in 
from processing.algs.gdal.GdalUtils import GdalUtils
  File "/Applications/QGIS
3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 664, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Applications/QGIS
3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/gdal/GdalUtils.py",
line 35, in 
from osgeo import gdal
  File "/Applications/QGIS
3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 664, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'osgeo'


Versione Python: 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28) [GCC 4.2.1
(Apple Inc. build 5666) (dot 3)] 
Versione di QGIS: 3.0.0-Girona Girona, exported 

Percorso Python:
/Applications/QGIS 3.app/Contents/MacOS/../Resources/python
/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python
/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/QGIS 3.app/Contents/MacOS/../Resources/python/plugins
/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
/Users/Harlock/Library/Application
Support/QGIS/QGIS3/profiles/default/python



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] QGIS 3 beta - Installazione su macOS

2018-03-11 Per discussione Tony75
Niente da fare ivano  sempre lo stesso errore


➜  ~ sudo port clean  python36   
--->  Cleaning python36
➜  ~ sudo port clean  python27
--->  Cleaning python27
➜  ~ sudo port clean py36-qscintilla-qt5  
--->  Cleaning py36-qscintilla-qt5
➜  ~ sudo port clean  python27
--->  Cleaning python27
➜  ~ sudo port install  python27  
--->  Computing dependencies for python27
--->  Cleaning python27
--->  Scanning binaries for linking errors
--->  No broken files found.
➜  ~ sudo port install  python36 
--->  Computing dependencies for python36
--->  Cleaning python36
--->  Scanning binaries for linking errors
--->  No broken files found.
➜  ~ sudo port install py36-qscintilla-qt5
--->  Computing dependencies for py36-qscintilla-qt5
--->  Cleaning py36-qscintilla-qt5
--->  Scanning binaries for linking errors
--->  No broken files found.
➜  ~ sudo port install qgis3
--->  Computing dependencies for qgis3
--->  Building qgis3
Error: Failed to build qgis3: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_distfiles.macports.org_ports_gis_qgis3/qgis3/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port qgis3 failed




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] QGIS 3 beta - Installazione su macOS

2018-03-11 Per discussione Tony75
Ciao Ivano, grazie per la risposta.

Niente, 

Error: Failed to build qgis3: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port qgis3 failed


ho notato anche questa cosa, non se se sia normale
se riavvio il terminale e invio il comando ad esempio : sudo port clean 
python27  ;
mi restituisce questo : sudo: port: command not found

quindi devo digitare nuovamente export 
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
➜  ~ echo $PATH 
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

ma dopo : 

➜  ~ $PATH 
zsh: no such file or directory:
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

quindi posso dare i comandi  che mi hai indicato 

➜  ~ sudo port clean  python27 
--->  Cleaning python27
➜  ~ sudo port install  python27
--->  Computing dependencies for python27
--->  Cleaning python27
--->  Scanning binaries for linking errors
--->  No broken files found.   
➜  ~ sudo port install  qgis3
--->  Computing dependencies for qgis3
--->  Building qgis3
Error: Failed to build qgis3: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port qgis3 failed

Niente da fare.

PS : nella prima riga del .bash_profile ho inserito

PATH="/usr/bin:/bin:/usr/sbin:/usr/X11/bin:/usr/local/bin:/usr/local/git/bin"

export PATH=/opt/local/bin:/opt/local/sbin:$PATH





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] QGIS 3 beta - Installazione su macOS

2018-03-11 Per discussione Tony75
Ha finito adesso di installare i pacchetti ma niente errore, inserisco anche
il file LOG.

Potresti darmi qualche suggerimento in merito? Grazie


Error: Failed to build qgis3: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port qgis3 failed

--->  Some of the ports you installed have notes:
  dbus has the following notes:
   

# Startup items have been generated that will aid in
# starting dbus with launchd. They are disabled
# by default. Execute the following commands to start them,
# and to cause them to launch at startup:
#
# sudo launchctl load -w
/Library/LaunchDaemons/org.freedesktop.dbus-system.plist
# launchctl load -w
/Library/LaunchAgents/org.freedesktop.dbus-session.plist
   

  libpsl has the following notes:
GTK-based documentation is provided by the port 'libpsl-docs'.
  postgresql10 has the following notes:
To use the postgresql server, install the postgresql10-server port
  py36-cython has the following notes:
To make the Python 3.6 version of Cython the one that is run when you
execute the commands without a version suffix, e.g. 'cython', run:

port select --set cython cython36
  py36-sip has the following notes:
py36-sip is available under a PSF license with one addition: 

4. Licensee may not use SIP to generate Python bindings for any C or
   C++ library for which bindings are already provided by Riverbank. 

GPL-2 or GPL-3 licenses are also available. For details see
/opt/local/share/doc/py36-sip/LICENSE [-GPL2 -GPL3]
  python27 has the following notes:
To make this the default Python or Python 2 (i.e., the version run by
the
'python' or 'python2' commands), run one or both of:

sudo port select --set python python27
sudo port select --set python2 python27
  python36 has the following notes:
To make this the default Python or Python 3 (i.e., the version run by
the
'python' or 'python3' commands), run one or both of:

sudo port select --set python python36
sudo port select --set python3 python36


main.log   





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] QGIS 3 beta - Installazione su macOS

2018-03-10 Per discussione Tony75
Salve Ivano, sono relativamente nuovo riguardo alle installazioni da
terminale.

Vorrei portare avanti il tuo tutorial rispetto all'installazione di qgis 3
su mac, e ti ringrazio anticipatamente per il tutorial prezioso

Non capisco come ha scaricato la versione di qgis 3 dal terminale
potresti darmi qualche indicazione cortesemente? 

grazie



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user