POST
|
Hi, I have good news for all people suffering this problem. I've tested 10.7 prerelease and It looks like it works well again. Regards, Lionel
... View more
04-04-2019
12:35 AM
|
0
|
0
|
572
|
POST
|
So obviously my initial issue on the other environment is not related to file names. I checked out all the links I found on google. - Everything is in 64bit, tried also both pythons - arcpy.Exists(r"C:\SDE\test.sde") returns true - setting arcpy.env.workspace to anything has no effect (setting it to C:\SDE and the connection fiel just test.sde)
... View more
09-21-2018
04:36 AM
|
0
|
1
|
2847
|
POST
|
I've tried it, and now it works fine on current environment, independent on filename, thanks! However, on the other environment it has no effect. still always getting the error. Printing the paths show all in the right way. Workspace works fine in ArcCatalog. This works with python executed in ArcCatalog, gut not here.
... View more
09-21-2018
02:31 AM
|
0
|
0
|
2847
|
POST
|
Hello, I am having trouble with a arcpy script. I'm actuall not that familiar with python in general, and the current issue is really making me sick. On a new environment, I installed a new Database and I want to setup there the same maintenance task as we already have on another environment. Part of this maintenance is a python script for compress, etc. But on the new environment the scripts aren't working. It always runs into error "TypeError: Could not open SDE workspace" So I made some tests on the current environment and found some very strange behaviour. I have the following script (reduced to only few lines) test.py conn = 'C:\SDE\da.sde' import arcpy arcpy.AcceptConnections(conn, True) the file da.sde exists. But when I rename the file to test.sde, and change it of course in the pythin script, it throws: C:\SDE>test.py Traceback (most recent call last): File "C:\SDE\test.py", line 5, in <module> arcpy.AcceptConnections(conn, True) File "C:\Program Files (x86)\ArcGIS\Desktop10.4\ArcPy\arcpy\__init__.py", line 1677, in AcceptConnections return gp.acceptConnections(sde_workspace, accept_connections) File "C:\Program Files (x86)\ArcGIS\Desktop10.4\ArcPy\arcpy\geoprocessing\_bas e.py", line 479, in acceptConnections return self._gp.AcceptConnections(sde_workspace, accept_connections) TypeError: Could not open SDE workspace. (This is also the actual error I always get on the other environment.) Switching both back to da.sde, works again. I've testes several different filenames. "da.sde" - works! "test.sde" - fail "datest.sde" - works "abcde.sde" - fail "wtf.sde" - works "lmgtfy.sde" - works "prod_sde.sde" - works "b_prod_sde.sde" - fails I am not sure that the nameing is related to the issue on the other environment. But I got a little desperate with it, so that I hope unterstanding the nameing issue, may help me to make the script run elsewhere. Lionel
... View more
09-21-2018
01:28 AM
|
0
|
5
|
4061
|
POST
|
Hi, unfortunately there is no blocking feature causing this. it also happend without any other feature. I've tried maplex, and this looks well, but unfortunately we work with an ArcGIS Engine software that does not support Maplex yet. But it helps us, when moving map later to ArcMap, so thanks for that tip!. I also thought about coordinate system issues, but everywhere are the same. I reproduced it in some small shape file, which I've append here together with mxd. Thanks Lionel
... View more
03-26-2018
11:24 PM
|
0
|
0
|
1465
|
POST
|
Hello, I have a problem with the labeling from ArcMap 10.4.1. In the attached screenshot you see a label to a polyline. As you see, it appears on the left side. According to the ruls, it should be "above" the polyline, but it apears on the left (below). The map is not rotated, and the coordinates clearly show, that the line is displayed well. My issue with this, is that the text of the label describes content of several lines (see sample screenshots) and the order actually matters. Our code calculates the angle of the poyline orientation, and then decides, how the text should be filled. This code works well, but then this problem causes to show the content in a mirrored way. Can someone tell me the "rule" by when the text is placed corretly ? Lionel
... View more
03-26-2018
06:16 AM
|
0
|
5
|
1913
|
POST
|
Unfortunately not. But I was able to reproduce it also in file geodatabases, and forwarded it to ESRI Support and a Bug was opend (https://my.esri.com/#/support/bugs/BUG-000111263).
... View more
03-12-2018
11:25 PM
|
0
|
0
|
572
|
POST
|
It also happens in ArcGIS 10.6 Edit: Also in 10.6.1 - Just tried without hope, as the ticked is still set to "open"
... View more
01-25-2018
05:49 AM
|
1
|
0
|
572
|
POST
|
Hi Community, I am currently investigating possibilities of migration of our data "manually" over an application from one database (Postgres 9.4.12) to new Database (Postgres 9.5) just by copying the data (Tables and feature classes) row by row. (This has specific reasons to do so) Trying to copy I am all the time getting System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.' This happens not reliably all the time at the same features. Currenlty I get it often, when: - Assign Annotation - on inserting RowBuffer - StopEditOperation, if instead of row buffer, I use CreateRow and Store having this unspecifcly, makes it hard to bring it to support. So I would like to hear, if someone else has issues working this 10.5.1 in .NET. Kind regards Edit: Affected table is an annotation feature class, with some thouthand elements. - When on copying, I use one feature buffer, it crashes at some feature after ~ 50-95% progress, on inserting the buffer. - If I create a new feature buffer for each feature, it also crashes at some feature after ~ 50-95% , but on assigning the Annotation to the IAnnotationFeature2.Annotation property. - When I use the ITable.CreateRow() to generate each row, it crashes on StopEditOperation of the workspace at the end.
... View more
09-28-2017
12:55 AM
|
0
|
6
|
1395
|
POST
|
Hi everyone, I have to provide dynamic text (like Autor) for printing the map in ArcGIS Engine. My Collegues previously did this in ArcMap setting Autor, Summary, etc. in the Map Document Properties, and then inserting dynamic text in the print layout view such as "Author: <dyn type="document" property="author"/>" I guess the dynamic text also works in ArcGIS Engine, however, I have no idea where I could write the properties into. In ArcMap, there is the IDocumentInfo2, implemented from MapDocument. But in ArcEngine, I only have the AxMapControl. Where can I set the Properties there, to "fill" the dynamic text? Or is there an alternetive to have dynamic text for Printing? Lionel
... View more
08-25-2017
01:38 AM
|
0
|
0
|
566
|
POST
|
By deactivating Kaspersky it really seems to work again. So it looks like reason is this AV. However, I am only experiancing this with Windows 10. In Windows 7 we also had Kaspersky without any issue.
... View more
06-12-2017
05:53 AM
|
0
|
0
|
833
|
POST
|
Found solution. I could execute the code given in How To: Remove orphaned keyset tables in Oracle with the same command. But I had to exchagne the "sde". by the current user schema that I am working with. Only problem is the user rights needed.
... View more
01-23-2017
07:24 AM
|
0
|
0
|
273
|
POST
|
Hallo everyone, We switched to direct connect and are experiencing different problems. One of them is, that the list of users, that are "currently" connected to database, is having orphaned entries. (ArcGIS 10.2.1 on oracle 11g) To obtain the users we more or less followed the arctical here:How To: Obtain a listing of user processes and locks from a geodatabase when there is no ArcSDE service Our current code lookes like that: private static List<UserObject> ReadUsersFromOracle()
{
var result = new List<UserObject>();
using (var connection = new Oracle.DataAccess.Client.OracleConnection(ConnectionString))
{
connection.Open();
try
{
var getuserCommand = "SELECT SDE_ID, OWNER, NODENAME, START_TIME, XDR_NEEDED, DIRECT_CONNECT FROM PROCESS_INFORMATION";
var command = new Oracle.DataAccess.Client.OracleCommand(getuserCommand, connection);
command.CommandType = System.Data.CommandType.Text;
var reader = command.ExecuteReader();
while (reader.Read())
{
var sdeid = Convert.ToDecimal(reader[0]);
var user = Convert.ToString(reader[1]);
var nodeName = Convert.ToString(reader[2]);
var connTime = Convert.ToDateTime(reader[3]);
var xdr = Convert.ToString(reader[4]);
var isDc = Convert.ToString(reader[5]);
result.Add(new UserObject(sdeid, user, nodeName, connTime, xdr, isDc));
}
}
finally
{
connection.Close();
}
}
return result;
} Does anyone has an idea, how to trigger any update so that the list returns only actually connected users? Kind regards, Lionel
... View more
01-10-2017
04:01 AM
|
0
|
1
|
1315
|
POST
|
Hi everyone, I am currently trying to find out how I could get the information, if a specific version of my versioned workspace has changes or not. The purpose is to provide the information to a user over all versions avaliable. Therefor, i cannot use IVersionEdit.ModifiedClasses, as If I understand, this will only return something after reconcile. Is there a way to find out, if a version has local changes? Lionel
... View more
12-16-2016
05:48 AM
|
0
|
2
|
2127
|
Title | Kudos | Posted |
---|---|---|
1 | 01-25-2018 05:49 AM | |
1 | 11-08-2016 12:01 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|