Re: AttributeError: 'Values' object has no attribute 'link_base' in building sphinx documentation.

2021-12-10 Thread Sencer Hamarat
I think the same way.
I will upgrade to 2.2.25 soon. Then I'll open a ticket asap.

On Thu, Dec 9, 2021 at 7:04 PM Jason  wrote:

> you could raise a bug report on the django tracker at
> https://code.djangoproject.com/query but I'm doubtful that this will gain
> any traction
>
> Those versions of django you specified are very out of date.  1.10 was EOL
> in 2017, 1.11 EOL'd April 2020 and 2.0 EOLd Aug 2018
>
> If you don't have any issues with currently supported versions (2.2, 3.2
> and 4.0),  then its likely that any PRs won't be applied.
>
> On Thursday, December 9, 2021 at 10:15:03 AM UTC-5 sencer...@gmail.com
> wrote:
>
>> Hello everyone,
>>
>> If 'sphinx.ext.autodoc' extension enabled in conf.py of sphinx, when I
>> try to run 'make html' I'm ending up with AttributeError exception:
>>
>> Exception occurred:
>>   File
>> /env/lib/python3.6/site-packages/django/contrib/admindocs/utils.py", line
>> 121, in _role
>> inliner.document.settings.link_base,
>> AttributeError: 'Values' object has no attribute 'link_base'
>>
>> I tried it with combinations of some django and sphinx versions.
>>
>> Here is the no luck list:
>> django 1.10, django 1.11 and sphinx 3.5
>> django 2.0.13 and sphinx 3.5 , sphinx 4.0, sphinx 4.2.0, sphinx 4.3.1
>>
>> I also opened an issue at sphinx github but they said this has to do with
>> django admindocs instead of  sphinx.
>>
>> Is there anybody who has resolved the AttributeError exception thrown
>> while building documents via sphinx?
>>
>> Regards,
>> Sencer HAMARAT
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d684ad8e-3001-4d36-8b13-33ce0029cb32n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACp8TZg5PRgxn6HwMpk3rN%3DHqu35%3DYvojoQgeMUSyOgC%3DuXy1A%40mail.gmail.com.


Re: AttributeError: 'Values' object has no attribute 'link_base' in building sphinx documentation.

2021-12-09 Thread Jason
you could raise a bug report on the django tracker 
at https://code.djangoproject.com/query but I'm doubtful that this will 
gain any traction

Those versions of django you specified are very out of date.  1.10 was EOL 
in 2017, 1.11 EOL'd April 2020 and 2.0 EOLd Aug 2018

If you don't have any issues with currently supported versions (2.2, 3.2 
and 4.0),  then its likely that any PRs won't be applied. 

On Thursday, December 9, 2021 at 10:15:03 AM UTC-5 sencer...@gmail.com 
wrote:

> Hello everyone,
>
> If 'sphinx.ext.autodoc' extension enabled in conf.py of sphinx, when I try 
> to run 'make html' I'm ending up with AttributeError exception:
>
> Exception occurred:
>   File 
> /env/lib/python3.6/site-packages/django/contrib/admindocs/utils.py", line 
> 121, in _role
> inliner.document.settings.link_base,
> AttributeError: 'Values' object has no attribute 'link_base'
>
> I tried it with combinations of some django and sphinx versions.
>
> Here is the no luck list:
> django 1.10, django 1.11 and sphinx 3.5
> django 2.0.13 and sphinx 3.5 , sphinx 4.0, sphinx 4.2.0, sphinx 4.3.1
>
> I also opened an issue at sphinx github but they said this has to do with 
> django admindocs instead of  sphinx.
>
> Is there anybody who has resolved the AttributeError exception thrown 
> while building documents via sphinx?
>
> Regards,
> Sencer HAMARAT
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d684ad8e-3001-4d36-8b13-33ce0029cb32n%40googlegroups.com.


AttributeError: 'Values' object has no attribute 'link_base' in building sphinx documentation.

2021-12-09 Thread Sencer Hamarat
Hello everyone,

If 'sphinx.ext.autodoc' extension enabled in conf.py of sphinx, when I try
to run 'make html' I'm ending up with AttributeError exception:

Exception occurred:
  File /env/lib/python3.6/site-packages/django/contrib/admindocs/utils.py",
line 121, in _role
inliner.document.settings.link_base,
AttributeError: 'Values' object has no attribute 'link_base'

I tried it with combinations of some django and sphinx versions.

Here is the no luck list:
django 1.10, django 1.11 and sphinx 3.5
django 2.0.13 and sphinx 3.5 , sphinx 4.0, sphinx 4.2.0, sphinx 4.3.1

I also opened an issue at sphinx github but they said this has to do with
django admindocs instead of  sphinx.

Is there anybody who has resolved the AttributeError exception thrown while
building documents via sphinx?

Regards,
Sencer HAMARAT

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACp8TZgkaogKXkfonu%3DacRwfN%3D_yG5UzW85i1BSAThR-H0qCZA%40mail.gmail.com.