Re: [Trac] How are attachment file paths determined?

2014-03-03 Thread Olemis Lang
Hi !


On Mon, Mar 3, 2014 at 2:54 PM, Josh Santangelo  wrote:

> Using a number of scripts and some manual database mangling, I've managed
> to merge my organization's ~60 previous trac projects into one big one.
> This is all working fine, but the one thing that's broken is all the
> previous attachments. They appear on each ticket's page, but the links to
> them fail. I assume this is because the path on disk to the attachment is
> constructed somehow based on the ticket number?
>
> I imagine that if I knew how these paths were constructed, I could
> reconcile them, but I'm not sure what the logic is.
>

http://trac.edgewall.org/browser/trunk/trac/attachment.py?marks=173-201#L173

[...]

-- 
Regards,

Olemis - @olemislc

Apache(tm) Bloodhound contributor
http://issues.apache.org/bloodhound
http://blood-hound.net

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Trac] How are attachment file paths determined?

2014-03-03 Thread Josh Santangelo
Using a number of scripts and some manual database mangling, I’ve managed
to merge my organization’s ~60 previous trac projects into one big one.
This is all working fine, but the one thing that’s broken is all the
previous attachments. They appear on each ticket’s page, but the links to
them fail. I assume this is because the path on disk to the attachment is
constructed somehow based on the ticket number?

I imagine that if I knew how these paths were constructed, I could
reconcile them, but I’m not sure what the logic is.

thanks,
-josh

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Trac] Re: Can't get access to the TRAC plateform

2014-03-03 Thread Steffen Hoffmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03.03.2014 10:26, Nicolas Duperret wrote:
> Hi,
> 
> I never found anything on the Web Server (a website is hosted on this
> machina, with Microsoft IIS, but there is nothing about TRAC in IIS...),
> so TracStandalone, I guess. (Do you have a way to check it ? I found
> nothing in the task manager...)
> 
> To add a new environment, :
> - I open cmd.exe
> - I go to "C:\Python24\Scripts\", in order to be able to use "python.exe"
> - Then I create my new environment with the command : python.exe
> trac-admin "D:\Trac\MyNewEnvironment" initenv

So tracd, as Pyhton skript, is run by python.exe too. You shall spot
that in running processes.

Steffen Hoffmann

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlMUw9QACgkQ31DJeiZFuHd7sQCguLvFxu9XVR0EaCzrQHEU+5wN
RGgAoNhwT0T8U5pcJEkStGH3A+RjKR4V
=8wed
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Trac] Disable notify on BatchModify updates

2014-03-03 Thread Rob Weigel
Greetings,

 

We *finally* upgraded from Trac 0.11.5 to 1.0.1 last week.  In our old
setup, we used the BatchModifyPlugin
  to, well, modify a batch
of tickets at once.  

 

In the new[er] release, I see that some of the BatchModifyPlugin
  functionality has been
rolled into main product.  My question is, is there a way in the new
release to disable the ticket notifies when using the native batch
modify functionality?  The kicker is we still want the notifies sent on
the manual, singleton updates.

 

I did check the TracNotification
  page, but nothing
jumps out to me.

 

Cheers,

Rob




-
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized use, disclosure or distribution is
prohibited. If you are not the intended recipient, please contact
the sender by reply email and destroy all copies of the original
message.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Trac] Re: Can't get access to the TRAC plateform

2014-03-03 Thread Nicolas Duperret
Hi,

I never found anything on the Web Server (a website is hosted on this 
machina, with Microsoft IIS, but there is nothing about TRAC in IIS...), so 
TracStandalone, I guess. (Do you have a way to check it ? I found nothing 
in the task manager...)

To add a new environment, :
- I open cmd.exe
- I go to "C:\Python24\Scripts\", in order to be able to use "python.exe"
- Then I create my new environment with the command : python.exe trac-admin 
"D:\Trac\MyNewEnvironment" initenv

Thanks for your time !


Le vendredi 28 février 2014 19:49:50 UTC+1, RjOllos a écrit :
>
> On Friday, February 28, 2014 7:47:47 AM UTC-8, Nicolas Duperret wrote:
>>
>> Hello world, 
>>
>> I have some trouble with an old TRAC plateform (isntalled in 2008) that I 
>> have to "manage". However, I didn't install it, and the guy who did it 
>> isn't in the company anymore... 
>> I succeed in creating new environment, however I failed some thing(s) 
>> because one of the project is currently unaccessible. Maybe because of the 
>> conf file ? 
>>
>>
>> The error is (when I try access to http://mydomain/trac/myproject1)  : 
>>
>> Traceback (most recent call last):
>>   File "C:\Python24\lib\site-packages\trac\web\main.py", line 387, in 
>> dispatch_request
>> dispatcher.dispatch(req)
>>   File "C:\Python24\lib\site-packages\trac\web\main.py", line 208, in 
>> dispatch
>> chrome.populate_hdf(req, chosen_handler)
>>   File "C:\Python24\lib\site-packages\trac\web\chrome.py", line 319, in 
>> populate_hdf
>> for category, name, text in contributor.get_navigation_items(req):
>>   File "build\bdist.win32\egg\projectmenu\web_ui.py", line 21, in 
>> get_navigation_items
>>   File "C:\Python24\lib\site-packages\trac\web\main.py", line 58, in 
>> _open_environment
>> env_cache[env_path] = open_environment(env_path)
>>   File "C:\Python24\lib\site-packages\trac\env.py", line 434, in 
>> open_environment
>> env = Environment(env_path)
>>   File "C:\Python24\lib\site-packages\trac\env.py", line 126, in __init__
>> self.verify()
>>   File "C:\Python24\lib\site-packages\trac\env.py", line 176, in verify
>> assert fd.read(26) == 'Trac Environment Version 1'
>> AssertionError
>>
>>
> Are you running a Web server or TracStandalone? It looks like the problem 
> is that you aren't pointing to an environment directory, either when 
> running tracd or in your web server configuration.
>
> It would probably be easiest to help you if you listed the steps you took 
> to add a Trac environment. 
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.