Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] sumo nightly install via python issues

Thanks, Michael for this hint,

perhaps, it makes sensse to add a hint to this section at the very place where the nightly via python is explained.
A few days ago, a link was given by Jakob as follows: https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version
When I do that, the section regarding the virtual approach is simply not in view.

All in all: The error upon opening a sumo simulation still persists when the package based install is removed. This is even the case when I leave nightly sumo-gui open and do a reload after package based install resp. remove.

Error on my notebook:
Error: unable to open file 'https://sumo.dlr.de/xsd/additional_file.xsd'
 In file '/home/rob/.../Simulation/SUMO/sumo-prorad/osm.poly.xml'

(regardless virtual, or via sudo)

Error on my desktop:
Error: attribute 'fill' is not declared for element 'taz'
 In file '/home_old/rob/Dokumente/ProRad/Themen/Innenstadtring/Details/Simulation/SUMO/sumo-prorad/osm.additionals.xml'

I'm aware of it that this is veeeery vague, but this might represent some sort of hint for you. The case with the failing https-access seems really curious.

BTW: my suggestion to add sudo as a hint to the python install proves to be obsolete.


Am 11.02.2022, 13:04 Uhr, schrieb Michael Behrisch <oss@xxxxxxxxxxx>:

Hi Rob,
thanks for the feedback. I think the best way to install the python
wheels is in a virtual environment, just as mentioned on the download
page, especially if you try out the nightly builds. Everything else
messes in unpredictable ways with your local installation.

Best regards,
Michael

PS: Yes, I would be interested in a (bug) report about errors on loading
additional files.

Am 11.02.22 um 12:06 schrieb Rob Maris:
On my Linux notebook, all goes exactly well when I execute:
pip install -i https://test.pypi.org/simple/ eclipse-sumo

however, when I execute the same on my linux desktop, the following is
reported:

rob@rob-desktop:/media/hdd/rob/ProRad/Themen/Innenstadtring/Details/Simulation/SUMO/sumo-prorad

$ pip install -i https://test.pypi.org/simple eclipse-sumo
Looking in indexes: https://test.pypi.org/simple
Collecting eclipse-sumo
   Downloading
https://test-files.pythonhosted.org/packages/c3/a7/6c4b9e76af1a9b0c4e78436ee5d59d423ab4823aac7645a19761f68dfa92/eclipse_sumo-1.12.0.post430-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
(42.9 MB)
      |████████████████████████████████| 42.9 MB 1.8 MB/s
Installing collected packages: eclipse-sumo
   WARNING: The scripts activitygen, dfrouter, duarouter,
emissionsDrivingCycle, emissionsMap, jtrrouter, marouter, netconvert,
netedit, netgenerate, od2trips, polyconvert, sumo and sumo-gui are
installed in '/home/rob/.local/bin' which is not on PATH.
   Consider adding this directory to PATH or, if you prefer to suppress
this warning, use --no-warn-script-location.
Successfully installed eclipse-sumo-1.12.0.post430

When I install here with sudo, all goes okay. But on my notebook, it
went okay without sudo. Without changing PATH.
The difference - as I found out: On the notebook, miniconda3 is
installed. In this case, the whole sumo stuff is pythonway installed in
~/miniconda3/bin/. And the path is already okay.

I'd suggest to advice the users (on the download page) to use sudo in
order to simplify things.
Hi
When I install miniconda3 on the desktop, the install without sudo (a
necessary condition to keep a package manager based install upright)
goes without warning - which confirms that the finding is correct.

ANOTHER FINDING:
When the package manager based install is removed, after starting
sumo-gui fom python install, a load error occurs on loading an
additionals file. Very curious. Some Details I could supply separately.
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user



--
Dem Ingeniör ist nichts zu schwör (außer bei Force Majör)


Back to the top